13 #ifndef MITKMESH_H_HEADER_INCLUDED 14 #define MITKMESH_H_HEADER_INCLUDED 19 #include <itkPolygonCell.h> 20 #include <vtkCellArray.h> 21 #include <vtkFloatArray.h> 22 #include <vtkPointData.h> 23 #include <vtkPolyData.h> 25 #include <vtkPoints.h> 26 #include <vtkSystemIncludes.h> 55 itkFactorylessNewMacro(
Self);
59 typedef Superclass::DataType::CellType
CellType;
66 typedef Superclass::DataType::CellsContainer::Iterator
CellIterator;
72 virtual unsigned long GetNumberOfCells(
int t = 0);
75 virtual const DataType *GetMesh(
int t = 0)
const;
78 virtual DataType *GetMesh(
int t = 0);
80 void SetMesh(
DataType *mesh,
int t = 0);
85 virtual bool EvaluatePosition(
Point3D point,
unsigned long &cellId,
float precision,
int t = 0);
88 unsigned long GetNewCellId(
int t = 0);
91 virtual int SearchFirstCell(
unsigned long pointId,
int t = 0);
96 virtual bool SearchLine(
Point3D point,
float distance,
unsigned long &lineId,
unsigned long &cellId,
int t = 0);
102 virtual bool GetPointIds(
unsigned long cellId,
unsigned long lineId,
int &idA,
int &idB,
int t = 0);
107 virtual int SearchSelectedCell(
int t = 0);
117 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.
CellType::CellAutoPointer CellAutoPointer
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
CellTraits::PointIdIterator PointIdIterator
BoundingBoxType::Pointer BoundingBoxPointer
Superclass::DataType::CellType CellType
MeshType::CellType::MultiVisitor MeshMultiVisitor