Cortex
10.0.0-a4
|
#include <ProceduralHolder.h>
Inherits IECoreNuke::ParameterisedHolder< BaseType >.
Public Member Functions | |
ProceduralHolder (Node *node) | |
IECore::ConstParameterisedProceduralPtr | procedural () |
Returns the procedural which is being held. | |
IECoreGL::ConstScenePtr | scene () |
Imath::Box3f | bound () |
Imath::M44f | transform () |
Returns the transform for the procedural. | |
Reimplementation of Nuke methods. | |
virtual void | knobs (DD::Image::Knob_Callback f) |
virtual const char * | Class () const |
virtual const char * | node_help () const |
Protected Member Functions | |
virtual void | build_handles (DD::Image::ViewerContext *ctx) |
Implemented to draw the procedural. | |
virtual void | draw_handle (DD::Image::ViewerContext *ctx) |
const char * | node_shape () const |
Implemented to distinguish these nodes from others. | |
This class allows IECore::ParameterisedProcedural objects to be displayed on nodes in Nuke.
Imath::Box3f IECoreNuke::ProceduralHolder::bound | ( | ) |
Returns the bounding box for the procedural in local space. Prefer this over calling procedural()->bound() directly because it only recomputes when necessary (when input parameters have changed).
IECoreGL::ConstScenePtr IECoreNuke::ProceduralHolder::scene | ( | ) |
Returns the scene created by the procedural in a form suitable for OpenGL rendering.
Referenced by IECoreMaya.FnProceduralHolder::componentNames().