NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Affine data interaction with objects in 3D windows. More...
Public Types | |
enum | { INTERACTION_MODE_TRANSLATION, INTERACTION_MODE_ROTATION } |
Signals | |
void | transformReady () |
Public Member Functions | |
mitkClassMacro (AffineTransformDataInteractor3D, mitk::DataInteractor) itkFactorylessNewMacro(Self) itkCloneMacro(Self) void SetInteractionMode(unsigned int interactionMode) | |
Set interaction mode by enum. More... | |
void | SetInteractionModeToTranslation () |
Set interaction mode to translate. More... | |
void | SetInteractionModeToRotation () |
Set interaction mode to rotate. More... | |
unsigned int | GetInteractionMode () const |
Return the enum of the set interaction mode. More... | |
void | SetAxesFixed (bool on, int which=0) |
Sets if an axis should be fit and which axis. More... | |
void | SetBoundingObjectNode (mitk::DataNode *bObj) |
Sets to node to be used for the bounding box. More... | |
vtkMatrix4x4 * | GetUpdatedGeometry () |
Protected Member Functions | |
AffineTransformDataInteractor3D () | |
virtual | ~AffineTransformDataInteractor3D () |
virtual void | ConnectActionsAndFunctions () override |
bool | UpdateCurrentRendererPointers (const mitk::InteractionEvent *interactionEvent) |
bool | CheckObject (const mitk::InteractionEvent *interactionEvent) |
bool | SelectObject (mitk::StateMachineAction *action, mitk::InteractionEvent *interactionEvent) |
bool | DeselectObject (mitk::StateMachineAction *action, mitk::InteractionEvent *interactionEvent) |
bool | InitMove (mitk::StateMachineAction *action, mitk::InteractionEvent *interactionEvent) |
bool | Move (mitk::StateMachineAction *action, mitk::InteractionEvent *interactionEvent) |
bool | AcceptMove (mitk::StateMachineAction *action, mitk::InteractionEvent *interactionEvent) |
Affine data interaction with objects in 3D windows.
|
protected |
|
protectedvirtual |
|
protected |
|
protected |
|
overrideprotectedvirtual |
Here actions strings from the loaded state machine pattern are mapped to functions of the DataInteractor. These functions are called when an action from the state machine pattern is executed.
|
protected |
unsigned int niftk::AffineTransformDataInteractor3D::GetInteractionMode | ( | ) | const |
Return the enum of the set interaction mode.
vtkMatrix4x4 * niftk::AffineTransformDataInteractor3D::GetUpdatedGeometry | ( | ) |
|
protected |
niftk::AffineTransformDataInteractor3D::mitkClassMacro | ( | AffineTransformDataInteractor3D | , |
mitk::DataInteractor | |||
) |
Set interaction mode by enum.
|
protected |
|
protected |
Sets if an axis should be fit and which axis.
|
inline |
Sets to node to be used for the bounding box.
void niftk::AffineTransformDataInteractor3D::SetInteractionModeToRotation | ( | ) |
Set interaction mode to rotate.
void niftk::AffineTransformDataInteractor3D::SetInteractionModeToTranslation | ( | ) |
Set interaction mode to translate.
|
signal |
|
protected |