Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

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

Inheritance graph
[legend]
Collaboration diagram for itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >:

Collaboration graph
[legend]
List of all members.

Public Types

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

Public Member Functions

virtual const char * GetNameOfClass () const
virtual void SetThreshold (double _arg)
virtual double GetThreshold ()
virtual void SetSelectionMethod (int _arg)
virtual int GetSelectionMethod ()
virtual int GetModifiedCount ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

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

Protected Attributes

unsigned long m_IdOffset
double m_Threshold
int m_SelectionMethod
int m_ModifiedCount
OutputMeshPointer m_Output
InputCellAutoPointer NewSimplexCellPointer

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 51 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 CellMultiVisitorType::Pointer itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::CellMultiVisitorPointer
 

Definition at line 235 of file itkSimplexMeshAdaptTopologyFilter.h.

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

Definition at line 234 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 65 of file itkSimplexMeshAdaptTopologyFilter.h.

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

Definition at line 93 of file itkSimplexMeshAdaptTopologyFilter.h.

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

Definition at line 92 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 78 of file itkSimplexMeshAdaptTopologyFilter.h.

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

Definition at line 79 of file itkSimplexMeshAdaptTopologyFilter.h.

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

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

Definition at line 74 of file itkSimplexMeshAdaptTopologyFilter.h.

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

Some convenient typedefs.

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

Definition at line 73 of file itkSimplexMeshAdaptTopologyFilter.h.

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

Definition at line 77 of file itkSimplexMeshAdaptTopologyFilter.h.

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

Definition at line 75 of file itkSimplexMeshAdaptTopologyFilter.h.

Referenced by itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::SimplexCellVisitor::ComputeArea().

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 76 of file itkSimplexMeshAdaptTopologyFilter.h.

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

Definition at line 89 of file itkSimplexMeshAdaptTopologyFilter.h.

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

Reimplemented from itk::MeshSource< TOutputMesh >.

Definition at line 88 of file itkSimplexMeshAdaptTopologyFilter.h.

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

Reimplemented from itk::MeshSource< TOutputMesh >.

Definition at line 87 of file itkSimplexMeshAdaptTopologyFilter.h.

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

Definition at line 90 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 62 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 56 of file itkSimplexMeshAdaptTopologyFilter.h.

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

Definition at line 233 of file itkSimplexMeshAdaptTopologyFilter.h.

template<class TInputMesh, class TOutputMesh>
typedef itk::CellInterfaceVisitorImplementation<InputPixelType, InputCellTraitsType, InputPolygonType, SimplexCellVisitor> itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::SimplexVisitorInterfaceType
 

Definition at line 231 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 59 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 253 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>
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  )  [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  )  [virtual]
 

template<class TInputMesh, class TOutputMesh>
virtual double itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::GetThreshold  )  [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 >::InsertNewCells  )  [protected]
 

Create new cells

template<class TInputMesh, class TOutputMesh>
void itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::ModifyNeighborCells unsigned long  id1,
unsigned long  id2,
unsigned long  insertPointId
[protected]
 

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

template<class TInputMesh, class TOutputMesh>
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]
 

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

Definition at line 257 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>
unsigned long itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::m_IdOffset [protected]
 

class member stoing cell id offset

Definition at line 300 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 318 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 324 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 312 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 307 of file itkSimplexMeshAdaptTopologyFilter.h.

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

Definition at line 326 of file itkSimplexMeshAdaptTopologyFilter.h.


The documentation for this class was generated from the following file:
Generated at Thu May 25 02:21:47 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000