17 #ifndef MITKMESH_H_HEADER_INCLUDED
18 #define MITKMESH_H_HEADER_INCLUDED
23 #include <itkPolygonCell.h>
24 #include <vtkCellArray.h>
25 #include <vtkFloatArray.h>
26 #include <vtkPointData.h>
27 #include <vtkPolyData.h>
29 #include <vtkPoints.h>
30 #include <vtkSystemIncludes.h>
59 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
74 virtual
unsigned long GetNumberOfCells(
int t = 0);
77 virtual const
DataType *GetMesh(
int t = 0) const;
80 virtual
DataType *GetMesh(
int t = 0);
82 void SetMesh(
DataType *mesh,
int t = 0);
87 virtual
bool EvaluatePosition(
Point3D point,
unsigned long &cellId,
float precision,
int t = 0);
90 unsigned long GetNewCellId(
int t = 0);
93 virtual
int SearchFirstCell(
unsigned long pointId,
int t = 0);
98 virtual
bool SearchLine(
Point3D point,
float distance,
unsigned long &lineId,
unsigned long &cellId,
int t = 0);
104 virtual
bool GetPointIds(
unsigned long cellId,
unsigned long lineId,
int &idA,
int &idB,
int t = 0);
109 virtual
int SearchSelectedCell(
int t = 0);
119 virtual
void ExecuteOperation(
Operation *operation) override;
Base of all data objects.
#define MITKDATATYPESEXT_EXPORT
DataType::CellDataContainerIterator CellDataIterator
Base class of all Operation-classes.
CellTraits::PointIdConstIterator PointIdConstIterator
DataCollection - Class to facilitate loading/accessing structured data.
itk::Mesh< PointDataType, PointDimension, MeshTraits > MeshType
CellType::CellAutoPointer CellAutoPointer
itk::DataObject Superclass
Superclass::MeshTraits::CellTraits CellTraits
Superclass::DataType::CellsContainer::Iterator CellIterator
Data structure which stores a set of points. Superclass of mitk::Mesh.
DataStructure which stores a set of points (incl. pointdata) where each point can be associated to an...
#define mitkClassMacro(className, SuperClassName)
itk::PolygonCell< CellType > PolygonType
DataType::CellDataContainer CellDataContainer
Superclass::DataType::CellsContainer::ConstIterator ConstCellIterator
itk::DefaultDynamicMeshTraits< PointDataType, PointDimension, MaxTopologicalDimension, CoordinateType, InterpolationWeightType, CellDataType > MeshTraits
CellTraits::PointIdIterator PointIdIterator
BoundingBoxType::Pointer BoundingBoxPointer
Superclass::DataType::CellType CellType
MeshType::CellType::MultiVisitor MeshMultiVisitor