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

Method GetNumberOfVertices

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

Source from the content-addressed store, hash-verified

188}
189
190int mitk::ContourModel::GetNumberOfVertices(TimeStepType timestep) const
191{
192 if (!this->IsEmptyTimeStep(timestep))
193 {
194 return this->m_ContourSeries[timestep]->GetSize();
195 }
196 return -1;
197}
198
199const mitk::ContourModel::VertexType *mitk::ContourModel::GetVertexAt(int index, TimeStepType timestep) const
200{

Callers 15

OnMouseReleasedMethod · 0.80
GenerateDataMethod · 0.80
OnDeletePointMethod · 0.80
OnMovePointMethod · 0.80
UpdatePreviewContourMethod · 0.80
OnEndDrawingMethod · 0.80
OnMouseMovedMethod · 0.80
UpdateClosureContourMethod · 0.80
CompareMethod · 0.80

Calls 2

IsEmptyTimeStepMethod · 0.95
GetSizeMethod · 0.45

Tested by 11

CompareMethod · 0.64
TestContourModelFunction · 0.64
TestAddVertexFunction · 0.64
TestRemoveVertexAtIndexFunction · 0.64
TestIsclosedFunction · 0.64
TestConcatenateFunction · 0.64
TestInsertVertexFunction · 0.64
TestInvalidTimeStepFunction · 0.64
TestEmptyContourFunction · 0.64
TestContourModelAPIFunction · 0.64