20 #ifndef __stir_Shape_Box3D_h__ 21 #define __stir_Shape_Box3D_h__ 57 Box3D(
const float length_x,
66 Box3D(
const float length_x,
72 float get_geometric_volume()
const override;
77 Shape3D* clone()
const override;
81 bool operator==(
const Box3D&)
const;
83 bool operator==(
const Shape3D& shape)
const override;
94 void set_defaults()
override;
95 void initialise_keymap()
override;
96 bool post_processing()
override;
Declaration of class stir::Shape3DWithOrientation.
static const char *const registered_name
Name which will be used when parsing a Shape3D object.
Definition: Box3D.h:53
float length_y
Length in y-direction if the shape is not rotated.
Definition: Box3D.h:89
float length_x
Length in x-direction if the shape is not rotated.
Definition: Box3D.h:87
Array< 2, elemT > diagonal_matrix(const unsigned dimension, const elemT value)
construct a diagonal matrix with all elements on the diagonal equal
Definition: MatrixFunction.inl:182
The base class for all 3 dimensional shapes.
Definition: Shape3D.h:65
float length_z
Length in z-direction if the shape is not rotated.
Definition: Box3D.h:91
Parent class for all leaves in a RegisteredObject hierarchy that do parsing of parameter files...
Definition: RegisteredParsingObject.h:77
Three-dimensional cuboid box.
Definition: Box3D.h:49
Declaration of class stir::RegisteredParsingObject.