Poster of Linux kernelThe best gift for a Linux geek
tlp::ColorScale

tlp::ColorScale

Section: Tulip Graph Library (3) Updated: 19 Jul 2010
Local index Up
 

NAME

tlp::ColorScale -  

SYNOPSIS


#include <ColorScale.h>

Inherits tlp::Observable.  

Public Member Functions


ColorScale ()

ColorScale (const ColorScale &scale)

virtual ~ColorScale ()

virtual void setColorScale (const std::vector< Color > colors, const bool gradient=true)

virtual Color getColorAtPos (const float pos) const

bool colorScaleInitialized () const

std::map< float, Color > getColorMap () const

bool isGradient ()
 

Protected Attributes


std::map< float, Color > colorMap

bool gradient

bool colorScaleSet
 

Constructor & Destructor Documentation

 

tlp::ColorScale::ColorScale ()

 

tlp::ColorScale::ColorScale (const ColorScale & scale)

 

virtual tlp::ColorScale::~ColorScale () [virtual]

 

Member Function Documentation

 

bool tlp::ColorScale::colorScaleInitialized () const [inline]

 

virtual Color tlp::ColorScale::getColorAtPos (const float pos) const [virtual]

 

std::map<float, Color> tlp::ColorScale::getColorMap () const [inline]

 

bool tlp::ColorScale::isGradient () [inline]

 

virtual void tlp::ColorScale::setColorScale (const std::vector< Color > colors, const bool gradient = true) [virtual]

 

Member Data Documentation

 

std::map<float, Color> tlp::ColorScale::colorMap [protected]

 

bool tlp::ColorScale::colorScaleSet [protected]

 

bool tlp::ColorScale::gradient [protected]

 

Author

Generated automatically by Doxygen for Tulip Graph Library from the source code.


 

Index

NAME
SYNOPSIS
Public Member Functions
Protected Attributes
Constructor & Destructor Documentation
tlp::ColorScale::ColorScale ()
tlp::ColorScale::ColorScale (const ColorScale & scale)
virtual tlp::ColorScale::~ColorScale () [virtual]
Member Function Documentation
bool tlp::ColorScale::colorScaleInitialized () const [inline]
virtual Color tlp::ColorScale::getColorAtPos (const float pos) const [virtual]
std::map<float, Color> tlp::ColorScale::getColorMap () const [inline]
bool tlp::ColorScale::isGradient () [inline]
virtual void tlp::ColorScale::setColorScale (const std::vector< Color > colors, const bool gradient = true) [virtual]
Member Data Documentation
std::map<float, Color> tlp::ColorScale::colorMap [protected]
bool tlp::ColorScale::colorScaleSet [protected]
bool tlp::ColorScale::gradient [protected]
Author

This document was created by man2html, using the manual pages.
Time: 22:28:13 GMT, April 16, 2011