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

#include <HOM_Ramp.h>

Public Member Functions

 HOM_Ramp ()
 
 HOM_Ramp (std::vector< HOM_EnumValue * > basis, const std::vector< double > &keys, const std::vector< double > &values)
 
 HOM_Ramp (std::vector< HOM_EnumValue * > basis, const std::vector< double > &keys, const std::vector< std::vector< double > > &values)
 
 ~HOM_Ramp ()
 
HOM_Rampoperator= (const HOM_Ramp &ramp)
 
std::string __repr__ ()
 
bool isColor ()
 
HOM_EnumValuecolorType ()
 
void setColorType (HOM_EnumValue &enum_value)
 
std::vector< HOM_EnumValue * > basis ()
 
std::vector< double > keys ()
 
void_asVoidPointer ()
 
UT_RampgetUTRamp ()
 
void setIsColor (bool is_color)
 
hboost::any rampLookup (double pos)
 
hboost::any rampValues ()
 

Static Public Member Functions

static UT_SPLINE_BASIS splineBasisForEnumValue (HOM_EnumValue &enum_value)
 
static HOM_EnumValuesplineBasisToEnumValue (UT_SPLINE_BASIS basis)
 

Detailed Description

Definition at line 22 of file HOM_Ramp.h.

Constructor & Destructor Documentation

HOM_Ramp::HOM_Ramp ( )
inline

Definition at line 25 of file HOM_Ramp.h.

HOM_Ramp::HOM_Ramp ( std::vector< HOM_EnumValue * >  basis,
const std::vector< double > &  keys,
const std::vector< double > &  values 
)
HOM_Ramp::HOM_Ramp ( std::vector< HOM_EnumValue * >  basis,
const std::vector< double > &  keys,
const std::vector< std::vector< double > > &  values 
)
HOM_Ramp::~HOM_Ramp ( )
inline

Definition at line 37 of file HOM_Ramp.h.

Member Function Documentation

std::string HOM_Ramp::__repr__ ( )
void* HOM_Ramp::_asVoidPointer ( )
inline

Definition at line 62 of file HOM_Ramp.h.

std::vector<HOM_EnumValue *> HOM_Ramp::basis ( )
HOM_EnumValue& HOM_Ramp::colorType ( )
UT_Ramp& HOM_Ramp::getUTRamp ( )
inline

Definition at line 67 of file HOM_Ramp.h.

bool HOM_Ramp::isColor ( )
inline

Definition at line 51 of file HOM_Ramp.h.

std::vector<double> HOM_Ramp::keys ( )
HOM_Ramp& HOM_Ramp::operator= ( const HOM_Ramp ramp)
inline

Definition at line 42 of file HOM_Ramp.h.

hboost::any HOM_Ramp::rampLookup ( double  pos)
hboost::any HOM_Ramp::rampValues ( )
void HOM_Ramp::setColorType ( HOM_EnumValue enum_value)
void HOM_Ramp::setIsColor ( bool  is_color)
inline

Definition at line 71 of file HOM_Ramp.h.

static UT_SPLINE_BASIS HOM_Ramp::splineBasisForEnumValue ( HOM_EnumValue enum_value)
static
static HOM_EnumValue& HOM_Ramp::splineBasisToEnumValue ( UT_SPLINE_BASIS  basis)
static

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