HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_FlipbookSettings.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * COMMENTS:
7  */
8 
9 #ifndef __HOM_FlipbookSettings_h__
10 #define __HOM_FlipbookSettings_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Errors.h"
15 #include "HOM_Module.h"
16 #include "HOM_ObjNode.h"
17 #include "HOM_EnumValue.h"
18 
19 SWIGOUT(%rename(FlipbookSettings) HOM_FlipbookSettings;)
20 
22 {
23 public:
25  { HOM_CONSTRUCT_OBJECT(this) }
27  { HOM_CONSTRUCT_OBJECT(this) }
29  { HOM_DESTRUCT_OBJECT(this) }
30 
31  //virtual HOM_FlipbookSettings &operator=(const HOM_FlipbookSettings &) = 0;
32 
33  virtual std::string __repr__() = 0;
34 
35  SWIGOUT(%newobject stash;)
36  virtual HOM_FlipbookSettings *stash() = 0;
37 
38  virtual void copy(const HOM_FlipbookSettings &from_settings) = 0;
39 
40  virtual void outputToMPlay(bool out_mplay) = 0;
41  virtual bool outputToMPlay() = 0;
42 
43  virtual void leaveFrameAtEnd(bool end) = 0;
44  virtual bool leaveFrameAtEnd() = 0;
45 
46  virtual void output(const char *out_name) = 0;
47  virtual std::string output() = 0;
48 
49  virtual void sessionLabel(const char *label) = 0;
50  virtual std::string sessionLabel() = 0;
51 
52  virtual void visibleObjects(const char *visible) = 0;
53  virtual std::string visibleObjects() = 0;
54 
55  virtual void visibleTypes(const HOM_EnumValue &flipbookObjectType) = 0;
56  virtual HOM_EnumValue &visibleTypes() = 0;
57 
58  virtual void frameRange(const std::vector<double> &range) = 0;
59  virtual std::vector<double> frameRange() = 0;
60 
61  virtual void frameIncrement(double increment) = 0;
62  virtual int frameIncrement() = 0;
63 
64  virtual void beautyPassOnly(bool enable) = 0;
65  virtual bool beautyPassOnly() = 0;
66 
67  virtual void renderAllViewports(bool all_views) = 0;
68  virtual bool renderAllViewports() = 0;
69 
70  virtual void appendFramesToCurrent(bool enable) = 0;
71  virtual bool appendFramesToCurrent() = 0;
72 
73  virtual void scopeChannelKeyframesOnly(bool enable) = 0;
74  virtual bool scopeChannelKeyframesOnly() = 0;
75 
76  virtual void blockEditing(bool enable) = 0;
77  virtual bool blockEditing() = 0;
78 
79  virtual void initializeSimulations(bool enable) = 0;
80  virtual bool initializeSimulations() = 0;
81 
82  virtual std::string audioFilename() = 0;
83  virtual void audioFilename(const char *audio_file) = 0;
84 
85  virtual void audioFrameStart(double start) = 0;
86  virtual double audioFrameStart() = 0;
87 
88  virtual void audioTimeOffset(double time) = 0;
89  virtual double audioTimeOffset() = 0;
90 
91  virtual void backgroundImage(const char *image_file) = 0;
92  virtual std::string backgroundImage() = 0;
93 
94  virtual void overrideGamma(bool override) = 0;
95  virtual bool overrideGamma() = 0;
96 
97  virtual void gamma(double gamma) = 0;
98  virtual double gamma() = 0;
99 
100  virtual void overrideLUT(bool override) = 0;
101  virtual bool overrideLUT() = 0;
102 
103  virtual void LUT(const char *lut_file) = 0;
104  virtual std::string LUT() = 0;
105 
106  virtual void setUseFrameTimeLimit(bool limit) = 0;
107  virtual bool useFrameTimeLimit() = 0;
108 
109  virtual void setFrameTimeLimit(double t) = 0;
110  virtual double frameTimeLimit() = 0;
111 
112  virtual void setUseFrameProgressLimit(bool limit) = 0;
113  virtual bool useFrameProgressLimit() = 0;
114 
115  virtual void setFrameProgessLimit(double t) = 0;
116  virtual double frameProgressLimit() = 0;
117 
118  virtual void antialias(const HOM_EnumValue &flipbookAntialias) = 0;
119  virtual HOM_EnumValue &antialias() = 0;
120 
121  virtual void useMotionBlur(bool enable) = 0;
122  virtual bool useMotionBlur() = 0;
123 
124  virtual void motionBlurSegments(int frames) = 0;
125  virtual int motionBlurSegments() = 0;
126 
127  virtual void motionBlurFrameRange(const HOM_EnumValue &
128  flipbookMotionBlurBias) = 0;
129  virtual HOM_EnumValue &motionBlurFrameRange() = 0;
130 
131  virtual void shutterFromCamera(bool use_camera) = 0;
132  virtual bool shutterFromCamera() = 0;
133 
134  virtual void shutter(double frame_fraction) = 0;
135  virtual double shutter() = 0;
136 
137  // All of these depth of field methods are deprecated -----v
138  virtual void useDepthOfField(bool enable) = 0;
139  virtual bool useDepthOfField() = 0;
140 
141  virtual void depthOfFieldFromCamera(bool use_camera) = 0;
142  virtual bool depthOfFieldFromCamera() = 0;
143 
144  virtual void depthOfFieldQuality(double num_images) =0;
145  virtual double depthOfFieldQuality() =0;
146 
147  virtual void focusDistance(double distance) = 0;
148  virtual double focusDistance() = 0;
149 
150  virtual void aperture(double aperture) = 0;
151  virtual double aperture() = 0;
152 
153  virtual void fStop(double f_stop) = 0;
154  virtual double fStop() = 0;
155  // End DOF Deprecation -----------------------------------^
156 
157  virtual void outputZoom(int zoom) = 0;
158  virtual int outputZoom() = 0;
159 
160  virtual void useResolution(bool use_res) =0;
161  virtual bool useResolution() = 0;
162 
163  virtual void resolution(const std::vector<int> &image_resolution) = 0;
164  virtual std::vector<int> resolution() = 0;
165 
166  virtual void useSheetSize(bool use) = 0;
167  virtual bool useSheetSize() = 0;
168 
169  virtual void sheetSize(const std::vector<int> &sheet) = 0;
170  virtual std::vector<int> sheetSize() = 0;
171 
172  virtual void cropOutMaskOverlay(bool crop_mask) = 0;
173  virtual bool cropOutMaskOverlay() = 0;
174 
175  virtual bool fromAudioPanel() = 0;
176  virtual void fromAudioPanel(bool b) = 0;
177 };
178 
179 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1303
GLenum GLint * range
Definition: glcorearb.h:1925
GLuint GLsizei const GLchar * label
Definition: glcorearb.h:2545
GT_API const UT_StringHolder time
OIIO_UTIL_API bool copy(string_view from, string_view to, std::string &err)
GLuint start
Definition: glcorearb.h:475
GLsizei const GLchar *const * string
Definition: glcorearb.h:814
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:349
#define HOM_API
Definition: HOM_API.h:13
GLuint GLuint end
Definition: glcorearb.h:475
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1302
HUSD_API const char * resolution()
GLboolean GLboolean GLboolean b
Definition: glcorearb.h:1222
GLdouble t
Definition: glad.h:2397
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
SIM_API const UT_StringHolder distance
HOM_FlipbookSettings(const HOM_FlipbookSettings &)