Public Types | Public Member Functions | Protected Attributes

mitk::CellOperation Class Reference
[Undo Classes]

Operation, that holds everything necessary for an operation on a cell. More...

#include <mitkCellOperation.h>

Inheritance diagram for mitk::CellOperation:
Inheritance graph
[legend]
Collaboration diagram for mitk::CellOperation:
Collaboration graph
[legend]

List of all members.

Public Types

typedef CellOperation Self
typedef Operation Superclass
typedef itk::SmartPointer< SelfPointer
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

Detailed Description

Operation, that holds everything necessary for an operation on a cell.

Definition at line 33 of file mitkCellOperation.h.


Member Typedef Documentation

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.


Constructor & Destructor Documentation

mitk::CellOperation::CellOperation ( OperationType  operationType,
int  cellId,
Vector3D  vector 
)

constructor

Parameters:
operationTypeis 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.

{};

Member Function Documentation

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;};

Member Data Documentation

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().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines