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

itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh > Class Template Reference

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

#include <itkSimplexMeshToTriangleMeshFilter.h>

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

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef SimplexMeshToTriangleMeshFilter 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::PixelType InputPixelType
typedef InputMeshType::MeshTraits::CellTraits InputCellTraitsType
typedef InputMeshType::PointsContainer InputPointsContainer
typedef InputPointsContainer::Pointer InputPointsContainerPointer
typedef InputPointsContainer::Iterator InputPointsContainerIterator
typedef InputMeshType::NeighborListType InputNeighbors
typedef InputMeshType::NeighborListType::iterator InputNeighborsIterator
typedef itk::AutomaticTopologyMeshSource<
TOutputMesh > 
AutoMeshSourceType
typedef InputMeshType::CellType SimplexCellType
typedef itk::PolygonCell<
SimplexCellType
SimplexPolygonType
typedef itk::MapContainer<
unsigned long, InputPointType
PointMapType
typedef PointMapType::Pointer PointMapPointer
typedef itk::CellInterfaceVisitorImplementation<
InputPixelType, InputCellTraitsType,
SimplexPolygonType, SimplexCellVisitor
SimplexVisitorInterfaceType
typedef SimplexVisitorInterfaceType::Pointer SimplexVisitorInterfacePointer
typedef SimplexCellType::MultiVisitor CellMultiVisitorType
typedef CellMultiVisitorType::Pointer CellMultiVisitorPointer

Public Member Functions

virtual const char * GetNameOfClass () const

Static Public Member Functions

Pointer New ()

Protected Member Functions

 SimplexMeshToTriangleMeshFilter ()
 ~SimplexMeshToTriangleMeshFilter ()
 SimplexMeshToTriangleMeshFilter (const Self &)
void operator= (const Self &)
void PrintSelf (std::ostream &os, Indent indent) const
virtual void GenerateData ()
void Initialize ()
void CreateTriangles ()
unsigned long FindCellId (unsigned long id1, unsigned long id2, unsigned long id3)

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 48 of file itkSimplexMeshToTriangleMeshFilter.h.


Member Typedef Documentation

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

Definition at line 83 of file itkSimplexMeshToTriangleMeshFilter.h.

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

Definition at line 162 of file itkSimplexMeshToTriangleMeshFilter.h.

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

Definition at line 161 of file itkSimplexMeshToTriangleMeshFilter.h.

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

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

Definition at line 60 of file itkSimplexMeshToTriangleMeshFilter.h.

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

Definition at line 73 of file itkSimplexMeshToTriangleMeshFilter.h.

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

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

Definition at line 70 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 69 of file itkSimplexMeshToTriangleMeshFilter.h.

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

Definition at line 79 of file itkSimplexMeshToTriangleMeshFilter.h.

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

Definition at line 80 of file itkSimplexMeshToTriangleMeshFilter.h.

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

Definition at line 72 of file itkSimplexMeshToTriangleMeshFilter.h.

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

Definition at line 75 of file itkSimplexMeshToTriangleMeshFilter.h.

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

Definition at line 77 of file itkSimplexMeshToTriangleMeshFilter.h.

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

Definition at line 76 of file itkSimplexMeshToTriangleMeshFilter.h.

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

Definition at line 71 of file itkSimplexMeshToTriangleMeshFilter.h.

Referenced by itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::SimplexCellVisitor::Visit().

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 59 of file itkSimplexMeshToTriangleMeshFilter.h.

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

Definition at line 90 of file itkSimplexMeshToTriangleMeshFilter.h.

Referenced by itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::operator=().

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

Definition at line 89 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 53 of file itkSimplexMeshToTriangleMeshFilter.h.

Referenced by itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::SimplexMeshToTriangleMeshFilter().

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

Definition at line 85 of file itkSimplexMeshToTriangleMeshFilter.h.

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

Definition at line 86 of file itkSimplexMeshToTriangleMeshFilter.h.

Referenced by itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::SimplexCellVisitor::Visit().

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

Definition at line 160 of file itkSimplexMeshToTriangleMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
typedef itk::CellInterfaceVisitorImplementation<InputPixelType, InputCellTraitsType, SimplexPolygonType, SimplexCellVisitor> itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::SimplexVisitorInterfaceType
 

Definition at line 158 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 56 of file itkSimplexMeshToTriangleMeshFilter.h.


Constructor & Destructor Documentation

template<class TInputMesh, class TOutputMesh>
itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::SimplexMeshToTriangleMeshFilter  )  [protected]
 

template<class TInputMesh, class TOutputMesh>
itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::~SimplexMeshToTriangleMeshFilter  )  [protected]
 

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

Definition at line 171 of file itkSimplexMeshToTriangleMeshFilter.h.

References itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::Self.


Member Function Documentation

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

creates dual triangles for all simplex cells

template<class TInputMesh, class TOutputMesh>
unsigned long itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::FindCellId unsigned long  id1,
unsigned long  id2,
unsigned long  id3
[protected]
 

part of algorithm

template<class TInputMesh, class TOutputMesh>
virtual void itk::SimplexMeshToTriangleMeshFilter< 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 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>
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  )  [inline, protected]
 

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

Definition at line 173 of file itkSimplexMeshToTriangleMeshFilter.h.

References itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::m_Centers, and itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::PointMapPointer.

template<class TInputMesh, class TOutputMesh>
void itk::SimplexMeshToTriangleMeshFilter< 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 >.


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 188 of file itkSimplexMeshToTriangleMeshFilter.h.

Referenced by itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::operator=().


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