1.3.64
 
Loading...
Searching...
No Matches
Colormap Struct Reference

RGB color map. More...

#include <Visualizer.h>

Public Member Functions

 Colormap (const std::vector< helios::RGBcolor > &ctable, const std::vector< float > &clocs, int size, float minval_, float maxval_)
 
void set (const std::vector< helios::RGBcolor > &ctable, const std::vector< float > &clocs, int size, float a_minval, float a_maxval)
 
helios::RGBcolor query (float x) const
 
void setRange (float min, float max)
 
helios::vec2 getRange () const
 
float getLowerLimit () const
 
float getUpperLimit () const
 

Detailed Description

RGB color map.

Definition at line 143 of file Visualizer.h.

Constructor & Destructor Documentation

◆ Colormap() [1/2]

Colormap::Colormap ( )
inline

Definition at line 145 of file Visualizer.h.

◆ Colormap() [2/2]

Colormap::Colormap ( const std::vector< helios::RGBcolor > &  ctable,
const std::vector< float > &  clocs,
int  size,
float  minval_,
float  maxval_ 
)
inline

Definition at line 147 of file Visualizer.h.

Member Function Documentation

◆ getLowerLimit()

float Colormap::getLowerLimit ( ) const
inline

Definition at line 227 of file Visualizer.h.

◆ getRange()

helios::vec2 Colormap::getRange ( ) const
inline

Definition at line 223 of file Visualizer.h.

◆ getUpperLimit()

float Colormap::getUpperLimit ( ) const
inline

Definition at line 231 of file Visualizer.h.

◆ query()

helios::RGBcolor Colormap::query ( float  x) const
inline

Definition at line 186 of file Visualizer.h.

◆ set()

void Colormap::set ( const std::vector< helios::RGBcolor > &  ctable,
const std::vector< float > &  clocs,
int  size,
float  a_minval,
float  a_maxval 
)
inline

Definition at line 151 of file Visualizer.h.

◆ setRange()

void Colormap::setRange ( float  min,
float  max 
)
inline

Definition at line 218 of file Visualizer.h.


The documentation for this struct was generated from the following file: