| 22 | namespace 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() |