Templates -- Meow  1.2.11
A C++ template contains kinds of interesting classes and functions
meow::RGBf_Space Class Reference

以浮點數Red, Green, Blue 三個值所組成的色彩空間 More...

#include "RGB_Space.h"

Inheritance diagram for meow::RGBf_Space:
meow::Color3_Space< double >

Public Member Functions

 RGBf_Space ()
 
 RGBf_Space (double c)
 
 RGBf_Space (Vector3D< double > const &v)
 
 RGBf_Space (RGBf_Space const &b)
 
 ~RGBf_Space ()
 
double const & rgbMin (size_t i) const
 
double const & rMin () const
 
double const & gMin () const
 
double const & bMin () const
 
double const & rgbMax (size_t i) const
 
double const & rMax () const
 
double const & gMax () const
 
double const & bMax () const
 
double const & rgb (size_t i) const
 
double const & r () const
 
double const & g () const
 
double const & b () const
 
double const & rgb (size_t i, double c)
 
double const & r (double c)
 
double const & g (double c)
 
double const & b (double c)
 
doublergbGet (size_t i)
 
doublerGet ()
 
doublegGet ()
 
doublebGet ()
 
RGBf_Spaceoperator= (RGBf_Space const &b)
 
RGBf_Space operator+ (RGBf_Space const &b) const
 
RGBf_Space operator- (RGBf_Space const &b) const
 
RGBf_Space operator* (double const &c) const
 
RGBf_Space operator/ (double const &c) const
 
double operator* (RGBf_Space const &b) const
 
- Public Member Functions inherited from meow::Color3_Space< double >
virtual ~Color3_Space ()
 Destructor. More...
 
Vector3D< double > const & minV () const
 minimum bound of each channels. More...
 
Vector3D< double > const & maxV () const
 maximum bound of each channels. More...
 
Vector3D< double > const & valV () const
 value of each channels. More...
 
Vector3D< double > const & valV (Vector3D< double > const &vv)
 Set the value of each channels. More...
 
Vector3D< double > & valVGet ()
 Get the non-constant reference of each channels. More...
 
doubleconst & min (size_t id) const
 Return the minimum of the i -th channel. More...
 
doubleconst & max (size_t id) const
 Return the maximum of the i -th channel. More...
 
doubleconst & val (size_t id) const
 Return the value of the i -th channel. More...
 
doubleconst & val (size_t i, doubleconst &c)
 Set the value of i -th channel. More...
 
doublevalGet (size_t id)
 Get the non-constant reference of value of the i -th channel. More...
 

Additional Inherited Members

- Protected Member Functions inherited from meow::Color3_Space< double >
 Color3_Space (Vector3D< double > const &min_bound, Vector3D< double > const &max_bound, Vector3D< double > const &init_value)
 Constructor. More...
 
 Color3_Space (Color3_Space const &b)
 Copy constructor. More...
 
Color3_Space< double > & copyFrom (Color3_Space< double > const &b)
 Copy method. More...
 
- Protected Attributes inherited from meow::Color3_Space< double >
Vector3D< doublemin_
 
Vector3D< doublemax_
 
Vector3D< doubleval_
 

Detailed Description

以浮點數Red, Green, Blue 三個值所組成的色彩空間

其中範圍都介於0.0~1.0之間

Author
cat_leopard

Definition at line 86 of file RGB_Space.h.

Constructor & Destructor Documentation

meow::RGBf_Space::RGBf_Space ( )
inline

Definition at line 88 of file RGB_Space.h.

meow::RGBf_Space::RGBf_Space ( double  c)
inline

Definition at line 92 of file RGB_Space.h.

meow::RGBf_Space::RGBf_Space ( Vector3D< double > const &  v)
inline

Definition at line 96 of file RGB_Space.h.

meow::RGBf_Space::RGBf_Space ( RGBf_Space const &  b)
inline

Definition at line 101 of file RGB_Space.h.

meow::RGBf_Space::~RGBf_Space ( )
inline

Definition at line 103 of file RGB_Space.h.

Member Function Documentation

double const& meow::RGBf_Space::b ( ) const
inline

Definition at line 116 of file RGB_Space.h.

double const& meow::RGBf_Space::b ( double  c)
inline

Definition at line 120 of file RGB_Space.h.

double& meow::RGBf_Space::bGet ( )
inline

Definition at line 124 of file RGB_Space.h.

double const& meow::RGBf_Space::bMax ( ) const
inline

Definition at line 112 of file RGB_Space.h.

double const& meow::RGBf_Space::bMin ( ) const
inline

Definition at line 108 of file RGB_Space.h.

double const& meow::RGBf_Space::g ( ) const
inline

Definition at line 115 of file RGB_Space.h.

double const& meow::RGBf_Space::g ( double  c)
inline

Definition at line 119 of file RGB_Space.h.

double& meow::RGBf_Space::gGet ( )
inline

Definition at line 123 of file RGB_Space.h.

double const& meow::RGBf_Space::gMax ( ) const
inline

Definition at line 111 of file RGB_Space.h.

double const& meow::RGBf_Space::gMin ( ) const
inline

Definition at line 107 of file RGB_Space.h.

RGBf_Space meow::RGBf_Space::operator* ( double const &  c) const
inline

Definition at line 135 of file RGB_Space.h.

double meow::RGBf_Space::operator* ( RGBf_Space const &  b) const
inline

Definition at line 141 of file RGB_Space.h.

RGBf_Space meow::RGBf_Space::operator+ ( RGBf_Space const &  b) const
inline

Definition at line 129 of file RGB_Space.h.

RGBf_Space meow::RGBf_Space::operator- ( RGBf_Space const &  b) const
inline

Definition at line 132 of file RGB_Space.h.

RGBf_Space meow::RGBf_Space::operator/ ( double const &  c) const
inline

Definition at line 138 of file RGB_Space.h.

RGBf_Space& meow::RGBf_Space::operator= ( RGBf_Space const &  b)
inline

Definition at line 125 of file RGB_Space.h.

double const& meow::RGBf_Space::r ( ) const
inline

Definition at line 114 of file RGB_Space.h.

double const& meow::RGBf_Space::r ( double  c)
inline

Definition at line 118 of file RGB_Space.h.

double const& meow::RGBf_Space::rgb ( size_t  i) const
inline

Definition at line 113 of file RGB_Space.h.

double const& meow::RGBf_Space::rgb ( size_t  i,
double  c 
)
inline

Definition at line 117 of file RGB_Space.h.

double& meow::RGBf_Space::rgbGet ( size_t  i)
inline

Definition at line 121 of file RGB_Space.h.

double const& meow::RGBf_Space::rgbMax ( size_t  i) const
inline

Definition at line 109 of file RGB_Space.h.

double const& meow::RGBf_Space::rgbMin ( size_t  i) const
inline

Definition at line 105 of file RGB_Space.h.

double& meow::RGBf_Space::rGet ( )
inline

Definition at line 122 of file RGB_Space.h.

double const& meow::RGBf_Space::rMax ( ) const
inline

Definition at line 110 of file RGB_Space.h.

double const& meow::RGBf_Space::rMin ( ) const
inline

Definition at line 106 of file RGB_Space.h.


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