Jive reference manual
List of all members | Public Member Functions | Protected Member Functions
jem::gl::ColorMap Class Reference

#include <jem/gl/ColorMap.h>

Inheritance diagram for jem::gl::ColorMap:
Inheritance graph

Public Member Functions

 ColorMap ()
 
 ColorMap (const GLfloatMatrix &colors)
 
void enable (GfxContext &gtx)
 
void disable ()
 
void setColors (const GLfloatMatrix &colors)
 
GLfloatMatrix getColors () const
 
Color getColor (GLfloat idx) const
 
GLfloat getMinAlpha () const
 
void makeSmooth (bool choice=true)
 
bool isSmooth () const
 
void setColor (GLfloat idx) 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...
 

Protected Member Functions

virtual ~ColorMap ()
 
- 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

jem::gl::ColorMap::ColorMap ( )
jem::gl::ColorMap::ColorMap ( const GLfloatMatrix colors)
explicit
virtual jem::gl::ColorMap::~ColorMap ( )
protectedvirtual

Member Function Documentation

void jem::gl::ColorMap::enable ( GfxContext gtx)
void jem::gl::ColorMap::disable ( )
void jem::gl::ColorMap::setColors ( const GLfloatMatrix colors)
GLfloatMatrix jem::gl::ColorMap::getColors ( ) const
Color jem::gl::ColorMap::getColor ( GLfloat  idx) const
GLfloat jem::gl::ColorMap::getMinAlpha ( ) const
void jem::gl::ColorMap::makeSmooth ( bool  choice = true)
bool jem::gl::ColorMap::isSmooth ( ) const
void jem::gl::ColorMap::setColor ( GLfloat  idx) const