|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Operation for setting a plane defined by its origin and normal or axis vectors. More...
#include <mitkPlaneOperation.h>


Public Member Functions | |
| PlaneOperation (OperationType operationType, Point3D point, Vector3D normal) | |
| Construct a plane operation from a point and a normal vector. More... | |
| PlaneOperation (OperationType operationType, Point3D point, Vector3D axisVec0, Vector3D axisVec1) | |
| Construct a plane operation from a point and two axis vectors. More... | |
| ~PlaneOperation () override | |
| Vector3D | GetNormal () |
| Get the normal vector of the plane. Only valid if constructed with a normal. More... | |
| Vector3D | GetAxisVec0 () |
| Get the first in-plane axis vector. Only valid if AreAxisDefined() returns true. More... | |
| Vector3D | GetAxisVec1 () |
| Get the second in-plane axis vector. Only valid if AreAxisDefined() returns true. More... | |
| bool | AreAxisDefined () |
| Check whether the axis vectors were defined in the constructor. More... | |
Public Member Functions inherited from mitk::PointOperation | |
| PointOperation (OperationType operationType, Point3D point, int index=-1, bool selected=true, PointSpecificationType type=PTUNDEFINED) | |
| Construct a PointOperation without a time stamp. More... | |
| PointOperation (OperationType operationType, ScalarType timeInMS, Point3D point, int index=-1, bool selected=true, PointSpecificationType type=PTUNDEFINED) | |
| Construct a PointOperation with a time stamp. More... | |
| ~PointOperation () override | |
| Point3D | GetPoint () |
| Get the 3D point coordinates stored in this operation. More... | |
| int | GetIndex () |
| Get the index position of the point in the point set. More... | |
| bool | GetSelected () |
| Get whether the point is selected. More... | |
| PointSpecificationType | GetPointType () |
| Get the point specification type. More... | |
| ScalarType | GetTimeInMS () const |
| Get the time stamp of this operation in milliseconds. More... | |
Public Member Functions inherited from mitk::Operation | |
| mitkClassMacroNoParent (Operation) virtual bool IsValid() const | |
| Check whether this operation is still valid and can be executed. More... | |
| virtual | ~Operation ()=default |
| Virtual destructor. More... | |
| OperationType | GetOperationType () |
| Get the type identifier of this operation. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from mitk::Operation | |
| Operation (OperationType operationType) | |
| Construct an operation with the given type. More... | |
| Operation (const Operation &)=default | |
| Operation (Operation &&)=default | |
| Operation & | operator= (const Operation &)=default |
| Operation & | operator= (Operation &&)=default |
Protected Attributes inherited from mitk::Operation | |
| OperationType | m_OperationType |
| The type identifier for this operation. More... | |
Operation for setting a plane defined by its origin and normal or axis vectors.
A PlaneOperation can be constructed in two ways:
Definition at line 33 of file mitkPlaneOperation.h.
| mitk::PlaneOperation::PlaneOperation | ( | OperationType | operationType, |
| Point3D | point, | ||
| Vector3D | normal | ||
| ) |
Construct a plane operation from a point and a normal vector.
| operationType | The type of operation. |
| point | The origin of the plane. |
| normal | The normal vector of the plane. |
| mitk::PlaneOperation::PlaneOperation | ( | OperationType | operationType, |
| Point3D | point, | ||
| Vector3D | axisVec0, | ||
| Vector3D | axisVec1 | ||
| ) |
Construct a plane operation from a point and two axis vectors.
| operationType | The type of operation. |
| point | The origin of the plane. |
| axisVec0 | The first in-plane axis vector. |
| axisVec1 | The second in-plane axis vector. |
|
override |
| bool mitk::PlaneOperation::AreAxisDefined | ( | ) |
Check whether the axis vectors were defined in the constructor.
| Vector3D mitk::PlaneOperation::GetAxisVec0 | ( | ) |
Get the first in-plane axis vector. Only valid if AreAxisDefined() returns true.
| Vector3D mitk::PlaneOperation::GetAxisVec1 | ( | ) |
Get the second in-plane axis vector. Only valid if AreAxisDefined() returns true.
| Vector3D mitk::PlaneOperation::GetNormal | ( | ) |
Get the normal vector of the plane. Only valid if constructed with a normal.