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

Method IsValidTimePoint

Modules/Core/src/DataManagement/mitkArbitraryTimeGeometry.cpp:119–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119bool mitk::ArbitraryTimeGeometry::IsValidTimePoint(TimePointType timePoint) const
120{
121 return this->GetMinimumTimePoint() <= timePoint &&
122 (timePoint < this->GetMaximumTimePoint() || (this->HasCollapsedFinalTimeStep() && timePoint <= this->GetMaximumTimePoint()));
123}
124
125bool mitk::ArbitraryTimeGeometry::IsValidTimeStep(TimeStepType timeStep) const
126{

Callers 15

InitializeViewsMethod · 0.45
InitializeViewsMethod · 0.45
ResetGeometryMethod · 0.45
InterpolateMethod · 0.45

Calls 3

GetMinimumTimePointMethod · 0.95
GetMaximumTimePointMethod · 0.95

Tested by

no test coverage detected