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