Operation, that holds everything necessary for an operation on a line. More...
#include <mitkLineOperation.h>
Public Types | |
typedef LineOperation | Self |
typedef CellOperation | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer < const Self > | ConstPointer |
Public Member Functions | |
virtual const char * | GetClassName () const |
LineOperation (OperationType operationType, int cellId, Vector3D vector, int pIdA=-1, int pIdB=-1, int id=-1) | |
constructor. | |
LineOperation (OperationType operationType, int cellId=-1, int pIdA=-1, int pIdB=-1, int id=-1) | |
virtual | ~LineOperation () |
int | GetPIdA () |
int | GetPIdB () |
int | GetId () |
Protected Attributes | |
int | m_PIdA |
int | m_PIdB |
int | m_Id |
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 34 of file mitkLineOperation.h.
typedef itk::SmartPointer<const Self> mitk::LineOperation::ConstPointer |
Reimplemented from mitk::CellOperation.
Definition at line 37 of file mitkLineOperation.h.
typedef itk::SmartPointer<Self> mitk::LineOperation::Pointer |
Reimplemented from mitk::CellOperation.
Definition at line 37 of file mitkLineOperation.h.
Reimplemented from mitk::CellOperation.
Definition at line 37 of file mitkLineOperation.h.
Reimplemented from mitk::CellOperation.
Definition at line 37 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 |
id | is the Id of a line in a cell |
Definition at line 21 of file mitkLineOperation.cpp.
: mitk::CellOperation(operationType, cellId, vector), m_PIdA(pIdA), m_PIdB(pIdB), m_Id(id) {}
mitk::LineOperation::LineOperation | ( | OperationType | operationType, |
int | cellId = -1 , |
||
int | pIdA = -1 , |
||
int | pIdB = -1 , |
||
int | id = -1 |
||
) |
Definition at line 24 of file mitkLineOperation.cpp.
: mitk::CellOperation(operationType, cellId), m_PIdA(pIdA), m_PIdB(pIdB), m_Id(id) {}
virtual mitk::LineOperation::~LineOperation | ( | ) | [inline, virtual] |
Definition at line 49 of file mitkLineOperation.h.
{};
virtual const char* mitk::LineOperation::GetClassName | ( | ) | const [virtual] |
Reimplemented from mitk::CellOperation.
int mitk::LineOperation::GetId | ( | ) |
Definition at line 38 of file mitkLineOperation.cpp.
Referenced by mitk::Mesh::ExecuteOperation().
{ return m_Id; }
int mitk::LineOperation::GetPIdA | ( | ) |
Definition at line 28 of file mitkLineOperation.cpp.
Referenced by mitk::Mesh::ExecuteOperation().
{ return m_PIdA; }
int mitk::LineOperation::GetPIdB | ( | ) |
Definition at line 33 of file mitkLineOperation.cpp.
Referenced by mitk::Mesh::ExecuteOperation().
{ return m_PIdB; }
int mitk::LineOperation::m_Id [protected] |
Definition at line 60 of file mitkLineOperation.h.
int mitk::LineOperation::m_PIdA [protected] |
Definition at line 58 of file mitkLineOperation.h.
int mitk::LineOperation::m_PIdB [protected] |
Definition at line 59 of file mitkLineOperation.h.