18 #ifndef __igstkMeshObject_h
19 #define __igstkMeshObject_h
22 #include <itkMeshSpatialObject.h>
23 #include <itkTetrahedronCell.h>
24 #include <itkTriangleCell.h>
25 #include <itkDefaultDynamicMeshTraits.h>
32 class MeshReaderToMeshSpatialObject;
59 typedef itk::DefaultDynamicMeshTraits<
float,3,3> MeshTrait;
65 typedef itk::Mesh<
float,3,MeshTrait>
MeshType;
88 bool AddPoint(
unsigned int id,
float x,
float y,
float z);
92 unsigned int vertex1,
unsigned int vertex2,
93 unsigned int vertex3,
unsigned int vertex4);
99 unsigned int vertex3);
102 const PointsContainerPointer
GetPoints() const;
105 const CellsContainerPointer
GetCells() const;
120 virtual
void PrintSelf( std::ostream& os, itk::Indent indent ) const;
125 void SetMesh( MeshType * mesh );
128 MeshSpatialObjectType::
Pointer m_MeshSpatialObject;
135 #endif // __igstkMeshObject_h