12 #ifndef mitkBoundingObjectGroup_h
13 #define mitkBoundingObjectGroup_h
49 itkFactorylessNewMacro(Self);
#define MITKDATATYPESEXT_EXPORT
Abstract base class describing the geometry of a data object.
Group object that contains several mitk::BoundingObject instances.
unsigned int GetCount() const
Get the number of bounding objects in this group.
CSGMode
CSG combination mode for the group.
@ Union
A point is inside if it is inside at least one positive and no negative object.
@ Intersection
A point is inside only if it is inside every object.
bool IsInside(const mitk::Point3D &p) const override
Test whether a point is inside the group according to the current CSGMode.
std::deque< mitk::BoundingObject::Pointer > GetBoundingObjects()
Get a copy of the internal bounding object collection.
void UpdateOutputInformation() override
Recompute the combined bounding box from all sub-objects.
void AddBoundingObject(mitk::BoundingObject::Pointer boundingObject)
Add a bounding object to the group.
bool VerifyRequestedRegion() override
Verify that the requested region is valid.
mitk::BaseGeometry * GetGeometry(int t=0) const
Get the geometry for the given time step.
void SetBoundingObjects(const std::deque< mitk::BoundingObject::Pointer > boundingObjects)
Replace the internal collection of bounding objects.
mitkClassMacro(BoundingObjectGroup, mitk::BoundingObject)
~BoundingObjectGroup() override
void RemoveBoundingObject(mitk::BoundingObject::Pointer boundingObject)
Remove a bounding object from the group.
std::deque< mitk::BoundingObject::Pointer > m_BoundingObjects
Abstract superclass of all bounding objects (cylinder, cuboid, cone, ellipsoid, etc....
Find image slices visible on a given plane.