18 #ifndef __itkSimplexMeshToTriangleMeshFilter_h
19 #define __itkSimplexMeshToTriangleMeshFilter_h
42 template<
class TInputMesh,
class TOutputMesh >
101 m_CenterMap = PointMapType::New();
114 typedef typename SimplexPolygonType::PointIdIterator PointIdIterator;
125 this->m_Mesh->GetPoint(*it, &p);
126 center += p.GetVectorFromOrigin();
134 m_CenterMap->InsertElement(cellId, center);
169 void PrintSelf(std::ostream & os,
Indent indent)
const;
171 virtual void GenerateData();
176 void CreateTriangles();
179 CellIdentifier FindCellId(CellIdentifier id1, CellIdentifier id2, CellIdentifier id3);
186 #ifndef ITK_MANUAL_INSTANTIATION
187 #include "itkSimplexMeshToTriangleMeshFilter.hxx"
190 #endif //__SimplexMeshToTriangleMeshFilter_h