Public Member Functions | |
virtual int | xsize () const =0 |
virtual int | ysize () const =0 |
virtual int | cellsize () const =0 |
virtual int | cells () const =0 |
virtual Knob * | cell (unsigned index)=0 |
virtual Knob * | getKnob (int y, int x, int cell)=0 |
virtual bool | knobSelected (DD::Image::ViewerContext *ctx, int y, int x, int cell) const =0 |
virtual const Knob * | getKnob (int y, int x, int cell) const =0 |
virtual void | setTangentsVisible (bool)=0 |
virtual bool | tangentsVisible () const =0 |
virtual void | setKnobVisible (int y, int x, int cell, bool)=0 |
virtual void | setKnobsVisible (const std::vector< KnobVisible > &visibles)=0 |
virtual void | showWidgetsFor (int y, int x)=0 |
virtual void | showAllWidgets ()=0 |
virtual void | resize (int y, int x)=0 |
virtual void | insertColumn (int x)=0 |
virtual void | insertRow (int y)=0 |
virtual void | deleteColumn (int x)=0 |
virtual void | deleteRow (int y)=0 |
the MultiArray_Knob is a 3-dimensional array of XYZ-knobs.
this is intended for the use for the extended bicubics.
first, comes a 2-D array with dimensions x and y. presently x and y are 2. TODO: add resizing support.
inside each of these elements, are then 5 XYZ-knobs. the first of these is the 'main' one, and then the remaining four are tangents.
there is no load/save/undo/copy/paste support yet, nor support for setting values on many knobs within this at the same time, nor support for accessing the subknobs from internal expressions.
©2021 The Foundry Visionmongers, Ltd. All Rights Reserved. |