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);
168 void PrintSelf(std::ostream & os,
Indent indent)
const;
170 virtual void GenerateData();
175 void CreateTriangles();
178 CellIdentifier FindCellId(CellIdentifier id1, CellIdentifier id2, CellIdentifier id3);
185 #ifndef ITK_MANUAL_INSTANTIATION
186 #include "itkSimplexMeshToTriangleMeshFilter.hxx"
189 #endif //__SimplexMeshToTriangleMeshFilter_h