Medical Imaging Interaction Toolkit  2018.4.99-b585543d
Medical Imaging Interaction Toolkit
mitk::LineOperation Class Reference

Operation, that holds everything necessary for an operation on 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 27 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

Definition at line 15 of file mitkLineOperation.cpp.

◆ LineOperation() [2/2]

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

Definition at line 19 of file mitkLineOperation.cpp.

◆ ~LineOperation()

mitk::LineOperation::~LineOperation ( )
inlineoverride

Definition at line 43 of file mitkLineOperation.h.

Member Function Documentation

◆ GetId()

int mitk::LineOperation::GetId ( )

Definition at line 34 of file mitkLineOperation.cpp.

References m_Id.

◆ GetPIdA()

int mitk::LineOperation::GetPIdA ( )

Definition at line 24 of file mitkLineOperation.cpp.

References m_PIdA.

◆ GetPIdB()

int mitk::LineOperation::GetPIdB ( )

Definition at line 29 of file mitkLineOperation.cpp.

References m_PIdB.

◆ mitkClassMacro()

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

Member Data Documentation

◆ m_Id

int mitk::LineOperation::m_Id
protected

Definition at line 54 of file mitkLineOperation.h.

Referenced by GetId().

◆ m_PIdA

int mitk::LineOperation::m_PIdA
protected

Definition at line 52 of file mitkLineOperation.h.

Referenced by GetPIdA().

◆ m_PIdB

int mitk::LineOperation::m_PIdB
protected

Definition at line 53 of file mitkLineOperation.h.

Referenced by GetPIdB().


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