9 #ifndef HOM_Drawable2D_h
10 #define HOM_Drawable2D_h
28 typedef std::map<std::string, hboost::any>
Params;
37 std::string
const &
name = std::string(),
38 std::string
const &
label = std::string(),
55 virtual void setParams(Params
const &
params) = 0;
56 virtual Params
params()
const = 0;
59 virtual void draw(DrawH handle, Params
const &
params = Params()) = 0;
64 virtual void setPickable(
bool value) = 0;
65 virtual bool isPickable()
const = 0;
70 #endif // HOM_Drawable2D_h
#define HOM_DESTRUCT_OBJECT(pointer)
GLuint GLsizei const GLchar * label
GLsizei const GLfloat * value
GLdouble GLdouble GLdouble z
string __repr__(VtArray< T > const &self)
GLenum const GLfloat * params
GLint GLint GLsizei GLint GLenum GLenum type
#define HOM_CONSTRUCT_OBJECT(pointer)
GLuint const GLchar * name
virtual HOM_Drawable2D * newDrawable2D(HOM_PaneTab &hpanetab, HOM_EnumValue const &type, std::string const &name, std::string const &label, bool pickable, std::map< std::string, hboost::any > const ¶ms)=0
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
std::map< std::string, hboost::any > Params
HOM_API HOM_Module & HOM()
~HOM_Drawable2D() override