Enzo
Loading...
Searching...
No Matches
src
Engine
Operator
Context.h
1
#pragma once
2
3
#include "
Engine/Types.h
"
4
#include "Engine/Operator/Geometry.h"
5
6
namespace
enzo::nt
7
{
8
class
NetworkManager;
9
}
10
11
namespace
enzo::op
12
{
19
class
Context
20
{
21
public
:
22
Context
(
enzo::nt::OpId
opId,
enzo::nt::NetworkManager
& networkManager);
23
enzo::geo::Geometry
cloneInputGeo(
unsigned
int
inputIndex);
24
bt::floatT evalFloatParm(
const
char
* parmName,
const
unsigned
int
index=0)
const
;
25
bt::intT evalIntParm(
const
char
* parmName,
const
unsigned
int
index=0)
const
;
26
bt::boolT evalBoolParm(
const
char
* parmName,
const
unsigned
int
index=0)
const
;
27
bt::String evalStringParm(
const
char
* parmName,
const
unsigned
int
index=0)
const
;
28
private
:
29
enzo::nt::OpId
opId_;
30
enzo::nt::NetworkManager
& networkManager_;
31
32
};
33
}
Types.h
Basic attribute, parameter, and node types for Enzo.
enzo::nt::OpId
uint64_t OpId
The unique ID assigned to each node in the network.
Definition
Types.h:80
enzo::geo::Geometry
Attribute based geometry container exchanged and modified by nodes.
enzo::nt::NetworkManager
The central coordinator of the engine's node system.
Definition
NetworkManager.h:26
enzo::op::Context
Provides network context for the cookOp function.
Definition
Context.h:20
Generated by
1.12.0