Medical Imaging Interaction Toolkit  2016.11.0
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)
 
virtual ~LineOperation ()
 
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)
 
virtual ~CellOperation ()
 
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 31 of file mitkLineOperation.h.

Constructor & Destructor Documentation

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 19 of file mitkLineOperation.cpp.

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

Definition at line 23 of file mitkLineOperation.cpp.

virtual mitk::LineOperation::~LineOperation ( )
inlinevirtual

Definition at line 47 of file mitkLineOperation.h.

Member Function Documentation

int mitk::LineOperation::GetId ( )

Definition at line 38 of file mitkLineOperation.cpp.

Referenced by mitk::Mesh::ExecuteOperation().

int mitk::LineOperation::GetPIdA ( )

Definition at line 28 of file mitkLineOperation.cpp.

Referenced by mitk::Mesh::ExecuteOperation().

int mitk::LineOperation::GetPIdB ( )

Definition at line 33 of file mitkLineOperation.cpp.

Referenced by mitk::Mesh::ExecuteOperation().

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

Member Data Documentation

int mitk::LineOperation::m_Id
protected

Definition at line 58 of file mitkLineOperation.h.

int mitk::LineOperation::m_PIdA
protected

Definition at line 56 of file mitkLineOperation.h.

int mitk::LineOperation::m_PIdB
protected

Definition at line 57 of file mitkLineOperation.h.


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