ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#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. disconneted 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 disconected 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 *h) |
virtual EdgeStatusType | GetEdgeStatus () const |
virtual const char * | GetNameOfClass () const |
virtual PointIdentifier | GetOldPointID () const |
Public Member Functions inherited from itk::QuadEdgeMeshFunctionBase< TMesh, TQEType * > | |
virtual void | SetInput (MeshType *input) |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) 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) |
void | SetDebug (bool debugFlag) const |
void | SetReferenceCount (int) override |
void | UnRegister () const noexceptoverride |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
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 | |
Protected Member Functions inherited from itk::QuadEdgeMeshFunctionBase< TMesh, TQEType * > | |
QuadEdgeMeshFunctionBase () | |
~QuadEdgeMeshFunctionBase () override=default | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
~Object () override | |
Protected Member Functions inherited from itk::LightObject | |
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 |
Protected Attributes inherited from itk::QuadEdgeMeshFunctionBase< TMesh, TQEType * > | |
MeshType * | m_Mesh |
Protected Attributes inherited from itk::LightObject | |
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::QuadEdgeMeshEulerOperatorJoinVertexFunction< TMesh, TQEType >::MeshType = typename Superclass::MeshType |
Definition at line 76 of file itkQuadEdgeMeshEulerOperatorJoinVertexFunction.h.
using itk::QuadEdgeMeshEulerOperatorJoinVertexFunction< TMesh, TQEType >::OutputType = typename Superclass::OutputType |
Definition at line 77 of file itkQuadEdgeMeshEulerOperatorJoinVertexFunction.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 86 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 |
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::QuadEdgeMeshFunctionBase< TMesh, TQEType * >.
|
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 111 of file itkQuadEdgeMeshEulerOperatorJoinVertexFunction.h.
|
protected |
Definition at line 109 of file itkQuadEdgeMeshEulerOperatorJoinVertexFunction.h.