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

Method TranslateUpKey

Modules/DataTypesExt/src/mitkAffineBaseDataInteractor3D.cpp:91–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91void mitk::AffineBaseDataInteractor3D::TranslateUpKey(StateMachineAction *, InteractionEvent *interactionEvent)
92{
93 float stepSize = 1.0f;
94 this->GetDataNode()->GetFloatProperty(translationStepSizePropertyName, stepSize);
95 mitk::Vector3D movementVector;
96 movementVector.Fill(0.0);
97 movementVector.SetElement(2, stepSize);
98 this->TranslateGeometry(movementVector, this->GetUpdatedTimeGeometry(interactionEvent));
99}
100
101void mitk::AffineBaseDataInteractor3D::TranslateDownKey(mitk::StateMachineAction *,
102 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