#include <itkQuadEdgeMeshEulerOperatorJoinVertexFunction.h>
Collapse a given edge by joining its dest and its org.
Collapse the argument edge e of Evaluate by joining the two vertices incident to e (i.e. its endpoints). The destination vertex of e is set aside (i.e. disconnected from its edge entry and no edge has this vertex as endpoint). Note that the vertex itself is not removed from the container (and hence there is no loss of geometrical information). On success JoinVertex returns the Id of the disconnected vertex (i.e. the destination of e) and it is up to the caller to "take care" of it.
Precondition: the edge should be adjacent at least to an other edge (i.e. not be isolated at both endpoints).
Definition at line 57 of file itkQuadEdgeMeshEulerOperatorJoinVertexFunction.h.
Public Member Functions | |
virtual::itk::LightObject::Pointer | CreateAnother () const |
virtual OutputType | Evaluate (QEType *e) |
virtual EdgeStatusType | GetEdgeStatus () const |
const char * | GetNameOfClass () const override |
virtual PointIdentifier | GetOldPointID () const |
![]() | |
const char * | GetNameOfClass () const override |
const char * | GetNameOfClass () const override |
virtual void | SetInput (MeshType *input) |
virtual void | SetInput (MeshType *input) |
![]() | |
unsigned long | AddObserver (const EventObject &event, Command *cmd) const |
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) const |
void | SetDebug (bool debugFlag) const |
void | SetReferenceCount (int) override |
void | UnRegister () const noexcept override |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
![]() | |
Pointer | Clone () const |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
Protected Member Functions | |
EdgeStatusType | CheckStatus (QEType *e, std::stack< TQEType * > &oToBeDeleted) |
PointIdentifier | CommonVertexNeighboor (QEType *e) |
bool | IsEdgeLinkingTwoDifferentBorders (QEType *e) |
bool | IsEye (QEType *e) |
bool | IsFaceIsolated (QEType *e, const bool iWasLeftFace, std::stack< TQEType * > &oToBeDeleted) |
bool | IsSamosa (QEType *e) |
bool | IsTetrahedron (QEType *e) |
void | PrintSelf (std::ostream &os, Indent indent) const override |
QEType * | Process (QEType *e) |
QEType * | ProcessIsolatedFace (QEType *e, std::stack< QEType * > &EdgesToBeDeleted) |
QEType * | ProcessIsolatedQuadEdge (QEType *e) |
QuadEdgeMeshEulerOperatorJoinVertexFunction () | |
~QuadEdgeMeshEulerOperatorJoinVertexFunction () override=default | |
![]() | |
QuadEdgeMeshFunctionBase () | |
QuadEdgeMeshFunctionBase () | |
~QuadEdgeMeshFunctionBase () override=default | |
~QuadEdgeMeshFunctionBase () override=default | |
![]() | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
~Object () override | |
![]() | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Protected Attributes | |
EdgeStatusType | m_EdgeStatus {} |
PointIdentifier | m_OldPointID {} |
![]() | |
MeshType * | m_Mesh |
MeshType * | m_Mesh |
![]() | |
std::atomic< int > | m_ReferenceCount {} |
using itk::QuadEdgeMeshEulerOperatorJoinVertexFunction< TMesh, TQEType >::CellIdentifier = typename MeshType::CellIdentifier |
Definition at line 80 of file itkQuadEdgeMeshEulerOperatorJoinVertexFunction.h.
using itk::QuadEdgeMeshEulerOperatorJoinVertexFunction< TMesh, TQEType >::ConstPointer = SmartPointer<const Self> |
Definition at line 66 of file itkQuadEdgeMeshEulerOperatorJoinVertexFunction.h.
using itk::QuadEdgeMeshEulerOperatorJoinVertexFunction< TMesh, TQEType >::FaceRefType = typename MeshType::FaceRefType |
Definition at line 81 of file itkQuadEdgeMeshEulerOperatorJoinVertexFunction.h.
using itk::QuadEdgeMeshFunctionBase< TMesh, TQEType * >::MeshType |
Mesh type that must be modified
Definition at line 70 of file itkQuadEdgeMeshFunctionBase.h.
using itk::QuadEdgeMeshFunctionBase< TMesh, TQEType * >::OutputType |
Output type
Definition at line 74 of file itkQuadEdgeMeshFunctionBase.h.
using itk::QuadEdgeMeshEulerOperatorJoinVertexFunction< TMesh, TQEType >::Pointer = SmartPointer<Self> |
Definition at line 65 of file itkQuadEdgeMeshEulerOperatorJoinVertexFunction.h.
using itk::QuadEdgeMeshEulerOperatorJoinVertexFunction< TMesh, TQEType >::PointIdentifier = typename MeshType::PointIdentifier |
Definition at line 79 of file itkQuadEdgeMeshEulerOperatorJoinVertexFunction.h.
using itk::QuadEdgeMeshEulerOperatorJoinVertexFunction< TMesh, TQEType >::QEType = TQEType |
Type of QuadEdge with which to apply slicing.
Definition at line 74 of file itkQuadEdgeMeshEulerOperatorJoinVertexFunction.h.
using itk::QuadEdgeMeshEulerOperatorJoinVertexFunction< TMesh, TQEType >::Self = QuadEdgeMeshEulerOperatorJoinVertexFunction |
Standard class type aliases.
Definition at line 64 of file itkQuadEdgeMeshEulerOperatorJoinVertexFunction.h.
using itk::QuadEdgeMeshEulerOperatorJoinVertexFunction< TMesh, TQEType >::Superclass = QuadEdgeMeshFunctionBase<TMesh, TQEType *> |
Definition at line 67 of file itkQuadEdgeMeshEulerOperatorJoinVertexFunction.h.
enum itk::QuadEdgeMeshEulerOperatorJoinVertexFunction::EdgeStatusType |
Enumerator | |
---|---|
STANDARD_CONFIG | |
EDGE_NULL | |
MESH_NULL | |
EDGE_ISOLATED | |
TOO_MANY_COMMON_VERTICES | |
TETRAHEDRON_CONFIG | |
QUADEDGE_ISOLATED | |
FACE_ISOLATED | |
SAMOSA_CONFIG | |
EYE_CONFIG | |
EDGE_JOINING_DIFFERENT_BORDERS |
Definition at line 87 of file itkQuadEdgeMeshEulerOperatorJoinVertexFunction.h.
|
protected |
|
overrideprotecteddefault |
|
protected |
|
protected |
[in] | e |
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
virtual |
Evaluate at the specified input position
|
virtual |
|
overridevirtual |
Reimplemented from itk::Object.
|
virtual |
|
protected |
|
protected |
|
protected |
[in] | e | |
[in] | iWasLeftFace | |
[out] | oToBeDeleted |
|
protected |
|
protected |
[in] | e |
|
static |
|
overrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::Object.
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 114 of file itkQuadEdgeMeshEulerOperatorJoinVertexFunction.h.
|
protected |
Definition at line 112 of file itkQuadEdgeMeshEulerOperatorJoinVertexFunction.h.