HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_DopRelationship.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_DopRelationship_h__
10 #define __HOM_DopRelationship_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_DopData.h"
14 
15 class HOM_DopObject;
16 
17 SWIGOUT(%rename(DopRelationship) HOM_DopRelationship;)
18 
19 class HOM_API HOM_DopRelationship : virtual public HOM_DopData
20 {
21 public:
23  { HOM_CONSTRUCT_OBJECT(this) }
24  HOM_DopRelationship(const HOM_DopRelationship &doprelationship)
25  : HOM_DopData(doprelationship)
26  { HOM_CONSTRUCT_OBJECT(this) }
28  { HOM_DESTRUCT_OBJECT(this) }
29 
30  virtual std::string __repr__() = 0;
31 
32  virtual std::string name() = 0;
33 
34  virtual bool matches(const char *pattern) = 0;
35 
36  virtual void setGroup(const std::vector<HOM_DopObject *> &objects) = 0;
37 
38  virtual void setAffectorGroup(const std::vector<HOM_DopObject *> &objects) = 0;
39 };
40 
41 #endif
42 
#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
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1055
GLuint const GLchar * name
Definition: glcorearb.h:785
HOM_DopRelationship(const HOM_DopRelationship &doprelationship)
void setGroup(PointDataTree &tree, const PointIndexTree &indexTree, const std::vector< short > &membership, const Name &group, const bool remove=false)
Sets group membership from a PointIndexTree-ordered vector.
Definition: PointGroup.h:691
virtual bool matches(const char *pattern)=0