NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Affine interaction with objects in 3D windows. More...
Public Types | |
enum | { INTERACTION_MODE_TRANSLATION, INTERACTION_MODE_ROTATION } |
Signals | |
void | transformReady () |
Public Member Functions | |
mitkClassMacro (AffineTransformInteractor3D, mitk::Interactor) mitkNewMacro3Param(Self | |
const char mitk::DataNode int | mitkNewMacro2Param (Self, const char *, mitk::DataNode *) void SetInteractionMode(unsigned int interactionMode) |
void | SetInteractionModeToTranslation () |
void | SetInteractionModeToRotation () |
unsigned int | GetInteractionMode () const |
void | SetAxesFixed (bool on, int which=0) |
void | SetPrecision (mitk::ScalarType precision) |
Sets the amount of precision. More... | |
virtual float | CanHandleEvent (mitk::StateEvent const *stateEvent) const override |
calculates how good the data, this statemachine handles, is hit by the event. More... | |
void | SetBoundingObjectNode (mitk::DataNode *bObj) |
Protected Member Functions | |
AffineTransformInteractor3D (const char *type, mitk::DataNode *dataNode, int n=-1) | |
Constructor with Param n for limited Set of Points. More... | |
virtual | ~AffineTransformInteractor3D () |
bool | ColorizeSurface (vtkPolyData *polyData, const mitk::Point3D &pickedPoint, double scalar=0.0) |
bool | GetCurrentRenderer (const mitk::StateEvent *event, vtkRenderWindowInteractor *renderWindowInteractor, mitk::BaseRenderer *renderer) |
bool | UpdateCurrentRendererPointers (const mitk::StateEvent *stateEvent) |
bool | OnAcCheckObject (mitk::Action *action, const mitk::StateEvent *stateEvent) |
bool | OnAcSelectPickedObject (mitk::Action *action, const mitk::StateEvent *stateEvent) |
bool | OnAcDeselectPickedObject (mitk::Action *action, const mitk::StateEvent *stateEvent) |
bool | OnAcInitMove (mitk::Action *action, const mitk::StateEvent *stateEvent) |
bool | OnAcMove (mitk::Action *action, const mitk::StateEvent *stateEvent) |
bool | OnAcAccept (mitk::Action *action, const mitk::StateEvent *stateEvent) |
Affine interaction with objects in 3D windows.
NOTE: The interaction mechanism is similar to that of vtkPlaneWidget
|
protected |
Constructor with Param n for limited Set of Points.
if no n is set, then the number of points is unlimited*
|
protectedvirtual |
|
overridevirtual |
calculates how good the data, this statemachine handles, is hit by the event.
overwritten, cause we don't look at the boundingbox, we look at each point
|
protected |
|
protected |
unsigned int AffineTransformInteractor3D::GetInteractionMode | ( | ) | const |
AffineTransformInteractor3D::mitkClassMacro | ( | AffineTransformInteractor3D | , |
mitk::Interactor | |||
) |
const char mitk::DataNode int AffineTransformInteractor3D::mitkNewMacro2Param | ( | Self | , |
const char * | , | ||
mitk::DataNode * | |||
) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
inline |
void AffineTransformInteractor3D::SetInteractionModeToRotation | ( | ) |
void AffineTransformInteractor3D::SetInteractionModeToTranslation | ( | ) |
void AffineTransformInteractor3D::SetPrecision | ( | mitk::ScalarType | precision | ) |
Sets the amount of precision.
|
signal |
|
protected |