Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkPointSet_h
14 #define mitkPointSet_h
18 #include <itkDefaultDynamicMeshTraits.h>
76 itkFactorylessNewMacro(
Self);
83 static const unsigned int PointDimension = 3;
84 static const unsigned int MaxTopologicalDimension = 3;
120 MaxTopologicalDimension,
125 typedef itk::Mesh<PointDataType, PointDimension, MeshTraits>
MeshType;
137 void Expand(
unsigned int timeSteps)
override;
140 void ExecuteOperation(
Operation *operation)
override;
143 virtual int GetSize(
unsigned int t = 0)
const;
145 virtual unsigned int GetPointSetSeriesSize()
const;
148 virtual DataType::Pointer GetPointSet(
int t = 0)
const;
218 bool SwapPointPosition(
PointIdentifier id,
bool moveUpwards,
int t = 0);
224 virtual int SearchSelectedPoint(
int t = 0)
const;
227 virtual bool IndexExists(
int position,
int t = 0)
const;
232 virtual bool GetSelectInfo(
int position,
int t = 0)
const;
234 virtual void SetSelectInfo(
int position,
bool selected,
int t = 0);
240 virtual int GetNumberOfSelected(
int t = 0)
const;
253 bool IsEmptyTimeStep(
unsigned int t)
const override;
256 void UpdateOutputInformation()
override;
257 void SetRequestedRegionToLargestPossibleRegion()
override;
258 bool RequestedRegionIsOutsideOfTheBufferedRegion()
override;
259 bool VerifyRequestedRegion()
override;
260 void SetRequestedRegion(
const itk::DataObject *data)
override;
272 void PrintSelf(std::ostream &os, itk::Indent indent)
const override;
274 void ClearData()
override;
276 void InitializeEmpty()
override;
315 bool checkGeometry =
true));
337 bool checkGeometry =
true);
SelectedLinesType selectedLines
const MITKCORE_EXPORT ScalarType eps
struct for data of a point
DataType::PointIdentifier PointIdentifier
std::vector< unsigned int > SelectedLinesType
cellDataType, that stores all indexes of the lines, that are selected e.g.: points A,...
DataType::PointsContainer::ConstIterator PointsConstIterator
Base class of all Operation-classes.
MITKNEWMODULE_EXPORT bool Equal(mitk::ExampleDataStructure *leftHandSide, mitk::ExampleDataStructure *rightHandSide, mitk::ScalarType eps, bool verbose)
Returns true if the example data structures are considered equal.
PointSetSeries m_PointSetSeries
itk::Mesh< PointDataType, PointDimension, MeshTraits > MeshType
DataType::PointsContainerIterator PointsIterator
DataType::PointsContainer::Pointer m_EmptyPointsContainer
Find image slices visible on a given plane.
mitk::PointSpecificationType pointSpec
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
SelectedLinesType::iterator SelectedLinesIter
DataType::PointDataContainerIterator PointDataConstIterator
Base of all data objects.
DataType::PointDataContainerIterator PointDataIterator
mitk::ScalarType InterpolationWeightType
DataType::PointsContainer PointsContainer
bool m_CalculateBoundingBox
flag to indicate the right time to call SetBounds
#define mitkCloneMacro(classname)
DataType::PointDataContainer PointDataContainer
std::vector< DataType::Pointer > PointSetSeries
PointSpecificationType
enumeration of the type a point can be
#define mitkClassMacro(className, SuperClassName)
mitk::ScalarType CoordinateType
Data structure which stores a set of points.
itk::DefaultDynamicMeshTraits< PointDataType, PointDimension, MaxTopologicalDimension, CoordinateType, InterpolationWeightType, CellDataType > MeshTraits
itkEventMacroDeclaration(BoundingShapeInteractionEvent, itk::AnyEvent)
virtual void OnPointSetChange()