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

Method RotateLeftKey

Modules/DataTypesExt/src/mitkAffineBaseDataInteractor3D.cpp:172–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172void mitk::AffineBaseDataInteractor3D::RotateLeftKey(mitk::StateMachineAction *,
173 mitk::InteractionEvent *interactionEvent)
174{
175 float stepSize = 1.0f;
176 this->GetDataNode()->GetFloatProperty(rotationStepSizePropertyName, stepSize);
177 this->RotateGeometry(-stepSize, 2, this->GetUpdatedTimeGeometry(interactionEvent));
178}
179
180void mitk::AffineBaseDataInteractor3D::RotateRightKey(mitk::StateMachineAction *,
181 mitk::InteractionEvent *interactionEvent)

Callers

nothing calls this directly

Calls 4

RotateGeometryMethod · 0.95
GetFloatPropertyMethod · 0.45
GetDataNodeMethod · 0.45

Tested by

no test coverage detected