vector4d.h File Reference

Namespaces

 maxon
 
 maxon::ColorTable
 

Macros

#define MAXON_VECTORMODE
 
#define STRIDE
 

Typedefs

using Vector4d32 = Vec4< Float32, 1 >
 
using Vector4d64 = Vec4< Float64, 1 >
 
using Vector4d = Vec4< Float, 1 >
 
using IntVector4d32 = Vec4< Int32, 1 >
 
using IntVector4d64 = Vec4< Int64, 1 >
 
using IntVector4d = Vec4< Int, 1 >
 
using ColorA32 = Col4< Float32, 1 >
 
using ColorA64 = Col4< Float64, 1 >
 
using ColorA = Col4< Float, 1 >
 
using GenericVector4d = Vec4< GenericArithmetic, 1 >
 

Functions

ColorA White (Float alpha=1.0)
 
ColorA LightGray (Float alpha=1.0)
 
ColorA LightRed (Float alpha=1.0)
 
ColorA LightOrange (Float alpha=1.0)
 
ColorA LightYellow (Float alpha=1.0)
 
ColorA LightGreen (Float alpha=1.0)
 
ColorA LightBlue (Float alpha=1.0)
 
ColorA LightPurple (Float alpha=1.0)
 
ColorA LightMagenta (Float alpha=1.0)
 
ColorA Gray (Float alpha=1.0)
 
ColorA Red (Float alpha=1.0)
 
ColorA Orange (Float alpha=1.0)
 
ColorA Yellow (Float alpha=1.0)
 
ColorA Green (Float alpha=1.0)
 
ColorA Blue (Float alpha=1.0)
 
ColorA BlueMedium (Float alpha=1.0)
 
ColorA Cyan (Float alpha=1.0)
 
ColorA Purple (Float alpha=1.0)
 
ColorA Magenta (Float alpha=1.0)
 
ColorA Black (Float alpha=1.0)
 
ColorA DarkGray (Float alpha=1.0)
 
ColorA DarkRed (Float alpha=1.0)
 
ColorA DarkOrange (Float alpha=1.0)
 
ColorA DarkYellow (Float alpha=1.0)
 
ColorA DarkGreen (Float alpha=1.0)
 
ColorA DarkBlue (Float alpha=1.0)
 
ColorA DarkPurple (Float alpha=1.0)
 
ColorA DarkMagenta (Float alpha=1.0)
 
ColorA Transparent ()
 
MAXON_ATTRIBUTE_FORCE_INLINE ColorA IntToColor (UInt r, UInt g, UInt b, UInt a)
 
MAXON_ATTRIBUTE_FORCE_INLINE ColorA IntToColor (UInt r, UInt g, UInt b)
 
MAXON_ATTRIBUTE_FORCE_INLINE ColorA FloatToColor (Float r, Float g, Float b, Float a)
 
MAXON_ATTRIBUTE_FORCE_INLINE ColorA FloatToColor (Float r, Float g, Float b)
 
MAXON_ATTRIBUTE_FORCE_INLINE ColorA ColorSetAlpha (const ColorA &col, Float alpha)
 
MAXON_ATTRIBUTE_FORCE_INLINE ColorA ColorMultiplyAlpha (const ColorA &col, Float alpha)
 
MAXON_ATTRIBUTE_FORCE_INLINE Color BlendColors (const Color &col1, const Color &col2, Float alpha)
 
MAXON_ATTRIBUTE_FORCE_INLINE ColorA BlendColors (const ColorA &col1, const ColorA &col2, Float alpha)
 
MAXON_ATTRIBUTE_FORCE_INLINE ColorA BlendColor (const ColorA &col1, const ColorA &col2, const Float blendValue)
 
MAXON_ATTRIBUTE_FORCE_INLINE Float GetPerceivedBrightness (const ColorA &color)
 
MAXON_ATTRIBUTE_FORCE_INLINE Bool IsColorPerceivedAsDark (const ColorA &color)
 

Variables

static const Float PERCEIVED_BRIGHTNESS_FACTOR_RED
 
static const Float PERCEIVED_BRIGHTNESS_FACTOR_GREEN
 
static const Float PERCEIVED_BRIGHTNESS_FACTOR_BLUE
 
static const Float PERCEIVED_BRIGHTNESS_CUTOFF
 

Macro Definition Documentation

◆ MAXON_VECTORMODE

#define MAXON_VECTORMODE

◆ STRIDE

#define STRIDE