Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
BIAS::PanelForDoubleValueWx Class Reference

Helper Class For Parameter Input To Take Floating Point Numbers. More...

#include <Gui/PanelForDoubleValueWx.hh>

+ Inheritance diagram for BIAS::PanelForDoubleValueWx:
+ Collaboration diagram for BIAS::PanelForDoubleValueWx:

Public Member Functions

double GetParamMaxLimit () const
 
double GetParamMinLimit () const
 
double GetParamValue () const
 
int GetStepSize () const
 
 PanelForDoubleValueWx (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &label=wxT("LABEL:"), const double minlimit=0.0, const double maxlimit=1.0, const double initialval=0.5, const int stepsize=10000, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL)
 
void SetParamLabel (const wxString &label)
 Gives the parameter a name. More...
 
bool SetParamMaxLimit (const double maxlimit)
 Sets the maximum limit for a parameter. More...
 
bool SetParamMinLimit (const double minlimit)
 Sets the minimum limit for a parameter. More...
 
void SetStepSize (const int stepsize)
 Sets the RANGE for the slider for precision (and also here: name is misleading) More...
 
 ~PanelForDoubleValueWx ()
 

Detailed Description

Helper Class For Parameter Input To Take Floating Point Numbers.

Author
jfernand 08/09

Definition at line 44 of file PanelForDoubleValueWx.hh.

Constructor & Destructor Documentation

PanelForDoubleValueWx::PanelForDoubleValueWx ( wxWindow parent,
wxWindowID  id = wxID_ANY,
const wxString &  label = wxT("LABEL:"),
const double  minlimit = 0.0,
const double  maxlimit = 1.0,
const double  initialval = 0.5,
const int  stepsize = 10000,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxTAB_TRAVERSAL 
)

Definition at line 31 of file PanelForDoubleValueWx.cpp.

PanelForDoubleValueWx::~PanelForDoubleValueWx ( )

Definition at line 114 of file PanelForDoubleValueWx.cpp.

Member Function Documentation

double PanelForDoubleValueWx::GetParamMaxLimit ( ) const
Returns
the maximum limit for a parameter

Definition at line 126 of file PanelForDoubleValueWx.cpp.

double PanelForDoubleValueWx::GetParamMinLimit ( ) const
Returns
the minimum limit for a parameter

Definition at line 132 of file PanelForDoubleValueWx.cpp.

double PanelForDoubleValueWx::GetParamValue ( ) const
Returns
the assigned value for a parameter

Definition at line 117 of file PanelForDoubleValueWx.cpp.

int PanelForDoubleValueWx::GetStepSize ( ) const
Returns
the RANGE for the slider beginning at ZERO (unfortunately the name is a little bit misleading)

Definition at line 138 of file PanelForDoubleValueWx.cpp.

void PanelForDoubleValueWx::SetParamLabel ( const wxString &  label)

Gives the parameter a name.

Definition at line 186 of file PanelForDoubleValueWx.cpp.

bool PanelForDoubleValueWx::SetParamMaxLimit ( const double  maxlimit)

Sets the maximum limit for a parameter.

Returns
TRUE if setting was successful otherwise FALSE

Definition at line 144 of file PanelForDoubleValueWx.cpp.

bool PanelForDoubleValueWx::SetParamMinLimit ( const double  minlimit)

Sets the minimum limit for a parameter.

Returns
TRUE if setting was successful otherwise FALSE

Definition at line 165 of file PanelForDoubleValueWx.cpp.

void PanelForDoubleValueWx::SetStepSize ( const int  stepsize)

Sets the RANGE for the slider for precision (and also here: name is misleading)

Definition at line 192 of file PanelForDoubleValueWx.cpp.


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