Go to the documentation of this file.
16 #ifndef SURGSIM_GRAPHICS_UNIFORM_H
17 #define SURGSIM_GRAPHICS_UNIFORM_H
41 virtual void set(
const T& value) = 0;
44 virtual const T&
get()
const = 0;
59 virtual void setElement(
size_t index,
const T& value) = 0;
63 virtual void set(
const std::vector<T>& value) = 0;
68 virtual typename std::vector<T>::const_reference
getElement(
size_t index)
const = 0;
72 virtual const std::vector<T>&
get()
const = 0;
79 #endif // SURGSIM_GRAPHICS_UNIFORM_H
#define SURGSIM_ADD_RW_PROPERTY(class, type, property, getter, setter)
A macro to register getter and setter for a property that is readable and writeable,...
Definition: Accessible.h:213
Definition: CompoundShapeToGraphics.cpp:30