|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Data structure which stores a set of points. More...
#include <mitkPointSet.h>


Classes | |
| struct | CellDataType |
| Data associated with a cell in the mesh. More... | |
| struct | PointDataType |
| Data associated with each point in the PointSet. More... | |
Public Types | |
| typedef mitk::ScalarType | CoordinateType |
| Scalar type for point coordinates. More... | |
| typedef mitk::ScalarType | InterpolationWeightType |
| Scalar type for interpolation weights. More... | |
| typedef std::vector< unsigned int > | SelectedLinesType |
| Type for storing indices of selected lines between points. More... | |
| typedef SelectedLinesType::iterator | SelectedLinesIter |
| Iterator for SelectedLinesType. More... | |
| typedef itk::DefaultDynamicMeshTraits< PointDataType, PointDimension, MaxTopologicalDimension, CoordinateType, InterpolationWeightType, CellDataType > | MeshTraits |
| typedef itk::Mesh< PointDataType, PointDimension, MeshTraits > | MeshType |
| typedef MeshType | DataType |
| typedef Point3D | PointType |
| typedef DataType::PointIdentifier | PointIdentifier |
| typedef DataType::PointsContainer | PointsContainer |
| typedef DataType::PointsContainerIterator | PointsIterator |
| typedef DataType::PointsContainer::ConstIterator | PointsConstIterator |
| typedef DataType::PointDataContainer | PointDataContainer |
| typedef DataType::PointDataContainerIterator | PointDataIterator |
| typedef DataType::PointDataContainerIterator | PointDataConstIterator |
Public Types inherited from mitk::Identifiable | |
| using | UIDType = std::string |
| Type alias for unique identifiers. More... | |
Public Member Functions | |
| mitkClassMacro (PointSet, BaseData) | |
| Pointer | Clone () const |
| void | Expand (unsigned int timeSteps) override |
| Expand the PointSet to the given number of time steps. More... | |
| void | ExecuteOperation (Operation *operation) override |
| Execute an operation on this PointSet. More... | |
| virtual int | GetSize (unsigned int t=0) const |
| Get the number of points at time step t. More... | |
| virtual unsigned int | GetPointSetSeriesSize () const |
| Get the number of time steps in the point set series. More... | |
| virtual DataType::Pointer | GetPointSet (int t=0) const |
| Get the underlying itk::Mesh at time step t. More... | |
| PointsIterator | Begin (int t=0) |
| Get an iterator pointing to the first point at time step t. More... | |
| PointsConstIterator | Begin (int t=0) const |
| Get an iterator pointing to the first point at time step t. More... | |
| PointsIterator | End (int t=0) |
| Get an iterator pointing past the last point at time step t. More... | |
| PointsConstIterator | End (int t=0) const |
| Get an iterator pointing past the last point at time step t. More... | |
| PointsIterator | GetMaxId (int t=0) |
| Get an iterator to the element with the maximum ID at time step t. More... | |
| PointType | GetPoint (PointIdentifier id, int t=0) const |
| Get the point with the given ID in world coordinates. More... | |
| bool | GetPointIfExists (PointIdentifier id, PointType *point, int t=0) const |
| Get the point with the given ID if it exists. More... | |
| void | SetPoint (PointIdentifier id, PointType point, int t=0) |
| Set (overwrite) the point with the given ID in world coordinates. More... | |
| void | SetPoint (PointIdentifier id, PointType point, PointSpecificationType spec, int t=0) |
| Set (overwrite) the point with the given ID and PointSpecificationType. More... | |
| void | InsertPoint (PointIdentifier id, PointType point, int t=0) |
| Insert a point with the given ID in world coordinates. More... | |
| void | InsertPoint (PointIdentifier id, PointType point, PointSpecificationType spec, int t) |
| Insert a point with the given ID, world coordinates, and PointSpecificationType. More... | |
| PointIdentifier | InsertPoint (PointType point, int t=0) |
| Insert a point with an automatically assigned ID (max ID + 1). More... | |
| bool | RemovePointIfExists (PointIdentifier id, int t=0) |
| Remove the point with the given ID at time step t, if it exists. More... | |
| PointsIterator | RemovePointAtEnd (int t=0) |
| Remove the point with the maximum ID at time step t. More... | |
| bool | SwapPointPosition (PointIdentifier id, bool moveUpwards, int t=0) |
| Swap a point with its neighbor in the ordered container. More... | |
| virtual int | SearchSelectedPoint (int t=0) const |
| Search for a selected point and return its ID. More... | |
| virtual void | ClearSelection () |
| Deselect all points in all time steps. More... | |
| virtual bool | IndexExists (int position, int t=0) const |
| Check whether a point exists at the given position (index). More... | |
| virtual bool | GetSelectInfo (int position, int t=0) const |
| Get the selection state of the point at the given position. More... | |
| virtual void | SetSelectInfo (int position, bool selected, int t=0) |
| Set the selection state of the point at the given position. More... | |
| virtual PointSpecificationType | GetSpecificationTypeInfo (int position, int t) const |
| Get the PointSpecificationType of the point at the given position. More... | |
| virtual int | GetNumberOfSelected (int t=0) const |
| Get the number of selected points at time step t. More... | |
| int | SearchPoint (Point3D point, ScalarType distance, int t=0) const |
| Search for the closest point within a given distance. More... | |
| bool | IsEmptyTimeStep (unsigned int t) const override |
| Check whether the point set is empty at time step t. More... | |
| void | UpdateOutputInformation () override |
| Update the output information (bounding box, geometry). More... | |
| void | SetRequestedRegionToLargestPossibleRegion () override |
| Set the requested region to the largest possible region (no-op for PointSet). More... | |
| bool | RequestedRegionIsOutsideOfTheBufferedRegion () override |
| Check whether the requested region is outside the buffered region. More... | |
| bool | VerifyRequestedRegion () override |
| Verify that the requested region is valid. More... | |
| void | SetRequestedRegion (const itk::DataObject *data) override |
| Set the requested region from another data object (no-op for PointSet). More... | |
| virtual void | OnPointSetChange () |
| Hook method called when the point set content changes. More... | |
Public Member Functions inherited from mitk::BaseData | |
| mitkClassMacroItkParent (BaseData, itk::DataObject) | |
| BaseProperty::ConstPointer | GetConstProperty (const std::string &propertyKey, const std::string &contextName="", bool fallBackOnDefaultContext=true) const override |
| Get a const property by its key. More... | |
| std::vector< std::string > | GetPropertyKeys (const std::string &contextName="", bool includeDefaultContext=false) const override |
| Get all property keys stored in the property list. More... | |
| std::vector< std::string > | GetPropertyContextNames () const override |
| Get the names of all property contexts. More... | |
| BaseProperty * | GetNonConstProperty (const std::string &propertyKey, const std::string &contextName="", bool fallBackOnDefaultContext=true) override |
| Get a non-const property by its key. More... | |
| void | SetProperty (const std::string &propertyKey, BaseProperty *property, const std::string &contextName="", bool fallBackOnDefaultContext=false) override |
| Set a property in the property list. More... | |
| void | RemoveProperty (const std::string &propertyKey, const std::string &contextName="", bool fallBackOnDefaultContext=false) override |
| Remove a property from the property list. More... | |
| const mitk::TimeGeometry * | GetTimeGeometry () const |
| Return the TimeGeometry of the data as const pointer. More... | |
| mitk::TimeGeometry * | GetTimeGeometry () |
| Return the TimeGeometry of the data as non-const pointer. More... | |
| const mitk::TimeGeometry * | GetUpdatedTimeGeometry () |
| Return the TimeGeometry of the data after ensuring it is up-to-date. More... | |
| const mitk::BaseGeometry * | GetUpdatedGeometry (int t=0) |
| Return the BaseGeometry of the data at time step t after ensuring it is up-to-date. More... | |
| mitk::BaseGeometry * | GetGeometry (int t=0) const |
| Return the BaseGeometry of the data at time step t as a non-const pointer. More... | |
| void | UpdateOutputInformation () override |
| Update the information for this BaseData so that it can be used as an output of a BaseProcess. More... | |
| void | CopyInformation (const itk::DataObject *data) override |
| Copy information from the specified data set. More... | |
| virtual bool | IsInitialized () const |
| Check whether the data has been initialized. More... | |
| virtual void | Clear () |
| Reset the data object by calling ClearData() and InitializeEmpty(). More... | |
| virtual bool | IsEmpty () const |
| Check whether the object contains data at any time step. More... | |
| virtual void | SetGeometry (BaseGeometry *aGeometry3D) |
| Set the BaseGeometry of the data, which will be referenced (not copied!). More... | |
| virtual void | SetTimeGeometry (TimeGeometry *geometry) |
| Set the TimeGeometry of the data, which will be referenced (not copied!). More... | |
| virtual void | SetClonedGeometry (const BaseGeometry *aGeometry3D) |
| Set a clone of the provided geometry as the BaseGeometry of the data. More... | |
| virtual void | SetClonedTimeGeometry (const TimeGeometry *geometry) |
| Set a clone of the provided TimeGeometry as the TimeGeometry of the data. More... | |
| virtual void | SetClonedGeometry (const BaseGeometry *aGeometry3D, unsigned int time) |
| Set a clone of the provided geometry as the BaseGeometry of a given time step. More... | |
| mitk::PropertyList::Pointer | GetPropertyList () const |
| Get the data's property list. More... | |
| void | SetPropertyList (PropertyList *propertyList) |
| Set the data's property list, replacing the existing one. More... | |
| mitk::BaseProperty::Pointer | GetProperty (const char *propertyKey) const |
| Get a property by its key from the PropertyList. More... | |
| void | SetProperty (const char *propertyKey, BaseProperty *property) |
| Set a property in the PropertyList. More... | |
| virtual void | SetOrigin (const Point3D &origin) |
| Convenience method for setting the origin of the BaseGeometry instances of all time steps. More... | |
| itk::SmartPointer< mitk::BaseDataSource > | GetSource () const |
| Get the process object that generated this data object. More... | |
| unsigned int | GetTimeSteps () const |
| Get the number of time steps from the TimeGeometry. More... | |
| itk::ModifiedTimeType | GetMTime () const override |
| Get the modification time of this data object or its geometry, whichever was modified most recently. More... | |
| void | Graft (const DataObject *) override |
| Graft data and information from another data object. More... | |
Public Member Functions inherited from mitk::OperationActor | |
| itkTypeMacroNoParent (OperationActor) virtual ~OperationActor() | |
Public Member Functions inherited from mitk::Identifiable | |
| Identifiable () | |
| Default constructor. Generates a new random UID. More... | |
| Identifiable (const UIDType &uid) | |
| Construct with a pre-existing UID. More... | |
| Identifiable (const Identifiable &)=delete | |
| Copy construction is deleted to prevent UID duplication. More... | |
| Identifiable (Identifiable &&) noexcept | |
| Move constructor. Transfers ownership of the UID. More... | |
| virtual | ~Identifiable () |
| Virtual destructor. More... | |
| Identifiable & | operator= (const Identifiable &)=delete |
| Copy assignment is deleted to prevent UID duplication. More... | |
| Identifiable & | operator= (Identifiable &&other) noexcept |
| Move assignment operator. Transfers ownership of the UID. More... | |
| virtual UIDType | GetUID () const |
| Get the unique identifier of this object. More... | |
| UIDType | GetRuntimeUID () const noexcept |
| Get a runtime-unique ID for this object instance. More... | |
Public Member Functions inherited from mitk::IPropertyOwner | |
| ~IPropertyOwner () override | |
| virtual bool | PropertyIsOwned (const std::string &propertyKey, const std::string &contextName="", bool fallBackOnDefaultContext=true) const |
| Checks if a certain property exists. More... | |
Public Member Functions inherited from mitk::IPropertyProvider | |
| virtual | ~IPropertyProvider () |
| Virtual destructor. More... | |
Static Public Member Functions | |
| static Pointer | New () |
Static Public Attributes | |
| static const unsigned int | PointDimension |
| Points are 3-dimensional. More... | |
| static const unsigned int | MaxTopologicalDimension |
| Maximum topological dimension of mesh cells. More... | |
Protected Types | |
| typedef std::vector< DataType::Pointer > | PointSetSeries |
Protected Member Functions | |
| mitkCloneMacro (Self) | |
| PointSet () | |
| PointSet (const PointSet &other) | |
| ~PointSet () override | |
| void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
| print content of the object to os More... | |
| void | ClearData () override |
| reset to non-initialized state, release memory More... | |
| void | InitializeEmpty () override |
| Pure virtual; Must be used in subclasses to get a data object to a valid state. Should at least create one empty object and call Superclass::InitializeTimeGeometry() to ensure an existing valid geometry. More... | |
| bool | SwapPointContents (PointIdentifier id1, PointIdentifier id2, int t=0) |
| swaps point coordinates and point data of the points with identifiers id1 and id2 More... | |
Protected Member Functions inherited from mitk::BaseData | |
| BaseData () | |
| BaseData (const BaseData &other) | |
| ~BaseData () override | |
| virtual void | InitializeTimeGeometry (unsigned int timeSteps=1) |
| Initialize the TimeGeometry for a number of time steps. The TimeGeometry is initialized empty and evenly timed. In many cases it will be necessary to overwrite this in sub-classes. More... | |
| void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
Protected Member Functions inherited from mitk::Identifiable | |
| virtual void | SetUID (const UIDType &uid) |
Protected Attributes | |
| PointSetSeries | m_PointSetSeries |
| DataType::PointsContainer::Pointer | m_EmptyPointsContainer |
| bool | m_CalculateBoundingBox |
| flag to indicate the right time to call SetBounds More... | |
Protected Attributes inherited from mitk::BaseData | |
| bool | m_LastRequestedRegionWasOutsideOfTheBufferedRegion |
| unsigned int | m_SourceOutputIndexDuplicate |
| bool | m_Initialized |
Data structure which stores a set of points.
3D points are grouped within a point set; for time resolved usage, one point set is created and maintained per time step. A point entry consists of the point coordinates and point data.
The point data includes a point ID (unique identifier to address this point within the point set), the selection state of the point and the type of the point.
For further information about different point types see mitk::PointSpecificationType in mitkVector.h.
Inserting a point is accompanied by an event, containing an index. The new point is inserted into the list at the specified position. At the same time an internal ID is generated and stored for the point. Points at specific time steps are accessed by specifying the time step number (which defaults to 0).
The points of itk::PointSet stores the points in a pointContainer (MapContainer). The points are best accessed by using a ConstIterator (as defined in MapContainer); avoid access via index.
The class internally uses an itk::Mesh for each time step.
The default mappers for this data structure are mitk::PointSetVtkMapper2D and mitk::PointSetVtkMapper3D. See these classes for display options which can can be set via properties.
PointSet issues the following events, for which observers can register (the below events are grouped into a class hierarchy as indicated by indentation level; e.g. PointSetSizeChangeEvent comprises PointSetAddEvent and PointSetRemoveEvent):
PointSetEvent subsumes all PointSet events PointSetMoveEvent issued when a point of the PointSet is moved PointSetSizeChangeEvent subsumes add and remove events PointSetAddEvent issued when a point is added to the PointSet PointSetRemoveEvent issued when a point is removed from the PointSet
Definition at line 70 of file mitkPointSet.h.
Scalar type for point coordinates.
Definition at line 80 of file mitkPointSet.h.
| typedef MeshType mitk::PointSet::DataType |
Definition at line 141 of file mitkPointSet.h.
Scalar type for interpolation weights.
Definition at line 83 of file mitkPointSet.h.
| typedef itk::DefaultDynamicMeshTraits<PointDataType, PointDimension, MaxTopologicalDimension, CoordinateType, InterpolationWeightType, CellDataType> mitk::PointSet::MeshTraits |
Definition at line 138 of file mitkPointSet.h.
| typedef itk::Mesh<PointDataType, PointDimension, MeshTraits> mitk::PointSet::MeshType |
Definition at line 139 of file mitkPointSet.h.
| typedef DataType::PointDataContainerIterator mitk::PointSet::PointDataConstIterator |
Definition at line 149 of file mitkPointSet.h.
| typedef DataType::PointDataContainer mitk::PointSet::PointDataContainer |
Definition at line 147 of file mitkPointSet.h.
| typedef DataType::PointDataContainerIterator mitk::PointSet::PointDataIterator |
Definition at line 148 of file mitkPointSet.h.
| typedef DataType::PointIdentifier mitk::PointSet::PointIdentifier |
Definition at line 143 of file mitkPointSet.h.
| typedef DataType::PointsContainer::ConstIterator mitk::PointSet::PointsConstIterator |
Definition at line 146 of file mitkPointSet.h.
| typedef DataType::PointsContainer mitk::PointSet::PointsContainer |
Definition at line 144 of file mitkPointSet.h.
|
protected |
Definition at line 469 of file mitkPointSet.h.
| typedef DataType::PointsContainerIterator mitk::PointSet::PointsIterator |
Definition at line 145 of file mitkPointSet.h.
| typedef Point3D mitk::PointSet::PointType |
Definition at line 142 of file mitkPointSet.h.
| typedef SelectedLinesType::iterator mitk::PointSet::SelectedLinesIter |
Iterator for SelectedLinesType.
Definition at line 120 of file mitkPointSet.h.
| typedef std::vector<unsigned int> mitk::PointSet::SelectedLinesType |
Type for storing indices of selected lines between points.
For example, given points A, B, and C: index 0 is the line between A and B, index 1 is between B and C, and index 2 between C and A.
Definition at line 117 of file mitkPointSet.h.
|
protected |
|
protected |
|
overrideprotected |
| PointsIterator mitk::PointSet::Begin | ( | int | t = 0 | ) |
Get an iterator pointing to the first point at time step t.
| [in] | t | Time step (default: 0). |
| PointsConstIterator mitk::PointSet::Begin | ( | int | t = 0 | ) | const |
Get an iterator pointing to the first point at time step t.
| [in] | t | Time step (default: 0). |
|
overrideprotectedvirtual |
reset to non-initialized state, release memory
Reimplemented from mitk::BaseData.
|
virtual |
Deselect all points in all time steps.
| Pointer mitk::PointSet::Clone | ( | ) | const |
| PointsIterator mitk::PointSet::End | ( | int | t = 0 | ) |
Get an iterator pointing past the last point at time step t.
| [in] | t | Time step (default: 0). |
| PointsConstIterator mitk::PointSet::End | ( | int | t = 0 | ) | const |
Get an iterator pointing past the last point at time step t.
| [in] | t | Time step (default: 0). |
|
overridevirtual |
Execute an operation on this PointSet.
Supports OpINSERT, OpMOVE, OpREMOVE, OpSELECTPOINT, OpDESELECTPOINT, OpSETPOINTTYPE, OpMOVEPOINTUP, and OpMOVEPOINTDOWN.
| [in] | operation | The operation to execute. Must be a PointOperation. |
Reimplemented from mitk::BaseData.
|
overridevirtual |
Expand the PointSet to the given number of time steps.
Creates new empty point containers for the additional time steps.
| [in] | timeSteps | The desired number of time steps. |
Reimplemented from mitk::BaseData.
| PointsIterator mitk::PointSet::GetMaxId | ( | int | t = 0 | ) |
|
virtual |
Get the number of selected points at time step t.
| [in] | t | Time step (default: 0). |
| PointType mitk::PointSet::GetPoint | ( | PointIdentifier | id, |
| int | t = 0 |
||
| ) | const |
Get the point with the given ID in world coordinates.
If the ID does not exist, returns (0, 0, 0).
| [in] | id | The point identifier. |
| [in] | t | Time step (default: 0). |
| bool mitk::PointSet::GetPointIfExists | ( | PointIdentifier | id, |
| PointType * | point, | ||
| int | t = 0 |
||
| ) | const |
Get the point with the given ID if it exists.
If a point exists for the ID, it is written to point (in world coordinates) and the method returns true. Otherwise returns false.
| [in] | id | The point identifier. |
| [out] | point | Receives the point coordinates on success. |
| [in] | t | Time step (default: 0). |
|
virtual |
Get the underlying itk::Mesh at time step t.
| [in] | t | Time step (default: 0). |
|
virtual |
Get the number of time steps in the point set series.
|
virtual |
Get the selection state of the point at the given position.
| [in] | position | The point index. |
| [in] | t | Time step (default: 0). |
|
virtual |
Get the number of points at time step t.
| [in] | t | Time step (default: 0). |
|
virtual |
Get the PointSpecificationType of the point at the given position.
| [in] | position | The point index. |
| [in] | t | Time step. |
|
virtual |
Check whether a point exists at the given position (index).
| [in] | position | The point index to check. |
| [in] | t | Time step (default: 0). |
|
overrideprotectedvirtual |
Pure virtual; Must be used in subclasses to get a data object to a valid state. Should at least create one empty object and call Superclass::InitializeTimeGeometry() to ensure an existing valid geometry.
Reimplemented from mitk::BaseData.
| void mitk::PointSet::InsertPoint | ( | PointIdentifier | id, |
| PointType | point, | ||
| int | t = 0 |
||
| ) |
Insert a point with the given ID in world coordinates.
Unlike SetPoint, this uses the container's InsertElement, which preserves existing elements at other indices.
| [in] | id | The point identifier. |
| [in] | point | The point in world coordinates. |
| [in] | t | Time step (default: 0). |
| void mitk::PointSet::InsertPoint | ( | PointIdentifier | id, |
| PointType | point, | ||
| PointSpecificationType | spec, | ||
| int | t | ||
| ) |
Insert a point with the given ID, world coordinates, and PointSpecificationType.
If t is beyond the current number of time steps the PointSet is automatically expanded to accommodate it, matching the behaviour of SetPoint() and the other InsertPoint() overloads.
| [in] | id | The point identifier. |
| [in] | point | The point in world coordinates. |
| [in] | spec | The point specification type. |
| [in] | t | Time step. |
| PointIdentifier mitk::PointSet::InsertPoint | ( | PointType | point, |
| int | t = 0 |
||
| ) |
Insert a point with an automatically assigned ID (max ID + 1).
| [in] | point | The point in world coordinates. |
| [in] | t | Time step (default: 0). |
|
overridevirtual |
Check whether the point set is empty at time step t.
| [in] | t | The time step to check. |
Reimplemented from mitk::BaseData.
|
protected |
|
static |
|
inlinevirtual |
Hook method called when the point set content changes.
Subclasses can override this to react to modifications.
Definition at line 451 of file mitkPointSet.h.
|
overrideprotected |
print content of the object to os
| PointsIterator mitk::PointSet::RemovePointAtEnd | ( | int | t = 0 | ) |
Remove the point with the maximum ID at time step t.
| [in] | t | Time step (default: 0). |
| bool mitk::PointSet::RemovePointIfExists | ( | PointIdentifier | id, |
| int | t = 0 |
||
| ) |
Remove the point with the given ID at time step t, if it exists.
| [in] | id | The point identifier. |
| [in] | t | Time step (default: 0). |
|
overridevirtual |
Check whether the requested region is outside the buffered region.
Implements mitk::BaseData.
| int mitk::PointSet::SearchPoint | ( | Point3D | point, |
| ScalarType | distance, | ||
| int | t = 0 |
||
| ) | const |
Search for the closest point within a given distance.
| [in] | point | The search position in world coordinates. |
| [in] | distance | The search radius in mm. |
| [in] | t | Time step (default: 0). |
|
virtual |
Search for a selected point and return its ID.
| [in] | t | Time step (default: 0). |
| void mitk::PointSet::SetPoint | ( | PointIdentifier | id, |
| PointType | point, | ||
| int | t = 0 |
||
| ) |
Set (overwrite) the point with the given ID in world coordinates.
If the time step does not exist, the PointSet is expanded. The point data is initialized with default values (unselected, PTUNDEFINED).
| [in] | id | The point identifier. |
| [in] | point | The point in world coordinates. |
| [in] | t | Time step (default: 0). |
| void mitk::PointSet::SetPoint | ( | PointIdentifier | id, |
| PointType | point, | ||
| PointSpecificationType | spec, | ||
| int | t = 0 |
||
| ) |
Set (overwrite) the point with the given ID and PointSpecificationType.
| [in] | id | The point identifier. |
| [in] | point | The point in world coordinates. |
| [in] | spec | The point specification type. |
| [in] | t | Time step (default: 0). |
|
overridevirtual |
Set the requested region from another data object (no-op for PointSet).
| [in] | data | The data object (unused). |
Implements mitk::BaseData.
|
overridevirtual |
Set the requested region to the largest possible region (no-op for PointSet).
Implements mitk::BaseData.
|
virtual |
Set the selection state of the point at the given position.
| [in] | position | The point index. |
| [in] | selected | True to select, false to deselect. |
| [in] | t | Time step (default: 0). |
|
protected |
swaps point coordinates and point data of the points with identifiers id1 and id2
| bool mitk::PointSet::SwapPointPosition | ( | PointIdentifier | id, |
| bool | moveUpwards, | ||
| int | t = 0 |
||
| ) |
Swap a point with its neighbor in the ordered container.
If moveUpwards is true, the point at id is swapped with the point at id-1; otherwise with the point at id+1.
| [in] | id | The point identifier. |
| [in] | moveUpwards | If true, swap with the preceding point; otherwise swap with the following point. |
| [in] | t | Time step (default: 0). |
|
override |
Update the output information (bounding box, geometry).
|
overridevirtual |
Verify that the requested region is valid.
Implements mitk::BaseData.
|
protected |
flag to indicate the right time to call SetBounds
Definition at line 478 of file mitkPointSet.h.
|
protected |
Definition at line 473 of file mitkPointSet.h.
|
protected |
Definition at line 471 of file mitkPointSet.h.
|
static |
Maximum topological dimension of mesh cells.
Definition at line 89 of file mitkPointSet.h.
|
static |
Points are 3-dimensional.
Definition at line 86 of file mitkPointSet.h.