COVISE Core
Public Member Functions | Private Attributes | List of all members
covise::coHideParam Class Reference

#include <coHideParam.h>

Collaboration diagram for covise::coHideParam:
Collaboration graph
[legend]

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

coUifParaparam_
 
bool hidden_
 
vector< float > fnumbers_
 
vector< int > inumbers_
 

Constructor & Destructor Documentation

◆ coHideParam()

coHideParam::coHideParam ( coUifPara param)

Constructor

Parameters
parameterto be (possibly) overridden

◆ ~coHideParam()

coHideParam::~coHideParam ( )

Destructor.

Member Function Documentation

◆ getFValue() [1/3]

float coHideParam::getFValue ( )

get the float value (applies for coFloatParam or coFloatSliderParam)

◆ getFValue() [2/3]

void coHideParam::getFValue ( float &  data0,
float &  data1,
float &  data2 
)

get the float values (applies for coFloatVectorParam)

◆ getFValue() [3/3]

float coHideParam::getFValue ( int  index)

get the float value (applies for coFloatVectorParam)

◆ getIValue() [1/2]

int coHideParam::getIValue ( )

get the int value (applies for coChoiceParam, coBooleanParam, coIntScalarParam or coIntSliderParam)

◆ getIValue() [2/2]

int coHideParam::getIValue ( int  index)

get the int values (applies for coFloatVectorParam)

◆ load()

void coHideParam::load ( const char *  values)

load is used in order to load a value that overrides the parameter param_

Parameters
valuesstring with the value or values that override those of pram_

◆ reset()

void coHideParam::reset ( void  )

resets hidden_ to false

Member Data Documentation

◆ fnumbers_

vector<float> covise::coHideParam::fnumbers_
private

◆ hidden_

bool covise::coHideParam::hidden_
private

◆ inumbers_

vector<int> covise::coHideParam::inumbers_
private

◆ param_

coUifPara* covise::coHideParam::param_
private

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