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

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

Protected Member Functions

 ParticleRender (Node *node)
ParticleHolder * particleHolder ()
ParticleOpparticleRenderOp ()
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 
) [override, 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.