This is a simple class for holding 4 reals representing the colour any give object or lightsource can have. More...
#include <colourvalue.h>
Public Member Functions | |
ColourValue (Real Red=1.0, Real Green=1.0, Real Blue=1.0, Real Alpha=1.0) | |
4 Reals constructor. More... | |
ColourValue (const Ogre::ColourValue &OgreValues) | |
Ogre constructor. More... | |
ColourValue (const ColourValue &OtherColour) | |
Copy Constructor. More... | |
ColourValue (const XML::Node &OneNode) | |
XML Constructor. More... | |
~ColourValue () | |
Class destructor. | |
ColourValue | Average (const ColourValue &OtherColor) const |
Get the color that is the average of this and another color. More... | |
Real | GetAlphaChannel () const |
Retrieve the Alpha color component. More... | |
Real | GetBlueChannel () const |
Retrieve the Blue color component. More... | |
Real | GetGreenChannel () const |
Retrieve the Green color component. More... | |
Ogre::ColourValue | GetOgreColourValue () const |
Creates and returns an Ogre ColourValue class with values equal to this one. More... | |
Real | GetRedChannel () const |
Retrieve the Red color component. More... | |
bool | operator!= (const ColourValue &Colour) const |
Inequality Comparison Operator. More... | |
void | operator= (const ColourValue &OtherColour) |
Assignment operator. More... | |
bool | operator== (const ColourValue &Colour) const |
Equality Comparison Operator. More... | |
void | ProtoDeSerialize (const XML::Node &OneNode) |
Take the data stored in an XML and overwrite this instance of this object with it. More... | |
void | ProtoSerialize (XML::Node &CurrentRoot) const |
Convert this class to an XML::Node ready for serialization. More... | |
void | SetAlphaChannel (const Real &Alpha) |
Set the Alpha component of this color. More... | |
void | SetBlueChannel (const Real &Blue) |
Set the Blue component of this color. More... | |
void | SetGreenChannel (const Real &Green) |
Set the Green component of this color. More... | |
void | SetRedChannel (const Real &Red) |
Set the Red component of this color. More... | |
Static Public Member Functions | |
static ColourValue | AliceBlue () |
Creates a ColourValue representing the colour AliceBlue. More... | |
static ColourValue | AntiqueWhite () |
Creates a ColourValue representing the colour AntiqueWhite. More... | |
static ColourValue | Aqua () |
Creates a ColourValue representing the colour Aqua. More... | |
static ColourValue | Aquamarine () |
Creates a ColourValue representing the colour Aquamarine. More... | |
static ColourValue | Azure () |
Creates a ColourValue representing the colour Azure. More... | |
static ColourValue | Beige () |
Creates a ColourValue representing the colour Beige. More... | |
static ColourValue | Bisque () |
Creates a ColourValue representing the colour Bisque. More... | |
static ColourValue | Black () |
Creates a ColourValue representing the colour Black. More... | |
static ColourValue | Blanchedalmond () |
Creates a ColourValue representing the colour Blanchedalmond. More... | |
static ColourValue | Blue () |
Creates a ColourValue representing the colour Blue. More... | |
static ColourValue | BlueViolet () |
Creates a ColourValue representing the colour BlueViolet. More... | |
static ColourValue | Brown () |
Creates a ColourValue representing the colour Brown. More... | |
static ColourValue | BurlyWood () |
Creates a ColourValue representing the colour BurlyWood. More... | |
static ColourValue | CadetBlue () |
Creates a ColourValue representing the colour CadetBlue. More... | |
static ColourValue | Chartreuse () |
Creates a ColourValue representing the colour Chartreuse. More... | |
static ColourValue | Chocolate () |
Creates a ColourValue representing the colour Chocolate. More... | |
static ColourValue | Coral () |
Creates a ColourValue representing the colour Coral. More... | |
static ColourValue | CornFlowerBlue () |
Creates a ColourValue representing the colour CornFlowerBlue. More... | |
static ColourValue | CornSilk () |
Creates a ColourValue representing the colour CornSilk. More... | |
static ColourValue | Crimson () |
Creates a ColourValue representing the colour Crimson. More... | |
static ColourValue | Cyan () |
Creates a ColourValue representing the colour Cyan. More... | |
static ColourValue | DarkBlue () |
Creates a ColourValue representing the colour DarkBlue. More... | |
static ColourValue | DarkCyan () |
Creates a ColourValue representing the colour DarkCyan. More... | |
static ColourValue | DarkGoldenRod () |
Creates a ColourValue representing the colour DarkGoldenRod. More... | |
static ColourValue | DarkGray () |
Creates a ColourValue representing the colour DarkGray. More... | |
static ColourValue | DarkGreen () |
Creates a ColourValue representing the colour DarkGreen. More... | |
static ColourValue | DarkKhaki () |
Creates a ColourValue representing the colour DarkKhaki. More... | |
static ColourValue | DarkMagenta () |
Creates a ColourValue representing the colour DarkMagenta. More... | |
static ColourValue | DarkOliveGreen () |
Creates a ColourValue representing the colour DarkOliveGreen. More... | |
static ColourValue | DarkOrange () |
Creates a ColourValue representing the colour DarkOrange. More... | |
static ColourValue | DarkOrchid () |
Creates a ColourValue representing the colour DarkOrchid. More... | |
static ColourValue | DarkRed () |
Creates a ColourValue representing the colour DarkRed. More... | |
static ColourValue | DarkSalmon () |
Creates a ColourValue representing the colour DarkSalmon. More... | |
static ColourValue | DarkSeaGreen () |
Creates a ColourValue representing the colour DarkSeaGreen. More... | |
static ColourValue | DarkSlateBlue () |
Creates a ColourValue representing the colour DarkSlateBlue. More... | |
static ColourValue | DarkSlateGray () |
Creates a ColourValue representing the colour DarkSlateGray. More... | |
static ColourValue | DarkTurquoise () |
Creates a ColourValue representing the colour DarkTurquoise. More... | |
static ColourValue | DarkViolet () |
Creates a ColourValue representing the colour DarkViolet. More... | |
static ColourValue | DeepPink () |
Creates a ColourValue representing the colour DeepPink. More... | |
static ColourValue | DeepSkyBlue () |
Creates a ColourValue representing the colour DeepSkyBlue. More... | |
static ColourValue | DimGray () |
Creates a ColourValue representing the colour DimGray. More... | |
static ColourValue | DodgerBlue () |
Creates a ColourValue representing the colour DodgerBlue. More... | |
static ColourValue | FireBrick () |
Creates a ColourValue representing the colour FireBrick. More... | |
static ColourValue | FloralWhite () |
Creates a ColourValue representing the colour FloralWhite. More... | |
static ColourValue | ForestGreen () |
Creates a ColourValue representing the colour ForestGreen. More... | |
static ColourValue | Fuchsia () |
Creates a ColourValue representing the colour Fuchsia. More... | |
static ColourValue | Gainsboro () |
Creates a ColourValue representing the colour Gainsboro. More... | |
static ColourValue | GhostWhite () |
Creates a ColourValue representing the colour GhostWhite. More... | |
static ColourValue | Gold () |
Creates a ColourValue representing the colour Gold. More... | |
static ColourValue | GoldenRod () |
Creates a ColourValue representing the colour GoldenRod. More... | |
static ColourValue | Gray () |
Creates a ColourValue representing the colour Gray. More... | |
static ColourValue | Green () |
Creates a ColourValue representing the colour Green. More... | |
static ColourValue | GreenYellow () |
Creates a ColourValue representing the colour GreenYellow. More... | |
static ColourValue | HoneyDew () |
Creates a ColourValue representing the colour HoneyDew. More... | |
static ColourValue | HotPink () |
Creates a ColourValue representing the colour HotPink. More... | |
static ColourValue | IndianRed () |
Creates a ColourValue representing the colour IndianRed. More... | |
static ColourValue | Indigo () |
Creates a ColourValue representing the colour Indigo. More... | |
static ColourValue | Ivory () |
Creates a ColourValue representing the colour Ivory. More... | |
static ColourValue | Khaki () |
Creates a ColourValue representing the colour Khaki. More... | |
static ColourValue | Lavender () |
Creates a ColourValue representing the colour Lavender. More... | |
static ColourValue | LavenderBlush () |
Creates a ColourValue representing the colour LavenderBlush. More... | |
static ColourValue | LawnGreen () |
Creates a ColourValue representing the colour LawnGreen. More... | |
static ColourValue | LemonChiffon () |
Creates a ColourValue representing the colour LemonChiffon. More... | |
static ColourValue | LightBlue () |
Creates a ColourValue representing the colour LightBlue. More... | |
static ColourValue | LightCoral () |
Creates a ColourValue representing the colour LightCoral. More... | |
static ColourValue | LightCyan () |
Creates a ColourValue representing the colour LightCyan. More... | |
static ColourValue | LightGoldenRodYellow () |
Creates a ColourValue representing the colour LightGoldenRodYellow. More... | |
static ColourValue | LightGray () |
Creates a ColourValue representing the colour LightGray. More... | |
static ColourValue | LightGreen () |
Creates a ColourValue representing the colour LightGreen. More... | |
static ColourValue | LightPink () |
Creates a ColourValue representing the colour LightPink. More... | |
static ColourValue | LightSalmon () |
Creates a ColourValue representing the colour LightSalmon. More... | |
static ColourValue | LightSeaGreen () |
Creates a ColourValue representing the colour LightSeaGreen. More... | |
static ColourValue | LightSkyBlue () |
Creates a ColourValue representing the colour LightSkyBlue. More... | |
static ColourValue | LightSlateGray () |
Creates a ColourValue representing the colour LightSlateGray. More... | |
static ColourValue | LightSteelBlue () |
Creates a ColourValue representing the colour LightSteelBlue. More... | |
static ColourValue | LightYellow () |
Creates a ColourValue representing the colour LightYellow. More... | |
static ColourValue | Lime () |
Creates a ColourValue representing the colour Lime. More... | |
static ColourValue | LimeGreen () |
Creates a ColourValue representing the colour LimeGreen. More... | |
static ColourValue | Linen () |
Creates a ColourValue representing the colour Linen. More... | |
static ColourValue | Magenta () |
Creates a ColourValue representing the colour Magenta. More... | |
static ColourValue | Maroon () |
Creates a ColourValue representing the colour Maroon. More... | |
static ColourValue | MediumAquamarine () |
Creates a ColourValue representing the colour MediumAquamarine. More... | |
static ColourValue | MediumBlue () |
Creates a ColourValue representing the colour MediumBlue. More... | |
static ColourValue | MediumOrchid () |
Creates a ColourValue representing the colour MediumOrchid. More... | |
static ColourValue | MediumPurple () |
Creates a ColourValue representing the colour MediumPurple. More... | |
static ColourValue | MediumSeaGreen () |
Creates a ColourValue representing the colour MediumSeaGreen. More... | |
static ColourValue | MediumSlateBlue () |
Creates a ColourValue representing the colour MediumSlateBlue. More... | |
static ColourValue | MediumSpringGreen () |
Creates a ColourValue representing the colour MediumSpringGreen. More... | |
static ColourValue | MediumTurquoise () |
Creates a ColourValue representing the colour MediumTurquoise. More... | |
static ColourValue | MediumVioletRed () |
Creates a ColourValue representing the colour MediumVioletRed. More... | |
static ColourValue | MidnightBlue () |
Creates a ColourValue representing the colour MidnightBlue. More... | |
static ColourValue | MintCream () |
Creates a ColourValue representing the colour MintCream. More... | |
static ColourValue | MistyRose () |
Creates a ColourValue representing the colour MistyRose. More... | |
static ColourValue | Moccasin () |
Creates a ColourValue representing the colour Moccasin. More... | |
static ColourValue | NavajoWhite () |
Creates a ColourValue representing the colour NavajoWhite. More... | |
static ColourValue | Navy () |
Creates a ColourValue representing the colour Navy. More... | |
static ColourValue | OldLace () |
Creates a ColourValue representing the colour OldLace. More... | |
static ColourValue | Olive () |
Creates a ColourValue representing the colour Olive. More... | |
static ColourValue | OliveDrab () |
Creates a ColourValue representing the colour OliveDrab. More... | |
static ColourValue | Orange () |
Creates a ColourValue representing the colour Orange. More... | |
static ColourValue | OrangeRed () |
Creates a ColourValue representing the colour OrangeRed. More... | |
static ColourValue | Orchid () |
Creates a ColourValue representing the colour Orchid. More... | |
static ColourValue | PaleGoldenRod () |
Creates a ColourValue representing the colour PaleGoldenRod. More... | |
static ColourValue | PaleGreen () |
Creates a ColourValue representing the colour PaleGreen. More... | |
static ColourValue | PaleTurquoise () |
Creates a ColourValue representing the colour PaleTurquoise. More... | |
static ColourValue | PaleVioletRed () |
Creates a ColourValue representing the colour PaleVioletRed. More... | |
static ColourValue | PapayaWhip () |
Creates a ColourValue representing the colour PapayaWhip. More... | |
static ColourValue | PeachPuff () |
Creates a ColourValue representing the colour PeachPuff. More... | |
static ColourValue | Peru () |
Creates a ColourValue representing the colour Peru. More... | |
static ColourValue | Pink () |
Creates a ColourValue representing the colour Pink. More... | |
static ColourValue | Plum () |
Creates a ColourValue representing the colour Plum. More... | |
static ColourValue | PowderBlue () |
Creates a ColourValue representing the colour PowderBlue. More... | |
static ColourValue | Purple () |
Creates a ColourValue representing the colour Purple. More... | |
static ColourValue | Red () |
Creates a ColourValue representing the colour Red. More... | |
static ColourValue | RosyBrown () |
Creates a ColourValue representing the colour RosyBrown. More... | |
static ColourValue | RoyalBlue () |
Creates a ColourValue representing the colour RoyalBlue. More... | |
static ColourValue | SaddleBrown () |
Creates a ColourValue representing the colour SaddleBrown. More... | |
static ColourValue | Salmon () |
Creates a ColourValue representing the colour Salmon. More... | |
static ColourValue | SandyBrown () |
Creates a ColourValue representing the colour SandyBrown. More... | |
static ColourValue | SeaGreen () |
Creates a ColourValue representing the colour SeaGreen. More... | |
static ColourValue | SeaShell () |
Creates a ColourValue representing the colour SeaShell. More... | |
static String | SerializableName () |
Get the name of the the XML tag this class will leave behind as its instances are serialized. More... | |
static ColourValue | Sienna () |
Creates a ColourValue representing the colour Sienna. More... | |
static ColourValue | Silver () |
Creates a ColourValue representing the colour Silver. More... | |
static ColourValue | SkyBlue () |
Creates a ColourValue representing the colour SkyBlue. More... | |
static ColourValue | SlateBlue () |
Creates a ColourValue representing the colour SlateBlue. More... | |
static ColourValue | SlateGray () |
Creates a ColourValue representing the colour SlateGray. More... | |
static ColourValue | Snow () |
Creates a ColourValue representing the colour Snow. More... | |
static ColourValue | SpringGreen () |
Creates a ColourValue representing the colour SpringGreen. More... | |
static ColourValue | SteelBlue () |
Creates a ColourValue representing the colour SteelBlue. More... | |
static ColourValue | Tan () |
Creates a ColourValue representing the colour Tan. More... | |
static ColourValue | Teal () |
Creates a ColourValue representing the colour Teal. More... | |
static ColourValue | Thistle () |
Creates a ColourValue representing the colour Thistle. More... | |
static ColourValue | Tomato () |
Creates a ColourValue representing the colour Tomato. More... | |
static ColourValue | Transparent () |
Creates a ColourValue representing no colour. More... | |
static ColourValue | Turquoise () |
Creates a ColourValue representing the colour Turquoise. More... | |
static ColourValue | Violet () |
Creates a ColourValue representing the colour Violet. More... | |
static ColourValue | Wheat () |
Creates a ColourValue representing the colour Wheat. More... | |
static ColourValue | White () |
Creates a ColourValue representing the colour White. More... | |
static ColourValue | WhiteSmoke () |
Creates a ColourValue representing the colour WhiteSmoke. More... | |
static ColourValue | Yellow () |
Creates a ColourValue representing the colour Yellow. More... | |
static ColourValue | YellowGreen () |
Creates a ColourValue representing the colour YellowGreen. More... | |
Public Attributes | |
Real | AlphaChannel |
Value from 0.0 to 1.0 representing the transparency of the colours. 1.0 is opaque and 0.0 is clear. More... | |
Real | BlueChannel |
Value from 0.0 to 1.0 representing the amount of blue present in the colour. 1.0 if very blue, 0.0 is no blue. More... | |
Real | GreenChannel |
Value from 0.0 to 1.0 representing the amount of green present in the colour. 1.0 if very green, 0.0 is no green. More... | |
Real | RedChannel |
Value from 0.0 to 1.0 representing the amount of red present in the colour. 1.0 if very red, 0.0 is no red. More... | |
This is a simple class for holding 4 reals representing the colour any give object or lightsource can have.
Definition at line 64 of file colourvalue.h.
Mezzanine::ColourValue::ColourValue | ( | Real | Red = 1.0 , |
Real | Green = 1.0 , |
||
Real | Blue = 1.0 , |
||
Real | Alpha = 1.0 |
||
) |
4 Reals constructor.
This constructor allows you to set any values, if unset, they default to 1.0.
Red | Real representing the amount of red present in the colour. |
Green | Real representing the amount of green present in the colour. |
Blue | Real representing the amount of blue present in the colour. |
Alpha | Real representing the transparency of the colours. |
Definition at line 53 of file colourvalue.cpp.
Mezzanine::ColourValue::ColourValue | ( | const Ogre::ColourValue & | OgreValues) |
Ogre constructor.
Internal use only. Constructs a colourvalue class from an ogre colourvalue.
OgreValues | The Ogre ColourValue class to base this class on. |
Definition at line 61 of file colourvalue.cpp.
Mezzanine::ColourValue::ColourValue | ( | const ColourValue & | OtherColour) |
Mezzanine::ColourValue::ColourValue | ( | const XML::Node & | OneNode) |
XML Constructor.
OneNode | The XML node to deserialize from. |
Definition at line 77 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour AliceBlue.
Definition at line 157 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour AntiqueWhite.
Definition at line 160 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Aqua.
Definition at line 163 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Aquamarine.
Definition at line 166 of file colourvalue.cpp.
ColourValue Mezzanine::ColourValue::Average | ( | const ColourValue & | OtherColor) | const |
Get the color that is the average of this and another color.
OtherColor | The other color to average with. |
Definition at line 123 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Azure.
Definition at line 169 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Beige.
Definition at line 172 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Bisque.
Definition at line 175 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Black.
Definition at line 178 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Blanchedalmond.
Definition at line 181 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Blue.
Definition at line 184 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour BlueViolet.
Definition at line 187 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Brown.
Definition at line 190 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour BurlyWood.
Definition at line 193 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour CadetBlue.
Definition at line 196 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Chartreuse.
Definition at line 199 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Chocolate.
Definition at line 202 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Coral.
Definition at line 205 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour CornFlowerBlue.
Definition at line 208 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour CornSilk.
Definition at line 211 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Crimson.
Definition at line 214 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Cyan.
Definition at line 217 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour DarkBlue.
Definition at line 220 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour DarkCyan.
Definition at line 223 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour DarkGoldenRod.
Definition at line 226 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour DarkGray.
Definition at line 229 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour DarkGreen.
Definition at line 232 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour DarkKhaki.
Definition at line 235 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour DarkMagenta.
Definition at line 238 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour DarkOliveGreen.
Definition at line 241 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour DarkOrange.
Definition at line 244 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour DarkOrchid.
Definition at line 247 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour DarkRed.
Definition at line 250 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour DarkSalmon.
Definition at line 253 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour DarkSeaGreen.
Definition at line 256 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour DarkSlateBlue.
Definition at line 259 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour DarkSlateGray.
Definition at line 262 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour DarkTurquoise.
Definition at line 265 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour DarkViolet.
Definition at line 268 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour DeepPink.
Definition at line 271 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour DeepSkyBlue.
Definition at line 274 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour DimGray.
Definition at line 277 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour DodgerBlue.
Definition at line 280 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour FireBrick.
Definition at line 283 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour FloralWhite.
Definition at line 286 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour ForestGreen.
Definition at line 289 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Fuchsia.
Definition at line 292 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Gainsboro.
Definition at line 295 of file colourvalue.cpp.
Real Mezzanine::ColourValue::GetAlphaChannel | ( | ) | const |
Retrieve the Alpha color component.
Definition at line 120 of file colourvalue.cpp.
Real Mezzanine::ColourValue::GetBlueChannel | ( | ) | const |
Retrieve the Blue color component.
Definition at line 114 of file colourvalue.cpp.
Real Mezzanine::ColourValue::GetGreenChannel | ( | ) | const |
Retrieve the Green color component.
Definition at line 108 of file colourvalue.cpp.
Ogre::ColourValue Mezzanine::ColourValue::GetOgreColourValue | ( | ) | const |
Creates and returns an Ogre ColourValue class with values equal to this one.
This function is intended for internal use only.
Definition at line 86 of file colourvalue.cpp.
Real Mezzanine::ColourValue::GetRedChannel | ( | ) | const |
Retrieve the Red color component.
Definition at line 102 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour GhostWhite.
Definition at line 298 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Gold.
Definition at line 301 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour GoldenRod.
Definition at line 304 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Gray.
Definition at line 307 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Green.
Definition at line 310 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour GreenYellow.
Definition at line 313 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour HoneyDew.
Definition at line 316 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour HotPink.
Definition at line 319 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour IndianRed.
Definition at line 322 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Indigo.
Definition at line 325 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Ivory.
Definition at line 328 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Khaki.
Definition at line 331 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Lavender.
Definition at line 334 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour LavenderBlush.
Definition at line 337 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour LawnGreen.
Definition at line 340 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour LemonChiffon.
Definition at line 343 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour LightBlue.
Definition at line 346 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour LightCoral.
Definition at line 349 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour LightCyan.
Definition at line 352 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour LightGoldenRodYellow.
Definition at line 355 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour LightGray.
Definition at line 358 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour LightGreen.
Definition at line 361 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour LightPink.
Definition at line 364 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour LightSalmon.
Definition at line 367 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour LightSeaGreen.
Definition at line 370 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour LightSkyBlue.
Definition at line 373 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour LightSlateGray.
Definition at line 376 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour LightSteelBlue.
Definition at line 379 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour LightYellow.
Definition at line 382 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Lime.
Definition at line 385 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour LimeGreen.
Definition at line 388 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Linen.
Definition at line 391 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Magenta.
Definition at line 394 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Maroon.
Definition at line 397 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour MediumAquamarine.
Definition at line 400 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour MediumBlue.
Definition at line 403 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour MediumOrchid.
Definition at line 406 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour MediumPurple.
Definition at line 409 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour MediumSeaGreen.
Definition at line 412 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour MediumSlateBlue.
Definition at line 415 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour MediumSpringGreen.
Definition at line 418 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour MediumTurquoise.
Definition at line 421 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour MediumVioletRed.
Definition at line 424 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour MidnightBlue.
Definition at line 427 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour MintCream.
Definition at line 430 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour MistyRose.
Definition at line 433 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Moccasin.
Definition at line 436 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour NavajoWhite.
Definition at line 439 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Navy.
Definition at line 442 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour OldLace.
Definition at line 445 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Olive.
Definition at line 448 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour OliveDrab.
Definition at line 451 of file colourvalue.cpp.
bool Mezzanine::ColourValue::operator!= | ( | const ColourValue & | Colour) | const |
Inequality Comparison Operator.
Colour | This is another ColourValue to compare with. |
Definition at line 137 of file colourvalue.cpp.
void Mezzanine::ColourValue::operator= | ( | const ColourValue & | OtherColour) |
Assignment operator.
OtherColour | The colour values you want to overwrite this colour's values with. |
Definition at line 140 of file colourvalue.cpp.
bool Mezzanine::ColourValue::operator== | ( | const ColourValue & | Colour) | const |
Equality Comparison Operator.
Colour | This is another ColourValue to compare with. |
Definition at line 134 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Orange.
Definition at line 454 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour OrangeRed.
Definition at line 457 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Orchid.
Definition at line 460 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour PaleGoldenRod.
Definition at line 463 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour PaleGreen.
Definition at line 466 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour PaleTurquoise.
Definition at line 469 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour PaleVioletRed.
Definition at line 472 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour PapayaWhip.
Definition at line 475 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour PeachPuff.
Definition at line 478 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Peru.
Definition at line 481 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Pink.
Definition at line 484 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Plum.
Definition at line 487 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour PowderBlue.
Definition at line 490 of file colourvalue.cpp.
void Mezzanine::ColourValue::ProtoDeSerialize | ( | const XML::Node & | OneNode) |
Take the data stored in an XML and overwrite this instance of this object with it.
OneNode | and XML::Node containing the data. |
Definition at line 604 of file colourvalue.cpp.
void Mezzanine::ColourValue::ProtoSerialize | ( | XML::Node & | CurrentRoot) | const |
Convert this class to an XML::Node ready for serialization.
CurrentRoot | The point in the XML hierarchy that all this quaternion should be appended to. |
Definition at line 580 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Purple.
Definition at line 493 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Red.
Definition at line 496 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour RosyBrown.
Definition at line 499 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour RoyalBlue.
Definition at line 502 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour SaddleBrown.
Definition at line 505 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Salmon.
Definition at line 508 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour SandyBrown.
Definition at line 511 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour SeaGreen.
Definition at line 514 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour SeaShell.
Definition at line 517 of file colourvalue.cpp.
|
static |
Get the name of the the XML tag this class will leave behind as its instances are serialized.
Definition at line 622 of file colourvalue.cpp.
void Mezzanine::ColourValue::SetAlphaChannel | ( | const Real & | Alpha) |
Set the Alpha component of this color.
Red | A Alpha between 0 and 1 signify how much Opaque/Transparent this will color with have. |
Definition at line 117 of file colourvalue.cpp.
void Mezzanine::ColourValue::SetBlueChannel | ( | const Real & | Blue) |
Set the Blue component of this color.
Blue | A Real between 0 and 1 signify how much Blue this will color with have. |
Definition at line 111 of file colourvalue.cpp.
void Mezzanine::ColourValue::SetGreenChannel | ( | const Real & | Green) |
Set the Green component of this color.
Green | A Real between 0 and 1 signify how much Green this will color with have. |
Definition at line 105 of file colourvalue.cpp.
void Mezzanine::ColourValue::SetRedChannel | ( | const Real & | Red) |
Set the Red component of this color.
Red | A Real between 0 and 1 signify how much red this will color with have. |
Definition at line 99 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Sienna.
Definition at line 520 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Silver.
Definition at line 523 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour SkyBlue.
Definition at line 526 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour SlateBlue.
Definition at line 529 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour SlateGray.
Definition at line 532 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Snow.
Definition at line 535 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour SpringGreen.
Definition at line 538 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour SteelBlue.
Definition at line 541 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Tan.
Definition at line 544 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Teal.
Definition at line 547 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Thistle.
Definition at line 550 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Tomato.
Definition at line 553 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing no colour.
Definition at line 151 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Turquoise.
Definition at line 556 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Violet.
Definition at line 559 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Wheat.
Definition at line 562 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour White.
Definition at line 565 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour WhiteSmoke.
Definition at line 568 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour Yellow.
Definition at line 571 of file colourvalue.cpp.
|
static |
Creates a ColourValue representing the colour YellowGreen.
Definition at line 574 of file colourvalue.cpp.
Real Mezzanine::ColourValue::AlphaChannel |
Value from 0.0 to 1.0 representing the transparency of the colours. 1.0 is opaque and 0.0 is clear.
Definition at line 79 of file colourvalue.h.
Real Mezzanine::ColourValue::BlueChannel |
Value from 0.0 to 1.0 representing the amount of blue present in the colour. 1.0 if very blue, 0.0 is no blue.
Definition at line 76 of file colourvalue.h.
Real Mezzanine::ColourValue::GreenChannel |
Value from 0.0 to 1.0 representing the amount of green present in the colour. 1.0 if very green, 0.0 is no green.
Definition at line 73 of file colourvalue.h.
Real Mezzanine::ColourValue::RedChannel |
Value from 0.0 to 1.0 representing the amount of red present in the colour. 1.0 if very red, 0.0 is no red.
Definition at line 70 of file colourvalue.h.