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

Method SetViewDirection

Modules/Core/TestingHelper/src/mitkRenderingTestHelper.cpp:147–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147void mitk::RenderingTestHelper::SetViewDirection(mitk::AnatomicalPlane viewDirection)
148{
149 mitk::BaseRenderer::GetInstance(m_RenderWindow->GetVtkRenderWindow())
150 ->GetSliceNavigationController()
151 ->SetDefaultViewDirection(viewDirection);
152 mitk::RenderingManager::GetInstance()->InitializeViews(
153 m_DataStorage->ComputeBoundingGeometry3D(m_DataStorage->GetAll()));
154}
155
156void mitk::RenderingTestHelper::ReorientSlices(mitk::Point3D origin, mitk::Vector3D rotation)
157{

Calls 5

GetAllMethod · 0.80
GetVtkRenderWindowMethod · 0.45
InitializeViewsMethod · 0.45

Tested by

no test coverage detected