HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_ReferencePlane.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_ReferencePlane_h__
10 #define __HOM_ReferencePlane_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Errors.h"
15 #include "HOM_Module.h"
16 #include <vector>
17 
18 class HOM_SceneViewer;
19 class HOM_Matrix4;
20 
21 SWIGOUT(%rename(ReferencePlane) HOM_ReferencePlane;)
22 
24 {
25 public:
27  { HOM_CONSTRUCT_OBJECT(this) }
29  { HOM_CONSTRUCT_OBJECT(this) }
31  { HOM_DESTRUCT_OBJECT(this) }
32 
33  virtual std::string __repr__() = 0;
34 
35  SWIGOUT(%newobject sceneViewer;)
36  virtual HOM_SceneViewer *sceneViewer() = 0;
37 
38  virtual bool isVisible() = 0;
39 
40  virtual void setIsVisible(bool on) = 0;
41 
42  SWIGOUT(%newobject transform;)
43  virtual HOM_Matrix4 *transform() = 0;
44 
45  virtual void setTransform(HOM_Matrix4 &matrix) = 0;
46 
47  virtual std::vector<double> cellSize() = 0;
48 
49  virtual void setCellSize(const std::vector<double> &size) = 0;
50 
51  virtual std::vector<int> numberOfCellsPerRulerLine() = 0;
52 
53  virtual void setNumberOfCellsPerRulerLine(const std::vector<int> &number) = 0;
54 };
55 
56 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1303
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
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1302
HOM_ReferencePlane(const HOM_ReferencePlane &)
GA_API const UT_StringHolder transform
GLsizeiptr size
Definition: glcorearb.h:664
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)