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

This filter changes the topology of a 2-simplex mesh. More...

#include <itkSimplexMeshAdaptTopologyFilter.h>

Inheritance diagram for itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >:
Collaboration diagram for itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >:

List of all members.

Classes

class  SimplexCellVisitor

Public Types

typedef
InputMeshType::CellAutoPointer 
CellAutoPointer
typedef
InputMeshType::CellIdentifier 
CellIdentifier
typedef
CellMultiVisitorType::Pointer 
CellMultiVisitorPointer
typedef InputCellType::MultiVisitor CellMultiVisitorType
typedef SmartPointer< const SelfConstPointer
typedef CovariantVector
< typename
InputVectorType::ValueType, 3 > 
CovariantVectorType
typedef
DoubleValueMapType::Iterator 
DoubleContainerIterator
typedef itk::MapContainer
< CellIdentifier, double > 
DoubleValueMapType
typedef
InputCellType::CellAutoPointer 
InputCellAutoPointer
typedef
InputCellType::PointIdIterator 
InputCellPointIdIterator
typedef
InputMeshType::MeshTraits::CellTraits 
InputCellTraitsType
typedef InputMeshType::CellType InputCellType
typedef InputMeshType::Pointer InputMeshPointer
typedef TInputMesh InputMeshType
typedef InputMeshType::PixelType InputPixelType
typedef InputMeshType::PointType InputPointType
typedef
InputPolygonType::PointIdIterator 
InputPolygonPointIdIterator
typedef itk::PolygonCell
< InputCellType
InputPolygonType
typedef InputMeshType::VectorType InputVectorType
typedef OutputMeshType::CellType OutputCellType
typedef OutputMeshType::Pointer OutputMeshPointer
typedef TOutputMesh OutputMeshType
typedef itk::PolygonCell
< OutputCellType
OutputPolygonType
typedef SmartPointer< SelfPointer
typedef
InputMeshType::PointIdentifier 
PointIdentifier
typedef
SimplexMeshAdaptTopologyFilter 
Self
typedef
SimplexVisitorInterfaceType::Pointer 
SimplexVisitorInterfacePointer
typedef
itk::CellInterfaceVisitorImplementation
< InputPixelType,
InputCellTraitsType,
InputPolygonType,
SimplexCellVisitor
SimplexVisitorInterfaceType
typedef MeshToMeshFilter
< TInputMesh, TOutputMesh > 
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual int GetModifiedCount () const
virtual const char * GetNameOfClass () const
virtual int GetSelectionMethod () const
virtual double GetThreshold () const
virtual void SetSelectionMethod (int _arg)
virtual void SetThreshold (double _arg)

Static Public Member Functions

static Pointer New ()

Protected Member Functions

InputPointType ComputeCellCenter (InputCellAutoPointer &simplexCell)
void ComputeCellParameters ()
void CopyInputMeshToOutputMeshGeometryData ()
virtual void GenerateData ()
void Initialize ()
void ModifyNeighborCells (CellIdentifier id1, CellIdentifier id2, PointIdentifier insertPointId)
void operator= (const Self &)
void PrintSelf (std::ostream &os, Indent indent) const
 SimplexMeshAdaptTopologyFilter ()
 SimplexMeshAdaptTopologyFilter (const Self &)
 ~SimplexMeshAdaptTopologyFilter ()

Protected Attributes

CellIdentifier m_IdOffset
int m_ModifiedCount
InputCellAutoPointer m_NewSimplexCellPointer
OutputMeshPointer m_Output
int m_SelectionMethod
double m_Threshold

Detailed Description

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

This filter changes the topology of a 2-simplex mesh.

Currently only one transformation for inserting new cells into a mesh is implemented. For insertion several criteria are compute, e.g. the curvature in a mesh point. The user can set a threshold value to control how many cells will be manipulated.

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

Definition at line 50 of file itkSimplexMeshAdaptTopologyFilter.h.


Member Typedef Documentation

template<class TInputMesh , class TOutputMesh >
typedef InputMeshType::CellAutoPointer itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::CellAutoPointer

Definition at line 82 of file itkSimplexMeshAdaptTopologyFilter.h.

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

Definition at line 79 of file itkSimplexMeshAdaptTopologyFilter.h.

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

Definition at line 237 of file itkSimplexMeshAdaptTopologyFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef InputCellType::MultiVisitor itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::CellMultiVisitorType

Definition at line 236 of file itkSimplexMeshAdaptTopologyFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef SmartPointer< const Self > itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::ConstPointer

Smart pointer typedef support

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

Definition at line 63 of file itkSimplexMeshAdaptTopologyFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef CovariantVector< typename InputVectorType::ValueType, 3 > itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::CovariantVectorType

Definition at line 85 of file itkSimplexMeshAdaptTopologyFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef DoubleValueMapType::Iterator itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::DoubleContainerIterator

Definition at line 92 of file itkSimplexMeshAdaptTopologyFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef itk::MapContainer< CellIdentifier, double > itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::DoubleValueMapType

Definition at line 91 of file itkSimplexMeshAdaptTopologyFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef InputCellType::CellAutoPointer itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::InputCellAutoPointer

Definition at line 81 of file itkSimplexMeshAdaptTopologyFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef InputCellType::PointIdIterator itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::InputCellPointIdIterator

Definition at line 80 of file itkSimplexMeshAdaptTopologyFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef InputMeshType::MeshTraits::CellTraits itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::InputCellTraitsType

Definition at line 76 of file itkSimplexMeshAdaptTopologyFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef InputMeshType::CellType itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::InputCellType

Definition at line 77 of file itkSimplexMeshAdaptTopologyFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef InputMeshType::Pointer itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::InputMeshPointer
template<class TInputMesh , class TOutputMesh >
typedef TInputMesh itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::InputMeshType

Some convenient typedefs.

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

Definition at line 69 of file itkSimplexMeshAdaptTopologyFilter.h.

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

Definition at line 75 of file itkSimplexMeshAdaptTopologyFilter.h.

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

Definition at line 73 of file itkSimplexMeshAdaptTopologyFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef InputPolygonType::PointIdIterator itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::InputPolygonPointIdIterator

Definition at line 84 of file itkSimplexMeshAdaptTopologyFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef itk::PolygonCell< InputCellType > itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::InputPolygonType

Definition at line 83 of file itkSimplexMeshAdaptTopologyFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef InputMeshType::VectorType itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::InputVectorType

Definition at line 74 of file itkSimplexMeshAdaptTopologyFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef OutputMeshType::CellType itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::OutputCellType

Definition at line 88 of file itkSimplexMeshAdaptTopologyFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef OutputMeshType::Pointer itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::OutputMeshPointer
template<class TInputMesh , class TOutputMesh >
typedef TOutputMesh itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::OutputMeshType
template<class TInputMesh , class TOutputMesh >
typedef itk::PolygonCell< OutputCellType > itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::OutputPolygonType

Definition at line 89 of file itkSimplexMeshAdaptTopologyFilter.h.

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

Smart pointer typedef support

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

Definition at line 60 of file itkSimplexMeshAdaptTopologyFilter.h.

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

Definition at line 78 of file itkSimplexMeshAdaptTopologyFilter.h.

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

Standard "Self" typedef.

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

Definition at line 54 of file itkSimplexMeshAdaptTopologyFilter.h.

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

Definition at line 235 of file itkSimplexMeshAdaptTopologyFilter.h.

Definition at line 233 of file itkSimplexMeshAdaptTopologyFilter.h.

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

Standard "Superclass" typedef.

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

Definition at line 57 of file itkSimplexMeshAdaptTopologyFilter.h.


Constructor & Destructor Documentation

template<class TInputMesh , class TOutputMesh >
itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::SimplexMeshAdaptTopologyFilter ( ) [protected]
template<class TInputMesh , class TOutputMesh >
itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::~SimplexMeshAdaptTopologyFilter ( ) [protected]
template<class TInputMesh , class TOutputMesh >
itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::SimplexMeshAdaptTopologyFilter ( const Self ) [inline, protected]

Definition at line 250 of file itkSimplexMeshAdaptTopologyFilter.h.


Member Function Documentation

template<class TInputMesh , class TOutputMesh >
InputPointType itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::ComputeCellCenter ( InputCellAutoPointer simplexCell) [protected]

Compute the center of a cell

template<class TInputMesh , class TOutputMesh >
void itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::ComputeCellParameters ( ) [protected]

Method computes and evaluates cell propeties, like area and curvature and determines whether a cell should be refined or not.

template<class TInputMesh , class TOutputMesh >
void itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::CopyInputMeshToOutputMeshGeometryData ( ) [protected]

Copy Geometry data from the input mesh to the output mesh.

template<class TInputMesh , class TOutputMesh >
virtual::itk::LightObject::Pointer itk::SimplexMeshAdaptTopologyFilter< 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 >
virtual void itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::GenerateData ( void  ) [protected, virtual]

This method causes the filter to generate its output.

Reimplemented from itk::ProcessObject.

template<class TInputMesh , class TOutputMesh >
virtual int itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::GetModifiedCount ( ) const [virtual]
template<class TInputMesh , class TOutputMesh >
virtual const char* itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

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

template<class TInputMesh , class TOutputMesh >
virtual int itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::GetSelectionMethod ( ) const [virtual]
template<class TInputMesh , class TOutputMesh >
virtual double itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::GetThreshold ( ) const [virtual]
template<class TInputMesh , class TOutputMesh >
void itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::Initialize ( ) [protected]

Initialize this filters containers

template<class TInputMesh , class TOutputMesh >
void itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::ModifyNeighborCells ( CellIdentifier  id1,
CellIdentifier  id2,
PointIdentifier  insertPointId 
) [protected]

Update topology neighbor relations for all cells which are were influenced by he insertion of new points.

template<class TInputMesh , class TOutputMesh >
static Pointer itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::New ( ) [static]

Method of creation through the object factory.

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

template<class TInputMesh , class TOutputMesh >
void itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::operator= ( const Self ) [inline, protected]

Time when GenerateOutputInformation was last called.

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

Definition at line 252 of file itkSimplexMeshAdaptTopologyFilter.h.

template<class TInputMesh , class TOutputMesh >
void itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

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 >.

template<class TInputMesh , class TOutputMesh >
virtual void itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::SetSelectionMethod ( int  _arg) [virtual]
template<class TInputMesh , class TOutputMesh >
virtual void itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::SetThreshold ( double  _arg) [virtual]

Member Data Documentation

template<class TInputMesh , class TOutputMesh >
CellIdentifier itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::m_IdOffset [protected]

class member storing cell id offset

Definition at line 288 of file itkSimplexMeshAdaptTopologyFilter.h.

template<class TInputMesh , class TOutputMesh >
int itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::m_ModifiedCount [protected]

atttribute contains the number of cells which were modified during the last Update()

Definition at line 305 of file itkSimplexMeshAdaptTopologyFilter.h.

template<class TInputMesh , class TOutputMesh >
InputCellAutoPointer itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::m_NewSimplexCellPointer [protected]

Definition at line 313 of file itkSimplexMeshAdaptTopologyFilter.h.

template<class TInputMesh , class TOutputMesh >
OutputMeshPointer itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::m_Output [protected]

member for accessing the filter result during creation

Definition at line 311 of file itkSimplexMeshAdaptTopologyFilter.h.

template<class TInputMesh , class TOutputMesh >
int itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::m_SelectionMethod [protected]

different criteria for cell refinement selection

Definition at line 299 of file itkSimplexMeshAdaptTopologyFilter.h.

template<class TInputMesh , class TOutputMesh >
double itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::m_Threshold [protected]

threshold controls the percentage of cells to satify the selection criteria

Definition at line 294 of file itkSimplexMeshAdaptTopologyFilter.h.


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