COVISE Core
|
#include <coHideParam.h>
Public Member Functions | |
coHideParam (coUifPara *param) | |
~coHideParam () | |
Destructor. More... | |
void | load (const char *values) |
float | getFValue () |
get the float value (applies for coFloatParam or coFloatSliderParam) More... | |
int | getIValue () |
get the int value (applies for coChoiceParam, coBooleanParam, coIntScalarParam or coIntSliderParam) More... | |
float | getFValue (int) |
get the float value (applies for coFloatVectorParam) More... | |
int | getIValue (int) |
get the int values (applies for coFloatVectorParam) More... | |
void | getFValue (float &data0, float &data1, float &data2) |
get the float values (applies for coFloatVectorParam) More... | |
void | reset () |
resets hidden_ to false More... | |
Private Attributes | |
coUifPara * | param_ |
bool | hidden_ |
vector< float > | fnumbers_ |
vector< int > | inumbers_ |
coHideParam::coHideParam | ( | coUifPara * | param | ) |
Constructor
parameter | to be (possibly) overridden |
coHideParam::~coHideParam | ( | ) |
Destructor.
float coHideParam::getFValue | ( | ) |
get the float value (applies for coFloatParam or coFloatSliderParam)
float coHideParam::getFValue | ( | int | index | ) |
get the float value (applies for coFloatVectorParam)
void coHideParam::getFValue | ( | float & | data0, |
float & | data1, | ||
float & | data2 | ||
) |
get the float values (applies for coFloatVectorParam)
int coHideParam::getIValue | ( | ) |
get the int value (applies for coChoiceParam, coBooleanParam, coIntScalarParam or coIntSliderParam)
int coHideParam::getIValue | ( | int | index | ) |
get the int values (applies for coFloatVectorParam)
void coHideParam::load | ( | const char * | values | ) |
load is used in order to load a value that overrides the parameter param_
values | string with the value or values that override those of pram_ |
|
private |
|
private |
|
private |
|
private |