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
void PrintSelf(std::ostream &os, Indent indent) const override
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)
MeshToMeshFilter is the base class for all process objects that output mesh data, and require mesh da...
virtual PointIdIterator PointIdsEnd(void) override
CellMultiVisitorType::Pointer CellMultiVisitorPointer
virtual ~SimplexMeshToTriangleMeshFilter()
InputMeshType::MeshTraits::CellTraits InputCellTraitsType
itk::AutomaticTopologyMeshSource< TOutputMesh > AutoMeshSourceType
SmartPointer< const Self > ConstPointer
InputPointsContainer::Iterator InputPointsContainerIterator
virtual ~SimplexCellVisitor()
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
virtual PointIdIterator PointIdsBegin(void) override
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
virtual void GenerateData() override
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
virtual unsigned int GetNumberOfPoints(void) const override
PointMapPointer GetCenterMap()
visits all polygon cells and compute the cell centers
itk::PolygonCell< SimplexCellType > SimplexPolygonType
void Visit(CellIdentifier cellId, SimplexPolygonType *poly)
visits all polygon cells and compute the cell centers