Enzo
Loading...
Searching...
No Matches
Context.h
1#pragma once
2
3#include "Engine/Types.h"
4#include "Engine/Operator/Geometry.h"
5
6namespace enzo::nt
7{
8 class NetworkManager;
9}
10
11namespace enzo::op
12{
20{
21public:
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;
28private:
29 enzo::nt::OpId opId_;
30 enzo::nt::NetworkManager& networkManager_;
31
32};
33}
Basic attribute, parameter, and node types for Enzo.
uint64_t OpId
The unique ID assigned to each node in the network.
Definition Types.h:80
Attribute based geometry container exchanged and modified by nodes.
The central coordinator of the engine's node system.
Definition NetworkManager.h:26
Provides network context for the cookOp function.
Definition Context.h:20