HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_ConstructionPlane.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_ConstructionPlane_h__
10 #define __HOM_ConstructionPlane_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(ConstructionPlane) HOM_ConstructionPlane;)
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> numberOfCells() = 0;
52 
53  virtual void setNumberOfCells(const std::vector<int> &number) = 0;
54 
55  virtual std::vector<int> numberOfCellsPerRulerLine() = 0;
56 
57  virtual void setNumberOfCellsPerRulerLine(const std::vector<int> &number) = 0;
58 };
59 
60 #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
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1290
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)
HOM_ConstructionPlane(const HOM_ConstructionPlane &)