gnuplotPaletteReader.h
Go to the documentation of this file.
1 #ifndef SICK_SCAN_GNU_PLOT_PALETTE_H
2 #define SICK_SCAN_GNU_PLOT_PALETTE_H
3 
5 {
6 public:
8  unsigned char getRbgValue(unsigned char greyIdx, unsigned int channelIdx);
9  int load(std::string palettName);
10  void setErrorStatus(int _errorCode)
11  {
12  errorStatus = _errorCode;
13  }
14 
15  int getErrorStatus(void)
16  {
17  return(errorStatus);
18  }
19 
20 private:
21  unsigned char rgbTable[256][3]; // r g b - table entries
23 };
24 #endif
int load(std::string palettName)
unsigned char getRbgValue(unsigned char greyIdx, unsigned int channelIdx)
void setErrorStatus(int _errorCode)
unsigned char rgbTable[256][3]


sick_scan
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Tue Jul 9 2019 04:55:32