Cortex  10.0.0-a4
Public Member Functions | Protected Member Functions | List of all members
IECoreNuke::ProceduralHolder Class Reference

#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.
 

Detailed Description

This class allows IECore::ParameterisedProcedural objects to be displayed on nodes in Nuke.

Member Function Documentation

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().


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