|
| | FloatRamp () |
| |
| | FloatRamp (const UT_Ramp &ramp) |
| |
| | UT_Ramp () |
| |
| | UT_Ramp (const UT_Ramp ©) |
| |
| | ~UT_Ramp () |
| |
| int64 | getMemoryUsage (bool inclusive) const |
| | Return the amount of memory owned by this UT_Ramp in bytes. More...
|
| |
| void | setColorType (UT_ColorType color_space) |
| |
| UT_ColorType | getColorType () const |
| |
| void | clearAndDestroy () |
| |
| void | ensureRampIsBuilt () |
| | Force updating of the ramp after being modified. More...
|
| |
| bool | getGlobalEnable () const |
| |
| void | setGlobalEnable (bool enable) |
| |
| int | getNodeCount () const |
| |
| const UT_ColorNode * | getNode (int i) const |
| |
| UT_ColorNode * | getRamp () |
| |
| const UT_ColorNode * | getRamp () const |
| |
| void | convertToRaster (UT_Raster *raster, UT_RampOrient dir, bool do_interp=true, fpreal cx=0.0f, fpreal cy=0.0f, fpreal phase=0.0f, fpreal radius=1.0f) |
| |
| const UT_ColorNode * | getClosestNode (fpreal pos) const |
| |
| int | getClosestNodeIndex (fpreal pos) const |
| |
| const UT_ColorNode * | getClosestNode (fpreal pos, fpreal val) const |
| |
| int | getClosestNodeIndex (fpreal pos, fpreal val) const |
| |
| const UT_ColorNode * | getCurrentNode () const |
| |
| int | getCurrentNodeIndex () const |
| |
| void | setCurrentNodeIndex (int i, bool add_to_selection) |
| |
| void | getColor (fpreal pos, UT_FRGBA *clr, bool do_interp=true) const |
| |
| void | getColor (fpreal pos, float fvals[4], bool do_interp=true) const |
| |
| void | getColor (UT_FRGBA *values, int num, bool do_interp=true) const |
| |
| void | setColorAt (int i, float fvals[4]) |
| |
| void | setColorAt (int i, const UT_FRGBA &clr) |
| |
| void | setCurrentNodeColor (fpreal32 fvals[4]) |
| |
| void | setCurrentNodeColor (fpreal64 fvals[4]) |
| |
| void | setCurrentNodeColor (const UT_FRGBA &clr) |
| |
| void | setCurrentNodeBasis (UT_SPLINE_BASIS basis) |
| |
| void | setNodeBasis (int i, UT_SPLINE_BASIS basis) |
| |
| void | setEnable (int i, bool enable_pos, bool enable_val, bool enable_interp) |
| |
| bool | getEnablePos (int i) const |
| |
| bool | getEnableVal (int i) const |
| |
| bool | getEnableInterp (int i) const |
| |
| bool | getStrictOrder () const |
| |
| void | setStrictOrder (bool strict) |
| |
| void | clearSelection () |
| |
| bool | isNodeSelected (int i) const |
| |
| void | selectNode (int i, bool add) |
| |
| void | selectRange (int first_i, int last_i, bool add) |
| |
| void | deselectNode (int i) |
| |
| void | toggleSelectNode (int i) |
| |
| void | getSelectionIndices (UT_IntArray &indices) |
| |
| void | setSelectionIndices (const UT_IntArray &indices) |
| |
| int | addNode (fpreal pos) |
| | Returns the index of the inserted node. More...
|
| |
| int | addNode (fpreal pos, fpreal32 fvals[4], UT_SPLINE_BASIS basis=UT_SPLINE_LINEAR, bool current=true) |
| |
| int | addNode (fpreal pos, fpreal64 fvals[4], UT_SPLINE_BASIS basis=UT_SPLINE_LINEAR, bool current=true) |
| |
| int | addNode (fpreal pos, const UT_FRGBA &color, UT_SPLINE_BASIS basis=UT_SPLINE_LINEAR, bool current=true) |
| |
| int | insertNode (int i, fpreal pos, fpreal32 fvals[4], UT_SPLINE_BASIS basis=UT_SPLINE_LINEAR, bool current=true) |
| |
| int | insertNode (int i, fpreal pos, fpreal64 fvals[4], UT_SPLINE_BASIS basis=UT_SPLINE_LINEAR, bool current=true) |
| |
| void | reorderNodes () |
| |
| void | recordNodePositions () |
| |
| bool | deleteNode (fpreal pos) |
| |
| bool | deleteNodeAt (int i) |
| |
| void | deleteSelectedNodes () |
| |
| bool | isNodeHandle (int i) const |
| |
| bool | isNodeLeftHandle (int i) const |
| |
| bool | isNodeRightHandle (int i) const |
| |
| void | moveNode (int i, fpreal pos) |
| |
| void | moveNode (const UT_ColorNode *node, fpreal pos) |
| |
| fpreal | solveSpline (fpreal pos) const |
| |
| int | load (const char *pathname) |
| |
| bool | load (UT_IStream &is) |
| |
| bool | load (UT_JSONParser &p) |
| |
| int | save (const char *pathname) const |
| |
| int | save (std::ostream &os) const |
| |
| UT_Ramp & | operator= (const UT_Ramp &from) |
| |
| bool | operator== (const UT_Ramp &from) const |
| |
| bool | operator!= (const UT_Ramp &from) const |
| |
| SYS_HashType | hash () const |
| |
| void | setRamp (const UT_ColorNode *r, int size) |
| |
| void | rampLookup (fpreal pos, float values[4], int order=0) const |
| |
| void | rampLookupNoInterp (fpreal pos, float values[4]) const |
| |
| void | rampLookup (fpreal u0, fpreal u1, float values[4], int ns, int order=0) const |
| |
| void | rampLookupNoInterp (fpreal u0, fpreal u1, float values[4], int ns) const |
| |
| template<typename ARCHIVER_T > |
| bool | serialize (ARCHIVER_T &archiver) |
| |
| bool | resolveOpRamp (const char *op_path, const char *ramp_parm, bool *is_rgb=nullptr, int *op_id=nullptr, int *op_version=nullptr) |
| |
Definition at line 70 of file APEX_Include.h.