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

Method SetBoundingObject

Modules/AlgorithmsExt/src/mitkBoundingObjectCutter.cpp:24–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22namespace mitk
23{
24 void BoundingObjectCutter::SetBoundingObject(const mitk::BoundingObject *boundingObject)
25 {
26 m_BoundingObject = const_cast<mitk::BoundingObject *>(boundingObject);
27 // Process object is not const-correct so the const_cast is required here
28 this->ProcessObject::SetNthInput(1, const_cast<mitk::BoundingObject *>(boundingObject));
29 }
30
31 const mitk::BoundingObject *BoundingObjectCutter::GetBoundingObject() const { return m_BoundingObject.GetPointer(); }
32 BoundingObjectCutter::BoundingObjectCutter()

Callers 1

SetRegionOfInterestMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected