Logo Search packages:      
Sourcecode: timfx version File versions  Download package

kino::basic_luma< SampleType, SampleTraits > Class Template Reference

#include <kino_plugin_types.h>

List of all members.

Detailed Description

template<typename SampleType, typename SampleTraits = color_traits<SampleType>>
class kino::basic_luma< SampleType, SampleTraits >

Encapsulates storage for a luma color sample.

Definition at line 232 of file kino_plugin_types.h.

Public Types

typedef SampleTraits sample_traits
typedef SampleType sample_type
typedef basic_luma
< sample_type, sample_traits > 

Public Member Functions

 basic_luma (const basic_hsv &RHS)
template<typename ForeignType, typename ForeignTraits>
 basic_luma (const basic_rgba< ForeignType, ForeignTraits > &RHS)
template<typename ForeignType, typename ForeignTraits>
 basic_luma (const basic_rgb< ForeignType, ForeignTraits > &RHS)
template<typename ForeignType, typename ForeignTraits>
 basic_luma (const basic_luma< ForeignType, ForeignTraits > &RHS)
 basic_luma (const sample_type Luma)
 Straightforward constructor that initializes samples.
 basic_luma ()
 Default constructor sets all samples to zero.

Public Attributes

sample_type alpha
sample_type luma


std::ostream & operator<< (std::ostream &Stream, const basic_luma< sample_type, sample_traits > &RHS)
std::istream & operator>> (std::istream &Stream, basic_luma< sample_type, sample_traits > &RHS)

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

Generated by  Doxygen 1.6.0   Back to index