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

Method SearchSelectedPoint

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

Source from the content-addressed store, hash-verified

549}
550
551int mitk::PointSet::SearchSelectedPoint(int t) const
552{
553 if ((unsigned int)t >= m_PointSetSeries.size())
554 {
555 return -1;
556 }
557
558 PointDataIterator it;
559 for (it = m_PointSetSeries[t]->GetPointData()->Begin(); it != m_PointSetSeries[t]->GetPointData()->End(); it++)
560 {
561 if (it->Value().selected == true)
562 {
563 return it->Index();
564 }
565 }
566 return -1;
567}
568
569void mitk::PointSet::ClearSelection()
570{

Callers 6

MoveSelectedPointUpMethod · 0.80
MoveSelectedPointDownMethod · 0.80
RemoveSelectedPointMethod · 0.80
KeyDeleteMethod · 0.80

Calls 4

ValueMethod · 0.80
sizeMethod · 0.45
BeginMethod · 0.45
EndMethod · 0.45

Tested by 1