Go to the documentation of this file.
16 #ifndef SURGSIM_DATASTRUCTURES_IMAGE_H
17 #define SURGSIM_DATASTRUCTURES_IMAGE_H
26 namespace DataStructures
43 Image(
size_t width,
size_t height,
size_t channels);
50 Image(
size_t width,
size_t height,
size_t channels,
const T*
const data);
59 Image(
size_t width,
size_t height,
size_t channels,
const D*
const data);
84 const T*
const getData()
const override;
95 #endif //SURGSIM_DATASTRUCTURES_IMAGE_H
virtual ~Image()
Destructor.
Definition: Image-inl.h:104
Image< T > & operator=(const Image< T > &other)
Assignment Operator.
Definition: Image-inl.h:74
Definition: CompoundShapeToGraphics.cpp:30
Image()
Default Constructor.
Definition: Image-inl.h:26
T *const getData() override
Get the pointer to the data.
Definition: Image-inl.h:109
Base class for Image-like classes.
Definition: ImageBase.h:33
std::unique_ptr< T[]> m_data
Definition: Image.h:87
A templated Image class.
Definition: Image.h:34