ITK
4.8.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 |
virtual void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) override |
virtual void | UnRegister () const noexceptoverride |
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 () | |
Protected Member Functions inherited from itk::QuadEdgeMeshFunctionBase< TMesh, TQEType * > | |
QuadEdgeMeshFunctionBase () | |
~QuadEdgeMeshFunctionBase () | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
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 | |
AtomicInt< int > | m_ReferenceCount |
Private Member Functions | |
void | operator= (const Self &) |
QuadEdgeMeshEulerOperatorJoinVertexFunction (const Self &) | |
typedef MeshType::CellIdentifier itk::QuadEdgeMeshEulerOperatorJoinVertexFunction< TMesh, TQEType >::CellIdentifier |
Definition at line 79 of file itkQuadEdgeMeshEulerOperatorJoinVertexFunction.h.
typedef SmartPointer< const Self > itk::QuadEdgeMeshEulerOperatorJoinVertexFunction< TMesh, TQEType >::ConstPointer |
Definition at line 65 of file itkQuadEdgeMeshEulerOperatorJoinVertexFunction.h.
typedef MeshType::FaceRefType itk::QuadEdgeMeshEulerOperatorJoinVertexFunction< TMesh, TQEType >::FaceRefType |
Definition at line 80 of file itkQuadEdgeMeshEulerOperatorJoinVertexFunction.h.
typedef Superclass::MeshType itk::QuadEdgeMeshEulerOperatorJoinVertexFunction< TMesh, TQEType >::MeshType |
Definition at line 75 of file itkQuadEdgeMeshEulerOperatorJoinVertexFunction.h.
typedef Superclass::OutputType itk::QuadEdgeMeshEulerOperatorJoinVertexFunction< TMesh, TQEType >::OutputType |
Definition at line 76 of file itkQuadEdgeMeshEulerOperatorJoinVertexFunction.h.
typedef SmartPointer< Self > itk::QuadEdgeMeshEulerOperatorJoinVertexFunction< TMesh, TQEType >::Pointer |
Definition at line 64 of file itkQuadEdgeMeshEulerOperatorJoinVertexFunction.h.
typedef MeshType::PointIdentifier itk::QuadEdgeMeshEulerOperatorJoinVertexFunction< TMesh, TQEType >::PointIdentifier |
Definition at line 78 of file itkQuadEdgeMeshEulerOperatorJoinVertexFunction.h.
typedef TQEType itk::QuadEdgeMeshEulerOperatorJoinVertexFunction< TMesh, TQEType >::QEType |
Type of QuadEdge with which to apply slicing.
Definition at line 70 of file itkQuadEdgeMeshEulerOperatorJoinVertexFunction.h.
typedef QuadEdgeMeshEulerOperatorJoinVertexFunction itk::QuadEdgeMeshEulerOperatorJoinVertexFunction< TMesh, TQEType >::Self |
Standard class typedefs.
Definition at line 63 of file itkQuadEdgeMeshEulerOperatorJoinVertexFunction.h.
typedef QuadEdgeMeshFunctionBase< TMesh, TQEType * > itk::QuadEdgeMeshEulerOperatorJoinVertexFunction< TMesh, TQEType >::Superclass |
Definition at line 66 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 85 of file itkQuadEdgeMeshEulerOperatorJoinVertexFunction.h.
|
protected |
|
inlineprotected |
Definition at line 104 of file itkQuadEdgeMeshEulerOperatorJoinVertexFunction.h.
|
private |
|
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 |
|
private |
|
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 110 of file itkQuadEdgeMeshEulerOperatorJoinVertexFunction.h.
|
protected |
Definition at line 108 of file itkQuadEdgeMeshEulerOperatorJoinVertexFunction.h.