MEPP2 Project
Classes | Enumerations | Functions
FEVV::Helpers Namespace Reference

Classes

struct  Model
 
class  SleeperThread
 SleeperThread class. More...
 

Enumerations

enum  DataType : unsigned char { DataType::MODEL = 1, DataType::GROUP = 2, DataType::DEBUG_OBJECT = 3 }
 

Functions

osg::Vec4 ColorConverter (const Color &_color)
 
template<typename HalfedgeGraph , typename Vector = typename FEVV::Geometry_traits< HalfedgeGraph >::Vector>
osg::Vec4 VectorColorConverter (const Vector &_color)
 
template<typename HalfedgeGraph , typename Vector = typename FEVV::Geometry_traits< HalfedgeGraph >::Vector>
osg::Vec3 VectorConverter (const Vector &_vector)
 
void changeBackgroundColor (QWidget *_widget, const Color &_color)
 
void changeTextColor (QWidget *_widget, const Color &_color)
 

Enumeration Type Documentation

◆ DataType

enum FEVV::Helpers::DataType : unsigned char
strong
Enumerator
MODEL 
GROUP 
DEBUG_OBJECT 

Definition at line 25 of file DataStructures.h.

Function Documentation

◆ changeBackgroundColor()

void FEVV::Helpers::changeBackgroundColor ( QWidget *  _widget,
const Color _color 
)

Change background color of the widget.

Note
It will also change the background color of the main widget.
Parameters
[in]_colorthe color to use.

Definition at line 14 of file QtHelpers.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ changeTextColor()

void FEVV::Helpers::changeTextColor ( QWidget *  _widget,
const Color _color 
)

Change text color of the widget.

Note
It will also change the text color of the main widget.
Parameters
[in]_colorthe color to use.

Definition at line 25 of file QtHelpers.cpp.

Here is the call graph for this function:

◆ ColorConverter()

osg::Vec4 FEVV::Helpers::ColorConverter ( const Color _color)
inline

Definition at line 59 of file OSGHelpers.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ VectorColorConverter()

template<typename HalfedgeGraph , typename Vector = typename FEVV::Geometry_traits< HalfedgeGraph >::Vector>
osg::Vec4 FEVV::Helpers::VectorColorConverter ( const Vector _color)

Definition at line 40 of file OSGHelpers.h.

◆ VectorConverter()

template<typename HalfedgeGraph , typename Vector = typename FEVV::Geometry_traits< HalfedgeGraph >::Vector>
osg::Vec3 FEVV::Helpers::VectorConverter ( const Vector _vector)

Definition at line 51 of file OSGHelpers.h.