11 #ifndef __TIL_Thumbnail__
12 #define __TIL_Thumbnail__
36 , myShapeFile(
"shadersphere.bgeo")
41 virtual void setOptions(
const UT_Options &options);
46 {
return myShapeFile; }
48 {
return myTransform; }
52 {
return mySurfaceArgs; }
54 {
return mySurfaceSource; }
56 {
return myDisplace; }
58 {
return myDisplaceArgs; }
60 {
return myDisplaceSource; }
75 mySurface = shader_name;
79 { mySurfaceSource=
s; }
83 myDisplace = shader_name;
84 myDisplaceArgs =
args;
87 { myDisplaceSource=
s; }
140 virtual
void update(UpdateReason reason);
143 virtual
int percentComplete() const = 0;
148 bool needsRefresh() const;
149 void setNeedsRefresh();
155 virtual const
TIL_Raster *getImage() const = 0;
const UT_StringHolder & surfaceSource() const
const UT_Matrix4D transform() const
const UT_StringHolder & shapeFile() const
UpdateReason
Reasons for update.
virtual ~TIL_ThumbnailParms()
Class which writes ASCII or binary JSON streams.
const UT_StringHolder & displaceArgs() const
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
const UT_StringHolder & displaceSource() const
void setSurfaceSource(const UT_StringHolder &s)
const UT_StringHolder & displace() const
void setTransform(const UT_Matrix4D &x)
void setShapeFile(const UT_StringHolder &s)
A map of string to various well defined value types.
void transform(const UT_Matrix4D &x)
void setCamera(const UT_Vector3 &camera_origin)
GLenum GLsizei GLsizei GLint * values
const UT_StringHolder & surface() const
LeafData & operator=(const LeafData &)=delete
**If you just want to fire and args
void setDisplaceSource(const UT_StringHolder &s)
GLubyte GLubyte GLubyte GLubyte w
void setSurface(const UT_StringHolder &shader_name, const UT_StringHolder &args)
const UT_StringHolder & surfaceArgs() const
void setDisplace(const UT_StringHolder &shader_name, const UT_StringHolder &args)