|
|
| ParticleBehaviour (Node *node) |
| |
| int | minimum_inputs () const override |
| |
| int | maximum_inputs () const override |
| |
| bool | test_input (int input, Op *op) const override |
| |
| Op * | default_input (int input) const override |
| |
| const char * | input_label (int input, char *buffer) const override |
| |
| int | knob_changed (DD::Image::Knob *knob) override |
| |
|
ParticleOp * | input_pop () const |
| |
| bool | doApplyBehaviour (const ParticleContext &context, ParticleSystem &ps, unsigned pathMask) override |
| |
|
void | addConditionsKnobs (Knob_Callback f) |
| |
|
void | addDomainKnobs (Knob_Callback f) |
| |
|
void | addSeedKnob (Knob_Callback f) |
| |
|
void | applyForce (ParticleSystem *ps, unsigned idx, const ParticleContext &ctx, Vector3 force) |
| | apply force to particle, for timeslice dt
|
| |
|
void | applyAcceleration (ParticleSystem *ps, unsigned idx, const ParticleContext &ctx, Vector3 accel) |
| | apply acceleration to particle, for timeslice dt
|
| |
| void | applyForce (const ParticleContext &ctx, const Vector3 &force, Vector3 &particleVelocity, double particleStartTime, float particleMass) |
| |
| void | applyAcceleration (const ParticleContext &ctx, const Vector3 &acceleration, Vector3 &particleVelocity, double particleStartTime) |
| |
|
Domain * | domain () const |
| |
|
virtual bool | conditionsApply (ParticleSystem *system, unsigned idx) |
| | return true if the conditions apply and the particle is within any domain
|
| |
| HandlesMode | doAnyHandles (ViewerContext *ctx) override |
| |
| void | build_handles (ViewerContext *context) override |
| |
| void | draw_handle (ViewerContext *context) override |
| |
Public Member Functions inherited from DD::Image::ParticleOp |
|
| ParticleOp (Node *node) |
| |
|
virtual bool | applyBehaviour (const ParticleContext &context, ParticleSystem *ps)=0 |
| |
| unsigned | node_color () const override |
| |
| const char * | node_shape () const override |
| |
| void | appendSimulationCurve (DD::Image::Hash &hash) const |
| |
|
virtual bool | doApplyBehaviour (const ParticleContext &context, ParticleSystem &ps, unsigned pathMask)=0 |
| |
| int | minimum_inputs () const override |
| |
| int | maximum_inputs () const override |
| |
| Op * | default_input (int input) const override |
| |
| bool | test_input (int input, Op *op) const override |
| |
| void | add_input_handle (int i, ViewerContext *ctx) override |
| |
|
virtual OpType | getOpType () |
| |
| ParticleOp * | particleOp () override |
| | Cast to a ParticleOp. This is much cheaper and safer than using dynamic_cast.
|
| |
| const ParticleOp * | particleOp () const override |
| |
Public Member Functions inherited from DD::Image::ParticleRender |
| 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 |
| |
| Op * | default_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 |
| |
|
ParticleSystem * | getParticleSystem (float &prevTime, float &outTime, bool canCancel=false, Op::PrevalidateResult *result=nullptr) |
| |
| | ~GeoOp () override |
| |
|
Scene * | scene () const |
| |
| void | build_scene (Scene &scene) |
| |
| void | get_geometry (Scene &, GeometryList &out) |
| |
| void | setupScene () |
| |
| bool | evaluate_transform (int obj, GeometryList &out, bool transform_normals=true) |
| |
| int | minimum_inputs () const override |
| |
| int | maximum_inputs () const override |
| |
| Op * | default_input (int input) const override |
| |
| bool | test_input (int input, Op *op) const override |
| |
|
GeoOp * | input (int n) const |
| |
|
GeoOp * | input0 () const |
| |
|
GeoOp * | input1 () const |
| |
| const char * | node_shape () const override |
| |
| unsigned | node_color () const override |
| |
| void | knobs (Knob_Callback) override |
| |
|
void | shadow_knobs (Knob_Callback f) |
| |
|
void | knobs (Knob_Callback, bool sourcegeo, bool geoselectSaves=false) |
| |
| int | knob_changed (Knob *k) override |
| |
| virtual void | print_info (std::ostream &o) |
| |
|
unsigned | objects () const |
| |
|
unsigned | vertices (int obj) const |
| |
|
std::vector< GeoInfo::Cache > & | getCacheList () |
| |
| HandlesMode | doAnyHandles (ViewerContext *) override |
| |
| void | build_matrix_handles (ViewerContext *ctx, const Matrix4 *localMatrix=nullptr) |
| |
| void | build_handles (ViewerContext *ctx) override |
| |
| virtual void | select_geometry (ViewerContext *, GeometryList &scene_objects) |
| |
| void | assign_drawlists (int obj, GeoInfo &info) |
| |
|
Display3DMode | display3d () const |
| |
|
RenderMode | render_mode () const |
| |
|
bool | selectable () const |
| |
|
virtual bool | selection3DChanged (ViewerContext *ctx) |
| |
|
virtual bool | selection3DCleared () |
| |
|
virtual bool | selection3DMouseDown (ViewerContext *ctx) |
| |
|
virtual bool | selection3DMouseUp (ViewerContext *ctx) |
| |
|
virtual bool | selection3DMouseDrag (ViewerContext *ctx) |
| |
|
const Hash & | hash (int i) const |
| |
| const GeometryMask & | rebuild_mask () const |
| |
|
bool | rebuild (const GeometryMask &m=GeometryMask(Mask_All_Geometry)) const |
| |
|
void | set_rebuild (const GeometryMask &m) |
| |
|
void | clear_rebuild (const GeometryMask &m) |
| |
|
const GeneralInfo & | generalInfo () const override |
| |
| GeoOp * | geoOp () override |
| | Cast to a GeoOp. This is much cheaper and safer than using dynamic_cast.
|
| |
| const GeoOp * | geoOp () const override |
| |
| OpHints | opHints () const override |
| | Return hints to control when and how this op will be evaluated by the top-down system.
|
| |
| PrevalidateResult | preValidate (ViewerContext *ctx=nullptr, PreValidateContext *=nullptr) |
| |
| Op * | rootOp () const |
| |
| bool | preValidateAborted (int treeStartingVersion, PrevalidateResult &result) const |
| |
|
const OutputSet & | getOutputs () const |
| | return all the outputs of this node
|
| |
| virtual void | setInputsValid (bool nowValid) |
| | set whether the input ops are valid (are for the right context)
|
| |
|
bool | inputsValid () const |
| | return whether the input ops are valid (are for the right context)
|
| |
|
virtual bool | can_clone () const |
| | returns whether or not an op can be cloned in the dag
|
| |
|
bool | haveHash () const |
| | return true if the hash() value is meaningful and globally unique
|
| |
| bool | varyingOutputHash () const |
| |
|
void | setVaryingOutputHash (bool varyingHashes) |
| | Set the varyingOutputHash indicator to a specific state.
|
| |
|
void | enableVaryingOutputHash () |
| | Enable the varyingOutputHash indicator.
|
| |
| virtual Hash | editState () const |
| |
| virtual void | setEditState (const Hash &h) |
| |
|
virtual std::vector< DD::Image::OutputContext > | getPrevVersionsWanted () const |
| |
| virtual const MetaData::Bundle & | _fetchMetaData (const char *keyname) |
| |
| const MetaData::Bundle & | fetchMetaData (const char *keyname) |
| |
| Node * | node () const |
| |
|
DD::Image::NodeI * | getNode () const |
| |
| void | node (Node *v) |
| |
|
const char * | nodeName () const |
| | Return NodeI::name() which is the Node's local name with no parent path.
|
| |
| std::string | nodeFullPath (char separator='.') const |
| |
| Hash | nodeTopologyHash () const |
| |
|
Op * | firstOp () const |
| |
|
void | firstOp (Op *v) |
| |
| Op * | parent () const |
| |
|
void | parent (Op *lpOp) |
| |
| virtual void | detach () |
| | node has been deleted in DAG
|
| |
|
virtual void | attach () |
| | node has been created in DAG
|
| |
| virtual void | pre_write_knobs () |
| |
| void | knobStorePrep (const OutputContext &storeContext) |
| |
| virtual void | knobs (Knob_Callback) |
| |
| void | knobStorePost (const OutputContext &storeContext, Hash &hash) |
| |
| int | replace_knobs (Knob *afterthis, int n, void(*f)(void *, Knob_Callback), void *, const char *fileExt=nullptr) |
| |
| int | add_knobs (void(*f)(void *, Knob_Callback), void *, Knob_Callback) |
| |
| void | set_unlicensed () |
| |
| Knob * | knob (const char *name) const |
| |
| Knob * | knob (int) const |
| |
| bool | pushed () const |
| |
| bool | panel_visible () const |
| |
| bool | node_disabled () const |
| |
| bool | node_selected () const |
| |
| unsigned | node_gl_color () const |
| |
| void * | field (const char *name) |
| |
| void * | field (const char *name, int &type) |
| |
| void * | set_field (const char *name, const void *source, int size) |
| |
| void * | get_field (const char *name, void *dest, int size) |
| |
| void | beginHandle (HandleType command, ViewerContext *ctx, EventCallback *cb, int index, float x=0, float y=0, float z=0, ViewerContext::Cursor cursor=ViewerContext::kNoCursor) |
| |
|
void | endHandle (ViewerContext *ctx) |
| |
| virtual int | knob_changed (Knob *) |
| |
|
virtual int | knob_change_finished (Knob *knob, bool changedByUser=true) |
| |
| void | addTime (OpTimer::Category category, long long microsecondsCPU, long long microsecondsWall, bool isTopLevel=true) |
| |
|
void | getPerformanceInfo (OpTimer::Category category, OpTimer::PerformanceInfo &info) const |
| | return the amount of CPU time taken by this op
|
| |
|
virtual bool | inputs_clockwise () const |
| | whether unconnected inputs on the DAG should be arranged clockwise or anticlockwise (default)
|
| |
|
virtual std::vector< int > | input_order () const |
| |
| virtual int | inputArrows (int nodeInputs) const |
| |
| bool | script_command (const char *command, bool py=true, bool eval=true) const |
| |
| bool | script_expand (const char *str) const |
| |
|
HandlesMode | anyHandles (ViewerContext *ctx) |
| |
| virtual void | build_handles (ViewerContext *) |
| |
| void | add_draw_handle (ViewerContext *) |
| |
| virtual void | draw_handle (ViewerContext *) |
| |
| virtual void | add_input_handle (int input, ViewerContext *) |
| |
|
void | add_op_handle (ViewerContext *ctx) |
| |
| void | add_knob_handle (Knob *, ViewerContext *) |
| |
| virtual int | getViewableModes () const |
| |
| virtual int | optional_input () const |
| |
| virtual int | minimum_inputs () const |
| |
| virtual int | maximum_inputs () const |
| |
| virtual bool | test_input (int, Op *) const |
| |
| int | inputs () const |
| |
| int | node_inputs () const |
| |
| Op * | node_input (int, GenerateType=OUTPUT_OP) const |
| |
|
Op * | node_input (int, GenerateType, const DD::Image::OutputContext *outputContext) const |
| |
| Op * | input_op (int n=0) const |
| |
| virtual void | inputs (int n) |
| |
| Op * | input (int) const |
| |
| int | inputNumber (int input, int offset) const |
| |
| Op * | input (int input, int offset) const |
| |
| Op * | input0 () const |
| | return the primary input
|
| |
| Op * | input1 () const |
| | return the second input, if it exists
|
| |
| const std::vector< Op * > & | getInputs () const |
| |
| const std::vector< Op * > & | getChildren () const |
| |
| virtual void | set_input (int i, Op *op, int input, int offset) |
| |
| void | set_input0 (Op *op) |
| |
|
void | set_input (int i, Op *op) |
| |
|
void | set_input (int i, Op &op) |
| |
| void | set_input (int input, int offset, Op *op) |
| |
| const OutputContext & | outputContext () const |
| |
| virtual void | setOutputContext (const OutputContext &c) |
| |
| virtual void | append (Hash &) |
| |
| virtual float | uses_input (int) const |
| |
|
virtual void | build_splits () |
| |
| virtual int | split_input (int) const |
| |
| virtual const OutputContext & | inputContext (int n, int offset, OutputContext &) const |
| |
| virtual const OutputContext * | inputUIContext (int n, OutputContext &) const |
| |
| virtual Op * | default_input (int) const |
| |
| const Hash & | hash () const |
| |
| virtual bool | frameTransformImplemented () const |
| |
|
virtual bool | frameTransformDownstream (const OutputContext &context, unsigned int input, float inFrame, float &outFrame) const |
| |
|
virtual bool | frameTransformUpstream (const OutputContext &context, unsigned int input, float outFrame, float &inFrame) const |
| |
| virtual DopeItemFlags::Mask | getDopeItemFlags () const |
| |
| virtual bool | shouldHideInDopeSheet (Knob *knob) const |
| |
| virtual DD::Image::Knob * | getDopeItemKnob () const |
| |
|
virtual ViewSet | viewsProduced () const |
| |
|
virtual ViewSet | viewsWantOn (int i) const |
| |
|
virtual ViewSet | splitForViews () const |
| |
| bool | requested () const |
| |
| void | setRequested () |
| |
| void | forgetRequestShallow () |
| |
|
void | forget_request () |
| |
| void | forget_request (std::set< Op * > &forgotten) |
| |
| virtual const char * | node_shape () const |
| |
|
DD::Image::Hash | curveHash () const |
| |
|
bool | opCurrent () const |
| |
| virtual unsigned | node_color () const |
| |
| virtual const char * | node_help () const =0 |
| |
| virtual const char * | input_label (int, char *) const |
| |
| virtual std::string | input_longlabel (int) const |
| |
| void | node_redraw () |
| |
| void | print_name (std::ostream &o) const |
| |
| NodeContext | nodeContext () const |
| |
|
std::string | node_name () const |
| | Returns the same string as printed by print_name(ostream).
|
| |
| void | invalidateSameHash () |
| |
| bool | invalidate () |
| |
| bool | invalidate (const Hash &hash) |
| |
| bool | update (const Box *=nullptr) |
| |
| void | asapUpdate () |
| |
| void | asapUpdate (const Box &box, int direction=0) |
| |
| void | validate (bool for_real=true) |
| |
| virtual void | force_validate (bool for_real=true) |
| |
|
void | update_handles () const |
| |
| bool | valid () const |
| | Returns true if it has been validated - including if there was an error.
|
| |
| bool | real_valid () const |
| | Returns true if it has been real-validated - including if there was an error.
|
| |
|
bool | inErrorState () const |
| |
|
bool | inInvalidState () const |
| |
| bool | opened () const |
| |
| void | open () |
| |
|
void | unopen () |
| |
| bool | running () const |
| |
| void | running (bool v) |
| |
| bool | not_closed () const |
| |
| void | close () |
| |
| void | callCloseAfter (double seconds) |
| |
| void | copyState (Op *input) |
| |
|
bool | cached () const |
| |
| void | cached (bool b) |
| |
|
virtual bool | inUse () const |
| |
| virtual Executable * | executable () |
| |
| void | setKnobsToContext (const OutputContext &, bool force=false) |
| |
| void | gotoContext (const OutputContext &, bool update) |
| |
| void | progressFraction (double fraction, StatusFlags flags=StatusNone) |
| |
|
void | progressFraction (int a, int b, StatusFlags flags=StatusNone) |
| |
| void | progressMessage (const char *fmt,...) |
| |
|
void | progressModalMessage (const char *fmt,...) |
| |
| void | progressDismiss () |
| |
| int | slowness () const |
| |
|
void | slowness (int newval) |
| |
| virtual bool | firstEngineRendersWholeRequest () const |
| |
| virtual bool | updateUI (const OutputContext &context) |
| |
| const Format & | input_format () const |
| |
| const OutputContext & | uiContext () const |
| |
| void | error (const char *fmt,...) |
| |
| void | warning (const char *fmt,...) |
| |
| void | critical (const char *fmt,...) |
| |
| void | debug (const char *fmt,...) |
| |
|
void | abort () const |
| | Abort all trees the op is in.
|
| |
|
bool | aborted () const |
| | True if one of the trees the op is in was aborted; ops should check this while processing and return quickly when true.
|
| |
|
void | cancel () const |
| | Cancel all trees the op is in. Make sure you also call abort() to stop processing.
|
| |
|
bool | cancelled () const |
| | True if one of the trees the op is in was cancelled (by user interaction)
|
| |
|
bool | addToTree (OpTree *lpTree) |
| | Returns true if the op was added to the tree, or false if its reference count increased.
|
| |
|
bool | removeFromTree (OpTree *lpTree) |
| | Returns false if the op was removed from the tree, or true if its reference count decreased.
|
| |
|
bool | isInTree (OpTree *lpTree) const |
| | Checks if an op is in a particular tree, for debugging purposes.
|
| |
|
bool | isInAnyTree () const |
| | Checks if an op is in any tree at all.
|
| |
|
OpTreeHandler * | getTreeHandler () const |
| | Returns the treeHandler for a given Op.
|
| |
| bool | hasError () const |
| |
| bool | opOrChildHasError () const |
| |
|
const Op * | getErroredOp () const |
| |
|
void | setPopUpScheme (PopUpScheme lScheme) |
| |
|
PopUpScheme | getPopUpScheme () const |
| |
|
bool | arePopUpsEnabled () |
| | Returns whether a pop-up should be enabled for the next message, modifying internal data when necessary.
|
| |
|
OpMessageHandler & | getMsgHandler () |
| |
|
const OpMessageHandler & | getMsgHandler () const |
| |
|
std::string | getDebugInfo () const |
| | Returns a string of debug information about the op. For internal use.
|
| |
|
std::string | getDetailedDebugInfo () const |
| |
| bool | tryValidate (bool for_real=true) |
| |
| virtual Iop * | iop () |
| | Cast to an Iop. This is much cheaper and safer than using dynamic_cast.
|
| |
|
virtual const Iop * | iop () const |
| |
| virtual GeoOp * | geoOp () |
| | Cast to a GeoOp. This is much cheaper and safer than using dynamic_cast.
|
| |
|
virtual const GeoOp * | geoOp () const |
| |
|
virtual GeomOp * | geomOp () |
| | Cast to a GeomOp. This is much cheaper and safer than using dynamic_cast.
|
| |
| virtual const GeomOp * | geomOp () const |
| |
| virtual ParticleOp * | particleOp () |
| | Cast to a ParticleOp. This is much cheaper and safer than using dynamic_cast.
|
| |
|
virtual const ParticleOp * | particleOp () const |
| |
|
virtual DeepOnlyOp * | deepOnlyOp () |
| | Cast to a DeepOnlyOp. This is much cheaper and safer than using dynamic_cast.
|
| |
|
virtual const DeepOnlyOp * | deepOnlyOp () const |
| |
|
virtual AxisOp * | axisOp () |
| | Cast to an AxisOp. This is much cheaper and safer than using dynamic_cast.
|
| |
| virtual const AxisOp * | axisOp () const |
| |
|
virtual CameraOp * | cameraOp () |
| | Cast to an CameraOp. This is much cheaper and safer than using dynamic_cast.
|
| |
| virtual const CameraOp * | cameraOp () const |
| |
|
virtual LightOp * | lightOp () |
| | Cast to an LightOp. This is much cheaper and safer than using dynamic_cast.
|
| |
| virtual const LightOp * | lightOp () const |
| |
| virtual std::string | getLibraryName () const |
| | Return a label and version string to display library version info for the Node.
|
| |
| virtual VersionInfo | getLibraryVersion () const |
| |
| virtual OpHints | opHints () const |
| | Return hints to control when and how this op will be evaluated by the top-down system.
|
| |
| virtual const char * | Class () const =0 |
| |
| const std::string | libraryDisplayName () const |
| |
| virtual const char * | displayName () const |
| |
| virtual std::string | docsPath () const |
| |
| virtual bool | onAction (const ViewerContext *c, const DD::Image::Flags f, void *d) |
| |
| Op * | get (const Description *description) |
| |