LightOp defines a 3D light. More...
#include <LightOp.h>
Public Member Functions | |
| LightOp (Node *node) | |
| const LightOp * | lightOp () const override |
| Cast to a LightOp. This is much cheaper and safer than using dynamic_cast. | |
| LightOp * | lightOp () override |
| LightOp * | getLightOpAt (const OutputContext &context) |
| Retrieve a version of this LightOp at a specific OutputContext. | |
| unsigned | node_color () const override |
| Set the default color of a light node. | |
| const Pixel & | color () const |
| void | setColor (const Pixel &color) |
| void | setColor (const fdk::Vec3d &color) |
| double | intensity () const |
| void | setIntensity (double v) |
| double | exposure () const |
| void | setExposure (double v) |
| bool | enableColorTemperature () const |
| void | setEnableColorTemperature (bool v) |
| double | colorTemperature () const |
| void | setColorTemperature (double v) |
| bool | normalize () const |
| void | setNormalize (bool v) |
| double | diffuse () const |
| void | setDiffuse (double v) |
| double | specular () const |
| void | setSpecular (double v) |
| Channel | shadowMaskChannel () const |
| void | setShadowMaskChannel (const Channel &channel) |
| virtual bool | isDeltaLight () const |
| virtual double | coneAngle () const |
| virtual double | coneAspectRatio () const |
| Horizontal / vertical angle ratio. | |
| void | _validate (bool for_real) override |
| void | knobs (Knob_Callback) override |
| int | knob_changed (Knob *) override |
| void | build_handles (ViewerContext *) override |
| void | draw_handle (ViewerContext *) override |
| Draws a picture of a point light. | |
| virtual void | shade_GL (ViewerContext *, int light_num) |
| Point light OpenGL settings. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("request() has been deprecated, use requestTextures().") virtual void request(ChannelMask | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("color_knobs() has been deprecated, use LightSceneOp::addColorKnobs() instead.") void color_knobs(Knob_Callback) | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("attenuation_knobs() has been deprecated.") void attenuation_knobs(Knob_Callback) | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("shadow_knobs() has been deprecated, use LightSceneOp::addShadowKnobs() instead.") void shadow_knobs(Knob_Callback) | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("color(Pixel) has been deprecated, use setColor() instead.") void color(const Pixel &v) | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("set_intensity has been deprecated, use setIntensity() instead.") void set_intensity(float v) | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("falloff() has been deprecated.") bool falloff() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("falloffType() has been deprecated.") int falloffType() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("set_falloffType() has been deprecated.") void set_falloffType(int b) | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("samples() has been deprecated.") int samples() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("set_samples() has been deprecated.") void set_samples(int n) | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("sample_width() has been deprecated.") float sample_width() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("set_sample_width() has been deprecated.") void set_sample_width(float width) | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("Falloff enums have been deprecated.") enum | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("LightType enums have been deprecated.") enum LightType | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("ShadowMode enums have been deprecated.") enum ShadowMode | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("cast_shadows() has been deprecated, use castShadows() instead.") bool cast_shadows() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("set_cast_shadows() has been deprecated, use setCastShadows() instead.") void set_cast_shadows(bool b) | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("shadows_mode() has been deprecated, use instead.") int shadows_mode() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("alpha_threshold() has been deprecated, use instead.") float alpha_threshold() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("shadow_filter() has been deprecated, use instead.") TextureFilter *shadow_filter() | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("depthmap_bias() has been deprecated, use instead.") float depthmap_bias() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("set_depthmap_bias() has been deprecated, use instead.") void set_depthmap_bias(float v) | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("shadow_jitter_scale() has been deprecated, use instead.") float shadow_jitter_scale() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("set_shadow_jitter_scale() has been deprecated, use instead.") void set_shadow_jitter_scale(float v) | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("depthmap_width() has been deprecated, use instead.") int depthmap_width() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("set_depthmap_width() has been deprecated, use instead.") void set_depthmap_width(int n) | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("getShadowMaskChannel() has been deprecated, use shadowMaskChannel() instead.") Channel getShadowMaskChannel() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("Class() has been deprecated, implement on subclass plugin instead.") const char *Class() const override | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("node_help() has been deprecated, implement on subclass plugin instead.") const char *node_help() const override | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("displayName() has been deprecated, implement on subclass plugin instead.") const char *displayName() const override | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("is_delta_light() has been deprecated, use isDeltaLight() instead.") virtual bool is_delta_light() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("hfov() has been deprecated, use coneAngle() and coneAspectRatio() instead.") virtual double hfov() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("vfov() has been deprecated, use coneAngle() and coneAspectRatio() instead.") virtual double vfov() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("aspect() has been deprecated, use coneAspectRatio() instead.") virtual double aspect() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("lightType() has been deprecated, implement on subclass plugin instead.") virtual int lightType() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("get_L_vector() has been deprecated.") virtual void get_L_vector(LightContext <x | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("get_color() has been deprecated.") virtual void get_color(LightContext <x | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("get_shadowing() has been deprecated.") virtual float get_shadowing(const LightContext <x | |
Public Member Functions inherited from DD::Image::CameraOp | |
| CameraOp (Node *node) | |
| const CameraOp * | cameraOp () const override |
| Cast to a CameraOp. This is much cheaper and safer than using dynamic_cast. | |
| CameraOp * | cameraOp () override |
| CameraOp * | getCameraOpAt (const OutputContext &context) |
| Retrieve a version of this CameraOp at a specific OutputContext. | |
| OpHints | opHints () const override |
| Return hints to control when and how this op will be evaluated by the top-down system. | |
| unsigned | node_color () const override |
| void | _validate (bool for_real) override |
| void | knobs (Knob_Callback) override |
| int | knob_changed (Knob *) override |
| virtual Knob * | projectionSelectorKnob () const |
| virtual ProjectionFunc * | projectionPlugin () const |
| The currently-assigned projection plugin. | |
| ndk::LensProjection | projectionMode () const override |
| bool | setProjection (const char *projectionClassName) |
| void | setProjectionMode (ndk::LensProjection mode) |
| virtual const char * | projectionFuncClassName (Knob *selectorKnob=nullptr) const |
| bool | isBaseProjectionLinear () const override |
| virtual fdk::Mat4d | projectionModeMatrix (ndk::LensProjection mode) const |
| virtual fdk::Mat4d | projectionModeMatrixAt (ndk::LensProjection mode, const OutputContext &context) const |
| Same as projectionMatrix() except it evaluates the matrix at an arbitrary OutputContext. | |
| HandlesMode | doAnyHandles (ViewerContext *ctx) override |
| void | build_handles (ViewerContext *) override |
| void | draw_handle (ViewerContext *) override |
| Draws a lovely camera, I think it is a Mitchell. | |
| enum | mFnDeprecatedLegacy3DSystemInNuke14 ("Enumeration deprecated, use enum class ndk::LensProjection instead.") |
| mFnDeprecatedLegacy3DSystemInNuke14 ("Class() has been deprecated, implement on subclass plugin instead.") const char *Class() const override | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("node_help() has been deprecated, implement on subclass plugin instead.") const char *node_help() const override | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("projection_knobs() has been deprecated, use CameraSceneOp::addProjectionKnobs() instead.") virtual void projection_knobs(Knob_Callback f) | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("lens_knobs() has been deprecated, use CameraSceneOp::addDistortionKnobs() instead.") virtual void lens_knobs(Knob_Callback f) | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("projection() has been deprecated, use projectionMatrix() instead") const Matrix4 &projection() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("hfov(double) has been deprecated, use setHorizontalFov() instead") void hfov(double v) | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("film_width() has been deprecated, use horizontalAperture() instead") double film_width() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("film_height() has been deprecated, use verticalAperture() instead") double film_height() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("focal_length() has been deprecated, use focalLength() instead") double focal_length() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("Near() has been deprecated, use nearPlaneDistance() instead") double Near() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("Far() has been deprecated, use farPlaneDistance() instead") double Far() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("focal_point() has been deprecated, use focusDistance() instead") double focal_point() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("fstop() has been deprecated, use fStop() instead") double fstop() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("film_width(double) has been deprecated, use setHorizontalAperture() instead") void film_width(double v) | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("film_height(double) has been deprecated, use setVerticalAperture() instead") void film_height(double v) | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("focal_length(double) has been deprecated, use setFocalLength() instead") void focal_length(double v) | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("Near(double) has been deprecated, use setNearPlaneDistance() instead") void Near(double v) | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("Far(double) has been deprecated, use setFarPlaneDistance() instead") void Far(double v) | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("focal_point(double) has been deprecated, use setFocusDistance() instead") void focal_point(double v) | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("fstop(double) has been deprecated, use setfStop() instead") void fstop(double v) | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("win_translate() has been deprecated, use windowTranslate() instead") const Vector2 &win_translate() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("win_scale() has been deprecated, use windowScale() instead") const Vector2 &win_scale() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("win_roll() has been deprecated, use windowRotateZ() instead") double win_roll() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("projection_mode() has been deprecated, use projectionMode() instead") int projection_mode() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("projection_mode(int) has been deprecated, use setProjectionMode() instead") void projection_mode(int i) | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("projection_is_linear(int) has been deprecated, use isProjectionModeLinear(ndk::LensProjection) instead") virtual bool projection_is_linear(int mode) const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("projection(int) has been deprecated, use projectionModeMatrix(ndk::LensProjection) instead") virtual Matrix4 projection(int mode) const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("projectionAt(OutputContext) has been deprecated, use projectionModeMatrixAt(ndk::LensProjection, OutputContext) instead") virtual Matrix4 projectionAt(const OutputContext &) | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("lens_distort_a() has been deprecated, use distortA() instead") double lens_distort_a() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("lens_distort_b() has been deprecated, use distortB() instead") double lens_distort_b() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("lens_distort_c() has been deprecated, use distortC() instead") double lens_distort_c() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("lens_distort_D() has been deprecated") double lens_distort_D() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("lens_distortion() has been deprecated") double lens_distortion() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("lens_power() has been deprecated") double lens_power() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("lens_distort_enabled() has been deprecated") bool lens_distort_enabled() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("lens_function(int mode) has been deprecated.") virtual LensFunc *lens_function(int mode) const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("lensNfunction(int mode) has been deprecated.") virtual LensNFunc *lensNfunction(int mode) const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("to_format has been deprecated, use ToFormat instead.") static void to_format(Matrix4 & | |
| const Format * | mFnDeprecatedLegacy3DSystemInNuke14 ("from_format has been deprecated, use FromFormat instead.") static void from_format(Matrix4 & |
| const Format const Format * | mFnDeprecatedLegacy3DSystemInNuke14 ("toTormat has been deprecated, use ToFormat instead.") static void toFormat(fdk |
| mFnDeprecatedLegacy3DSystemInNuke14 ("fromFormat has been deprecated, use FromFormat instead.") static void fromFormat(fdk | |
Public Member Functions inherited from DD::Image::AxisOp | |
| AxisOp (Node *node, int defaultLookAtAxis=LookAt::kAxisZPlus) | |
| const AxisOp * | axisOp () const override |
| Cast this Op to an AxisOp. This is much cheaper and safer than using dynamic_cast. | |
| AxisOp * | axisOp () override |
| AxisOp * | getAxisOpAt (const OutputContext &context) |
| Retrieve a version of this AxisOp at a specific OutputContext. | |
| bool | can_link () const override |
| const char * | node_shape () const override |
| Draw node as a circular shape. | |
| unsigned | node_color () const override |
| virtual AxisOp * | parentInputOp () const |
| Convenience that casts parent input 0 to an AxisOp. | |
| virtual int32_t | parentInput () const |
| virtual AxisOp * | constrainInputOp () const |
| Return the constrainInput() input cast to an AxisOp, if possible. | |
| virtual int32_t | constrainInput () const |
| int | minimum_inputs () const override |
| Default is 2: axis and scene(optional) | |
| int | maximum_inputs () const override |
| Default is 3: axis, constraint and scene. | |
| int | optional_input () const override |
| Optional input index. | |
| bool | test_input (int node_input, Op *op) const override |
| AxisOp and null works on 0, GeomOp or null on input 1 and AxisOp or null on input 2. | |
| Op * | default_input (int node_input) const override |
| Returns null for all inputs. Override this so Op::test_input() doesn't produce warnings. | |
| const char * | input_label (int node_input, char *) const override |
| mFnDeprecatedLegacy3DSystemInNuke14 ("isLegacyAxisOp() has been deprecated, port AxisOp sublass to AxisSceneOp.") bool isLegacyAxisOp() const | |
| void | knobs (Knob_Callback f) override |
| int | knob_changed (Knob *k) override |
| void | _validate (bool for_real) override |
| virtual bool | localParentTransformVaries () const |
| virtual bool | localTransformVaries () const |
| virtual const ndk::XformComponents & | transformComponents () const |
| virtual const fdk::Mat4d & | inputParentTransform () const |
| virtual void | setInputParentTransform (const fdk::Mat4d &) |
| virtual const fdk::Mat4d & | localParentAxisTransform () const |
| virtual void | setLocalParentAxisTransform (const fdk::Mat4d &) |
| virtual const fdk::Mat4d & | localAxisTransform () const |
| virtual void | setLocalAxisTransform (const fdk::Mat4d &) |
| const fdk::Mat4d & | parentTransform () const |
| void | setParentTransform (const fdk::Mat4d &) |
| const fdk::Mat4d & | localTransform () const |
| void | setLocalTransform (const fdk::Mat4d &) |
| const fdk::Mat4d & | worldTransform () const |
| const fdk::Mat4d & | invWorldTransform () |
| void | setWorldTransform (const fdk::Mat4d &) |
| int | display3d () const |
| int | display3d () |
| void | setDisplay3d (int mode) |
| mFnDeprecatedLegacy3DSystemInNuke14 ("isLegacyAxisOp() has been deprecated, port AxisOp sublass to AxisSceneOp.") virtual bool _isLegacyAxisOp() const | |
| mFnDeprecatedLegacy3DSystemInNuke14("worldTransformAt() deprecated on AxisOp, use the static AxisOp::GetWorldTransformAt(AxisOp) " "method instead. If implementing an override of this method implement _getWorldTransformAt().") virtual fdk | mFnDeprecatedLegacy3DSystemInNuke14 ("getAxis() deprecated on AxisOp, now implemented on AxisSceneOp::getLocalAxisKnob().") Axis_KnobI *getAxis() |
| mFnDeprecatedLegacy3DSystemInNuke14 ("enableAxisKnobs() deprecated on AxisOp, now implemented on AxisSceneOp.") void enableAxisKnobs(bool on) | |
| mFnDeprecatedLegacy3DSystemInNuke14("enableKnobs() deprecated on AxisOp, now implemented on AxisSceneOp.") void enableKnobs(const std | mFnDeprecatedLegacy3DSystemInNuke14 ("doAnyHandle() deprecated on AxisOp, implement on AxisSceneOp instead.") HandlesMode doAnyHandles(ViewerContext *) override |
| mFnDeprecatedLegacy3DSystemInNuke14 ("draw_handle() deprecated on AxisOp, implement on AxisSceneOp instead.") void build_handles(ViewerContext *) override | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("draw_handle() deprecated on AxisOp, implement on AxisSceneOp instead.") void draw_handle(ViewerContext *) override | |
| bool | selectable () const |
| void | setSelectable (bool v) |
| mFnDeprecatedLegacy3DSystemInNuke14 ("editable() deprecated on AxisOp, implement on AxisSceneOp instead.") bool editable() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("setEditable() deprecated on AxisOp, implement on AxisSceneOp instead.") void setEditable(bool v) | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("Class() has been deprecated, implement on subclass plugin instead.") const char *Class() const override | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("node_help() has been deprecated, implement on subclass plugin instead.") const char *node_help() const override | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("selectable(bool mode) has been deprecated, use AxisSceneOp::setSelectable() instead.") void selectable(bool v) | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("display3d(int mode) has been deprecated, use setDisplay3d() instead.") void display3d(int mode) | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("input0() has been deprecated, use parentInput() instead.") AxisOp *input0() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("lookAtEnabled() has been deprecated") virtual bool lookAtEnabled() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("lookat_input() has been deprecated") Op *lookat_input() const override | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("matrix(const Matrix4&) has been deprecated, use setWorldTransform() instead.") void matrix(const Matrix4 &) | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("local() has been deprecated, use localTransform() instead.") const Matrix4 &local() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("matrix() has been deprecated, use worldTransform() instead.") const Matrix4 &matrix() const | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("imatrix() has been deprecated, use invWorldTransform() instead.") const Matrix4 &imatrix() | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("matrixAt() has been deprecated, use worldTransformAt() instead.") virtual void matrixAt(const OutputContext & | |
Public Member Functions inherited from DD::Image::Op | |
| 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 | |
| virtual bool | can_link () const |
| returns whether or not an op can be linked in the dag | |
| const Hash & | hash () const |
| 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 | editVersionHash () const |
| virtual void | setEditVersionHash (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) |
| virtual const char * | nodeClass () const |
| virtual const char * | nodeName () const |
| virtual std::string | nodeFullPath (char separator='.') const |
| Hash | nodeTopologyHash () const |
| Hash | nodeEditVersionHash () 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 &opStoreContext) |
| virtual void | knobs (Knob_Callback) |
| void | knobStorePost (const OutputContext &opStoreContext, Hash &newOpHash, Hash &newOpEditVersionHash) |
| 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 |
| OpGraphLocation | nodeInputConnection (int32_t nodeInput, GenerateType type=OUTPUT_OP) const |
| OpGraphLocation | nodeInputConnection (int32_t nodeInput, GenerateType type, const OutputContext *context) const |
| Op * | node_input (int, GenerateType=OUTPUT_OP) const |
| Op * | node_input (int, GenerateType, const OutputContext *context) const |
| Op * | input_op (int n=0) const |
| virtual void | inputs (int n) |
| Op * | input (int) const |
| Op * | inputAt (int input, const OutputContext &context, GenerateType type=EXECUTABLE_INPUT) 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 Input & | inputConnection (int32_t input) const |
| const Input & | inputConnection (int32_t base, int32_t offset) const |
| mFnDeprecatedInNuke17 ("getInputs() has been deprecated, use getInputOps() instead") const OpList &getInputs() const | |
| OpList | getInputOps () const |
| const InputList & | getInputConnections () const |
| const OpList & | getChildren () const |
| mFnDeprecatedInNuke17 ("set_input(int, Op*, int, int) has been deprecated, use setInput(int, Input) and implement _setInput() instead") virtual void set_input(int i | |
| 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) |
| Same as setInput(inputNumber(n, offset), op, n, offset);. | |
| void | setInput (int32_t input, const OpGraphLocation &connection) |
| Same as setInput(input, connection, input, 0). | |
| void | setInput (int32_t input, const OpGraphLocation &connection, int32_t base, int32_t offset) |
| 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 |
| 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 (OpSet &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) |
| void | setRecycling (bool recycling) |
| bool | recycling () const |
| 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 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 AxisSceneOp * | axisSceneOp () |
| Cast to an AxisSceneOp. This is much cheaper and safer than using dynamic_cast. | |
| virtual const AxisSceneOp * | axisSceneOp () const |
| virtual CameraOp * | cameraOp () |
| Cast to an CameraOp. This is much cheaper and safer than using dynamic_cast. | |
| virtual const CameraOp * | cameraOp () const |
| virtual CameraSceneOp * | cameraSceneOp () |
| Cast to an AxisSceneOp. This is much cheaper and safer than using dynamic_cast. | |
| virtual const CameraSceneOp * | cameraSceneOp () const |
| virtual LightOp * | lightOp () |
| Cast to an LightOp. This is much cheaper and safer than using dynamic_cast. | |
| virtual const LightOp * | lightOp () const |
| virtual LightSceneOp * | lightSceneOp () |
| Cast to an LightSceneOp. This is much cheaper and safer than using dynamic_cast. | |
| virtual const LightSceneOp * | lightSceneOp () const |
| virtual SceneOpI * | sceneOpI () |
| Cast to a SceneOpI, if Op has that interface. | |
| virtual const SceneOpI * | sceneOpI () const |
| virtual GeometryProviderI * | geometryProvider () |
| Cast to a GeometryProviderI, if Op has that interface. | |
| virtual const GeometryProviderI * | geometryProvider () 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 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 bool | resolveKnobAsset (Knob *knob, const std::string &assetPath, std::string &resolvedAssetPath) |
| virtual bool | updateKnobsFromAsset (Knob *knob) |
| virtual void | _updateKnobsFromAsset (Knob *assetKnob, const ndk::asset::AssetData &assetData) |
| 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) |
Public Member Functions inherited from DD::Image::LookAt | |
| LookAt (int defaultLookAxis=kAxisZPlus) | |
| virtual Op * | lookat_input () const =0 |
| The lookat input op. | |
| void | knobs (Knob_Callback f) |
| Adds the 'Look' tab and knobs for all the look at options. | |
| int | knobChanged (Op *parent, Knob *k) |
| disables the look at input is not present | |
| void | lookAt (Matrix4 &matrix) |
| performs the look at on the incoming matrix | |
| void | lookMatrixAt (const OutputContext &oc, Matrix4 &concatMatrix) |
| performs the look at on the incoming matrix for a given context | |
Public Attributes | |
| int | count |
| const Vector3 & | surfP |
| const Vector3 const Vector3 & | lobeN |
| const Vector3 const Vector3 Vector3 & | L |
| const Vector3 const Vector3 Vector3 float &D | const |
| const Vector3 const Vector3 const Vector3 & | L |
| const Vector3 const Vector3 const Vector3 float | D |
| const Vector3 const Vector3 const Vector3 float Pixel & | out |
| const VertexContext & | vtx |
| const VertexContext const Vector3 & | surfP |
| const VertexContext const Vector3 Pixel & | out |
Public Attributes inherited from DD::Image::AxisOp | |
| Matrix4 & | const |
Public Attributes inherited from DD::Image::Op | |
| const MetaData::Bundle * | metaCache |
| Hash | metaCacheHash |
| Op * | op |
| Op int | input |
| Op int int | offset |
Protected Member Functions | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("color_ has been deprecated, use _color instead.") Pixel color_ | |
| Use Vec3f _color instead. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("falloff_ has been deprecated.") bool falloff_ | |
| Whether to factor in physical falloff. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("falloffType_ has been deprecated.") int falloffType_ | |
| falloff type | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("samples_ has been deprecated.") int samples_ | |
| The number of samples (for area testing) | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("sample_width_ has been deprecated.") float sample_width_ | |
| sample width (for shadowing) | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("shadows_mode_ has been deprecated.") int shadows_mode_ | |
| Shadow casting mode. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("shadows_mode_ has been deprecated.") TextureFilter shadow_filter_ | |
| Default filter to use in shadow texture sampling. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("scene_epsilon_ has been deprecated.") float scene_epsilon_ | |
| Scene epsilon for shadow comparison. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("depthmap_bias_ has been deprecated.") float depthmap_bias_ | |
| Offset in Z of shadow buffer. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("depthmap_slope_bias_ has been deprecated.") float depthmap_slope_bias_ | |
| Offset in Z to be scale in proportion of the local gradient. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("alpha_threshold_ has been deprecated.") float alpha_threshold_ | |
| Alpha threshold for transparent shadow map mode. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("shadow_jitter_scale_ has been deprecated.") float shadow_jitter_scale_ | |
| Size of shadow jitter. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("depthmap_width_ has been deprecated.") int depthmap_width_ | |
| Size in pixels of shadow buffer. | |
Protected Member Functions inherited from DD::Image::CameraOp | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("focal_length_ has been deprecated, use _params.optics.focalLength instead.") double focal_length_ | |
| Deprecated, use _params.optics.focalLength instead. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("haperture_ has been deprecated, use _params.sensor.apertureSize.x instead.") double haperture_ | |
| Deprecated, use _params.sensor.apertureSize.x instead. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("vaperture_ has been deprecated, use _params.sensor.apertureSize.y instead.") double vaperture_ | |
| Deprecated, use _params.sensor.apertureSize.y instead. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("fstop_ has been deprecated, use _params.lensAperture.fStop instead.") double fstop_ | |
| Deprecated, use _params.lensAperture.fStop instead. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("near_ has been deprecated, use _params.lensAperture.clipNearDistance instead.") double near_ | |
| Deprecated, use _params.lensAperture.clipNearDistance instead. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("far_ has been deprecated, use _params.lensAperture.clipFarDistance instead.") double far_ | |
| Deprecated, use _params.lensAperture.clipFarDistance instead. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("projection_mode_ has been deprecated, use projectionMode() instead.") int projection_mode_ | |
| Deprecated, use MultiProjectionCamera::projectionMode() instead. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("focal_point_ has been deprecated, use _params.optics.focusDistance instead.") double focal_point_ | |
| Deprecated, use _params.optics.focusDistance instead. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("win_translate_ has been deprecated, use _params.sensor.apertureTranslate instead.") Vector2 win_translate_ | |
| Deprecated, use _params.sensor.apertureTranslate instead. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("win_scale_ has been deprecated, use _params.sensor.apertureScale instead.") Vector2 win_scale_ | |
| Deprecated, use _params.sensor.apertureScale instead. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("win_roll_ has been deprecated, use _params.sensor.apertureRotate instead.") double win_roll_ | |
| Deprecated, use _params.sensor.apertureRotate instead. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("lens_distort_a_, use _params.optics.opticalDistortionA instead.") double lens_distort_a_ | |
| Deprecated, use, use _params.optics.opticalDistortionA instead. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("lens_distort_b_, use _params.optics.opticalDistortionB instead.") double lens_distort_b_ | |
| Deprecated, use, use _params.optics.opticalDistortionB instead. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("lens_distort_c_, use _params.optics.opticalDistortionC instead.") double lens_distort_c_ | |
| Deprecated, use, use _params.optics.opticalDistortionC instead. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("lens_distort_D_ has been deprecated") double lens_distort_D_ | |
| Deprecated. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("lens_distortion_ has been deprecated") double lens_distortion_ | |
| Deprecated. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("lens_power_ has been deprecated") double lens_power_ | |
| Deprecated. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("lens_distort_enabled_ has been deprecated") bool lens_distort_enabled_ | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("use_vertical_lock_ has been deprecated") bool use_vertical_lock_ | |
| Deprecated. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("projection_ has been deprecated, use Mat4d _projectionMatrix instead.") Matrix4 projection_ | |
| Camera's projection matrix - deprecated. | |
| void | _validateCamera () override |
| bool | _setProjectionFuncPlugin (const char *projectionClassName) |
| Sets _newProjectionPlugin. _projectionPlugin gets updated in _validate(). | |
Protected Member Functions inherited from DD::Image::AxisOp | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("axis_knob has been deprecated") Axis_KnobI *axis_knob | |
| virtual ndk::XformComponents | _getTransformComponentsAt (const OutputContext &context) const |
| virtual fdk::Mat4d | _getInputParentTransformAt (const OutputContext &context) const |
| virtual fdk::Mat4d | _getLocalParentAxisTransformAt (const OutputContext &context) const |
| virtual fdk::Mat4d | _getLocalAxisTransformAt (const OutputContext &context) const |
| virtual fdk::Mat4d | _getWorldTransformAt (const OutputContext &context) const |
| mFnDeprecatedLegacy3DSystemInNuke14 ("localtransform_ has been deprecated, use Mat4d AxisSceneOp::_localAxisMatrix instead.") Matrix4 localtransform_ | |
| Local 'axis' matrix that Axis_Knob fills in - deprecated. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("local_ has been deprecated, use Mat4d _xformParams.local instead.") Matrix4 local_ | |
| Local matrix after look at performed - deprecated. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("matrix_ has been deprecated, use Mat4d _xformParams.l2w instead.") Matrix4 matrix_ | |
| Object matrix - local&parent - deprecated. | |
| mFnDeprecatedLegacy3DSystemInNuke14 ("imatrix_ has been deprecated, use Mat4d _xformParams.w2l instead.") Matrix4 imatrix_ | |
| Inverse object matrix - deprecated. | |
Protected Member Functions inherited from DD::Image::Op | |
| Op (Node *node) | |
| The constructor is protected so only subclasses can create the base class. | |
| virtual void | _setInput (int32_t input, const OpGraphLocation &connection, int32_t base, int32_t offset) |
| The subclass-specific portion of setInput(). See that method for more info. | |
| virtual void | _knobStorePrep (const OutputContext &opStoreContext) |
| The subclass-specific portion of knobStorePrep(). See that method for more info. | |
| virtual void | _knobStorePost (const OutputContext &opStoreContext, Hash &newOpHash, Hash &newOpEditVersionHash) |
| The subclass-specific portion of knobStorePost(). See that method for more info. | |
| virtual void | _invalidate () |
| virtual void | _validate (bool for_real) |
| virtual void | _open () |
| virtual void | _close () |
| Op * | create (Node *node, const char *name) |
| Op * | create (const char *name) |
| HandlesMode | anyInputHandles (ViewerContext *) |
| return if any of the inputs (recursively) wish to draw handles | |
| HandlesMode | anyKnobHandles (ViewerContext *) |
| return if any of the knobs on this node wish to draw handles | |
| void | build_input_handles (ViewerContext *) |
| void | build_knob_handles (ViewerContext *) |
| void | disallowNoTrees () |
| Call this to tell the op that it should always have op trees for normal behaviour (for internal use) | |
| virtual HandlesMode | doAnyHandles (ViewerContext *ctx) |
| virtual void | _setRecycling (bool recycling) |
| virtual PrevalidateResult | doPreValidate (ViewerContext *ctx=nullptr, PreValidateContext *=nullptr) |
Protected Member Functions inherited from DD::Image::LookAt | |
| void | perform_lookat (Matrix4 &concatMatrix, const Matrix4 &axisMatrix) |
Protected Attributes | |
| fdk::Vec3d | _color |
| Color of the light. | |
| union { | |
| double _intensity | |
| Global intensity. | |
| }; | |
| union { | |
| bool _castShadows | |
| Whether light casts shadows. | |
| }; | |
| bool | _enableColorTemperature |
| Enables color temperature. | |
| double | _colorTemperature |
| Color temperature in Kelvin. | |
| double | _exposure |
| Power multiplier for the light (2^exposure_ * power) | |
| bool | _normalize |
| Disable area gain compensation. | |
| double | _diffuse |
| Difuse multiplier. | |
| double | _specular |
| Specular multiplier. | |
| Channel | _shadowMaskChannel |
| Output the shadow mask to this channel. | |
Protected Attributes inherited from DD::Image::CameraOp | |
| int32_t | _projectionSelection |
| Projection menu knob index. | |
| ShutterControls | _shutter |
| Shutter controls which may be referenced by a renderer. | |
| double | _shutterBias |
| Weights the shutter samples towards shutter close with a power function. | |
| bool | _glWorldSizeIcon |
| Always draw the camera icon at the 'real' world size (defined by worldToLens factor) | |
| bool | _glSolidFrustum |
| Draw the camera frustum as solid. | |
| bool | _glInsideFrustum |
| Indicated whether to draw the frustum as an inside or outside box. | |
| double | _worldToMeters |
| Is converted to sensor.sceneToCameraFactor. | |
| ProjectionFunc * | _newProjectionPlugin |
| New projection plugin selected, non-null if changed. | |
| ProjectionFunc * | _projectionPlugin |
| Projection func plugin to use, if applicable. | |
Protected Attributes inherited from DD::Image::AxisOp | |
| ndk::XformParameters | _xformParams |
| Axis xform params. | |
| union { | |
| bool _xformInversionValid | |
| Is _xformParams.w2l valid? | |
| }; | |
| int | display3d_ |
| GUI display setting - deprecate or translate to new system? | |
| union { | |
| bool selectable_ | |
| GUI selectable checkmark - deprecate or translate to new system? | |
| bool _selectable | |
| }; | |
| bool | _editable |
| Can the user change the knobs? (i.e. knobs not disabled) | |
| WorldMatrixProvider * | _worldMatrixProvider |
| 'world_matrix' output knob | |
Protected Attributes inherited from DD::Image::Op | |
| bool | _haveHash |
| whether the _hash actually has been set by a call to invalidate(Hash) ever. | |
| bool | _varyingOutputHash |
| whether the hash value will animate over time | |
| Hash | _editVersionHash |
| Op's current edit version state, usually the combination of input Op & knob edit version states. | |
Protected Attributes inherited from DD::Image::LookAt | |
| Matrix4 | lookat_matrix_ |
| Matrix for rotating to look at the look input. | |
| Matrix4 | my_local |
| For the Axis_Knob to store into. | |
| bool | my_transform_normals |
| int | my_lookat_axis |
| bool | my_rotate_x |
| bool | my_rotate_y |
| bool | my_rotate_z |
| bool | my_lookat_use_quat |
| double | my_lookat_strength |
Additional Inherited Members | |
Public Types inherited from DD::Image::CameraOp | |
| typedef void() | LensFunc(Scene *, CameraOp *, MatrixArray *transforms, const VArray &v, Vector4 &out, void *data) |
| typedef void() | LensNFunc(Scene *, CameraOp *, MatrixArray *transforms, VArray *vert_array, int n, void *data) |
Public Types inherited from DD::Image::Op | |
| enum | HandlesMode { eNoHandles , eHandlesUncooked , eHandlesCooked , eHandlesMax } |
| enum | PrevalidateResult { eFinished , eCancelled , eAbandoned } |
| This is a tribool return value. Do not extend. | |
| enum | HandleType { eNone , eMouseLeftClick , eMouseRightClick , eMouseMove , eMouseDrag , eMouseRelease , eSelectionChanged , eSelectionChangeFinished , eHandleDragTranslate , eHandleDragRotate , eHandleDragScale , eHandleDragPivot , eAllHandles } |
| enum | ViewableModes { eViewableMode2D , eViewableMode3D , eViewableMode3D_2DReference } |
| enum | GenerateType { OUTPUT_OP , ANY_CONTEXT , INPUT_OP , INPUT_OP_PEEK , EXECUTABLE , EXECUTABLE_SKIP , EXECUTABLE_INPUT , UICONTEXT_ONLY } |
| enum | NodeContext { eNodeGraph , eTimeline , eOpGraph } |
| enum | StatusFlags { StatusNone , StatusModal , StatusUseCallback } |
| enum | PopUpScheme { ePU_Never , ePU_Done , ePU_Once , ePU_Default , ePU_Always } |
| Pop-up schemes determine when pop-up messages are displayed for op errors. More... | |
| enum | VersionComponents { eMajor , eMinor , ePoint , eRevision } |
| Enum to help get the desired version component from the VersionInfo tuple. | |
| using | InputList = std::vector< Input > |
| using | InputConnectionContext = std::pair< Input, OutputContext > |
| Combination of Op input and the OutputContext it is being referenced at. | |
| using | InputConnectionContextList = std::vector< InputConnectionContext > |
| using | Output = std::pair< int, DD::Image::Op * > |
| Combination of input number and pointer to downstream Op input is on. | |
| using | OutputSet = std::set< Output > |
| Set of all outputs from this Op. | |
| typedef std::map< Hash, std::vector< unsigned int > > | ItemSelectionList |
| typedef bool() | EventCallback(Op *op, EventContext eventCtx) |
| using | VersionInfo = std::tuple< int, int, int, int > |
| Contains version components with each index defined by the VersionComponents enum. | |
Static Public Member Functions inherited from DD::Image::CameraOp | |
| static CameraOp * | default_camera () |
| static void | ToFormat (fdk::Mat4f &, const Format *) |
| static void | FromFormat (fdk::Mat4f &, const Format *) |
Static Public Member Functions inherited from DD::Image::AxisOp | |
| static ndk::XformComponents | GetTransformComponentsAt (const AxisOp *axisOp, const OutputContext &context) |
| Calculate the transform components of axisOp at a specific OutputContext. | |
| static fdk::Mat4d | GetInputParentTransformAt (const AxisOp *axisOp, const OutputContext &context) |
| Calculate the input parent transform of axisOp at a specific OutputContext. | |
| static fdk::Mat4d | GetLocalParentAxisTransformAt (const AxisOp *axisOp, const OutputContext &context) |
| Calculate the local parent axis transform of axisOp at a specific OutputContext. | |
| static fdk::Mat4d | GetLocalAxisTransformAt (const AxisOp *axisOp, const OutputContext &context) |
| Calculate the local axis transform of axisOp at a specific OutputContext. | |
| static fdk::Mat4d | GetWorldTransformAt (const AxisOp *axisOp, const OutputContext &context) |
| Calculate the world transform of axisOp at a specific OutputContext. | |
Static Public Member Functions inherited from DD::Image::Op | |
| static int | treeVersion () |
| static bool | nukeBusy () |
| is nuke processing something on a parallel thread? | |
| static Op * | create (Node *node, const char *name, Op *p_op) |
| static Op * | create (const char *name, Op *p_op) |
| static void | resetTimers () |
| reset all the performance timers | |
| static void | setTimingEnabled (bool enabled) |
| turn performance timing on or off | |
| static bool | isTimingEnabled () |
| return whether performance timing is on or not | |
| static const char * | script_result (bool py=false) |
| static void | script_unlock () |
| static Op * | BuildOpAt (Op *baseOp, const OutputContext &context, GenerateType type=EXECUTABLE_SKIP) |
| static Op * | retrieveOp (const char *node_path, GenerateType generate_op_type, const OutputContext *generate_op_context=nullptr) |
| static Op * | retrieveOp (const char *node_path, const Hash &op_hash, int tree_version) |
| static void | all_forget_request () |
| static void | new_request_pass () |
| static double | callPendingClose (double seconds) |
| static void | clearPendingClose () |
| static Op * | error_op () |
| static const char * | error_message () |
| static void | clearAbortAndError () |
| To be removed. | |
| static void | SetDefaultPopUpEnable (bool lEnable) |
| This is used by Nuke to indicate when ops using the default pop-up scheme should show pop-ups. Not recommended for customisation. | |
| static std::string | getVersionInfoStr (const VersionInfo &versionInfo) |
| Helper function to convert a VersionInfo tuple into a string. | |
| static const Description * | find_description (const char *name, const Op *op_) |
| static int | message_f (char t, const char *,...) |
| static int | message_vf (char t, const char *, va_list) |
| static void | add_timeout (float t, TimeoutHandler, void *v=nullptr) |
| static void | repeat_timeout (float t, TimeoutHandler, void *=nullptr) |
| static bool | has_timeout (TimeoutHandler, void *=nullptr) |
| static void | remove_timeout (TimeoutHandler, void *=nullptr) |
Static Public Attributes inherited from DD::Image::CameraOp | |
| static const char * | projection_modes [] |
| static const char * | projection_modes_renderer [] |
Static Public Attributes inherited from DD::Image::Op | |
| static unsigned | current_request_pass |
| static void(* | node_redraw_cb )(const Op *) |
| static void(* | print_name_cb )(std::ostream &, const Op *) |
| static void(* | status_callback )(const Op *, float, float, const char *, StatusFlags) |
| static const int | kInvalidVersion |
| static const VersionInfo | kUnsetVersion |
Protected Types inherited from DD::Image::LookAt | |
| enum | { kAxisZPlus , kAxisZMinus , kAxisYPlus , kAxisYMinus , kAxisXPlus , kAxisXMinus } |
Static Protected Attributes inherited from DD::Image::LookAt | |
| static const char *const | ms_lookat_axis_choices [] |
LightOp defines a 3D light.
|
inlineoverridevirtual |
Cast to a LightOp. This is much cheaper and safer than using dynamic_cast.
Reimplemented from DD::Image::Op.
Referenced by getLightOpAt().
|
inlineoverridevirtual |
Reimplemented from DD::Image::Op.
|
inlineoverridevirtual |
Set the default color of a light node.
Reimplemented from DD::Image::CameraOp.
|
inlinevirtual |
Whether the light has a delta shaped distribution (point/spot/direct lights) Must implement.
|
inlinevirtual |
Cone angle is the half-angle (radius) of the code, so the default 90.0 value describes a 180 degree wide cone. Any angle >= 90 is an invalid cone angle, so a point light would return 90.0 and a spot light would return a value below 90, while a direct light would return 0.0 which defines perfectly parallel rays.
|
overridevirtual |
Reimplemented from DD::Image::CameraOp.
|
overridevirtual |
Default knobs puts the transform controls on the front tab, and the projection, shutter, and lens controls on tab 'Projection'.
Reimplemented from DD::Image::CameraOp.
Reimplemented in DD::Image::LightSceneOp.
References DD::Image::Divider(), DD::Image::Newline(), and DD::Image::Tab_knob().
|
overridevirtual |
Reimplemented from DD::Image::CameraOp.
|
overridevirtual |
Reimplemented from DD::Image::CameraOp.
|
overridevirtual |
Draws a picture of a point light.
Reimplemented from DD::Image::CameraOp.
Reimplemented in DD::Image::LightSceneOp.
References DD::Image::Matrix4::array(), DD::Image::ViewerContext::draw_knobs(), DD::Image::ViewerContext::fg_color(), DD::Image::gl_sphere(), DD::Image::gl_text(), DD::Image::glColor(), DD::Image::ViewerContext::hit_detect(), DD::Image::ViewerContext::icon_size(), DD::Image::ViewerContext::modelmatrix, DD::Image::ViewerContext::node_color(), DD::Image::Op::node_disabled(), DD::Image::Op::node_selected(), and DD::Image::Op::print_name().
|
virtual |
Point light OpenGL settings.
Reimplemented in DD::Image::LightSceneOp, and DD::Image::ComplexLightOp.
References DD::Image::Vector4::array(), DD::Image::Op::node_disabled(), and DD::Image::Vector4::set().
|
inline |
< the light cast shadow considering every geometry fully solid
< the light cast shadow considering the alpha channel of the texture mapped on the geometry
< the light cast shadow in semi transparent mode
| ©2026 The Foundry Visionmongers, Ltd. All Rights Reserved. |