16 #ifndef SURGSIM_DATASTRUCTURES_IMAGE_H 17 #define SURGSIM_DATASTRUCTURES_IMAGE_H 21 #include "SurgSim/DataStructures/ImageBase.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;
87 std::unique_ptr<T[]> m_data;
93 #include "SurgSim/DataStructures/Image-inl.h" 95 #endif //SURGSIM_DATASTRUCTURES_IMAGE_H Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
A templated Image class.
Definition: Image.h:33
Image< T > & operator=(const Image< T > &other)
Assignment Operator.
Definition: Image-inl.h:74
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:32
virtual ~Image()
Destructor.
Definition: Image-inl.h:104