18 #ifndef __itkSimplexMeshVolumeCalculator_h
19 #define __itkSimplexMeshVolumeCalculator_h
49 template<
class TInputMesh >
111 m_CenterMap = PointMapType::New();
121 typedef typename SimplexPolygonType::PointIdIterator PointIdIterator;
130 m_Mesh->GetPoint(*it, &p);
131 center += p.GetVectorFromOrigin();
139 m_CenterMap->InsertElement(cellId, center);
174 itkGetConstMacro(Volume,
double);
177 itkGetConstMacro(Area,
double);
181 void PrintSelf(std::ostream & os,
Indent indent)
const;
186 void operator=(
const Self &);
193 void CreateTriangles();
227 #ifndef ITK_MANUAL_INSTANTIATION
228 #include "itkSimplexMeshVolumeCalculator.hxx"