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

Method UpdatePointSet

Modules/Core/src/Interactions/mitkPointSetDataInteractor.cpp:402–412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400}
401
402void mitk::PointSetDataInteractor::UpdatePointSet(mitk::StateMachineAction *, mitk::InteractionEvent *)
403{
404 auto *pointSet = dynamic_cast<mitk::PointSet *>(this->GetDataNode()->GetData());
405 if (pointSet == nullptr)
406 {
407 MITK_ERROR << "PointSetDataInteractor:: No valid point set .";
408 return;
409 }
410
411 m_PointSet = pointSet;
412}
413
414void mitk::PointSetDataInteractor::Abort(StateMachineAction *, InteractionEvent *interactionEvent)
415{

Callers

nothing calls this directly

Calls 2

GetDataMethod · 0.45
GetDataNodeMethod · 0.45

Tested by

no test coverage detected