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

Method GetTime

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

Source from the content-addressed store, hash-verified

373}
374
375mitk::ScalarType mitk::BaseRenderer::GetTime() const
376{
377 if (m_WorldTimeGeometry.IsNull())
378 {
379 return 0;
380 }
381 else
382 {
383 ScalarType timeInMS = m_WorldTimeGeometry->TimeStepToTimePoint(GetTimeStep());
384 if (timeInMS == itk::NumericTraits<mitk::ScalarType>::NonpositiveMin())
385 return 0;
386 else
387 return timeInMS;
388 }
389}
390
391void mitk::BaseRenderer::SetGeometry(const itk::EventObject& geometrySendEvent)
392{

Callers 13

UpdateStatusBarMethod · 0.80
AddPointMethod · 0.80
SetLevelWindowActionMethod · 0.80
AddPointMethod · 0.80
SelectPointMethod · 0.80
RemovePointMethod · 0.80
MovePointMethod · 0.80
UnSelectAllMethod · 0.80
FinishMoveMethod · 0.80

Calls 3

GetTimeStepFunction · 0.50
IsNullMethod · 0.45
TimeStepToTimePointMethod · 0.45

Tested by

no test coverage detected