HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VEX_KVexRamp Class Reference

#include <VEX_KVexRamp.h>

+ Inheritance diagram for VEX_KVexRamp:

Public Types

using vex_RampHash = uint32
 

Public Member Functions

 VEX_KVexRamp ()
 
vex_RampHash hash () const
 
template<typename FLOAT_T >
void eval (FLOAT_T key, FLOAT_T *result, int size) const
 
fpreal32 evalF (float k) const
 
UT_Vector2 evalU (float k) const
 
UT_Vector3 evalV (float k) const
 
UT_Vector4 evalP (float k) const
 
int size () const
 
UT_StringHolder toString () const
 
void dump () const
 
void dump (UT_JSONWriter &w) const
 
- Public Member Functions inherited from UT_IntrusiveRefCounter< VEX_KVexRamp >
SYS_FORCE_INLINE UT_IntrusiveRefCounter () noexcept
 Default constructor: Sets counter to 0. More...
 
SYS_FORCE_INLINE UT_IntrusiveRefCounter (const UT_IntrusiveRefCounter &) noexcept
 Copy constructor: Sets counter to 0. More...
 
UT_IntrusiveRefCounteroperator= (const UT_IntrusiveRefCounter &) noexcept
 Assignment operator: Does not modify counter. More...
 
SYS_FORCE_INLINE uint32 use_count () const noexcept
 Return current counter. More...
 
SYS_FORCE_INLINE bool conditionalAddRef () noexcept
 

Static Public Member Functions

template<typename FLOAT_T , typename VALUE_T >
static vex_RampHash computeHash (const UT_Span< const FLOAT_T > &keys, const UT_Span< const VALUE_T > &values, const UT_Span< const UT_StringHolder > &basis, uint components)
 

Static Public Attributes

static UT_IntrusivePtr
< VEX_KVexRamp
theEmptyRamp
 

Additional Inherited Members

- Protected Member Functions inherited from UT_IntrusiveRefCounter< VEX_KVexRamp >
SYS_FORCE_INLINE ~UT_IntrusiveRefCounter ()
 Destructor: Only derived classes can destruct this. More...
 

Detailed Description

Definition at line 24 of file VEX_KVexRamp.h.

Member Typedef Documentation

Definition at line 30 of file VEX_KVexRamp.h.

Constructor & Destructor Documentation

VEX_KVexRamp::VEX_KVexRamp ( )

Member Function Documentation

template<typename FLOAT_T , typename VALUE_T >
static vex_RampHash VEX_KVexRamp::computeHash ( const UT_Span< const FLOAT_T > &  keys,
const UT_Span< const VALUE_T > &  values,
const UT_Span< const UT_StringHolder > &  basis,
uint  components 
)
inlinestatic

KEY_T should be float or double VALUE_T should be float/double, UT_Vector2, UT_Vector3 or UT_Vector4

Definition at line 36 of file VEX_KVexRamp.h.

void VEX_KVexRamp::dump ( ) const
void VEX_KVexRamp::dump ( UT_JSONWriter w) const
template<typename FLOAT_T >
void VEX_KVexRamp::eval ( FLOAT_T  key,
FLOAT_T *  result,
int  size 
) const
fpreal32 VEX_KVexRamp::evalF ( float  k) const
inline

Definition at line 84 of file VEX_KVexRamp.h.

UT_Vector4 VEX_KVexRamp::evalP ( float  k) const
inline

Definition at line 87 of file VEX_KVexRamp.h.

UT_Vector2 VEX_KVexRamp::evalU ( float  k) const
inline

Definition at line 85 of file VEX_KVexRamp.h.

UT_Vector3 VEX_KVexRamp::evalV ( float  k) const
inline

Definition at line 86 of file VEX_KVexRamp.h.

vex_RampHash VEX_KVexRamp::hash ( ) const
inline

Definition at line 79 of file VEX_KVexRamp.h.

int VEX_KVexRamp::size ( void  ) const
inline

Definition at line 88 of file VEX_KVexRamp.h.

UT_StringHolder VEX_KVexRamp::toString ( ) const

Member Data Documentation

UT_IntrusivePtr<VEX_KVexRamp> VEX_KVexRamp::theEmptyRamp
static

Definition at line 94 of file VEX_KVexRamp.h.


The documentation for this class was generated from the following file: