Basic Image AlgorithmS Library
2.8.0
|
#include <Tools/BIASOpenGLViewer/biasGLviewerGLUT.hh>
Public Member Functions | |
void | AddDebugLevel (const long int lv) |
void | AddDebugLevel (const long int lv) |
void | AddDebugLevel (const std::string &name) |
void | AddDebugLevel (const std::string &name) |
bool * | AddParamBool (const std::string &name, const std::string &help, bool deflt=false, char cmdshort=0, int Group=GRP_NOSHOW) |
double * | AddParamDouble (const std::string &name, const std::string &help, double deflt=0.0, double min=-DBL_MAX, double max=DBL_MAX, char cmdshort=0, int Group=GRP_NOSHOW) |
int * | AddParamEnum (const std::string &name, const std::string &help, const std::vector< std::string > &enums, const int deflt=0, const std::vector< int > *IDs=NULL, const char cmdshort=0, const int Group=GRP_NOSHOW) |
int * | AddParamInt (const std::string &name, const std::string &help, int deflt=0, int min=std::numeric_limits< int >::min(), int max=std::numeric_limits< int >::max(), char cmdshort=0, int Group=GRP_NOSHOW) |
For all adding routines: More... | |
std::string * | AddParamString (const std::string &name, const std::string &help, std::string deflt="", char cmdshort=0, int Group=GRP_NOSHOW) |
BIAS::Vector< double > * | AddParamVecDbl (const std::string &name, const std::string &help, const BIAS::Vector< double > &deflt, char cmdshort=0, int Group=GRP_NOSHOW) |
Add a parameter that expects a string on command line like "<value0> <value1> <value2> ..." | |
BIAS::Vector< double > * | AddParamVecDbl (const std::string &name, const std::string &help, const std::string &deflt, char cmdshort=0, int Group=GRP_NOSHOW) |
The same as above, but default is given by a string, syntax is as at command line "v_0 v_1 v_2", don't set empty string, cause the length is determined also by the number of values More... | |
BIAS::Vector< int > * | AddParamVecInt (const std::string &name, const std::string &help, const BIAS::Vector< int > &deflt, char cmdshort=0, int Group=GRP_NOSHOW) |
Add a parameter that expects a string on command line like "<value0> <value1> <value2> ..." | |
BIAS::Vector< int > * | AddParamVecInt (const std::string &name, const std::string &help, const std::string &deflt, char cmdshort=0, int Group=GRP_NOSHOW) |
The same as other AddParamVecInt(), but default is given by a string, syntax is as at command line "v_0 v_1 v_2". More... | |
void | AnimationFunc () |
biasGLviewerGLUT (int argc, char *argv[]) | |
bool | CheckParam (const std::string &name) |
Check if parameter has already been added. More... | |
void | ClearAllParams () |
empties internal datastructures More... | |
bool | DebugLevelIsSet (const long int lv) const |
bool | DebugLevelIsSet (const long int lv) const |
bool | DebugLevelIsSet (const std::string &name) const |
bool | DebugLevelIsSet (const std::string &name) const |
void | DisableDestructorWarning () |
Uses this just before end of your program to avoid error from destructor. More... | |
virtual bool | FinishedDraw () |
this function is called by RenderContextBase when drawing is done. More... | |
int | GetDebugLevel () const |
int | GetDebugLevel () const |
std::ostream & | GetDebugStream () const |
std::ostream & | GetDebugStream () const |
void | GetDebugStream (std::ostream &os) const |
void | GetDebugStream (std::ostream &os) const |
int | GetFreeGroupID () |
returns unused group id More... | |
virtual BIAS::GLProjectionParametersInterface * | GetGLProjectionParametersInterface () |
Get the camera projection parameters. More... | |
int | GetGroupID (const std::string &name) |
returns group id of parameter with name More... | |
int | GetGroupIDForGroupName (const std::string &name) |
std::string | GetGroupName (const int group_id) |
gets the name of a group More... | |
virtual std::string | GetName () |
Get the name of the controller. More... | |
bool * | GetParamBool (const std::string &name) const |
bool * | GetParamBoolByIndex (const int i) const |
Get a Param-value by Index. More... | |
double * | GetParamDouble (const std::string &name) const |
double * | GetParamDoubleByIndex (const int i) const |
Get a Param-value by Index. More... | |
int * | GetParamEnum (const std::string &name) const |
int * | GetParamInt (const std::string &name) const |
int * | GetParamIntByIndex (const int i) const |
Get a Param-value by Index. More... | |
std::string * | GetParamString (const std::string &name) const |
std::string * | GetParamStringByIndex (const int i) const |
Get a Param-value by Index. More... | |
BIAS::Vector< double > * | GetParamVecDbl (const std::string &name) const |
BIAS::Vector< int > * | GetParamVecInt (const std::string &name) const |
int | GetSizeOfLongestParamName () |
returns the size of the longest param name not marked as enhanced or hidden More... | |
int | GetSizeOfLongestParamValueString () |
returns the size of the longest param value string not marked as enhanced or hidden More... | |
bool | GetWriteFlag () |
virtual void | Init () |
bool | IsUsedGroupID (const int group_id) |
returns if the group id is used More... | |
virtual bool | LeftAndRightMouseMoved (int, int, int, int) |
react to mouse movement while right and middle button held down overwrite in derived class of desired More... | |
virtual bool | LeftMouseDoubleClicked (int, int, int m) |
react to left mouse double click overwrite in derived class of desired More... | |
virtual bool | LeftMouseDown (int, int) |
react to left mouse button down event overwrite in derived class of desired More... | |
virtual bool | LeftMouseMoved (int, int, int, int) |
react to mouse movement while left button held down overwrite in derived class of desired More... | |
virtual bool | LeftMouseSingleClicked (int, int) |
react to left mouse single click overwrite in derived class of desired More... | |
virtual bool | LeftMouseUp (int, int) |
react to left mouse button up event overwrite in derived class of desired More... | |
virtual bool | MiddleMouseDown (int, int) |
react to middle mouse button down event overwrite in derived class of desired More... | |
virtual bool | MiddleMouseMoved (int, int, int, int) |
react to mouse movement while middle button held down overwrite in derived class of desired More... | |
virtual bool | MiddleMouseUp (int, int) |
react to middle mouse button up event overwrite in derived class of desired More... | |
virtual bool | MouseLeftWindow () |
react to mouse leaving the window overwrite in derived class of desired More... | |
virtual bool | MouseMoved (int, int) |
react to mouse movement overwrite in derived class of desired More... | |
virtual bool | MouseWheelUsed (double stepsize) |
react to mouse wheel usage overwrite in derived class of desired More... | |
long int | Name2DebugLevel (const std::string &name) const |
looks up a debuglevel in the internal map, returns 0 if not found More... | |
long int | Name2DebugLevel (const std::string &name) const |
looks up a debuglevel in the internal map, returns 0 if not found More... | |
long int | NewDebugLevel (const std::string &name) |
creates a new debuglevel More... | |
long int | NewDebugLevel (const std::string &name) |
creates a new debuglevel More... | |
int | ParseCommandLine (int &argc, char *argv[]) |
scan command line arguments for valid parameters More... | |
void | PrintDebugLevel (std::ostream &os=std::cout) const |
void | PrintDebugLevel (std::ostream &os=std::cout) const |
int | ReadParameter (const std::string &filename) |
read values for parameters from file More... | |
int | ReadParameterXML (const std::string &filename) |
read values for parameters from xml-file More... | |
int | RegisterCallbackObject (const std::string &name, ParamCallbackInterface *obj) |
void | RemoveDebugLevel (const long int lv) |
void | RemoveDebugLevel (const long int lv) |
void | RemoveDebugLevel (const std::string &name) |
void | RemoveDebugLevel (const std::string &name) |
virtual bool | RightMouseDoubleClicked (int, int) |
react to right mouse double click overwrite in derived class of desired More... | |
virtual bool | RightMouseDown (int, int) |
react to right mouse button down event overwrite in derived class of desired More... | |
virtual bool | RightMouseMoved (int, int, int, int) |
react to mouse movement while right button held down overwrite in derived class of desired More... | |
virtual bool | RightMouseSingleClicked (int, int) |
react to right mouse single click event overwrite in derived class of desired More... | |
virtual bool | RightMouseUp (int, int) |
react to right mouse button up event overwrite in derived class of desired More... | |
virtual void | Run () |
void | SetDebugLevel (const long int lv) |
void | SetDebugLevel (const long int lv) |
void | SetDebugLevel (const std::string &name) |
void | SetDebugLevel (const std::string &name) |
void | SetDebugStream (const std::ostream &os) |
void | SetDebugStream (const std::ostream &os) |
void | SetDefaults () |
sets all entries to their initially (AddParam) given default values More... | |
int | SetEnhancedFlag (const std::string &name, bool enhanced) |
if a parametr is marked as enhanced, it is hidden from the naive user More... | |
virtual void | SetGLProjectionParametersInterface (BIAS::GLProjectionParametersInterface *interface_) |
Set the camera projection parameters. More... | |
int | SetGroupName (const int group_id, const std::string &name) |
sets the name for a group More... | |
int | SetHiddenFlag (const std::string &name, bool hidden) |
if a parametr is marked as hidden, it is obsolete and hidden for all users, use this for parameters overwritten by caller class More... | |
virtual void | SetName (std::string name) |
Set the name of the controller. More... | |
bool * | SetParamBool (const std::string &name, const bool &value) |
double * | SetParamDouble (const std::string &name, const double &value) |
int * | SetParamEnum (const std::string &name, const int &value) |
set the enum to the ID 'value' More... | |
int * | SetParamEnum (const std::string &name, const std::string &value) |
set the enum to the ID corresponding to the string 'value' More... | |
int | SetParameterWriteToFile (const std::string &name, bool writeToFile) |
int * | SetParamInt (const std::string &name, const int &value) |
std::string * | SetParamString (const std::string &name, const std::string &value) |
BIAS::Vector< double > * | SetParamVecDbl (const std::string &name, const BIAS::Vector< double > &value) |
BIAS::Vector< int > * | SetParamVecInt (const std::string &name, const BIAS::Vector< int > &value) |
virtual int | SetRangeInt (const std::string &name, const int min, const int max) |
Set [Min,Max] as new range, especially usefull in derived class PramGUI More... | |
int | SetShortCommand (const std::string &name, const char cmd) |
Add a short commandline switch to an existing parameter. More... | |
void | SetWriteOptions (bool indent, bool comments, bool enhanced) |
void | ShowData (std::ostream &os=std::cout, int grp=GRP_ALL, bool showenhanced=true) |
print all data in group grp including current values to os if grp = GRP_ALL, print all values if showenhanced = false, parameters marked as enhanced are not shown More... | |
void | ShowDebugLevel (std::ostream &os=std::cout) const |
prints all internally known debuglevels More... | |
void | ShowDebugLevel (std::ostream &os=std::cout) const |
prints all internally known debuglevels More... | |
virtual bool | SpecialKeyPressed (int) |
react to press of special keys such as F1-F12, ... More... | |
virtual bool | SpecialKeyUp (int) |
react to press of special keys such as F1-F12, ... More... | |
bool | StandardKeyPressed (unsigned char key, int, int) |
react to press of ascii-coded charakter plus pointer position More... | |
virtual bool | StandardKeyUp (unsigned char, int, int) |
react to press of ascii-coded charakter plus pointer position More... | |
virtual bool | TimerExpired () |
this function is called by RenderContextBase when timer is expired Overwrite and implement to do some timer dependend processing More... | |
std::vector< int > | UniqueSortedGroups () |
Returns a vector of all group IDs (unique) in ascending order. More... | |
int | UpdateParameter (int &argc, char *argv[], const std::string &default_filename) |
update all arguments from command line and parameter file More... | |
void | Usage (std::ostream &os=std::cout) |
print Help-Information to stdout More... | |
virtual bool | WindowReshape (int, int) |
this function is called by RenderContextBase if the window is reshaped. More... | |
int | WriteParameter (const std::string &filename) |
store complete set of parameter in file if write_comments is set, alo the help strings are written to the file if show_enhanced is set, also parameters marked as enhanced are written More... | |
int | WriteParameterXML (const std::string &filename) |
int | WriteRunMe (const std::string &filename) |
writes complete command line including program name and unknown command line options, no defaults, no params read from file More... | |
Static Public Member Functions | |
static long int | GetGlobalDebugLevel () |
static long int | GetGlobalDebugLevel () |
static int | ParseListFile (const std::string &ListFileName, std::vector< std::string > &LinesInFile) |
Extracts lines from passed file. More... | |
static void | SetGlobalDebugLevel (long int lev) |
static void | SetGlobalDebugLevel (long int lev) |
Protected Member Functions | |
long | ConsumeNextFreeDebuglevel_ () |
returns the next available debuglevel More... | |
long | ConsumeNextFreeDebuglevel_ () |
returns the next available debuglevel More... | |
std::map< const std::string, BIAS::ParamTypeBase * > & | GetParamMap () |
const std::map< const std::string, BIAS::ParamTypeBase * > & | GetParamMap () const |
void | toggleStoreToDisc_ () |
Static Protected Attributes | |
static std::ostream | _zDebugStream |
static std::ostream | _zDebugStream |
static long int | GlobalDebugLevel = 0 |
static long int | GlobalDebugLevel = 0 |
Definition at line 53 of file biasGLviewerGLUT.hh.
biasGLviewerGLUT::biasGLviewerGLUT | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 42 of file biasGLviewerGLUT.cpp.
|
inlineinherited |
Definition at line 355 of file Debug.hh.
Referenced by BIAS::GLProjectionParametersBase::AddDebugLevel(), BIAS::Triangulation::CorrectCorrespondences(), BIAS::FilterBase< InputStorageType, OutputStorageType >::FilterBase(), BIAS::ShowCamWxVideoSourceFactory::OpenDevice(), and BIAS::SceneOpenSceneGraph::SceneOpenSceneGraph().
|
inlineinherited |
Definition at line 355 of file Debug.hh.
Referenced by BIAS::GLProjectionParametersBase::AddDebugLevel(), BIAS::Triangulation::CorrectCorrespondences(), BIAS::FilterBase< InputStorageType, OutputStorageType >::FilterBase(), BIAS::ShowCamWxVideoSourceFactory::OpenDevice(), and BIAS::SceneOpenSceneGraph::SceneOpenSceneGraph().
|
inlineinherited |
|
inlineinherited |
|
inherited |
Definition at line 305 of file Param.cpp.
References BIAS::ParamTypeBool::default_, BIAS::ParamTypeBase::Group_, BIAS::ParamTypeBase::Help_, BIAS::ParamTypeBase::Name_, BIAS::ParamTypeBase::ShortCmd_, BIAS::ParamTypeBool::value_, and BIAS::ParamTypeBase::WriteToFile_.
Referenced by BIAS::GenSynthMatches::_AddParameter(), and BIAS::IOUtils::ParseCommandLineEvalHelp().
|
inherited |
Definition at line 351 of file Param.cpp.
References BIAS::ParamTypeDouble::default_, BIAS::ParamTypeBase::Group_, BIAS::ParamTypeBase::Help_, BIAS::ParamTypeDouble::max_, BIAS::ParamTypeDouble::min_, BIAS::ParamTypeBase::Name_, BIAS::ParamTypeBase::ShortCmd_, BIAS::ParamTypeDouble::value_, and BIAS::ParamTypeBase::WriteToFile_.
Referenced by BIAS::GenSynthMatches::_AddParameter(), and BIAS::GenSynthMatchesRig::AddParameters_().
|
inherited |
@param enums holds all enumeration names.
IDs | can be a pointer to a vector of integers. It must have the same size as 'enums' and gives each name a number, which must be unique! If NULL the enums are numbered from 0 to enums.size()-1 |
Definition at line 468 of file Param.cpp.
References BIAS::ParamTypeEnum::default_, BIAS::ParamTypeBase::Group_, BIAS::ParamTypeBase::Help_, BIAS::ParamTypeEnum::Map_, BIAS::ParamTypeBase::Name_, BIAS::ParamTypeBase::ShortCmd_, BIAS::ParamTypeEnum::value_, and BIAS::ParamTypeBase::WriteToFile_.
|
inherited |
For all adding routines:
name | is the unique identifier of the parameter |
help | is a help or 'tooltip' string for that parameter |
deflt | is a default value for that parameter. Note that not every parameter type has a default at compile time! |
cmdshort | is a short command option for the command line |
Group | is a number to group some parameters for visualization, e.g. all matchers are in group 1, all trackers are in group 37 etc. When printing to screen, you can limit the output to a group of interest. The default is 0 - no special group. |
Definition at line 276 of file Param.cpp.
References BIAS::ParamTypeInt::default_, BIAS::ParamTypeBase::Group_, BIAS::ParamTypeBase::Help_, BIAS::ParamTypeInt::max_, BIAS::ParamTypeInt::min_, BIAS::ParamTypeBase::Name_, BIAS::ParamTypeBase::ShortCmd_, BIAS::ParamTypeInt::value_, and BIAS::ParamTypeBase::WriteToFile_.
Referenced by BIAS::MatchDataBase::_AddParameter(), BIAS::GenSynthMatches::_AddParameter(), and BIAS::GenSynthMatchesRig::AddParameters_().
|
inherited |
Definition at line 327 of file Param.cpp.
References BIAS::ParamTypeString::default_, BIAS::ParamTypeBase::Group_, BIAS::ParamTypeBase::Help_, BIAS::ParamTypeBase::Name_, BIAS::ParamTypeBase::ShortCmd_, BIAS::ParamTypeString::value_, and BIAS::ParamTypeBase::WriteToFile_.
|
inherited |
Add a parameter that expects a string on command line
like "<value0> <value1> <value2> ..."
A vector of double must be given as default vector!
Definition at line 378 of file Param.cpp.
References BIAS::ParamTypeVecDbl::default_, BIAS::ParamTypeBase::Group_, BIAS::ParamTypeBase::Help_, BIAS::ParamTypeBase::Name_, BIAS::ParamTypeBase::ShortCmd_, BIAS::ParamTypeVecDbl::value_, and BIAS::ParamTypeBase::WriteToFile_.
Referenced by BIAS::GenSynthMatches::_AddParameter().
|
inherited |
The same as above, but default is given by a string,
syntax is as at command line "v_0 v_1 v_2", don't set empty string, cause the length is determined also by the number of values
Definition at line 401 of file Param.cpp.
References TNT::Vector< T >::newsize().
|
inherited |
Add a parameter that expects a string on command line
like "<value0> <value1> <value2> ..."
A vector of integer must be given a default vector!
Definition at line 423 of file Param.cpp.
References BIAS::ParamTypeVecInt::default_, BIAS::ParamTypeBase::Group_, BIAS::ParamTypeBase::Help_, BIAS::ParamTypeBase::Name_, BIAS::ParamTypeBase::ShortCmd_, BIAS::ParamTypeVecInt::value_, and BIAS::ParamTypeBase::WriteToFile_.
|
inherited |
The same as other AddParamVecInt(), but default is given by a string,
syntax is as at command line "v_0 v_1 v_2".
Don't set empty string, cause the length is determined also by the number of values
Definition at line 446 of file Param.cpp.
References TNT::Vector< T >::newsize().
void biasGLviewerGLUT::AnimationFunc | ( | ) |
Definition at line 448 of file biasGLviewerGLUT.cpp.
|
inherited |
Check if parameter has already been added.
Definition at line 527 of file Param.cpp.
Referenced by BIAS::MatchDataBase::_AddParameter(), BIAS::GenSynthMatches::_AddParameter(), and BIAS::GenSynthMatchesRig::AddParameters_().
|
inherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineinherited |
Definition at line 341 of file Debug.hh.
Referenced by BIAS::GenSynthMatches::_AddUniformDistributedOutliers(), BIAS::GenSynthMatches::_CreateCamMovement(), BIAS::GenSynthMatches::_CreateStatic2DPoints(), BIAS::UnscentedTransform::ComputeSigmaPoints_(), BIAS::Triangulation::CorrectCorrespondences(), BIAS::GenSynthMatches::GetGTNormalizedF(), BIAS::MonteCarloTransform::GetSamples_(), and BIAS::MonteCarloTransform::Transform().
|
inlineinherited |
Definition at line 341 of file Debug.hh.
Referenced by BIAS::GenSynthMatches::_AddUniformDistributedOutliers(), BIAS::GenSynthMatches::_CreateCamMovement(), BIAS::GenSynthMatches::_CreateStatic2DPoints(), BIAS::UnscentedTransform::ComputeSigmaPoints_(), BIAS::Triangulation::CorrectCorrespondences(), BIAS::GenSynthMatches::GetGTNormalizedF(), BIAS::MonteCarloTransform::GetSamples_(), and BIAS::MonteCarloTransform::Transform().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Uses this just before end of your program to avoid error from
destructor.
|
inlinevirtualinherited |
this function is called by RenderContextBase when drawing is done.
Overwrite and implement to do some processing after drawing
Definition at line 193 of file ControlInterface.hh.
|
inlineinherited |
Definition at line 332 of file Debug.hh.
Referenced by BIAS::listenthread(), BIAS::Image< StorageType >::operator=(), and BIAS::ImageBase::operator=().
|
inlineinherited |
Definition at line 332 of file Debug.hh.
Referenced by BIAS::listenthread(), BIAS::Image< StorageType >::operator=(), and BIAS::ImageBase::operator=().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
returns unused group id
Definition at line 1421 of file Param.cpp.
Referenced by BIAS::MatchDataBase::_AddParameter(), BIAS::GenSynthMatches::_AddParameter(), BIAS::GenSynthMatchesRig::AddParameters_(), and BIAS::IOUtils::ParseCommandLineEvalHelp().
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlinevirtualinherited |
Get the camera projection parameters.
Can be of type GLProjection or any from GLProjectionParametersBase derived class
Definition at line 207 of file ControlInterface.hh.
|
inherited |
returns group id of parameter with name
Definition at line 1430 of file Param.cpp.
Referenced by BIAS::MatchDataBase::_AddParameter(), BIAS::GenSynthMatches::_AddParameter(), and BIAS::GenSynthMatchesRig::AddParameters_().
|
inherited |
|
inherited |
gets the name of a group
Definition at line 1465 of file Param.cpp.
Referenced by BIAS::ParamGUI::GetNotebook().
|
inlinevirtualinherited |
Get the name of the controller.
Definition at line 70 of file ControlInterface.hh.
|
inherited |
Definition at line 633 of file Param.cpp.
Referenced by BIAS::GenSynthMatches::_AddParameter().
|
inherited |
|
inherited |
Definition at line 665 of file Param.cpp.
Referenced by BIAS::GenSynthMatches::_AddParameter(), BIAS::GenSynthMatchesRig::AddParameters_(), and BIAS::GenSynthMatchesRig::GetParameters_().
|
inherited |
|
inherited |
|
inherited |
Definition at line 618 of file Param.cpp.
Referenced by BIAS::MatchDataBase::_AddParameter(), BIAS::GenSynthMatches::_AddParameter(), BIAS::GenSynthMatchesRig::AddParameters_(), BIAS::GenSynthMatchesRig::GenSynthMatchesRig(), BIAS::GenSynthMatchesRig::GetParameters_(), BIAS::GenSynthMatchesRig::Setup_(), and BIAS::GenSynthMatchesRig::UpdateParams_().
|
inherited |
|
protectedinherited |
Definition at line 1885 of file Param.cpp.
Referenced by BIAS::ParamGUI::GetPanel().
|
protectedinherited |
|
inherited |
|
inherited |
|
inherited |
Definition at line 680 of file Param.cpp.
Referenced by BIAS::GenSynthMatches::_AddParameter(), BIAS::GenSynthMatchesRig::GetParameters_(), and BIAS::GenSynthMatchesRig::UpdateParams_().
|
inherited |
|
inherited |
|
inherited |
|
virtual |
|
inherited |
returns if the group id is used
Definition at line 1496 of file Param.cpp.
Referenced by BIAS::GenSynthMatches::_AddParameter(), and BIAS::GenSynthMatchesRig::AddParameters_().
|
inlinevirtualinherited |
react to mouse movement while right and middle button held down overwrite in derived class of desired
Reimplemented in BIAS::OnlyRotationControl, BIAS::TrackballControl, BIAS::TrackballTransControl, and BIAS::FlyControl.
Definition at line 140 of file ControlInterface.hh.
Referenced by BIAS::RenderContextBase::LeftAndRightMouseMoved().
|
inlinevirtualinherited |
react to left mouse double click overwrite in derived class of desired
Reimplemented in BIAS::TrackballControl, and BIAS::DistanceMeasureControl.
Definition at line 84 of file ControlInterface.hh.
Referenced by BIAS::RenderContextBase::LeftMouseDoubleClicked().
|
inlinevirtualinherited |
react to left mouse button down event overwrite in derived class of desired
Definition at line 99 of file ControlInterface.hh.
Referenced by BIAS::RenderContextBase::LeftMouseDown().
|
inlinevirtualinherited |
react to mouse movement while left button held down overwrite in derived class of desired
Reimplemented in BIAS::TrackballControl, BIAS::TrackballTransControl, BIAS::FlyControl, and BIAS::OnlyRotationControl.
Definition at line 94 of file ControlInterface.hh.
Referenced by BIAS::RenderContextBase::LeftMouseMoved().
|
inlinevirtualinherited |
react to left mouse single click overwrite in derived class of desired
Definition at line 89 of file ControlInterface.hh.
Referenced by BIAS::RenderContextBase::LeftMouseSingleClicked().
|
inlinevirtualinherited |
react to left mouse button up event overwrite in derived class of desired
Definition at line 104 of file ControlInterface.hh.
Referenced by BIAS::RenderContextBase::LeftMouseUp().
|
inlinevirtualinherited |
react to middle mouse button down event overwrite in derived class of desired
Definition at line 145 of file ControlInterface.hh.
Referenced by BIAS::RenderContextBase::MiddleMouseDown().
|
inlinevirtualinherited |
react to mouse movement while middle button held down overwrite in derived class of desired
Reimplemented in BIAS::TrackballControl, BIAS::TrackballTransControl, BIAS::OnlyRotationControl, and BIAS::FlyControl.
Definition at line 135 of file ControlInterface.hh.
Referenced by BIAS::RenderContextBase::MiddleMouseMoved().
|
inlinevirtualinherited |
react to middle mouse button up event overwrite in derived class of desired
Definition at line 150 of file ControlInterface.hh.
Referenced by BIAS::RenderContextBase::MiddleMouseUp().
|
inlinevirtualinherited |
react to mouse leaving the window overwrite in derived class of desired
Definition at line 160 of file ControlInterface.hh.
Referenced by BIAS::RenderContextBase::MouseLeftWindow().
|
inlinevirtualinherited |
react to mouse movement overwrite in derived class of desired
Reimplemented in BIAS::DistanceMeasureControl.
Definition at line 155 of file ControlInterface.hh.
Referenced by BIAS::RenderContextBase::MouseMoved().
|
inlinevirtualinherited |
react to mouse wheel usage overwrite in derived class of desired
Reimplemented in BIAS::TrackballControl, and BIAS::TrackballTransControl.
Definition at line 79 of file ControlInterface.hh.
Referenced by BIAS::RenderContextBase::MouseWheelUsed().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
creates a new debuglevel
Definition at line 474 of file Debug.hh.
Referenced by BIAS::COSAC< SolutionType >::COSAC(), BIAS::ProjectionParametersPerspectiveDepth::Init(), BIAS::MonteCarloTransform::MonteCarloTransform(), BIAS::PMatrixEstimation::PMatrixEstimation(), BIAS::PreemptiveRANSAC< SolutionType >::PreemptiveRANSAC(), BIAS::RANSACPreKnowledge< SolutionType >::RANSACPreKnowledge(), BIAS::ROI::ROI(), BIAS::RotationAveraging::RotationAveraging(), BIAS::SceneOpenSceneGraph::SceneOpenSceneGraph(), BIAS::ThreeDOutOpenSceneGraph::ThreeDOutOpenSceneGraph(), BIAS::Triangulation::Triangulation(), and BIAS::UnscentedTransform::UnscentedTransform().
|
inlineinherited |
creates a new debuglevel
Definition at line 474 of file Debug.hh.
Referenced by BIAS::COSAC< SolutionType >::COSAC(), BIAS::ProjectionParametersPerspectiveDepth::Init(), BIAS::MonteCarloTransform::MonteCarloTransform(), BIAS::PMatrixEstimation::PMatrixEstimation(), BIAS::PreemptiveRANSAC< SolutionType >::PreemptiveRANSAC(), BIAS::RANSACPreKnowledge< SolutionType >::RANSACPreKnowledge(), BIAS::ROI::ROI(), BIAS::RotationAveraging::RotationAveraging(), BIAS::SceneOpenSceneGraph::SceneOpenSceneGraph(), BIAS::ThreeDOutOpenSceneGraph::ThreeDOutOpenSceneGraph(), BIAS::Triangulation::Triangulation(), and BIAS::UnscentedTransform::UnscentedTransform().
|
inherited |
scan command line arguments for valid parameters
argv is reordered according to getopt() all no recognized arguments
are at the end. Return value is optind from getopt(), the index of the next not recognized argument. Sometimes, the function however returns negative values. ?
this delete let the program bail out. but it realy should be deleted
Definition at line 1028 of file Param.cpp.
References option::has_arg, and option::name.
Referenced by BIAS::IOUtils::ParseCommandLineEvalHelp().
|
staticinherited |
Extracts lines from passed file.
The specified file is expected to contain a list of entries. Those entries are assumed to be seperated by newlines.
ListFileName | Routine tries to open file with this name. |
LinesInFile | result of line extraction. |
Definition at line 1853 of file Param.cpp.
Referenced by BIAS::IOUtils::LoadImageList(), and BIAS::BVWXMainFrame::LoadImages().
|
inlineinherited |
|
inlineinherited |
|
inherited |
read values for parameters from file
|
inherited |
read values for parameters from xml-file
Definition at line 1320 of file Param.cpp.
References BIAS::XMLIO::getAttributeName(), BIAS::XMLIO::getAttributeValueBool(), BIAS::XMLIO::getAttributeValueDouble(), BIAS::XMLIO::getAttributeValueInt(), BIAS::XMLIO::getAttributeValueString(), BIAS::XMLIO::getAttributeValueVecDbl(), BIAS::XMLIO::getAttributeValueVecInt(), BIAS::XMLIO::getFirstAttribute(), BIAS::XMLIO::getFirstChild(), BIAS::XMLIO::getNextAttribute(), BIAS::XMLIO::getNextChild(), and BIAS::XMLIO::read().
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlinevirtualinherited |
react to right mouse double click overwrite in derived class of desired
Reimplemented in BIAS::OnlyRotationControl.
Definition at line 115 of file ControlInterface.hh.
Referenced by BIAS::RenderContextBase::RightMouseDoubleClicked().
|
inlinevirtualinherited |
react to right mouse button down event overwrite in derived class of desired
Definition at line 125 of file ControlInterface.hh.
Referenced by BIAS::RenderContextBase::RightMouseDown().
|
inlinevirtualinherited |
react to mouse movement while right button held down overwrite in derived class of desired
Reimplemented in BIAS::FlyControl, BIAS::TrackballTransControl, BIAS::TrackballControl, and BIAS::OnlyRotationControl.
Definition at line 120 of file ControlInterface.hh.
Referenced by BIAS::RenderContextBase::RightMouseMoved().
|
inlinevirtualinherited |
react to right mouse single click event overwrite in derived class of desired
Definition at line 110 of file ControlInterface.hh.
Referenced by BIAS::RenderContextBase::RightMouseSingleClicked().
|
inlinevirtualinherited |
react to right mouse button up event overwrite in derived class of desired
Definition at line 130 of file ControlInterface.hh.
Referenced by BIAS::RenderContextBase::RightMouseUp().
|
virtual |
Definition at line 308 of file biasGLviewerGLUT.cpp.
|
inlineinherited |
Definition at line 318 of file Debug.hh.
Referenced by BIAS::ShowCamWxVideoSourceFactory::CreateBumbleBee(), BIAS::ShowCamWxVideoSourceFactory::CreateDCAM(), BIAS::VideoSource_MDcam::ScanBus(), BIAS::GLProjectionParametersBase::SetDebugLevel(), BIAS::VideoSource_Disk::VideoSource_Disk(), BIAS::VideoSource_DV2::VideoSource_DV2(), BIAS::VideoSource_DV::VideoSource_DV_Internal_Init_(), and BIAS::VideoSource_V4L::VideoSource_V4L().
|
inlineinherited |
Definition at line 318 of file Debug.hh.
Referenced by BIAS::ShowCamWxVideoSourceFactory::CreateBumbleBee(), BIAS::ShowCamWxVideoSourceFactory::CreateDCAM(), BIAS::VideoSource_MDcam::ScanBus(), BIAS::GLProjectionParametersBase::SetDebugLevel(), BIAS::VideoSource_Disk::VideoSource_Disk(), BIAS::VideoSource_DV2::VideoSource_DV2(), BIAS::VideoSource_DV::VideoSource_DV_Internal_Init_(), and BIAS::VideoSource_V4L::VideoSource_V4L().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlinevirtualinherited |
Set the camera projection parameters.
Can be of type GLProjection or any from GLProjectionParametersBase derived class
Reimplemented in BIAS::TrackballControl.
Definition at line 198 of file ControlInterface.hh.
Referenced by BIAS::RenderContextBase::SetControl(), BIAS::TrackballControl::SetGLProjectionParametersInterface(), and BIAS::RenderContextBase::SetGLProjectionParametersInterface().
|
inherited |
sets the name for a group
Definition at line 1448 of file Param.cpp.
Referenced by BIAS::GenSynthMatches::_AddParameter(), BIAS::GenSynthMatchesRig::AddParameters_(), and BIAS::IOUtils::ParseCommandLineEvalHelp().
|
inherited |
|
inlinevirtualinherited |
Set the name of the controller.
Definition at line 74 of file ControlInterface.hh.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
virtualinherited |
Set [Min,Max] as new range, especially usefull in derived class
PramGUI
Definition at line 1825 of file Param.cpp.
References BIAS::ParamTypeInt::max_, and BIAS::ParamTypeInt::min_.
|
inherited |
Add a short commandline switch to an existing parameter.
Useful for readconfig/writeconfig.
|
inlineinherited |
|
inherited |
print all data in group grp including current values to os if grp = GRP_ALL, print all values if showenhanced = false, parameters marked as enhanced are not shown
|
inlineinherited |
|
inlineinherited |
|
inlinevirtualinherited |
react to press of special keys such as F1-F12, ...
overwrite in derived class of desired
Reimplemented in BIAS::AutoControl, BIAS::ScreenShotListener, and BIAS::TrackballBase.
Definition at line 165 of file ControlInterface.hh.
Referenced by BIAS::RenderContextBase::SpecialKeyPressed().
|
inlinevirtualinherited |
react to press of special keys such as F1-F12, ...
overwrite in derived class of desired
Definition at line 170 of file ControlInterface.hh.
Referenced by BIAS::RenderContextBase::SpecialKeyUp().
|
virtual |
react to press of ascii-coded charakter plus pointer position
Reimplemented from BIAS::ControlInterface.
Definition at line 316 of file biasGLviewerGLUT.cpp.
|
inlinevirtualinherited |
react to press of ascii-coded charakter plus pointer position
Definition at line 178 of file ControlInterface.hh.
Referenced by BIAS::RenderContextBase::StandardKeyUp().
|
inlinevirtualinherited |
this function is called by RenderContextBase when timer is expired Overwrite and implement to do some timer dependend processing
Reimplemented in BIAS::AutoControl, and BIAS::ScreenShotListener.
Definition at line 183 of file ControlInterface.hh.
Referenced by BIAS::RenderContextBase::TimerExpired().
|
protected |
Definition at line 484 of file biasGLviewerGLUT.cpp.
|
inherited |
Returns a vector of all group IDs (unique) in ascending order.
Only parameters are with WriteToFile_ = true are considered.
Definition at line 1483 of file Param.cpp.
Referenced by BIAS::ParamGUI::GetNotebook().
|
inherited |
update all arguments from command line and parameter file
Command line arguments take precedence over arguments from parameter file. Parameter from parameter file specified with –readconfig=fname take precedencor over parameter read from default_filename. If no parameterfile is found, the defaults are written to default_name.
|
inherited |
print Help-Information to stdout
Definition at line 176 of file Param.cpp.
Referenced by BIAS::IOUtils::ParseCommandLineEvalHelp().
|
inlinevirtualinherited |
this function is called by RenderContextBase if the window is reshaped.
Overwrite and implement to do some processing upon reshape
Definition at line 188 of file ControlInterface.hh.
Referenced by BIAS::RenderContextBase::WindowReshape().
|
inherited |
store complete set of parameter in file if write_comments is set, alo the help strings are written to the file if show_enhanced is set, also parameters marked as enhanced are written
|
inherited |
Definition at line 1599 of file Param.cpp.
References BIAS::XMLIO::addAttribute(), BIAS::XMLIO::addChildNode(), BIAS::XMLIO::addComment(), BIAS::XMLIO::clear(), BIAS::XMLIO::create(), BIAS::XMLIO::getChild(), option::name, and BIAS::XMLIO::write().
|
inherited |
|
protectedinherited |
Definition at line 510 of file Debug.hh.
Referenced by BIAS::Debug::operator=(), and BIAS::ImageBase::operator=().
|
protectedinherited |
Definition at line 510 of file Debug.hh.
Referenced by BIAS::Debug::operator=(), and BIAS::ImageBase::operator=().
|
protectedinherited |
new concept, debuglevel are managed here in the debug class
Definition at line 516 of file Debug.hh.
Referenced by BIAS::Debug::operator=().
|
protectedinherited |
new concept, debuglevel are managed here in the debug class
Definition at line 516 of file Debug.hh.
Referenced by BIAS::Debug::operator=().
|
protectedinherited |
Definition at line 517 of file Debug.hh.
Referenced by BIAS::Debug::operator=().
|
protectedinherited |
Definition at line 517 of file Debug.hh.
Referenced by BIAS::Debug::operator=().
|
staticprotectedinherited |
Definition at line 511 of file Debug.hh.
Referenced by BIAS::Debug::operator=().
|
staticprotectedinherited |
Definition at line 511 of file Debug.hh.
Referenced by BIAS::Debug::operator=().
|
protected |
Definition at line 71 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 96 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 92 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 93 of file biasGLviewerGLUT.hh.
|
protectedinherited |
|
protected |
Definition at line 105 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 115 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 106 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 122 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 75 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 79 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 87 of file biasGLviewerGLUT.hh.
|
protectedinherited |
the camera which is controlled by this controller
Definition at line 214 of file ControlInterface.hh.
|
protected |
Definition at line 108 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 91 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 97 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 88 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 104 of file biasGLviewerGLUT.hh.
|
staticprotectedinherited |
|
staticprotectedinherited |
|
protected |
Definition at line 121 of file biasGLviewerGLUT.hh.
|
protectedinherited |
Definition at line 548 of file Param.hh.
Referenced by BIAS::ParamGUI::GetNotebook().
|
protected |
Definition at line 123 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 110 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 70 of file biasGLviewerGLUT.hh.
|
protectedinherited |
name of listener/controller
Definition at line 208 of file ControlInterface.hh.
|
protected |
Definition at line 112 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 73 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 89 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 84 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 85 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 74 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 120 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 76 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 72 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 107 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 109 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 98 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 114 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 99 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 113 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 77 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 119 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 118 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 103 of file biasGLviewerGLUT.hh.
|
protected |
Definition at line 102 of file biasGLviewerGLUT.hh.