#include <kino_plugin_types.h>
Collaboration diagram for kino::basic_luma< SampleType, SampleTraits >:

Public Types | |
| typedef SampleType | sample_type |
| typedef SampleTraits | sample_traits |
| typedef basic_luma< sample_type, sample_traits > | this_type |
Public Member Functions | |
| basic_luma () | |
| Default constructor sets all samples to zero. | |
| basic_luma (const sample_type Luma) | |
| Straightforward constructor that initializes samples. | |
| template<typename ForeignType, typename ForeignTraits> | |
| basic_luma (const basic_luma< 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_rgba< ForeignType, ForeignTraits > &RHS) | |
| basic_luma (const basic_hsv &RHS) | |
Public Attributes | |
| sample_type | luma |
| sample_type | alpha |
Friends | |
| std::ostream & | operator<< (std::ostream &Stream, const basic_luma< sample_type, sample_traits > &RHS) |
| Serialization. | |
| std::istream & | operator>> (std::istream &Stream, basic_luma< sample_type, sample_traits > &RHS) |
| Deserialization. | |
Definition at line 251 of file kino_plugin_types.h.
|
|||||
|
Definition at line 255 of file kino_plugin_types.h. |
|
|||||
|
Definition at line 254 of file kino_plugin_types.h. |
|
|||||
|
Definition at line 256 of file kino_plugin_types.h. |
|
|||||||||
|
Default constructor sets all samples to zero.
Definition at line 259 of file kino_plugin_types.h.
|
|
||||||||||
|
Straightforward constructor that initializes samples.
Definition at line 266 of file kino_plugin_types.h. 00266 : 00267 luma(Luma) 00268 { 00269 }
|
|
||||||||||||||
|
Definition at line 272 of file kino_plugin_types.h. 00272 : 00273 luma(sample_traits::convert(RHS.luma)) 00274 { 00275 }
|
|
||||||||||||||
|
Definition at line 278 of file kino_plugin_types.h. 00278 : 00279 luma(sample_traits::convert(std::max(RHS.red, std::max(RHS.green, RHS.blue)))) 00280 { 00281 }
|
|
||||||||||||||
|
Definition at line 284 of file kino_plugin_types.h. 00284 : 00285 luma(sample_traits::convert(std::max(RHS.red, std::max(RHS.green, RHS.blue)))) 00286 { 00287 }
|
|
||||||||||
|
Definition at line 289 of file kino_plugin_types.h. 00289 : 00290 luma(sample_traits::convert(RHS.value)) 00291 { 00292 }
|
|
||||||||||||||||
|
Serialization.
Definition at line 295 of file kino_plugin_types.h. 00296 {
00297 Stream << RHS.luma;
00298 return Stream;
00299 }
|
|
||||||||||||||||
|
Deserialization.
Definition at line 302 of file kino_plugin_types.h. 00303 {
00304 Stream >> RHS.luma;
00305 return Stream;
00306 }
|
|
|||||
|
Definition at line 309 of file kino_plugin_types.h. |
|
|||||
|
Definition at line 308 of file kino_plugin_types.h. |
1.4.2