18#ifndef itkSimplexMeshToTriangleMeshFilter_h
19#define itkSimplexMeshToTriangleMeshFilter_h
42template <
typename TInputMesh,
typename TOutputMesh>
113 using PointIdIterator =
typename SimplexPolygonType::PointIdIterator;
122 this->
m_Mesh->GetPoint(*it, &p);
123 center += p.GetVectorFromOrigin();
152 CellInterfaceVisitorImplementation<InputPixelType, InputCellTraitsType, SimplexPolygonType, SimplexCellVisitor>;
184#ifndef ITK_MANUAL_INSTANTIATION
185# include "itkSimplexMeshToTriangleMeshFilter.hxx"
Convenience class for generating meshes.
Control indentation during Print() invocation.
A wrapper of the STL "map" container.
SmartPointer< Self > Pointer
Represents a polygon in a Mesh.
unsigned int GetNumberOfPoints() const override
PointIdIterator PointIdsEnd() override
PointIdIterator PointIdsBegin() override
InputMeshConstPointer m_Mesh
void Visit(CellIdentifier cellId, SimplexPolygonType *poly)
visits all polygon cells and compute the cell centers
virtual ~SimplexCellVisitor()=default
PointMapPointer m_CenterMap
void SetMesh(const InputMeshType *mesh)
PointMapPointer GetCenterMap()
typename InputMeshType::PixelType InputPixelType
SmartPointer< const Self > ConstPointer
typename InputMeshType::NeighborListType::iterator InputNeighborsIterator
itk::PolygonCell< SimplexCellType > SimplexPolygonType
typename InputPointsContainer::Pointer InputPointsContainerPointer
typename InputMeshType::NeighborListType InputNeighbors
itk::AutomaticTopologyMeshSource< TOutputMesh > AutoMeshSourceType
typename InputPointsContainer::Iterator InputPointsContainerIterator
itk:: CellInterfaceVisitorImplementation< InputPixelType, InputCellTraitsType, SimplexPolygonType, SimplexCellVisitor > SimplexVisitorInterfaceType
PointMapPointer m_Centers
itk::MapContainer< PointIdentifier, InputPointType > PointMapType
~SimplexMeshToTriangleMeshFilter() override=default
typename InputMeshType::CellType SimplexCellType
typename PointMapType::Pointer PointMapPointer
typename CellMultiVisitorType::Pointer CellMultiVisitorPointer
SmartPointer< Self > Pointer
typename InputMeshType::PointIdentifier PointIdentifier
SimplexMeshToTriangleMeshFilter Self
typename SimplexCellType::MultiVisitor CellMultiVisitorType
typename InputMeshType::ConstPointer InputMeshConstPointer
CellIdentifier FindCellId(CellIdentifier id1, CellIdentifier id2, CellIdentifier id3)
void PrintSelf(std::ostream &os, Indent indent) const override
typename InputMeshType::MeshTraits::CellTraits InputCellTraitsType
typename SimplexVisitorInterfaceType::Pointer SimplexVisitorInterfacePointer
typename InputMeshType::PointsContainer InputPointsContainer
SimplexMeshToTriangleMeshFilter()=default
void GenerateData() override
MeshToMeshFilter< TInputMesh, TOutputMesh > Superclass
typename InputMeshType::PointType InputPointType
typename InputMeshType::CellIdentifier CellIdentifier
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....