nuklei::HSVConeColor Class Reference
Inheritance diagram for nuklei::HSVConeColor:
nuklei::Color

Public Types

typedef NUKLEI_UNIQUE_PTR< HSVConeColorptr
 
- Public Types inherited from nuklei::Color
enum  Type { RGB = 0, HSV, HSVCONE, UNKNOWN }
 
typedef NUKLEI_UNIQUE_PTR< Colorptr
 

Public Member Functions

 HSVConeColor (appear_t sch, appear_t ssh, appear_t weightedValue, appear_t valueWeight=1)
 
 HSVConeColor (const Vector3 &c, appear_t valueWeight=1)
 
 HSVConeColor (const Color &c)
 
NUKLEI_UNIQUE_PTR< Colorclone () const
 
NUKLEI_UNIQUE_PTR< Colorcreate () const
 
void assertConsistency () const
 
appear_tSCosH ()
 
appear_t SCosH () const
 
appear_tSSinH ()
 
appear_t SSinH () const
 
appear_tWV ()
 
appear_t WV () const
 
appear_tW ()
 
appear_t W () const
 
Vector3 getHSVCone () const
 
void setHSVCone (const Vector3 &c)
 
appear_t getValueWeight () const
 
void setValueWeight (const appear_t &valueWeight)
 
appear_tat (unsigned i)
 
appear_t at (unsigned i) const
 
appear_t distanceTo (const Color &c) const
 
appear_t distanceTo (const HSVConeColor &hsvc) const
 
appear_t getMaxDist () const
 
void makeRandom ()
 
GVector getVector () const
 
void setVector (const GVector &v)
 

Static Public Attributes

static const appear_t MAX_DIST = 2.000001
 
- Static Public Attributes inherited from nuklei::Color
static const Type defaultType = RGB
 
static const std::string TypeNames [] = { "rgb", "hsv", "hsvcone", "unknown" }
 

Friends

class NUKLEI_SERIALIZATION_FRIEND_CLASSNAME
 

Detailed Description

Definition at line 190 of file Color.h.


The documentation for this class was generated from the following files:
© Copyright 2007-2013 Renaud Detry.
Distributed under the terms of the GNU General Public License (GPL).
(See accompanying file LICENSE.txt or copy at http://www.gnu.org/copyleft/gpl.html.)
Revised Sun Sep 13 2020 19:10:09.