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

以浮點數Y(亮度), U(色度), V(濃度) 三個值所組成的色彩空間 More...

#include "HSV_Space.h"

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

Public Member Functions

 HSVf_Space ()
 
 HSVf_Space (double c)
 
 HSVf_Space (Vector3D< double > const &v)
 
 HSVf_Space (HSV_Space const &b)
 
 ~HSVf_Space ()
 
double const & hsvMin (size_t i) const
 
double const & hMin () const
 
double const & sMin () const
 
double const & vMin () const
 
double const & hsvMax (size_t i) const
 
double const & hMax () const
 
double const & sMax () const
 
double const & vMax () const
 
double const & hsv (size_t i) const
 
double const & h () const
 
double const & s () const
 
double const & v () const
 
double const & hsv (size_t i, double c)
 
double const & h (double c)
 
double const & s (double c)
 
double const & v (double c)
 
doublehsvGet (size_t i)
 
doublehGet ()
 
doublesGet ()
 
doublevGet ()
 
HSVf_Spaceoperator= (HSVf_Space const &b)
 
HSVf_Space operator+ (HSVf_Space const &b) const
 
HSVf_Space operator- (HSVf_Space const &b) const
 
HSVf_Space operator* (double const &c) const
 
HSVf_Space operator/ (double const &c) const
 
double operator* (HSVf_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

以浮點數Y(亮度), U(色度), V(濃度) 三個值所組成的色彩空間

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

Author
cat_leopard

Definition at line 23 of file HSV_Space.h.

Constructor & Destructor Documentation

meow::HSVf_Space::HSVf_Space ( )
inline

Definition at line 25 of file HSV_Space.h.

meow::HSVf_Space::HSVf_Space ( double  c)
inline

Definition at line 29 of file HSV_Space.h.

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

Definition at line 33 of file HSV_Space.h.

meow::HSVf_Space::HSVf_Space ( HSV_Space const &  b)
inline

Definition at line 38 of file HSV_Space.h.

meow::HSVf_Space::~HSVf_Space ( )
inline

Definition at line 40 of file HSV_Space.h.

Member Function Documentation

double const& meow::HSVf_Space::h ( ) const
inline

Definition at line 51 of file HSV_Space.h.

double const& meow::HSVf_Space::h ( double  c)
inline

Definition at line 55 of file HSV_Space.h.

double& meow::HSVf_Space::hGet ( )
inline

Definition at line 59 of file HSV_Space.h.

double const& meow::HSVf_Space::hMax ( ) const
inline

Definition at line 47 of file HSV_Space.h.

double const& meow::HSVf_Space::hMin ( ) const
inline

Definition at line 43 of file HSV_Space.h.

double const& meow::HSVf_Space::hsv ( size_t  i) const
inline

Definition at line 50 of file HSV_Space.h.

double const& meow::HSVf_Space::hsv ( size_t  i,
double  c 
)
inline

Definition at line 54 of file HSV_Space.h.

double& meow::HSVf_Space::hsvGet ( size_t  i)
inline

Definition at line 58 of file HSV_Space.h.

double const& meow::HSVf_Space::hsvMax ( size_t  i) const
inline

Definition at line 46 of file HSV_Space.h.

double const& meow::HSVf_Space::hsvMin ( size_t  i) const
inline

Definition at line 42 of file HSV_Space.h.

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

Definition at line 72 of file HSV_Space.h.

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

Definition at line 78 of file HSV_Space.h.

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

Definition at line 66 of file HSV_Space.h.

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

Definition at line 69 of file HSV_Space.h.

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

Definition at line 75 of file HSV_Space.h.

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

Definition at line 62 of file HSV_Space.h.

double const& meow::HSVf_Space::s ( ) const
inline

Definition at line 52 of file HSV_Space.h.

double const& meow::HSVf_Space::s ( double  c)
inline

Definition at line 56 of file HSV_Space.h.

double& meow::HSVf_Space::sGet ( )
inline

Definition at line 60 of file HSV_Space.h.

double const& meow::HSVf_Space::sMax ( ) const
inline

Definition at line 48 of file HSV_Space.h.

double const& meow::HSVf_Space::sMin ( ) const
inline

Definition at line 44 of file HSV_Space.h.

double const& meow::HSVf_Space::v ( ) const
inline

Definition at line 53 of file HSV_Space.h.

double const& meow::HSVf_Space::v ( double  c)
inline

Definition at line 57 of file HSV_Space.h.

double& meow::HSVf_Space::vGet ( )
inline

Definition at line 61 of file HSV_Space.h.

double const& meow::HSVf_Space::vMax ( ) const
inline

Definition at line 49 of file HSV_Space.h.

double const& meow::HSVf_Space::vMin ( ) const
inline

Definition at line 45 of file HSV_Space.h.


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