FemViewer::ColorRGB Class Reference

#include <Color.h>

Inheritance diagram for FemViewer::ColorRGB:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ColorRGB (float r=0.0f, float g=0.0f, float b=0.0f)
 ColorRGB (const float *col)
 operator float * ()
 ColorRGB (const ColorRGB &refCol)
virtual ~ColorRGB ()
void SetInterp (const ColorRGB &a, const ColorRGB &b, const double interp)
ColorRGBoperator= (const ColorRGB &col)
void outcolor (const char *name) const

Public Attributes

float R
float G
float B

Protected Member Functions

virtual void Clump2float ()

Friends

std::ostream & operator<< (std::ostream &os, const ColorRGB &rhs)

Constructor & Destructor Documentation

FemViewer::ColorRGB::ColorRGB ( float  r = 0.0f,
float  g = 0.0f,
float  b = 0.0f 
) [inline, explicit]

Here is the call graph for this function:

FemViewer::ColorRGB::ColorRGB ( const float *  col  )  [inline, explicit]
FemViewer::ColorRGB::ColorRGB ( const ColorRGB refCol  ) 

Here is the call graph for this function:

virtual FemViewer::ColorRGB::~ColorRGB (  )  [inline, virtual]

Member Function Documentation

void FemViewer::ColorRGB::Clump2float (  )  [protected, virtual]

Here is the caller graph for this function:

FemViewer::ColorRGB::operator float * (  )  [inline]
ColorRGB & FemViewer::ColorRGB::operator= ( const ColorRGB col  ) 

Reimplemented in FemViewer::ColorRGBA.

void FemViewer::ColorRGB::outcolor ( const char *  name  )  const
void FemViewer::ColorRGB::SetInterp ( const ColorRGB a,
const ColorRGB b,
const double  interp 
) [inline]

Here is the caller graph for this function:


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const ColorRGB rhs 
) [friend]

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1