18 #ifndef __itkSimplexMeshToTriangleMeshFilter_h
19 #define __itkSimplexMeshToTriangleMeshFilter_h
42 template<
typename TInputMesh,
typename TOutputMesh >
114 typedef typename SimplexPolygonType::PointIdIterator PointIdIterator;
125 this->
m_Mesh->GetPoint(*it, &p);
126 center += p.GetVectorFromOrigin();
186 #ifndef ITK_MANUAL_INSTANTIATION
187 #include "itkSimplexMeshToTriangleMeshFilter.hxx"
190 #endif //__SimplexMeshToTriangleMeshFilter_h
InputMeshType::PointIdentifier PointIdentifier
SimplexVisitorInterfaceType::Pointer SimplexVisitorInterfacePointer
Light weight base class for most itk classes.
InputMeshType::ConstPointer InputMeshConstPointer
PointMapPointer m_Centers
InputMeshType::CellIdentifier CellIdentifier
A template class used to implement a visitor object.
SimplexMeshToTriangleMeshFilter(const Self &)
SmartPointer< Self > Pointer
A wrapper of the STL "map" container.
Convenience class for generating meshes.
CellIdentifier FindCellId(CellIdentifier id1, CellIdentifier id2, CellIdentifier id3)
virtual void GenerateData()
virtual PointIdIterator PointIdsBegin(void)
MeshToMeshFilter is the base class for all process objects that output mesh data, and require mesh da...
CellMultiVisitorType::Pointer CellMultiVisitorPointer
virtual ~SimplexMeshToTriangleMeshFilter()
virtual PointIdIterator PointIdsEnd(void)
InputMeshType::MeshTraits::CellTraits InputCellTraitsType
itk::AutomaticTopologyMeshSource< TOutputMesh > AutoMeshSourceType
SmartPointer< const Self > ConstPointer
InputPointsContainer::Iterator InputPointsContainerIterator
virtual ~SimplexCellVisitor()
void PrintSelf(std::ostream &os, Indent indent) const
InputMeshType::PointType InputPointType
SimplexMeshToTriangleMeshFilter()
void SetMesh(const InputMeshType *mesh)
visits all polygon cells and compute the cell centers
MeshToMeshFilter< TInputMesh, TOutputMesh > Superclass
SimplexCellType::MultiVisitor CellMultiVisitorType
void operator=(const Self &)
itk::MapContainer< PointIdentifier, InputPointType > PointMapType
SimplexMeshToTriangleMeshFilter Self
PointMapPointer m_CenterMap
visits all polygon cells and compute the cell centers
InputMeshConstPointer m_Mesh
visits all polygon cells and compute the cell centers
InputMeshType::NeighborListType::iterator InputNeighborsIterator
InputPointsContainer::Pointer InputPointsContainerPointer
Represents a polygon in a Mesh.
itk::CellInterfaceVisitorImplementation< InputPixelType, InputCellTraitsType, SimplexPolygonType, SimplexCellVisitor > SimplexVisitorInterfaceType
InputMeshType::PointsContainer InputPointsContainer
This filter converts a 2-simplex mesh into a triangle mesh.
InputMeshType::PixelType InputPixelType
InputMeshType::CellType SimplexCellType
Control indentation during Print() invocation.
InputMeshType::NeighborListType InputNeighbors
PointMapType::Pointer PointMapPointer
PointMapPointer GetCenterMap()
visits all polygon cells and compute the cell centers
itk::PolygonCell< SimplexCellType > SimplexPolygonType
virtual unsigned int GetNumberOfPoints(void) const
void Visit(CellIdentifier cellId, SimplexPolygonType *poly)
visits all polygon cells and compute the cell centers