Main Page Class Hierarchy Compound List File List Compound Members File Members
CPixel Struct Template Reference
The Pixel Struct.
More...
List of all members.
Detailed Description
template<typename T>
struct CPixel< T >
The Pixel Struct.
The purpose of this class is to hold 3d colors. It can convert between RGB and HSI (hue-saturation-intensity) colorspaces, And can do general simple scalar operations. All data and functions are public, and fairly straightforward. This class can only hold primitives
Definition at line 20 of file CPixel.
Constructor & Destructor Documentation
|
template<typename T> |
|
CPixel< T >::CPixel
|
(  |
|
) |
[inline] |
|
|
template<typename T> |
|
CPixel< T >::CPixel
|
(  |
int |
val |
) |
[inline] |
|
|
template<typename T> |
|
CPixel< T >::CPixel
|
(  |
T |
X, |
|
|
|
|
|
T |
Y, |
|
|
|
|
|
T |
Z |
|
)  |
[inline] |
|
Member Function Documentation
|
template<typename T> |
|
const double CPixel< T >::intensity
|
(  |
|
) |
[inline] |
|
|
template<typename T> |
|
const CPixel CPixel< T >::operator *
|
(  |
CPixel< T > |
RHS |
) |
[inline] |
|
|
template<typename T> |
|
const CPixel<T> CPixel< T >::operator *
|
(  |
T |
scalar |
) |
[inline] |
|
|
template<typename T> |
|
CPixel<T>& CPixel< T >::operator *=
|
(  |
CPixel< T > & |
RHS |
) |
[inline] |
|
|
template<typename T> |
|
CPixel< T >::operator CPixel
|
(  |
|
) |
|
|
|
template<typename T> |
|
CPixel< T >::operator CPixel
|
(  |
|
) |
|
|
|
template<typename T> |
|
CPixel< T >::operator CPixel
|
(  |
|
) |
|
|
|
template<typename T> |
|
CPixel< T >::operator CPixel
|
(  |
|
) |
|
|
|
template<typename T> |
|
CPixel< T >::operator CPixel
|
(  |
|
) |
|
|
|
template<typename T> |
|
CPixel< T >::operator CPixel
|
(  |
|
) |
|
|
|
template<typename T> |
|
const CPixel CPixel< T >::operator+
|
(  |
CPixel< T > |
RHS |
) |
[inline] |
|
|
template<typename T> |
|
const CPixel<T> CPixel< T >::operator+
|
(  |
T |
scalar |
) |
[inline] |
|
|
template<typename T> |
|
CPixel<T>& CPixel< T >::operator+=
|
(  |
CPixel< T > & |
RHS |
) |
[inline] |
|
|
template<typename T> |
|
const CPixel CPixel< T >::operator-
|
(  |
CPixel< T > |
RHS |
) |
[inline] |
|
|
template<typename T> |
|
const CPixel<T> CPixel< T >::operator-
|
(  |
T |
scalar |
) |
[inline] |
|
|
template<typename T> |
|
CPixel<T>& CPixel< T >::operator-=
|
(  |
CPixel< T > & |
RHS |
) |
[inline] |
|
|
template<typename T> |
|
const CPixel CPixel< T >::operator/
|
(  |
CPixel< T > |
RHS |
) |
[inline] |
|
|
template<typename T> |
|
const CPixel<T> CPixel< T >::operator/
|
(  |
T |
scalar |
) |
[inline] |
|
|
template<typename T> |
|
CPixel<T>& CPixel< T >::operator/=
|
(  |
CPixel< T > & |
RHS |
) |
[inline] |
|
|
template<typename T> |
|
CPixel<T>& CPixel< T >::operator=
|
(  |
const T & |
RHS |
) |
[inline] |
|
|
template<typename T> |
|
CPixel<T>& CPixel< T >::operator=
|
(  |
CPixel< T > & |
RHS |
) |
[inline] |
|
Member Data Documentation
|
template<typename T> |
|
T CPixel::x
|
|
|
template<typename T> |
|
T CPixel::y
|
|
|
template<typename T> |
|
T CPixel::z
|
|
The documentation for this struct was generated from the following file:
Generated at Thu Apr 25 20:30:41 2002 for SuperParr by
1.2.9.1 written by Dimitri van Heesch,
© 1997-2001