DD::Image::ParticleRender Class Reference

Inherits DD::Image::GeoOp.

Inherited by DD::Image::ParticleCache, DD::Image::ParticleOp, and ParticleToGeo.

List of all members.

Public Member Functions

virtual int minimum_inputs () const
virtual int maximum_inputs () const
virtual bool test_input (int input, Op *op) const
virtual const char * input_label (int input, char *buffer) const
virtual Opdefault_input (int n) const
const char * node_shape () const
virtual void append (Hash &hash)
virtual void get_geometry_hash ()
virtual void geometry_engine (Scene &scene, GeometryList &out)
virtual PrevalidateResult doPreValidate (ViewerContext *ctx, PreValidateContext *)
ParticleSystem * getParticleSystem (float &prevTime, float &outTime, bool canCancel=false, Op::PrevalidateResult *result=NULL)

Protected Member Functions

 ParticleRender (Node *node)
ParticleHolder * particleHolder ()
ParticleOpparticleOp ()
bool isLicensed () const

Protected Attributes

ParticleHolder * _particleHolder

Friends

class ParticleHolder

Detailed Description

Base class for Particles Ops. Takes a ParticleOp (either as input or one deriving from this) and turns this into geo for the viewer and renderers


Member Function Documentation

Op::PrevalidateResult ParticleRender::doPreValidate ( ViewerContext ctx,
PreValidateContext pvc 
) [virtual]

preValidate step to simulate particles if necessary. returns false if particle render was cancelled.

Reimplemented from DD::Image::Op.

References DD::Image::ViewerContext::connected(), DD::Image::Op::outputContext(), and DD::Image::SHOW_OBJECT.