Jive reference manual
List of all members | Public Member Functions | Public Attributes | Protected Member Functions
jem::gl::Palette Class Referenceabstract

#include <jem/gl/Palette.h>

Inheritance diagram for jem::gl::Palette:
Inheritance graph

Public Member Functions

virtual void getColor (Color &col, double val) const =0
 
virtual double findValue (double &val, double prec, const Color &col) const
 
virtual double getMinValue () const =0
 
virtual double getMaxValue () const =0
 
virtual GLfloat getMinAlpha () const =0
 
virtual void makeColorMap (ColorMap &cmap) const
 
virtual void configure (const Properties &props)
 
virtual void getConfig (const Properties &props) const
 
virtual void listProps (const Properties &props) const
 
void render (GfxContext &gtx, const Rect &rect, const String &title, Alignment align, double scale=1.0, double bias=0.0) const
 
virtual void fillRectangle (GfxContext &gtx, GLint width, GLint height) const
 
virtual void drawTickMarks (GfxContext &gtx, TextPainter &txp, GLint width, GLint height, GLint xtick, Alignment align, double scale, double bias) const
 
- Public Member Functions inherited from jem::Object
virtual ClassgetClass () const
 Returns the Class instance representing the runtime class of this object. More...
 
virtual String toString () const
 Returns a short textual description of this object. More...
 
virtual long hashValue () const
 Returns a hash value for this object. More...
 
virtual bool equals (const Ref< Object > &obj) const
 Tests whether two objects are equal. More...
 
Ref< Objectclone () const
 Returns a copy of this object. More...
 

Public Attributes

util::Event< Self & > changeEvent
 

Protected Member Functions

virtual ~Palette ()
 
- Protected Member Functions inherited from jem::Collectable
 Collectable ()
 Creates an empty Collectable. More...
 
 ~Collectable ()
 Frees resources. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from jem::Object
static ClassgetType ()
 Returns the Class instance representing the Object class. More...
 

Constructor & Destructor Documentation

virtual jem::gl::Palette::~Palette ( )
protectedvirtual

Member Function Documentation

virtual void jem::gl::Palette::getColor ( Color col,
double  val 
) const
pure virtual
virtual double jem::gl::Palette::findValue ( double &  val,
double  prec,
const Color col 
) const
virtual
virtual double jem::gl::Palette::getMinValue ( ) const
pure virtual
virtual double jem::gl::Palette::getMaxValue ( ) const
pure virtual
virtual GLfloat jem::gl::Palette::getMinAlpha ( ) const
pure virtual
virtual void jem::gl::Palette::makeColorMap ( ColorMap cmap) const
virtual
virtual void jem::gl::Palette::configure ( const Properties props)
virtual
virtual void jem::gl::Palette::getConfig ( const Properties props) const
virtual
virtual void jem::gl::Palette::listProps ( const Properties props) const
virtual
void jem::gl::Palette::render ( GfxContext gtx,
const Rect rect,
const String title,
Alignment  align,
double  scale = 1.0,
double  bias = 0.0 
) const
virtual void jem::gl::Palette::fillRectangle ( GfxContext gtx,
GLint  width,
GLint  height 
) const
virtual
virtual void jem::gl::Palette::drawTickMarks ( GfxContext gtx,
TextPainter txp,
GLint  width,
GLint  height,
GLint  xtick,
Alignment  align,
double  scale,
double  bias 
) const
virtual

Reimplemented in jem::gl::CustomPalette.

Member Data Documentation

util::Event< Self& > jem::gl::Palette::changeEvent