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

Method GetSelectInfo

Modules/Core/src/DataManagement/mitkPointSet.cpp:479–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

477}
478
479bool mitk::PointSet::GetSelectInfo(int position, int t) const
480{
481 if (this->IndexExists(position, t))
482 {
483 PointDataType pointData = {0, false, PTUNDEFINED};
484 m_PointSetSeries[t]->GetPointData(position, &pointData);
485 return pointData.selected;
486 }
487 else
488 {
489 return false;
490 }
491}
492
493void mitk::PointSet::SetSelectInfo(int position, bool selected, int t)
494{

Callers 7

TestSetSelectInfoMethod · 0.80
TestOpDeselectPointMethod · 0.80
EvaluateStateMethod · 0.80
MovePointMethod · 0.80
UnSelectAllMethod · 0.80
FinishMoveMethod · 0.80

Calls 1

IndexExistsMethod · 0.95

Tested by 4

TestSetSelectInfoMethod · 0.64
TestOpDeselectPointMethod · 0.64
EvaluateStateMethod · 0.64