3Depict
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
ColourRGBAf Class Reference

#include <basics.h>

Public Member Functions

 ColourRGBAf ()
 
 ColourRGBAf (float, float, float)
 
 ColourRGBAf (float, float, float, float)
 
float r () const
 
float g () const
 
float b () const
 
float a () const
 
void r (float)
 
void g (float)
 
void b (float)
 
void a (float)
 
ColourRGBAf interpolate (float delta, const ColourRGBAf &other)
 
ColourRGBA toColourRGBA () const
 
RGBf toRGBf () const
 
bool operator== (const ColourRGBA &oth) const
 
bool operator!= (const ColourRGBA &oth) const
 
bool operator== (const ColourRGBAf &oth) const
 
bool operator!= (const ColourRGBAf &oth) const
 
bool operator== (const RGBf &oth) const
 
void operator= (const RGBf &oth)
 
float & operator[] (unsigned int idx)
 
float at (unsigned int idx) const
 

Constructor & Destructor Documentation

◆ ColourRGBAf() [1/3]

ColourRGBAf::ColourRGBAf ( )

◆ ColourRGBAf() [2/3]

ColourRGBAf::ColourRGBAf ( float  r,
float  g,
float  b 
)

◆ ColourRGBAf() [3/3]

ColourRGBAf::ColourRGBAf ( float  r,
float  g,
float  b,
float  a 
)

Member Function Documentation

◆ a() [1/2]

float ColourRGBAf::a ( ) const

◆ a() [2/2]

void ColourRGBAf::a ( float  v)

References ASSERT, and ColourRGBA::data.

◆ at()

float ColourRGBAf::at ( unsigned int  idx) const

References ColourRGBA::data.

Referenced by ColourRGBA::operator==().

Here is the caller graph for this function:

◆ b() [1/2]

float ColourRGBAf::b ( ) const

◆ b() [2/2]

void ColourRGBAf::b ( float  v)

References ASSERT, and ColourRGBA::data.

◆ g() [1/2]

float ColourRGBAf::g ( ) const

◆ g() [2/2]

void ColourRGBAf::g ( float  v)

References ASSERT, and ColourRGBA::data.

◆ interpolate()

ColourRGBAf ColourRGBAf::interpolate ( float  delta,
const ColourRGBAf other 
)

References ColourRGBA::data.

Referenced by InterpData::getInterpolatedData().

Here is the caller graph for this function:

◆ operator!=() [1/2]

bool ColourRGBAf::operator!= ( const ColourRGBA oth) const

◆ operator!=() [2/2]

bool ColourRGBAf::operator!= ( const ColourRGBAf oth) const

◆ operator=()

void ColourRGBAf::operator= ( const RGBf oth)

◆ operator==() [1/3]

bool ColourRGBAf::operator== ( const ColourRGBA oth) const

◆ operator==() [2/3]

bool ColourRGBAf::operator== ( const ColourRGBAf oth) const

References ColourRGBA::data.

◆ operator==() [3/3]

bool ColourRGBAf::operator== ( const RGBf oth) const

◆ operator[]()

float & ColourRGBAf::operator[] ( unsigned int  idx)

References ASSERT, and ColourRGBA::data.

◆ r() [1/2]

float ColourRGBAf::r ( ) const

◆ r() [2/2]

void ColourRGBAf::r ( float  v)

References ASSERT, and ColourRGBA::data.

◆ toColourRGBA()

ColourRGBA ColourRGBAf::toColourRGBA ( ) const

◆ toRGBf()

RGBf ColourRGBAf::toRGBf ( ) const

References RGBf::blue, ColourRGBA::data, RGBf::green, and RGBf::red.

Referenced by RangeFileFilter::readState(), and RangeFileFilter::setProperty().

Here is the caller graph for this function:

The documentation for this class was generated from the following files: