HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_ParameterEditor.h
Go to the documentation of this file.
1 /*
2 #include "HOM_EnumValue.h"
3  * PROPRIETARY INFORMATION. This software is proprietary to
4  * Side Effects Software Inc., and is not to be reproduced,
5  * transmitted, or disclosed in any way without written permission.
6  *
7  * COMMENTS:
8  */
9 
10 #ifndef __HOM_ParameterEditor_h__
11 #define __HOM_ParameterEditor_h__
12 
13 #include "HOM_PathBasedPaneTab.h"
14 #include "HOM_EnumModules.h"
15 #include "HOM_EnumValue.h"
16 #include "HOM_Vector2.h"
17 
18 class HOM_Parm;
19 class HOM_ParmTuple;
20 
21 SWIGOUT(%rename(ParameterEditor) HOM_ParameterEditor;)
22 
24 {
25 public:
27  { HOM_CONSTRUCT_OBJECT(this) }
29  : HOM_PaneTab(pane), HOM_PathBasedPaneTab(pane)
30  { HOM_CONSTRUCT_OBJECT(this) }
31 
33  { HOM_DESTRUCT_OBJECT(this) }
34 
35  // Let swig know we're overriding __repr__ for this class so it doesn't
36  // provide its own __repr__.
37  SWIGOUT(virtual std::string __repr__() = 0;)
38 
39  virtual HOM_Vector2 scrollPosition() = 0;
40  virtual void setScrollPosition( HOM_Vector2 &position ) = 0;
41 
42  virtual void setFilterEnabled( bool on ) = 0;
43  virtual bool filterEnabled() = 0;
44 
45  virtual void setFilterPattern( const char* filter ) = 0;
46  virtual std::string filterPattern() = 0;
47 
48  virtual void setFilterExactMatch( bool on ) = 0;
49  virtual bool filterExactMatch() = 0;
50 
51  virtual void setFilterMode( HOM_EnumValue &mode=HOM_parmFilterMode::AllParms) = 0;
52  virtual HOM_EnumValue &filterMode() = 0;
53 
54  virtual void setFilterCriteria( HOM_EnumValue &criteria=HOM_parmFilterCriteria::NameOrLabel ) = 0;
55  virtual HOM_EnumValue &filterCriteria() = 0;
56 
57  virtual bool isShowingParmDialog() = 0;
58  virtual void setShowParmDialog( bool show ) = 0;
59 
60 
61  // Shared Methods by ParameterEditor and NetworkEditor
62  virtual void _scrollToParms( const char *parms ) = 0;
63  virtual void _filterParms( const char* parms) = 0;
64 
65  virtual void setMultiParmTab(const char *parm, int index) = 0;
66  virtual int multiParmTab(const char *parm) = 0;
67 
68  virtual std::vector<HOM_ElemPtr<HOM_ParmTuple> > visibleParms() = 0;
69 };
70 
71 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1238
OIIO_API bool rename(string_view from, string_view to, std::string &err)
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:353
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1237
GLsizei const GLchar *const * string
Definition: glcorearb.h:813
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
Definition: glcorearb.h:1296
GLenum mode
Definition: glcorearb.h:98
GLuint index
Definition: glcorearb.h:785
HOM_ParameterEditor(const HOM_ParameterEditor &pane)