Enzo
Loading...
Searching...
No Matches
enzo::op::CookContext Class Reference

Provides network context for the cookOp function. More...

#include <CookContext.h>

Public Member Functions

 CookContext (enzo::nt::OpId opId, enzo::nt::NetworkManager &networkManager)
 
enzo::NodePacket cloneInputPacket (unsigned int inputIndex)
 
bool hasInput (unsigned int inputIndex)
 
floatT evalParmFloat (std::string_view parmName, const unsigned int index=0) const
 
intT evalParmInt (std::string_view parmName, const unsigned int index=0) const
 
boolT evalParmBool (std::string_view parmName, const unsigned int index=0) const
 
String evalParmString (std::string_view parmName, const unsigned int index=0) const
 
std::vector< floatT > evalParmFloats (std::string_view parmName) const
 
std::vector< intT > evalParmInts (std::string_view parmName) const
 
std::vector< String > evalParmStrings (std::string_view parmName) const
 
Vector2 evalParmVector2 (std::string_view parmName) const
 
Vector3 evalParmVector3 (std::string_view parmName) const
 
enzo::prm::Ramp evalParmRamp (std::string_view parmName) const
 

Detailed Description

Provides network context for the cookOp function.

The cook context is the handle a node holds while it cooks. It provides important runtime context about the network, allowing querying parameters, reading input geometry, and in the future provides values like time.


The documentation for this class was generated from the following files: