HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HOM_GeometrySelection.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_GeometrySelection_h__
10 #define __HOM_GeometrySelection_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Module.h"
15 #include "HOM_Errors.h"
16 #include <string>
17 #include <vector>
18 
19 class HOM_Node;
20 
21 SWIGOUT(%rename(GeometrySelection) HOM_GeometrySelection;)
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  virtual std::string __str__() = 0;
35 
36  virtual bool ordered() = 0;
37 
38  virtual HOM_EnumValue &geometryType() = 0;
39  virtual void setGeometryType(HOM_EnumValue &type) = 0;
40 
41  virtual HOM_EnumValue &connectivity() = 0;
42  virtual void setConnectivity(HOM_EnumValue &connectivity) = 0;
43 
44  virtual std::vector<HOM_EnumValue *> primitiveTypes() = 0;
45  virtual void setPrimitiveTypes(std::vector<HOM_EnumValue *> primitive_types) = 0;
46 
47  virtual std::vector<HOM_ElemPtr<HOM_Node> > nodes() = 0;
48  SWIGOUT(%kwargs selectionStrings;)
49  virtual std::vector<std::string> selectionStrings(
50  bool empty_string_selects_all = true,
51  bool force_numeric = false) = 0;
52  virtual std::vector<HOM_ElemPtr<HOM_Selection> > selections() = 0;
53 
54  virtual bool needsMergedNode(HOM_Node &parent) = 0;
55  virtual HOM_Node *mergedNode(HOM_Node &parent, const char *creator_name,
56  bool force_keep_original_objects=false,
57  bool display_original_objects=false) = 0;
58  SWIGOUT(%kwargs mergedSelectionString;)
59  virtual std::string mergedSelectionString(
60  bool empty_string_selects_all = true,
61  bool force_numeric = false) = 0;
62 
63  SWIGOUT(%kwargs shrinkSelection;)
64  virtual void shrinkSelection(bool check_uv=true) = 0;
65 
66  SWIGOUT(%kwargs growSelection;)
67  virtual void growSelection() = 0;
68 };
69 
70 #endif
virtual std::string __repr__()=0
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:974
GLsizei const GLchar *const * string
Definition: glcorearb.h:813
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
virtual HOM_Node * parent()=0
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:973
virtual std::string __str__()=0
virtual std::vector< HOM_ElemPtr< HOM_Node > > nodes(const std::vector< std::string > &node_paths)=0
HOM_GeometrySelection(const HOM_GeometrySelection &)
GLint GLint GLsizei GLint GLenum GLenum type
Definition: glcorearb.h:107