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
#ifdef SWIG
26
%extend
27
{
28
HOM_ViewerHandleContext
(
int64
val
)
29
{
30
return
HOM
().
newViewerHandleContext
(val);
31
}
32
}
33
#else
34
HOM_ViewerHandleContext
()
35
{
36
HOM_CONSTRUCT_OBJECT
(
this
)
37
}
38
#endif
39
40
~HOM_ViewerHandleContext
()
override
41
{
42
HOM_DESTRUCT_OBJECT
(
this
)
43
}
44
45
// SWIG has problems with parsing deleted operator=()
46
#ifndef SWIG
47
UT_NON_COPYABLE
(
HOM_ViewerHandleContext
)
48
#endif
49
50
virtual
std::string
__repr__
() = 0;
51
52
virtual
bool
isParameterEnabled(
std::string
const
& parm_name)
const
= 0;
53
virtual
double
scaleFactor(
const
HOM_Vector3
& ref_pos=
HOM_Vector3
()) = 0;
54
virtual
double
scaleValue()
const
= 0;
55
56
virtual
HOM_Matrix4
objectWorldTransform()
const
= 0;
57
virtual
HOM_Matrix4
objectLocalTransform()
const
= 0;
58
};
59
60
#endif
HOM_ViewerHandleContext::HOM_ViewerHandleContext
HOM_ViewerHandleContext()
Definition:
HOM_ViewerHandleContext.h:34
HOM_DESTRUCT_OBJECT
#define HOM_DESTRUCT_OBJECT(pointer)
Definition:
HOM_Module.h:1303
HOM_Module::newViewerHandleContext
virtual HOM_ViewerHandleContext * newViewerHandleContext(int64 val)=0
HOM_Module.h
HOM_ViewerHandleContext
Definition:
HOM_ViewerHandleContext.h:22
string
GLsizei const GLchar *const * string
Definition:
glcorearb.h:814
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:349
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_ElemPtr.h
HOM_CONSTRUCT_OBJECT
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition:
HOM_Module.h:1302
HOM_ViewerHandleContext::~HOM_ViewerHandleContext
~HOM_ViewerHandleContext() override
Definition:
HOM_ViewerHandleContext.h:40
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
HOM_API HOM_Module & HOM()
HOM
HOM_ViewerHandleContext.h
Generated on Thu Nov 21 2024 02:43:42 for HDK by
1.8.6