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

Method GetVertexAt

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

Source from the content-addressed store, hash-verified

197}
198
199const mitk::ContourModel::VertexType *mitk::ContourModel::GetVertexAt(int index, TimeStepType timestep) const
200{
201 if (!this->IsEmptyTimeStep(timestep) && this->m_ContourSeries[timestep]->GetSize() > mitk::ContourElement::VertexSizeType(index))
202 {
203 return this->m_ContourSeries[timestep]->GetVertexAt(index);
204 }
205 return nullptr;
206}
207
208const mitk::ContourModel::VertexType *mitk::ContourModel::GetVertexAt(mitk::Point3D &point,
209 float eps,

Callers 15

GenerateDataMethod · 0.45
UpdatePreviewContourMethod · 0.45
OnEndDrawingMethod · 0.45
OnMouseMovedMethod · 0.45
UpdateClosureContourMethod · 0.45
CompareMethod · 0.45
InternalDrawContourMethod · 0.45
MitkRenderMethod · 0.45
SelectVertexAtMethod · 0.45
SetControlVertexAtMethod · 0.45
AddVertexMethod · 0.45

Calls 2

IsEmptyTimeStepMethod · 0.95
GetSizeMethod · 0.45

Tested by 15

CompareMethod · 0.36
AddVertexMethod · 0.36
AddVertexAtFrontMethod · 0.36
InsertVertexAtIndexMethod · 0.36
GetSetVertexAtMethod · 0.36
OtherGettersMethod · 0.36
ConcatenateMethod · 0.36
RemoveVertexMethod · 0.36
GetControlVerticesMethod · 0.36
OthersMethod · 0.36
TestAddVertexFunction · 0.36