HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_Quadric.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_Quadric_h__
10 #define __HOM_Quadric_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Prim.h"
14 
15 SWIGOUT(%rename(Quadric) HOM_Quadric;)
16 
17 class HOM_API HOM_Quadric : virtual public HOM_Prim
18 {
19 public:
21  { HOM_CONSTRUCT_OBJECT(this) }
22 
23  // Because the lowermost base classes initialize the virtual bases
24  // before any non-virtual bases, the correct thing to do here is
25  // explicitly call the constructor for HOM_Prim.
26  HOM_Quadric(const HOM_Quadric &quadric)
27  : HOM_Prim(quadric)
28  { HOM_CONSTRUCT_OBJECT(this) }
29 
30  virtual ~HOM_Quadric()
31  { HOM_DESTRUCT_OBJECT(this) }
32 
33  // Let swig know we're overriding __repr__ for this class so it doesn't
34  // provide its own __repr__.
35  SWIGOUT(virtual std::string __repr__() = 0;)
36 
37  SWIGOUT(%newobject transform;)
38  virtual HOM_Matrix3 *transform() = 0;
39 
40  // This method is deprecated.
41  SWIGOUT(%newobject getTransform;)
43  { return transform(); }
44 
45  SWIGOUT(%newobject vertex;)
46  virtual HOM_Vertex *vertex(int index) = 0;
47 };
48 
49 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1056
GLsizei const GLchar *const * string
Definition: glcorearb.h:813
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:344
virtual ~HOM_Quadric()
Definition: HOM_Quadric.h:30
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1055
virtual HOM_Matrix3 * getTransform()
Definition: HOM_Quadric.h:42
HOM_Quadric(const HOM_Quadric &quadric)
Definition: HOM_Quadric.h:26
GA_API const UT_StringHolder transform
GLuint index
Definition: glcorearb.h:785