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
DOP_Python.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
* NAME: DOP_Python.h (DOP Library, C++)
7
*
8
* COMMENTS:
9
*
10
*/
11
12
#ifndef __DOP_Python_h__
13
#define __DOP_Python_h__
14
15
#include "
DOP_API.h
"
16
#include "
DOP_Node.h
"
17
#include <
SIM/SIM_ObjectArray.h
>
18
class
OP_OTLDefinition
;
19
class
OP_ScriptOperator
;
20
21
class
DOP_API
DOP_Python
:
public
DOP_Node
22
{
23
public
:
24
static
OP_Node
*myConstructor(
25
OP_Network
*net,
const
char
*
name
,
OP_Operator
*entry);
26
27
static
OP_ScriptOperator
*createScriptOperator(
const
OP_OTLDefinition
&);
28
29
// Returns whether or not this sop is currently processing objects. It's
30
// used by HOM to decide if it may modify dop data.
31
bool
isRunning
()
const
32
{
return
myIsRunning; }
33
34
const
SIM_ObjectArray
&
objectsToProcess
()
const
35
{
return
myObjectsToProcess; }
36
37
protected
:
38
DOP_Python
(
OP_Network
*net,
const
char
*name,
OP_Operator
*entry);
39
~
DOP_Python
()
override
;
40
41
void
processObjectsSubclass
(
42
fpreal
time
,
int
for_output_idx,
const
SIM_ObjectArray
&objects,
43
DOP_Engine
&engine)
override
;
44
45
private
:
46
SIM_ObjectArray
myObjectsToProcess;
47
bool
myIsRunning;
48
};
49
50
#endif
GT_Names::time
GT_API const UT_StringHolder time
DOP_Engine
Definition:
DOP_Engine.h:36
DOP_Node::processObjectsSubclass
virtual void processObjectsSubclass(fpreal time, int foroutputidx, const SIM_ObjectArray &objects, DOP_Engine &engine)
This default implementation does not affect incoming objects.
DOP_Python::isRunning
bool isRunning() const
Definition:
DOP_Python.h:31
OP_Operator
Definition:
OP_Operator.h:142
DOP_API
#define DOP_API
Definition:
DOP_API.h:10
OP_Node
Definition:
OP_Node.h:503
SIM_ObjectArray
Holds pointers to a number of SIM_Object objects.
Definition:
SIM_ObjectArray.h:20
DOP_Python::objectsToProcess
const SIM_ObjectArray & objectsToProcess() const
Definition:
DOP_Python.h:34
SIM_ObjectArray.h
name
GLuint const GLchar * name
Definition:
glcorearb.h:786
OP_ScriptOperator
Definition:
OP_ScriptOperator.h:37
fpreal
fpreal64 fpreal
Definition:
SYS_Types.h:277
DOP_API.h
OP_OTLDefinition
Definition:
OP_OTLDefinition.h:159
DOP_Node
This is the base class for all DOP nodes.
Definition:
DOP_Node.h:77
DOP_Node.h
OP_Network
Definition:
OP_Network.h:152
DOP_Python
Definition:
DOP_Python.h:21
DOP
DOP_Python.h
Generated on Tue Dec 17 2024 03:39:38 for HDK by
1.8.6