9 #ifndef __HOM_IPRViewer_h__
10 #define __HOM_IPRViewer_h__
39 virtual bool isPaused() = 0;
41 virtual bool isRendering() = 0;
43 virtual bool isActive() = 0;
45 virtual void killRender() = 0;
47 virtual void pauseRender() = 0;
49 virtual void resumeRender() = 0;
51 virtual void startRender() = 0;
53 virtual bool isPreviewOn() = 0;
55 virtual void setPreview(
bool on) = 0;
57 virtual bool isAutoSaveOn() = 0;
59 virtual void setAutoSave(
bool on) = 0;
63 virtual void setAutoSavePath(
const char *
path) = 0;
65 virtual bool isAutoUpdateOn() = 0;
67 virtual void setAutoUpdate(
bool on) = 0;
69 virtual double autoSaveTime() = 0;
71 virtual void setAutoSaveTime(
double time) = 0;
73 virtual double delay() = 0;
75 virtual void setDelay(
double time) = 0;
77 virtual double updateTime() = 0;
79 virtual void setUpdateTime(
double time) = 0;
81 virtual std::vector<int> lastClickLocation() = 0;
86 virtual void setRopNode(
HOM_Node *rop_node) = 0;
88 virtual std::vector<int> imageResolution() = 0;
90 virtual std::vector<double> cropRegion() = 0;
92 virtual std::vector<std::string> planes() = 0;
96 virtual std::vector<double> pixel(
const char *plane_name,
int x,
int y) = 0;
98 virtual std::vector<std::vector<double> >
pixels(
const char *plane_name) = 0;
100 virtual std::string evaluatedStyleSheetJSON(
int x,
int y) = 0;
102 virtual std::vector<std::pair<std::string, int> >
103 evaluatedStyleSheetPaths(
int x,
int y) = 0;
105 virtual bool saveFrame(
const char *file_path,
int source=0,
int xres=-1,
106 int yres=-1,
const char *
color=
"C",
107 const char *
alpha=
"C",
const char *scope=
"*",
108 const char *lut=
"",
float gamma=1.0,
111 SWIGOUT(%newobject objectNode;)
112 virtual HOM_Node *objectNode(
int x,
int y) = 0;
117 SWIGOUT(%newobject materialNode;)
118 virtual HOM_Node *materialNode(
int x,
int y) = 0;
120 virtual bool usingOCIO() = 0;
121 virtual void setUsingOCIO(
bool enable) = 0;
123 SWIGOUT(%kwargs setOCIODisplayView;)
124 virtual void setOCIODisplayView(
const char *display =
nullptr,
125 const char *
view =
nullptr) = 0;
#define HOM_DESTRUCT_OBJECT(pointer)
GT_API const UT_StringHolder time
GLsizei const GLchar *const * string
GLsizei const GLchar *const * path
string __repr__(VtArray< T > const &self)
GLint GLint GLsizei GLint GLenum GLenum const void * pixels
Tto convert(const Tfrom &source)
~HOM_IPRViewer() override
#define HOM_CONSTRUCT_OBJECT(pointer)
GLsizei GLsizei GLchar * source
GLfloat GLfloat GLfloat alpha
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
HOM_IPRViewer(const HOM_IPRViewer &pane)