38 :
agx::Vec4f( 0.f, 0.f, 0.f, 1.f ) {}
41 explicit Color(
float r,
float g,
float b,
float a = 1.f )
46 :
agx::Vec4f(color[0], color[1], color[2],
a) {}
77 return agx::Vec4d( (
double)
r(), (
double)
g(), (
double)
b(), (
double)
a() );
#define AGXPHYSICS_EXPORT
Utility color class with "common colors".
static AGXPHYSICS_EXPORT size_t getNumColors()
static agxRender::Color SaddleBrown()
static agxRender::Color Beige()
static agxRender::Color OldLace()
static agxRender::Color OliveDrab()
static agxRender::Color Khaki()
static agxRender::Color MediumAquamarine()
static agxRender::Color LightGray()
static agxRender::Color LawnGreen()
static agxRender::Color MediumSeaGreen()
static agxRender::Color Plum()
static agxRender::Color Goldenrod()
static agxRender::Color OrangeRed()
static agxRender::Color DarkSalmon()
static agxRender::Color LightCyan()
static agxRender::Color NavajoWhite()
static agxRender::Color LavenderBlush()
static agxRender::Color DarkMagenta()
Color(const agx::Vec3f &color, float a=1.f)
Constructor.
static agxRender::Color PaleTurquoise()
static agxRender::Color GhostWhite()
static agxRender::Color PowderBlue()
static agxRender::Color SeaGreen()
static agxRender::Color Violet()
static agxRender::Color Moccasin()
static agxRender::Color AliceBlue()
static agxRender::Color Chocolate()
static agxRender::Color Tan()
static agxRender::Color Red()
static agxRender::Color Orange()
static agxRender::Color Firebrick()
static agxRender::Color Blue()
static agxRender::Color Black()
static agxRender::Color SkyBlue()
static agxRender::Color MediumBlue()
static agxRender::Color Sienna()
static agxRender::Color SpringGreen()
static agxRender::Color LightGoldenrodYellow()
static agxRender::Color Cyan()
Color()
Default constructor. Set color to 0,0,0,1.
static agxRender::Color VioletRed()
static agxRender::Color Brown()
static agxRender::Color LimeGreen()
static agxRender::Color Orchid()
static agxRender::Color Turquoise()
static AGXPHYSICS_EXPORT Color RGBToHSV(const Color &rgb)
Convert a rgb color to HSV.
static agxRender::Color LightSalmon()
static agxRender::Color Gainsboro()
static agxRender::Color BlueViolet()
static agxRender::Color Linen()
static agxRender::Color DarkRed()
static agxRender::Color DarkSlateBlue()
AGXPHYSICS_EXPORT void fromHSV(float h, float s, float v)
Set the color as HSV (Hue, Saturation, Value)
static agxRender::Color Fuschia()
static agxRender::Color MediumPurple()
static agxRender::Color LemonChiffon()
static agxRender::Color Teal()
static agxRender::Color Ivory()
static agxRender::Color DarkSlateGray()
static agxRender::Color DarkCyan()
static agxRender::Color Wheat()
static agxRender::Color AntiqueWhite()
static agxRender::Color PaleGreen()
static agxRender::Color Burlywood()
static agxRender::Color CadetBlue()
static agxRender::Color DarkOrchid()
static agxRender::Color SandyBrown()
static agxRender::Color LightPink()
static agxRender::Color Peru()
static agxRender::Color DarkTurquoise()
static agxRender::Color Azure()
static agxRender::Color DodgerBlue()
static agxRender::Color Snow()
static agxRender::Color Honeydew()
static agxRender::Color LightCoral()
static agxRender::Color DarkOrange()
static agxRender::Color DarkSeaGreen()
static agxRender::Color LightYellow()
static agxRender::Color YellowGreen()
static agxRender::Color MidnightBlue()
AGXPHYSICS_EXPORT Color asHSV() const
static agxRender::Color MediumVioletRed()
static agxRender::Color DeepSkyBlue()
static agxRender::Color LightSeaGreen()
static agxRender::Color Tomato()
static agxRender::Color Bisque()
static agxRender::Color BlanchedAlmond()
static agxRender::Color Gray()
Color(float r, float g, float b, float a=1.f)
Constructor.
static agxRender::Color Yellow()
static agxRender::Color Pink()
static agxRender::Color DarkViolet()
static AGXPHYSICS_EXPORT agxRender::Color getColor(size_t)
static agxRender::Color GreenYellow()
static agxRender::Color Seashell()
static agxRender::Color LightBlue()
static agxRender::Color PaleVioletRed()
static AGXPHYSICS_EXPORT Color HSVToRGB(const Color &rgb)
Convert a HSV color to RGB.
static agxRender::Color Magenta()
static agxRender::Color Cornsilk()
static agxRender::Color HotPink()
static agxRender::Color PaleGoldenrod()
static agxRender::Color MintCream()
static agxRender::Color SlateBlue()
static agxRender::Color DimGray()
static agxRender::Color Maroon()
static agxRender::Color PeachPuff()
static agxRender::Color Gold()
static agxRender::Color SlateGray()
static agxRender::Color Coral()
static agxRender::Color Green()
static agxRender::Color LightSteelBlue()
static agxRender::Color White()
static agxRender::Color DarkOliveGreen()
static agxRender::Color CornflowerBlue()
static agxRender::Color MediumSlateBlue()
static agxRender::Color Olive()
static agxRender::Color Aquamarine()
static agxRender::Color LightSlateGray()
static agxRender::Color IndianRed()
static agxRender::Color Silver()
static agxRender::Color MistyRose()
static agxRender::Color Navy()
static agxRender::Color DeepPink()
static agxRender::Color Salmon()
static agxRender::Color Aqua()
static agxRender::Color RosyBrown()
static agxRender::Color DarkGoldenrod()
static agxRender::Color MediumOrchid()
static agxRender::Color MediumSpringGreen()
static agxRender::Color LightGreen()
static agxRender::Color ForestGreen()
Color(float c)
Constructor which set all elements of color to c.
static agxRender::Color FloralWhite()
static agxRender::Color MediumTurquoise()
static agxRender::Color DarkGray()
static agxRender::Color SteelBlue()
static agxRender::Color RoyalBlue()
static agxRender::Color Lime()
static agxRender::Color DarkBlue()
static agxRender::Color LightSkyBlue()
static agxRender::Color PapayaWhip()
static agxRender::Color LightGoldenrod()
static agxRender::Color DarkKhaki()
static agxRender::Color Thistle()
static agxRender::Color Purple()
static agxRender::Color WhiteSmoke()
static agxRender::Color Chartreuse()
static agxRender::Color LightSlateBlue()
AGXPHYSICS_EXPORT void fromHSV(const Color &hsv)
static agxRender::Color Lavender()
static agxRender::Color DarkGreen()
A class holding 4 dimensional vectors and providing basic arithmetic.
Namespace containing classes for handling debug rendering of collision geometries,...
agx::Vector< Color > ColorVector
The agx namespace contains the dynamics/math part of the AGX Dynamics API.