HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HOM_EdgeGroup.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_EdgeGroup_h__
10 #define __HOM_EdgeGroup_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Module.h"
14 #include "HOM_EnumModules.h"
15 #include "HOM_Edge.h"
16 #include "HOM_PtrOrNull.h"
17 #include <vector>
18 class HOM_Geometry;
19 
20 SWIGOUT(%rename(EdgeGroup) HOM_EdgeGroup;)
21 
23 {
24 public:
26  { HOM_CONSTRUCT_OBJECT(this) }
28  { HOM_CONSTRUCT_OBJECT(this) }
29  virtual ~HOM_EdgeGroup()
30  { HOM_DESTRUCT_OBJECT(this) }
31 
32  virtual bool operator==(HOM_PtrOrNull<HOM_EdgeGroup> edge_group) = 0;
33  virtual bool operator!=(HOM_PtrOrNull<HOM_EdgeGroup> edge_group) = 0;
34 
35  virtual int __hash__() = 0;
36  virtual std::string __repr__() = 0;
37 
38  SWIGOUT(%newobject geometry;)
39  virtual HOM_Geometry *geometry() = 0;
40 
41  virtual std::string name() = 0;
42 
43  virtual std::vector<HOM_ElemPtr<HOM_Edge> > edges() = 0;
44 
45  virtual bool contains(HOM_Edge &edge) = 0;
46 
47  virtual void add(HOM_Edge &edge) = 0;
48 
49  virtual void add(const std::vector<HOM_Edge *> &edges) = 0;
50 
51  virtual void add(HOM_EdgeGroup &edge_group) = 0;
52 
53  virtual void remove(HOM_Edge &edge) = 0;
54 
55  virtual void remove(const std::vector<HOM_Edge *> &edges) = 0;
56 
57  virtual void remove(HOM_EdgeGroup &edge_group) = 0;
58 
59  virtual void clear() = 0;
60 
61  virtual void destroy() = 0;
62 
63 
64 };
65 
66 #endif
virtual void clear()=0
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:973
GLsizei const GLchar *const * string
Definition: glcorearb.h:813
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
virtual std::string __repr__()=0
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:972
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
Definition: Mat3.h:610
HOM_EdgeGroup(const HOM_EdgeGroup &)
Definition: HOM_EdgeGroup.h:27
GLuint const GLchar * name
Definition: glcorearb.h:785
virtual ~HOM_EdgeGroup()
Definition: HOM_EdgeGroup.h:29
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.
Definition: Mat3.h:596