HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_SopNode.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_SopNode_h__
10 #define __HOM_SopNode_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Errors.h"
15 #include "HOM_Node.h"
16 class HOM_Geometry;
17 class HOM_GeometryDelta;
18 class HOM_Point;
19 class HOM_Prim;
20 class HOM_Vertex;
21 class HOM_SopVerb;
22 
23 SWIGOUT(%rename(SopNode) HOM_SopNode;)
24 
25 class HOM_API HOM_SopNode : virtual public HOM_Node
26 {
27 public:
29  : HOM_NetworkMovableItem(HOM_networkItemType::Node)
30  { HOM_CONSTRUCT_OBJECT(this) }
31  HOM_SopNode(const HOM_SopNode &sop_node)
32  : HOM_Node(sop_node),
33  HOM_NetworkMovableItem(sop_node)
34  { HOM_CONSTRUCT_OBJECT(this) }
35  virtual ~HOM_SopNode()
36  { HOM_DESTRUCT_OBJECT(this) }
37 
38  // Let swig know we're overriding __repr__ for this class so it doesn't
39  // provide its own __repr__.
40  SWIGOUT(virtual std::string __repr__() = 0;)
41 
42  SWIGOUT(%newobject geometry;)
43  SWIGOUT(%kwargs geometry;)
44  virtual HOM_Geometry *geometry(int output_index=0) = 0;
45  SWIGOUT(%newobject geometryAtFrame;)
46  SWIGOUT(%kwargs geometryAtFrame;)
47  virtual HOM_Geometry *geometryAtFrame(double frame, int output_index=0) = 0;
48  SWIGOUT(%newobject inputGeometry;)
49  virtual HOM_Geometry *inputGeometry(int index) = 0;
50  SWIGOUT(%newobject geometryAtFrame;)
51  virtual HOM_Geometry *inputGeometryAtFrame(double frame, int index) = 0;
52 
53  SWIGOUT(%newobject geometryDelta;)
54  virtual HOM_GeometryDelta *geometryDelta() = 0;
55 
56  virtual bool hasVerb() = 0;
57  SWIGOUT(%newobject verb;)
58  virtual HOM_SopVerb *verb() = 0;
59 
60  // This method is deprecated.
61  SWIGOUT(%newobject selection;)
62  virtual HOM_Selection *selection(HOM_EnumValue &selection_type) = 0;
63  // This method is deprecated.
64  virtual void setSelection(HOM_Selection &selection) = 0;
65 
66  SWIGOUT(%newobject curPoint;)
67  virtual HOM_Point *curPoint() = 0;
68  virtual void setCurPoint(HOM_Point *point_or_none) = 0;
69 
70  SWIGOUT(%newobject curPrim;)
71  virtual HOM_Prim *curPrim() = 0;
72  virtual void setCurPrim(HOM_Prim *prim_or_none) = 0;
73 
74  SWIGOUT(%newobject curVertex;)
75  virtual HOM_Vertex *curVertex() = 0;
76  virtual void setCurVertex(HOM_Vertex *vertex_or_none) = 0;
77 
78 
79  virtual bool isBypassed() = 0;
80  virtual void bypass(bool on) = 0;
81  virtual bool isDisplayFlagSet() = 0;
82  virtual void setDisplayFlag(bool on) = 0;
83  virtual bool isRenderFlagSet() = 0;
84  virtual void setRenderFlag(bool on) = 0;
85  virtual bool isTemplateFlagSet() = 0;
86  virtual void setTemplateFlag(bool on) = 0;
87  virtual bool isSelectableTemplateFlagSet() = 0;
88  virtual void setSelectableTemplateFlag(bool on) = 0;
89  virtual bool isHighlightFlagSet() = 0;
90  virtual void setHighlightFlag(bool on) = 0;
91  virtual bool isSoftLocked() = 0;
92  virtual void setSoftLocked(bool on) = 0;
93  virtual bool isHardLocked() = 0;
94  virtual void setHardLocked(bool on) = 0;
95  virtual bool isUnloadFlagSet() = 0;
96  virtual void setUnloadFlag(bool on) = 0;
97 
98  // This method is deprecated.
99  virtual void copyNodeSelectionToUserSelection(bool force_cook = false) = 0;
100 
101  SWIGOUT(%newobject displayNode;)
102  virtual HOM_Node *displayNode() = 0;
103  SWIGOUT(%newobject renderNode;)
104  virtual HOM_Node *renderNode() = 0;
105 };
106 
107 #endif
GT_API const UT_StringHolder selection
#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
HOM_SopNode(const HOM_SopNode &sop_node)
Definition: HOM_SopNode.h:31
#define HOM_API
Definition: HOM_API.h:13
virtual ~HOM_SopNode()
Definition: HOM_SopNode.h:35
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1055
GLuint index
Definition: glcorearb.h:785