Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
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>
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< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Static Public Member Functions inherited from mitk::Operation | |
static const char * | GetStaticNameOfClass () |
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.
mitk::LineOperation::LineOperation | ( | OperationType | operationType, |
int | cellId, | ||
Vector3D | vector, | ||
int | pIdA = -1 , |
||
int | pIdB = -1 , |
||
int | id = -1 |
||
) |
constructor.
operationType | is the type of that operation (see mitkOperation.h; e.g. move or add; Information for StateMachine::ExecuteOperation()); |
cellId | Id of the cell |
vector | is for movement |
pIdA | and pIdB are Id's of two points |
pIdB | |
id | is the Id of a line in a cell |
mitk::LineOperation::LineOperation | ( | OperationType | operationType, |
int | cellId = -1 , |
||
int | pIdA = -1 , |
||
int | pIdB = -1 , |
||
int | id = -1 |
||
) |
|
inlineoverride |
Definition at line 41 of file mitkLineOperation.h.
int mitk::LineOperation::GetId | ( | ) |
int mitk::LineOperation::GetPIdA | ( | ) |
int mitk::LineOperation::GetPIdB | ( | ) |
mitk::LineOperation::mitkClassMacro | ( | LineOperation | , |
CellOperation | |||
) |
|
protected |
Definition at line 52 of file mitkLineOperation.h.
|
protected |
Definition at line 50 of file mitkLineOperation.h.
|
protected |
Definition at line 51 of file mitkLineOperation.h.