HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_GeometryViewportBackground.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_GeometryViewportBackground_h__
10 #define __HOM_GeometryViewportBackground_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_EnumValue.h"
14 #include "HOM_Module.h"
15 #include "HOM_Defines.h"
16 
17 SWIGOUT(%rename(GeometryViewportBackground) HOM_GeometryViewportBackground;)
18 
19 
21 {
22 public:
24  { HOM_CONSTRUCT_OBJECT(this) }
26  { HOM_CONSTRUCT_OBJECT(this) }
28  { HOM_DESTRUCT_OBJECT(this) }
29 
30  virtual std::string __repr__() = 0;
31 
32  virtual void setImageFile(const std::string &file_path) = 0;
33  virtual std::string imageFile() = 0;
34 
35  virtual void setImageCOP(const std::string &op_path) = 0;
36  virtual std::string imageCOP() = 0;
37 
38  virtual void sourceFromCOP(bool use_cop) = 0;
39  virtual bool isCOPSource() = 0;
40  virtual bool isFileSource() = 0;
41 
42  virtual void setImageSource(const std::string &file_or_op_path) = 0;
43  virtual std::string imageSource() = 0;
44 
45  virtual void setEnvironmentMap(bool enable) = 0;
46  virtual bool isEnvironmentMap() = 0;
47 
48  virtual void setAutoPlace(bool enable) = 0;
49  virtual bool autoPlace() = 0;
50 
51  virtual void setImageFitMode(HOM_EnumValue &mode) = 0;
52  virtual HOM_EnumValue &imageFitMode() = 0;
53 
54  virtual void setImageOffset(const std::vector<double> &offset) = 0;
55  virtual std::vector<double> imageOffset() = 0;
56 
57  virtual void setImageScale(const std::vector<double> &scale) = 0;
58  virtual std::vector<double> imageScale() = 0;
59 
60  virtual void setOpacity(double opacity) = 0;
61  virtual double opacity() = 0;
62 
63  virtual void setBrightness(double intensity) = 0;
64  virtual double brightness() = 0;
65 };
66 
67 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1291
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:352
HOM_GeometryViewportBackground(const HOM_GeometryViewportBackground &)
GA_API const UT_StringHolder scale
GLintptr offset
Definition: glcorearb.h:665
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1290
GLenum mode
Definition: glcorearb.h:99
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)