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

Method RotateUpKey

Modules/DataTypesExt/src/mitkAffineBaseDataInteractor3D.cpp:156–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156void mitk::AffineBaseDataInteractor3D::RotateUpKey(mitk::StateMachineAction *, mitk::InteractionEvent *interactionEvent)
157{
158 float stepSize = 1.0f;
159 this->GetDataNode()->GetFloatProperty(rotationStepSizePropertyName, stepSize);
160 this->RotateGeometry(-stepSize, 0, this->GetUpdatedTimeGeometry(interactionEvent));
161}
162
163void mitk::AffineBaseDataInteractor3D::RotateDownKey(mitk::StateMachineAction *,
164 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