32 std::shared_ptr<const enzo::NodePacket>
getInputPacket(
unsigned int inputIndex);
33 bool hasInput(
unsigned int inputIndex);
34 unsigned int getInputCount();
43 floatT evalParmFloat(std::string_view parmName,
const unsigned int index = 0)
const;
44 intT evalParmInt(std::string_view parmName,
const unsigned int index = 0)
const;
45 boolT evalParmBool(std::string_view parmName,
const unsigned int index = 0)
const;
46 String evalParmString(std::string_view parmName,
const unsigned int index = 0)
const;
50 std::vector<floatT> evalParmFloats(std::string_view parmName)
const;
51 std::vector<intT> evalParmInts(std::string_view parmName)
const;
52 std::vector<String> evalParmStrings(std::string_view parmName)
const;
56 Vector2 evalParmVector2(std::string_view parmName)
const;
60 Vector3 evalParmVector3(std::string_view parmName)
const;
67 void recordTimeDependency_()
const;
The handle a node holds while it cooks to get context about the network.
Definition CookContext.h:23
floatT getTime() const
Returns the scene time in seconds, measured from the start of frame 1.
Definition CookContext.cpp:49
floatT getFrame() const
Returns the frame the scene sits on.
Definition CookContext.cpp:43
std::shared_ptr< const enzo::NodePacket > getInputPacket(unsigned int inputIndex)
Returns the geometry arriving at an input, read only.
Definition CookContext.cpp:21
enzo::nt::NodeId getNodeId() const
Returns the id of the node being cooked.
Definition CookContext.h:28