HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_Edge.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_Edge_h__
10 #define __HOM_Edge_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Errors.h"
15 #include "HOM_Vector3.h"
16 #include "HOM_PtrOrNull.h"
17 #include <vector>
18 
19 class HOM_Geometry;
20 class HOM_Attrib;
21 class HOM_Point;
22 class HOM_Prim;
23 
24 SWIGOUT(%rename(Edge) HOM_Edge;)
25 
27 {
28 public:
30  { HOM_CONSTRUCT_OBJECT(this) }
31  HOM_Edge(const HOM_Edge &)
32  { HOM_CONSTRUCT_OBJECT(this) }
33  virtual ~HOM_Edge()
34  { HOM_DESTRUCT_OBJECT(this) }
35 
36  virtual bool operator==(HOM_PtrOrNull<HOM_Edge> edge) = 0;
37 
38  virtual bool operator!=(HOM_PtrOrNull<HOM_Edge> edge) = 0;
39 
40  virtual int __hash__() = 0;
41  virtual std::string __repr__() = 0;
42 
43  SWIGOUT(%newobject geometry;)
44  virtual HOM_Geometry *geometry() = 0;
45 
46  virtual std::vector<HOM_ElemPtr<HOM_Point> > points() = 0;
47 
48  virtual std::string edgeId() = 0;
49 
50  virtual float length() = 0;
51 
52  virtual std::vector<HOM_ElemPtr<HOM_Prim> > prims() = 0;
53 
54 };
55 
56 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1056
virtual ~HOM_Edge()
Definition: HOM_Edge.h:33
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
#define HOM_API
Definition: HOM_API.h:13
virtual HOM_Geometry * geometry()=0
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1055
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
Definition: Mat3.h:604
HOM_Edge()
Definition: HOM_Edge.h:29
HOM_Edge(const HOM_Edge &)
Definition: HOM_Edge.h:31
virtual int __hash__()=0
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.
Definition: Mat3.h:590
GLuint GLsizei GLsizei * length
Definition: glcorearb.h:794