RGBAColor Struct Reference

#include <entity_detail.hh>

Public Member Functions

 RGBAColor ()
 RGBAColor (float r, float g, float b, float a=1.0)
 RGBAColor (const Color &c)
RGBAColoroperator= (const Color &c)
 operator Color () const
 operator float * ()
 operator const float * () const

Data Fields

float rgba [4]

Detailed Description

Definition at line 42 of file entity_detail.hh.


Constructor & Destructor Documentation

RGBAColor (  )  [inline]

Definition at line 43 of file entity_detail.hh.

RGBAColor ( float  r,
float  g,
float  b,
float  a = 1.0 
) [inline]

Definition at line 46 of file entity_detail.hh.

RGBAColor ( const Color c  )  [inline]

Definition at line 49 of file entity_detail.hh.


Member Function Documentation

operator Color (  )  const [inline]

Definition at line 58 of file entity_detail.hh.

operator const float * (  )  const [inline]

Definition at line 61 of file entity_detail.hh.

operator float * (  )  [inline]

Definition at line 60 of file entity_detail.hh.

RGBAColor& operator= ( const Color c  )  [inline]

Definition at line 53 of file entity_detail.hh.


Field Documentation

float rgba[4]

Definition at line 62 of file entity_detail.hh.


The documentation for this struct was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 1 Mar 2018 for OpenStructure by  doxygen 1.6.1