16 #ifndef __stir_DiscretisedDensity_H__ 17 #define __stir_DiscretisedDensity_H__ 94 template <
int num_dimensions,
typename elemT>
95 class DiscretisedDensity :
public ExamData,
public Array<num_dimensions, elemT>
104 typedef Array<num_dimensions, elemT> base_type;
105 typedef DiscretisedDensity<num_dimensions, elemT> self_type;
254 return get_empty_copy();
263 inline bool has_same_characteristics(self_type
const&, std::string& explanation)
const;
268 inline bool has_same_characteristics(self_type
const&)
const;
275 inline bool operator==(
const self_type&)
const;
278 inline bool operator!=(
const self_type&)
const;
Definition: PatientPosition.h:28
This class defines ranges which can be 'irregular'.
Definition: ArrayFunctionObject.h:32
inline implementation for stir::DiscretisedDensity
declaration of stir::ExamData
Import of std::shared_ptr, std::dynamic_pointer_cast and std::static_pointer_cast (or corresponding b...
defines the Array class for multi-dimensional (numeric) arrays
unique_ptr< DataT > read_from_file(const FileSignature &signature, FileT file)
Function that reads data from file using the default InputFileFormatRegistry, using the provided File...
Definition: read_from_file.h:46
DiscretisedDensity< num_dimensions, elemT > * get_empty_discretised_density() const
Allocate a new DiscretisedDensity object with same characteristics as the current one...
Definition: DiscretisedDensity.h:252
defines the stir::CartesianCoordinate3D<coordT> class
DiscretisedDensity< num_dimensions, elemT > hierarchy_base_type
A typedef that can be used what the base of the hierarchy is.
Definition: DiscretisedDensity.h:114
This abstract class is the basis for all image representations.
Definition: FBP2DReconstruction.h:35