1.3.49
 
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 126 of file Visualizer.h.

Constructor & Destructor Documentation

◆ Colormap() [1/2]

Colormap::Colormap ( )
inline

Definition at line 128 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 130 of file Visualizer.h.

Member Function Documentation

◆ getLowerLimit()

float Colormap::getLowerLimit ( ) const
inline

Definition at line 210 of file Visualizer.h.

◆ getRange()

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

Definition at line 206 of file Visualizer.h.

◆ getUpperLimit()

float Colormap::getUpperLimit ( ) const
inline

Definition at line 214 of file Visualizer.h.

◆ query()

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

Definition at line 169 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 134 of file Visualizer.h.

◆ setRange()

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

Definition at line 201 of file Visualizer.h.


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