Omnidome
Fulldome Mapping Software Toolkit
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions
omni::PixelConverter< IN, QColor > Struct Template Reference

Convert to QColor. More...

#include <PixelConverter.h>

Public Member Functions

template<typename T >
void operator() (T const &_in, QColor &_out)
 

Detailed Description

template<typename IN>
struct omni::PixelConverter< IN, QColor >

Convert to QColor.

Member Function Documentation

template<typename IN >
template<typename T >
void omni::PixelConverter< IN, QColor >::operator() ( T const &  _in,
QColor &  _out 
)
inline
46  {
47  int _v = qBound(0, int(255.0 * _in), 255);
48 
49  _out = QColor(_v, _v, _v);
50  }

The documentation for this struct was generated from the following file: