MCPcopy Create free account
hub / github.com/MITK/MITK / TranslateDownKey

Method TranslateDownKey

Modules/DataTypesExt/src/mitkAffineBaseDataInteractor3D.cpp:101–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101void mitk::AffineBaseDataInteractor3D::TranslateDownKey(mitk::StateMachineAction *,
102 mitk::InteractionEvent *interactionEvent)
103{
104 float stepSize = 1.0f;
105 this->GetDataNode()->GetFloatProperty(translationStepSizePropertyName, stepSize);
106 mitk::Vector3D movementVector;
107 movementVector.Fill(0.0);
108 movementVector.SetElement(2, -stepSize);
109 this->TranslateGeometry(movementVector, this->GetUpdatedTimeGeometry(interactionEvent));
110}
111
112void mitk::AffineBaseDataInteractor3D::TranslateLeftKey(mitk::StateMachineAction *,
113 mitk::InteractionEvent *interactionEvent)

Callers

nothing calls this directly

Calls 5

TranslateGeometryMethod · 0.95
GetFloatPropertyMethod · 0.45
GetDataNodeMethod · 0.45
FillMethod · 0.45

Tested by

no test coverage detected