ITK  4.2.0
Insight Segmentation and Registration Toolkit
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh > Class Template Reference

#include <itkSimplexMeshToTriangleMeshFilter.h>

+ Inheritance diagram for itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >:
+ Collaboration diagram for itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >:

List of all members.

Classes

class  SimplexCellVisitor

Public Types

typedef
itk::AutomaticTopologyMeshSource
< TOutputMesh > 
AutoMeshSourceType
typedef
InputMeshType::CellIdentifier 
CellIdentifier
typedef
CellMultiVisitorType::Pointer 
CellMultiVisitorPointer
typedef
SimplexCellType::MultiVisitor 
CellMultiVisitorType
typedef SmartPointer< const SelfConstPointer
typedef
InputMeshType::MeshTraits::CellTraits 
InputCellTraitsType
typedef InputMeshType::ConstPointer InputMeshConstPointer
typedef TInputMesh InputMeshType
typedef
InputMeshType::NeighborListType 
InputNeighbors
typedef
InputMeshType::NeighborListType::iterator 
InputNeighborsIterator
typedef InputMeshType::PixelType InputPixelType
typedef
InputMeshType::PointsContainer 
InputPointsContainer
typedef
InputPointsContainer::Iterator 
InputPointsContainerIterator
typedef
InputPointsContainer::Pointer 
InputPointsContainerPointer
typedef InputMeshType::PointType InputPointType
typedef SmartPointer< SelfPointer
typedef
InputMeshType::PointIdentifier 
PointIdentifier
typedef PointMapType::Pointer PointMapPointer
typedef itk::MapContainer
< PointIdentifier,
InputPointType
PointMapType
typedef
SimplexMeshToTriangleMeshFilter 
Self
typedef InputMeshType::CellType SimplexCellType
typedef itk::PolygonCell
< SimplexCellType
SimplexPolygonType
typedef
SimplexVisitorInterfaceType::Pointer 
SimplexVisitorInterfacePointer
typedef
itk::CellInterfaceVisitorImplementation
< InputPixelType,
InputCellTraitsType,
SimplexPolygonType,
SimplexCellVisitor
SimplexVisitorInterfaceType
typedef MeshToMeshFilter
< TInputMesh, TOutputMesh > 
Superclass
- Public Types inherited from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >
typedef InputMeshType::Pointer InputMeshPointer
typedef OutputMeshType::Pointer OutputMeshPointer
typedef TOutputMesh OutputMeshType
- Public Types inherited from itk::MeshSource< TOutputMesh >
typedef
Superclass::DataObjectIdentifierType 
DataObjectIdentifierType
typedef DataObject::Pointer DataObjectPointer
typedef
ProcessObject::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
- Public Types inherited from itk::ProcessObject
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
typedef std::vector
< DataObjectIdentifierType
NameArray
- Public Types inherited from itk::Object
- Public Types inherited from itk::LightObject

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
- Public Member Functions inherited from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >
const InputMeshTypeGetInput (void) const
const InputMeshTypeGetInput (unsigned int idx) const
void SetInput (const InputMeshType *input)
- Public Member Functions inherited from itk::MeshSource< TOutputMesh >
OutputMeshTypeGetOutput (void)
OutputMeshTypeGetOutput (unsigned int idx)
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
void SetOutput (TOutputMesh *output)
virtual void GraftOutput (DataObject *output)
virtual DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx)
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
virtual void AbortGenerateDataOn ()
virtual void EnlargeOutputRequestedRegion (DataObject *)
virtual const bool & GetAbortGenerateData ()
NameArray GetInputNames () const
MultiThreader * GetMultiThreader () const
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
DataObjectPointerArraySizeType GetNumberOfInputs () const
DataObjectPointerArraySizeType GetNumberOfOutputs () const
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
NameArray GetOutputNames () const
virtual const float & GetProgress ()
NameArray GetRequiredInputNames () const
bool HasInput (const DataObjectIdentifierType &key) const
bool HasOutput (const DataObjectIdentifierType &key) const
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
virtual void PrepareOutputs ()
virtual void PropagateRequestedRegion (DataObject *output)
virtual void ResetPipeline ()
virtual void SetAbortGenerateData (bool _arg)
virtual void SetProgress (float _arg)
virtual void Update ()
virtual void UpdateLargestPossibleRegion ()
virtual void UpdateOutputData (DataObject *output)
virtual void UpdateOutputInformation ()
void UpdateProgress (float amount)
DataObjectPointerArray GetInputs ()
DataObjectPointerArray GetOutputs ()
DataObjectPointerArray GetIndexedInputs ()
DataObjectPointerArray GetIndexedOutputs ()
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
virtual void SetReleaseDataFlag (bool flag)
virtual bool GetReleaseDataFlag () const
void ReleaseDataFlagOn ()
void ReleaseDataFlagOff ()
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
virtual const bool & GetReleaseDataBeforeUpdateFlag ()
virtual void ReleaseDataBeforeUpdateFlagOn ()
virtual void ReleaseDataBeforeUpdateFlagOff ()
virtual void SetNumberOfThreads (ThreadIdType _arg)
virtual const ThreadIdTypeGetNumberOfThreads ()
- 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
CommandGetCommand (unsigned long tag)
bool GetDebug () const
MetaDataDictionaryGetMetaDataDictionary (void)
const MetaDataDictionaryGetMetaDataDictionary (void) const
virtual unsigned long GetMTime () const
virtual const TimeStampGetTimeStamp () const
bool HasObserver (const EventObject &event) const
void InvokeEvent (const EventObject &)
void InvokeEvent (const EventObject &) const
virtual void Modified () const
virtual void Register () const
void RemoveAllObservers ()
void RemoveObserver (unsigned long tag)
void SetDebug (bool debugFlag) const
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
virtual void SetReferenceCount (int)
virtual void UnRegister () 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 ()

Protected Member Functions

void CreateTriangles ()
CellIdentifier FindCellId (CellIdentifier id1, CellIdentifier id2, CellIdentifier id3)
virtual void GenerateData ()
void Initialize ()
void operator= (const Self &)
void PrintSelf (std::ostream &os, Indent indent) const
 SimplexMeshToTriangleMeshFilter ()
 SimplexMeshToTriangleMeshFilter (const Self &)
virtual ~SimplexMeshToTriangleMeshFilter ()
- Protected Member Functions inherited from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >
void CopyInputMeshToOutputMeshCellData ()
void CopyInputMeshToOutputMeshCellLinks ()
void CopyInputMeshToOutputMeshCells ()
void CopyInputMeshToOutputMeshPointData ()
void CopyInputMeshToOutputMeshPoints ()
 MeshToMeshFilter ()
 ~MeshToMeshFilter ()
- Protected Member Functions inherited from itk::MeshSource< TOutputMesh >
void GenerateInputRequestedRegion ()
 MeshSource ()
virtual ~MeshSource ()
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
virtual void AddOutput (DataObject *output)
bool AddRequiredInputName (const DataObjectIdentifierType &)
virtual void CacheInputReleaseDataFlags ()
virtual void GenerateOutputInformation ()
virtual void GenerateOutputRequestedRegion (DataObject *output)
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs ()
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs ()
bool IsIndexedName (const DataObjectIdentifierType &) const
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
DataObjectPointerArraySizeType MakeIndexFromName (const DataObjectIdentifierType &) const
DataObjectIdentifierType MakeNameFromIndex (DataObjectPointerArraySizeType) const
 ProcessObject ()
virtual void PropagateResetPipeline ()
virtual void ReleaseInputs ()
virtual void RemoveInput (const DataObjectIdentifierType &key)
virtual void RemoveInput (DataObjectPointerArraySizeType)
virtual void RemoveOutput (const DataObjectIdentifierType &key)
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
virtual void RestoreInputReleaseDataFlags ()
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
virtual void SetPrimaryInput (DataObject *input)
virtual void SetPrimaryOutput (DataObject *output)
void SetRequiredInputNames (const NameArray &)
virtual void VerifyInputInformation ()
virtual void VerifyPreconditions ()
 ~ProcessObject ()
DataObjectGetInput (const DataObjectIdentifierType &key)
const DataObjectGetInput (const DataObjectIdentifierType &key) const
DataObjectGetInput (DataObjectPointerArraySizeType)
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
DataObjectGetPrimaryInput ()
const DataObjectGetPrimaryInput () const
DataObjectGetOutput (const DataObjectIdentifierType &key)
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
DataObjectGetPrimaryOutput ()
const DataObjectGetPrimaryOutput () const
virtual void PushBackInput (const DataObject *input)
virtual void PopBackInput ()
virtual void PushFrontInput (const DataObject *input)
virtual void PopFrontInput ()
- 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

PointMapPointer m_Centers

Detailed Description

template<class TInputMesh, class TOutputMesh>
class itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >

This filter converts a 2-simplex mesh into a triangle mesh.

Convert a simplex mesh into a triangle mesh. Therefore the center of each simplex cell is computed. These centers are taken as the points for the triangle mesh then the points are connected.

Author:
Thomas Boettger. Division Medical and Biological Informatics, German Cancer Research Center, Heidelberg.

Definition at line 43 of file itkSimplexMeshToTriangleMeshFilter.h.


Member Typedef Documentation

template<class TInputMesh , class TOutputMesh >
typedef itk::AutomaticTopologyMeshSource< TOutputMesh > itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::AutoMeshSourceType

Definition at line 77 of file itkSimplexMeshToTriangleMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef InputMeshType::CellIdentifier itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::CellIdentifier

Definition at line 68 of file itkSimplexMeshToTriangleMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef CellMultiVisitorType::Pointer itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::CellMultiVisitorPointer

Definition at line 160 of file itkSimplexMeshToTriangleMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef SimplexCellType::MultiVisitor itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::CellMultiVisitorType

Definition at line 159 of file itkSimplexMeshToTriangleMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef SmartPointer< const Self > itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::ConstPointer
template<class TInputMesh , class TOutputMesh >
typedef InputMeshType::MeshTraits::CellTraits itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::InputCellTraitsType

Definition at line 66 of file itkSimplexMeshToTriangleMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef InputMeshType::ConstPointer itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::InputMeshConstPointer

Definition at line 63 of file itkSimplexMeshToTriangleMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef TInputMesh itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::InputMeshType

Some convenient typedefs.

Reimplemented from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >.

Definition at line 60 of file itkSimplexMeshToTriangleMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef InputMeshType::NeighborListType itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::InputNeighbors

Definition at line 74 of file itkSimplexMeshToTriangleMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef InputMeshType::NeighborListType::iterator itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::InputNeighborsIterator

Definition at line 75 of file itkSimplexMeshToTriangleMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef InputMeshType::PixelType itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::InputPixelType

Definition at line 65 of file itkSimplexMeshToTriangleMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef InputMeshType::PointsContainer itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::InputPointsContainer

Definition at line 70 of file itkSimplexMeshToTriangleMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef InputPointsContainer::Iterator itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::InputPointsContainerIterator

Definition at line 72 of file itkSimplexMeshToTriangleMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef InputPointsContainer::Pointer itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::InputPointsContainerPointer

Definition at line 71 of file itkSimplexMeshToTriangleMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef InputMeshType::PointType itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::InputPointType

Definition at line 64 of file itkSimplexMeshToTriangleMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef SmartPointer< Self > itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::Pointer

Smart pointer typedef support

Reimplemented from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >.

Definition at line 53 of file itkSimplexMeshToTriangleMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef InputMeshType::PointIdentifier itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::PointIdentifier

Definition at line 67 of file itkSimplexMeshToTriangleMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef PointMapType::Pointer itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::PointMapPointer

Definition at line 84 of file itkSimplexMeshToTriangleMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef itk::MapContainer< PointIdentifier, InputPointType > itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::PointMapType

Definition at line 83 of file itkSimplexMeshToTriangleMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef SimplexMeshToTriangleMeshFilter itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::Self

Standard "Self" typedef.

Reimplemented from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >.

Definition at line 47 of file itkSimplexMeshToTriangleMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef InputMeshType::CellType itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::SimplexCellType

Definition at line 79 of file itkSimplexMeshToTriangleMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef itk::PolygonCell< SimplexCellType > itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::SimplexPolygonType

Definition at line 80 of file itkSimplexMeshToTriangleMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef SimplexVisitorInterfaceType::Pointer itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::SimplexVisitorInterfacePointer

Definition at line 158 of file itkSimplexMeshToTriangleMeshFilter.h.

Definition at line 156 of file itkSimplexMeshToTriangleMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef MeshToMeshFilter< TInputMesh, TOutputMesh > itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::Superclass

Standard "Superclass" typedef.

Reimplemented from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >.

Definition at line 50 of file itkSimplexMeshToTriangleMeshFilter.h.


Constructor & Destructor Documentation

template<class TInputMesh , class TOutputMesh >
itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::SimplexMeshToTriangleMeshFilter ( )
protected
template<class TInputMesh , class TOutputMesh >
virtual itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::~SimplexMeshToTriangleMeshFilter ( )
protectedvirtual
template<class TInputMesh , class TOutputMesh >
itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::SimplexMeshToTriangleMeshFilter ( const Self )
inlineprotected

Definition at line 165 of file itkSimplexMeshToTriangleMeshFilter.h.


Member Function Documentation

template<class TInputMesh , class TOutputMesh >
virtual::itk::LightObject::Pointer itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::CreateAnother ( void  ) const
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::MeshToMeshFilter< TInputMesh, TOutputMesh >.

template<class TInputMesh , class TOutputMesh >
void itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::CreateTriangles ( )
protected

creates dual triangles for all simplex cells

template<class TInputMesh , class TOutputMesh >
CellIdentifier itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::FindCellId ( CellIdentifier  id1,
CellIdentifier  id2,
CellIdentifier  id3 
)
protected

part of algorithm

template<class TInputMesh , class TOutputMesh >
virtual void itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::GenerateData ( void  )
protectedvirtual

This method causes the filter to generate its output.

Reimplemented from itk::ProcessObject.

template<class TInputMesh , class TOutputMesh >
virtual const char* itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >.

template<class TInputMesh , class TOutputMesh >
void itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::Initialize ( )
protected
template<class TInputMesh , class TOutputMesh >
static Pointer itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::New ( )
static

Method of creation through the object factory.

Reimplemented from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >.

template<class TInputMesh , class TOutputMesh >
void itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::operator= ( const Self )
inlineprotected

Time when GenerateOutputInformation was last called.

Reimplemented from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >.

Definition at line 166 of file itkSimplexMeshToTriangleMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
void itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

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::MeshSource< TOutputMesh >.


Member Data Documentation

template<class TInputMesh , class TOutputMesh >
PointMapPointer itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::m_Centers
protected

attribute stores the result of the simplex cell visitor

Definition at line 181 of file itkSimplexMeshToTriangleMeshFilter.h.


The documentation for this class was generated from the following file: