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  virtual bool _pressColorButton(const char *parm) = 0;
61 
62  // Shared Methods by ParameterEditor and NetworkEditor
63  virtual void _scrollToParms( const char *parms ) = 0;
64  virtual void _filterParms( const char* parms) = 0;
65 
66  virtual void setMultiParmTab(const char *parm, int index) = 0;
67  virtual int multiParmTab(const char *parm) = 0;
68 
69  virtual std::vector<HOM_ElemPtr<HOM_ParmTuple> > visibleParms() = 0;
70 };
71 
72 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1303
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
GLenum mode
Definition: glcorearb.h:99
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
GLuint index
Definition: glcorearb.h:786
SIM_API const UT_StringHolder position
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
Definition: glcorearb.h:1297
HOM_ParameterEditor(const HOM_ParameterEditor &pane)