HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_ViewerState.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_ViewerState_h__
10 #define __HOM_ViewerState_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Module.h"
15 #include "HOM_Errors.h"
16 #include <vector>
17 #include <string>
18 
19 class HOM_NodeType;
22 
23 SWIGOUT(%rename(ViewerState) HOM_ViewerState;)
24 
26 {
27 public:
29  { HOM_CONSTRUCT_OBJECT(this) }
31  { HOM_CONSTRUCT_OBJECT(this) }
32  virtual ~HOM_ViewerState()
33  { HOM_DESTRUCT_OBJECT(this) }
34 
35  virtual std::string __repr__() = 0;
36 
37  // These functions identify the state, and the node type and node
38  // type category it is associated with.
39  virtual std::string name() = 0;
40  virtual std::string description() = 0;
41  virtual std::string icon() = 0;
42  virtual std::vector<HOM_NodeTypeCategory *> categories() = 0;
43 
44  SWIGOUT(%newobject nodeType;)
45  virtual HOM_NodeType *nodeType() = 0;
46 
47  virtual bool isHidden() = 0;
48 
49  virtual std::string hotkey() = 0;
50  virtual HOM_ParmTemplateGroup * parmTemplates() = 0;
51 };
52 
53 #endif
54 
virtual bool isHidden(const std::vector< int > &indices)=0
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1303
HOM_ViewerState(const HOM_ViewerState &element)
std::vector< HOM_ElemPtr< HOM_ParmTemplate > > parmTemplates()
GLsizei const GLchar *const * string
Definition: glcorearb.h:814
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:349
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1302
GLuint const GLchar * name
Definition: glcorearb.h:786
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
virtual ~HOM_ViewerState()