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

Method IteratorBegin

Modules/ContourModel/src/DataManagement/mitkContourModel.cpp:344–355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342}
343
344mitk::ContourModel::VertexIterator mitk::ContourModel::IteratorBegin(TimeStepType timestep) const
345{
346 if (!this->IsEmptyTimeStep(timestep))
347 {
348 return this->m_ContourSeries[timestep]->IteratorBegin();
349 }
350 else
351 {
352 mitkThrow() << "No iterator at invalid timestep " << timestep << ". There are only " << this->GetTimeSteps()
353 << " timesteps available.";
354 }
355}
356
357mitk::ContourModel::VertexIterator mitk::ContourModel::End(TimeStepType timestep) const
358{

Callers 15

BeginMethod · 0.95
OnMovePointMethod · 0.45
SetRepulsivePointsMethod · 0.45
WriteXMLMethod · 0.45
GenerateDataMethod · 0.45
GenerateDataMethod · 0.45
GenerateDataMethod · 0.45
InternalDrawContourMethod · 0.45

Calls 2

IsEmptyTimeStepMethod · 0.95
GetTimeStepsMethod · 0.80

Tested by 4

TestContourModelFunction · 0.36
IteratorMethod · 0.36
TestInvalidTimeStepFunction · 0.36
TestEmptyContourFunction · 0.36