20 #ifndef __stir_Shape_CombinedShape3D_h__ 21 #define __stir_Shape_CombinedShape3D_h__ 30 struct logical_and_not
32 inline bool operator()(
const T& x,
const T& y)
const {
return x && !y; }
38 inline bool operator()(
const T& x,
const T& y)
const {
return x || y; }
47 template <
class operation = logical_and<
bool>>
54 inline CombinedShape3D(shared_ptr<Shape3D> object1_v, shared_ptr<Shape3D> object2_v);
61 shared_ptr<Shape3D> object1_ptr;
62 shared_ptr<Shape3D> object2_ptr;
Import of std::shared_ptr, std::dynamic_pointer_cast and std::static_pointer_cast (or corresponding b...
The base class for all 3 dimensional shapes.
Definition: Shape3D.h:65
Declaration of class stir::Shape3D.
Inline implementations of class stir::CombinedShape3D.
Parent class for all leaves in a RegisteredObject hierarchy that do parsing of parameter files...
Definition: RegisteredParsingObject.h:77
A class that allows combining several shapes using logical operations.
Definition: CombinedShape3D.h:48
Declaration of class stir::RegisteredParsingObject.