Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
mitk::LineOperation Class Reference

Operation, that holds everything necessary for an operation on a line. Stores everything for de-/ selecting, inserting , moving and removing a line. More...

#include <mitkLineOperation.h>

Inheritance diagram for mitk::LineOperation:
Collaboration diagram for mitk::LineOperation:

Public Member Functions

 mitkClassMacro (LineOperation, CellOperation)
 
 LineOperation (OperationType operationType, int cellId, Vector3D vector, int pIdA=-1, int pIdB=-1, int id=-1)
 constructor. More...
 
 LineOperation (OperationType operationType, int cellId=-1, int pIdA=-1, int pIdB=-1, int id=-1)
 
 ~LineOperation () override
 
int GetPIdA ()
 
int GetPIdB ()
 
int GetId ()
 
- Public Member Functions inherited from mitk::CellOperation
 mitkClassMacro (CellOperation, Operation)
 
 CellOperation (OperationType operationType, int cellId, Vector3D vector)
 constructor More...
 
 CellOperation (OperationType operationType, int cellId)
 
 ~CellOperation () override
 
int GetCellId ()
 
Vector3D GetVector ()
 
- Public Member Functions inherited from mitk::Operation
virtual std::vector< std::string > GetClassHierarchy () const
 
 itkTypeMacroNoParent (Operation) Operation(OperationType operationType)
 
virtual ~Operation ()
 
OperationType GetOperationType ()
 

Protected Attributes

int m_PIdA
 
int m_PIdB
 
int m_Id
 
- Protected Attributes inherited from mitk::CellOperation
int m_CellId
 
Vector3D m_Vector
 
- Protected Attributes inherited from mitk::Operation
OperationType m_OperationType
 

Additional Inherited Members

- Public Types inherited from mitk::Operation
typedef Operation Self
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
- Static Public Member Functions inherited from mitk::Operation
static const char * GetStaticNameOfClass ()
 

Detailed Description

Operation, that holds everything necessary for an operation on a line. Stores everything for de-/ selecting, inserting , moving and removing a line.

Definition at line 26 of file mitkLineOperation.h.

Constructor & Destructor Documentation

◆ LineOperation() [1/2]

mitk::LineOperation::LineOperation ( OperationType  operationType,
int  cellId,
Vector3D  vector,
int  pIdA = -1,
int  pIdB = -1,
int  id = -1 
)

constructor.

Parameters
operationTypeis the type of that operation (see mitkOperation.h; e.g. move or add; Information for StateMachine::ExecuteOperation());
cellIdId of the cell
vectoris for movement
pIdAand pIdB are Id's of two points
pIdB
idis the Id of a line in a cell

◆ LineOperation() [2/2]

mitk::LineOperation::LineOperation ( OperationType  operationType,
int  cellId = -1,
int  pIdA = -1,
int  pIdB = -1,
int  id = -1 
)

◆ ~LineOperation()

mitk::LineOperation::~LineOperation ( )
inlineoverride

Definition at line 41 of file mitkLineOperation.h.

Member Function Documentation

◆ GetId()

int mitk::LineOperation::GetId ( )

◆ GetPIdA()

int mitk::LineOperation::GetPIdA ( )

◆ GetPIdB()

int mitk::LineOperation::GetPIdB ( )

◆ mitkClassMacro()

mitk::LineOperation::mitkClassMacro ( LineOperation  ,
CellOperation   
)

Member Data Documentation

◆ m_Id

int mitk::LineOperation::m_Id
protected

Definition at line 52 of file mitkLineOperation.h.

◆ m_PIdA

int mitk::LineOperation::m_PIdA
protected

Definition at line 50 of file mitkLineOperation.h.

◆ m_PIdB

int mitk::LineOperation::m_PIdB
protected

Definition at line 51 of file mitkLineOperation.h.


The documentation for this class was generated from the following file: