|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkSimplexMeshToTriangleMeshFilter_h
19 #define itkSimplexMeshToTriangleMeshFilter_h
42 template <
typename TInputMesh,
typename TOutputMesh>
113 using PointIdIterator =
typename SimplexPolygonType::PointIdIterator;
124 this->m_Mesh->GetPoint(*it, &p);
125 center += p.GetVectorFromOrigin();
133 m_CenterMap->InsertElement(cellId, center);
154 CellInterfaceVisitorImplementation<InputPixelType, InputCellTraitsType, SimplexPolygonType, SimplexCellVisitor>;
165 PrintSelf(std::ostream & os,
Indent indent)
const override;
168 GenerateData()
override;
186 #ifndef ITK_MANUAL_INSTANTIATION
187 # include "itkSimplexMeshToTriangleMeshFilter.hxx"
190 #endif //__SimplexMeshToTriangleMeshFilter_h
typename InputMeshType::CellIdentifier CellIdentifier
void Visit(CellIdentifier cellId, SimplexPolygonType *poly)
visits all polygon cells and compute the cell centers
typename InputMeshType::NeighborListType::iterator InputNeighborsIterator
typename PointMapType::Pointer PointMapPointer
ImageBaseType::PointType PointType
typename InputMeshType::CellType SimplexCellType
typename InputMeshType::NeighborListType InputNeighbors
Represents a polygon in a Mesh.
Convenience class for generating meshes.
Control indentation during Print() invocation.
A wrapper of the STL "map" container.
typename InputPointsContainer::Pointer InputPointsContainerPointer
unsigned int GetNumberOfPoints() const override
typename InputMeshType::PixelType InputPixelType
Light weight base class for most itk classes.
void SetMesh(const InputMeshType *mesh)
visits all polygon cells and compute the cell centers
This filter converts a 2-simplex mesh into a triangle mesh.
A template class used to implement a visitor object.
PointIdIterator PointIdsEnd() override
typename InputMeshType::PointType InputPointType
typename SimplexVisitorInterfaceType::Pointer SimplexVisitorInterfacePointer
MeshToMeshFilter is the base class for all process objects that output mesh data, and require mesh da...
typename InputMeshType::MeshTraits::CellTraits InputCellTraitsType
PointMapPointer m_Centers
typename CellMultiVisitorType::Pointer CellMultiVisitorPointer
typename SimplexCellType::MultiVisitor CellMultiVisitorType
typename InputMeshType::PointsContainer InputPointsContainer
PointMapPointer GetCenterMap()
visits all polygon cells and compute the cell centers
InputMeshConstPointer m_Mesh
visits all polygon cells and compute the cell centers
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
PointMapPointer m_CenterMap
visits all polygon cells and compute the cell centers
typename InputPointsContainer::Iterator InputPointsContainerIterator
PointIdIterator PointIdsBegin() override
typename InputMeshType::PointIdentifier PointIdentifier
typename InputMeshType::ConstPointer InputMeshConstPointer