Operation, that holds everything necessary for an operation on a cell. More...
#include <mitkCellOperation.h>
Public Types | |
typedef CellOperation | Self |
typedef Operation | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer < const Self > | ConstPointer |
Public Member Functions | |
virtual const char * | GetClassName () const |
CellOperation (OperationType operationType, int cellId, Vector3D vector) | |
constructor | |
CellOperation (OperationType operationType, int cellId) | |
virtual | ~CellOperation () |
int | GetCellId () |
Vector3D | GetVector () |
Protected Attributes | |
int | m_CellId |
Vector3D | m_Vector |
Operation, that holds everything necessary for an operation on a cell.
Definition at line 33 of file mitkCellOperation.h.
typedef itk::SmartPointer<const Self> mitk::CellOperation::ConstPointer |
Reimplemented in mitk::LineOperation.
Definition at line 36 of file mitkCellOperation.h.
typedef itk::SmartPointer<Self> mitk::CellOperation::Pointer |
Reimplemented in mitk::LineOperation.
Definition at line 36 of file mitkCellOperation.h.
Reimplemented in mitk::LineOperation.
Definition at line 36 of file mitkCellOperation.h.
Reimplemented in mitk::LineOperation.
Definition at line 36 of file mitkCellOperation.h.
mitk::CellOperation::CellOperation | ( | OperationType | operationType, |
int | cellId, | ||
Vector3D | vector | ||
) |
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 and a vector if needed |
Definition at line 21 of file mitkCellOperation.cpp.
: mitk::Operation(operationType), m_CellId(cellId), m_Vector(vector) { }
mitk::CellOperation::CellOperation | ( | OperationType | operationType, |
int | cellId | ||
) |
Definition at line 26 of file mitkCellOperation.cpp.
References m_Vector.
: mitk::Operation(operationType), m_CellId(cellId) { m_Vector.Fill(0); }
virtual mitk::CellOperation::~CellOperation | ( | ) | [inline, virtual] |
Definition at line 47 of file mitkCellOperation.h.
{};
int mitk::CellOperation::GetCellId | ( | ) | [inline] |
Definition at line 49 of file mitkCellOperation.h.
Referenced by mitk::Mesh::ExecuteOperation().
{return m_CellId;};
virtual const char* mitk::CellOperation::GetClassName | ( | ) | const [virtual] |
Reimplemented in mitk::LineOperation.
Vector3D mitk::CellOperation::GetVector | ( | ) | [inline] |
Definition at line 50 of file mitkCellOperation.h.
Referenced by mitk::Mesh::ExecuteOperation().
{return m_Vector;};
int mitk::CellOperation::m_CellId [protected] |
Definition at line 50 of file mitkCellOperation.h.
Vector3D mitk::CellOperation::m_Vector [protected] |
Definition at line 54 of file mitkCellOperation.h.
Referenced by CellOperation().