HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
HOM_ViewerHandleContext.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_ViewerHandleContext_h
10
#define HOM_ViewerHandleContext_h
11
12
#include "
HOM_API.h
"
13
#include "
HOM_Module.h
"
14
#include "
HOM_ElemPtr.h
"
15
#include "
HOM_Vector3.h
"
16
#include "
HOM_GadgetContext.h
"
17
#include <
UT/UT_NonCopyable.h
>
18
19
SWIGOUT
(%
rename
(ViewerHandleContext)
HOM_ViewerHandleContext
;)
20
SWIGOUT
(%feature(
"notabstract"
)
HOM_ViewerHandleContext
;)
21
22
class
HOM_API
HOM_ViewerHandleContext
:
virtual
public
HOM_GadgetContext
23
{
24
public
:
25
typedef
int64
DrawH
;
26
27
#ifdef SWIG
28
%extend
29
{
30
HOM_ViewerHandleContext
(
int64
val
)
31
{
32
return
HOM
().
newViewerHandleContext
(val);
33
}
34
}
35
#else
36
HOM_ViewerHandleContext
()
37
{
38
HOM_CONSTRUCT_OBJECT
(
this
)
39
}
40
#endif
41
42
~HOM_ViewerHandleContext
()
override
43
{
44
HOM_DESTRUCT_OBJECT
(
this
)
45
}
46
47
// SWIG has problems with parsing deleted operator=()
48
#ifndef SWIG
49
UT_NON_COPYABLE
(
HOM_ViewerHandleContext
)
50
#endif
51
52
virtual
std::string
__repr__
() = 0;
53
54
virtual
bool
isParameterEnabled(std::string
const
& parm_name)
const
= 0;
55
virtual
double
scaleFactor(
const
HOM_Vector3
& ref_pos=
HOM_Vector3
()) = 0;
56
virtual
double
scaleValue()
const
= 0;
57
virtual
double
handleScaleValue(
const
HOM_Vector3
& ref_pos=
HOM_Vector3
()) = 0;
58
59
virtual
HOM_Matrix4
objectWorldTransform()
const
= 0;
60
virtual
HOM_Matrix4
objectLocalTransform()
const
= 0;
61
62
virtual
void
setDrawOrder(
const
std::vector<std::string> & drawable_names) = 0;
63
virtual
void
draw
(DrawH handle) = 0;
64
};
65
66
#endif
HOM_ViewerHandleContext::HOM_ViewerHandleContext
HOM_ViewerHandleContext()
Definition:
HOM_ViewerHandleContext.h:36
HOM_DESTRUCT_OBJECT
#define HOM_DESTRUCT_OBJECT(pointer)
Definition:
HOM_Module.h:1345
HOM_Module::newViewerHandleContext
virtual HOM_ViewerHandleContext * newViewerHandleContext(int64 val)=0
HOM_Module.h
HOM_ViewerHandleContext
Definition:
HOM_ViewerHandleContext.h:22
HOM_GadgetContext
Definition:
HOM_GadgetContext.h:17
SWIGOUT
#define SWIGOUT(x)
Definition:
HOM_Defines.h:24
HOM_Vector3.h
Vt_WrapArray::__repr__
string __repr__(VtArray< T > const &self)
Definition:
wrapArray.h:312
HOM_API.h
HOM_Vector3
Definition:
HOM_Vector3.h:26
HOM_Matrix4
Definition:
HOM_Matrix4.h:25
HOM_API
#define HOM_API
Definition:
HOM_API.h:13
HOM_GeometryViewport::draw
virtual void draw()=0
HOM_ElemPtr.h
HOM_CONSTRUCT_OBJECT
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition:
HOM_Module.h:1344
HOM_ViewerHandleContext::~HOM_ViewerHandleContext
~HOM_ViewerHandleContext() override
Definition:
HOM_ViewerHandleContext.h:42
UT_NON_COPYABLE
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
Definition:
UT_NonCopyable.h:31
int64
long long int64
Definition:
SYS_Types.h:116
UT_NonCopyable.h
HOM_GadgetContext.h
Filesystem::rename
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
val
GLuint GLfloat * val
Definition:
glcorearb.h:1608
HOM_ViewerHandleContext::DrawH
int64 DrawH
Definition:
HOM_ViewerHandleContext.h:25
HOM
HOM_API HOM_Module & HOM()
HOM
HOM_ViewerHandleContext.h
Generated on Tue Sep 23 2025 02:39:39 for HDK by
1.8.6