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

Method TranslateRightKey

Modules/DataTypesExt/src/mitkAffineBaseDataInteractor3D.cpp:123–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123void mitk::AffineBaseDataInteractor3D::TranslateRightKey(mitk::StateMachineAction *,
124 mitk::InteractionEvent *interactionEvent)
125{
126 float stepSize = 1.0f;
127 this->GetDataNode()->GetFloatProperty(translationStepSizePropertyName, stepSize);
128 mitk::Vector3D movementVector;
129 movementVector.Fill(0.0);
130 movementVector.SetElement(0, stepSize);
131 this->TranslateGeometry(movementVector, this->GetUpdatedTimeGeometry(interactionEvent));
132}
133
134void mitk::AffineBaseDataInteractor3D::TranslateUpModifierKey(mitk::StateMachineAction *,
135 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