16 #ifndef SURGSIM_DATASTRUCTURES_IMAGEMAP_H 17 #define SURGSIM_DATASTRUCTURES_IMAGEMAP_H 19 #include "SurgSim/DataStructures/ImageBase.h" 24 namespace DataStructures
39 ImageMap(
size_t width,
size_t height,
size_t channels, T* data);
43 const T*
const getData()
const override;
52 #include "SurgSim/DataStructures/ImageMap-inl.h" 54 #endif //SURGSIM_DATASTRUCTURES_IMAGEMAP_H Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
A class that behaves like an Image but maps an existing array of data.
Definition: ImageMap.h:31
T *const getData() override
Get the pointer to the data.
Definition: ImageMap-inl.h:33
Base class for Image-like classes.
Definition: ImageBase.h:32
ImageMap(size_t width, size_t height, size_t channels, T *data)
Constructor.
Definition: ImageMap-inl.h:26