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

Method SetGeometrySlice

Modules/Core/src/Rendering/mitkBaseRenderer.cpp:426–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

424}
425
426void mitk::BaseRenderer::SetGeometrySlice(const itk::EventObject& geometrySliceEvent)
427{
428 const auto* sliceEvent = dynamic_cast<const SliceNavigationController::GeometrySliceEvent*>(&geometrySliceEvent);
429
430 if (nullptr == sliceEvent)
431 {
432 return;
433 }
434
435 this->SetSlice(sliceEvent->GetPos());
436}
437
438void mitk::BaseRenderer::SetGeometryTime(const itk::EventObject& geometryTimeEvent)
439{

Callers

nothing calls this directly

Calls 2

SetSliceMethod · 0.95
GetPosMethod · 0.45

Tested by

no test coverage detected