45 template<
class dataType>
66 template<
class inputType>
80 std::unique_ptr<NiftiImageData3D>
clone()
const
82 return std::unique_ptr<NiftiImageData3D>(this->
clone_impl());
Base class for SIRF nifti image data.
Definition: DataHandle.h:159
Definition: ImageData.h:38
Forward declarations.
Definition: NiftiImageData3D.h:47
NiftiImageData3D(const NiftiImageData< dataType > &general)
Construct 3D from general case.
Definition: NiftiImageData3D.h:54
NiftiImageData3D(const inputType *const data, const VoxelisedGeometricalInfo3D &geom)
Construct from array.
Definition: NiftiImageData3D.h:67
std::unique_ptr< NiftiImageData3D > clone() const
Clone and return as unique pointer.
Definition: NiftiImageData3D.h:80
NiftiImageData3D()
Constructor.
Definition: NiftiImageData3D.h:51
NiftiImageData3D(const std::string &filename)
Filename constructor.
Definition: NiftiImageData3D.h:58
NiftiImageData3D(const nifti_image &image_nifti)
Nifti constructor.
Definition: NiftiImageData3D.h:62
NiftiImageData3D(const ImageData &id)
Construct from any other image data (e.g., STIRImageData)
Definition: NiftiImageData3D.h:71
virtual NiftiImageData3D * clone_impl() const
Clone helper function. Don't use.
Definition: NiftiImageData3D.h:86
Definition: NiftiImageData.h:78
void check_dimensions(const enum NiftiImageDataType image_type=_general)
Check dimensions. Don't require anything for this class.
Definition: NiftiImageData.cpp:555
Definition: GeometricalInfo.h:50
Abstract data container.
Definition: GeometricalInfo.cpp:141