source: trunk/packages/vizservers/nanovis/NvColorTableRenderer.h @ 2096

Last change on this file since 2096 was 2096, checked in by ldelgass, 13 years ago

Normalize line endings, set eol-style to native on *.cpp, *.h files

  • Property svn:eol-style set to native
File size: 592 bytes
Line 
1#ifndef __NV_COLORTABLE_RENDERER_H__
2#define __NV_COLORTABLE_RENDERER_H__
3
4#include "Texture2D.h"
5#include "TransferFunction.h"
6#include "NvColorTableShader.h"
7
8#include <R2/R2Fonts.h>
9
10class NvColorTableRenderer {
11    NvColorTableShader* _shader;
12    R2Fonts* _fonts;
13public :
14    NvColorTableRenderer();
15    ~NvColorTableRenderer();
16
17public :
18    void render(int width, int height, Texture2D* texture, TransferFunction* tf, double rangeMin, double rageMax);
19    void setFonts(R2Fonts* fonts);
20};
21
22inline void NvColorTableRenderer::setFonts(R2Fonts* fonts)
23{
24    _fonts = fonts;
25}
26
27#endif
28
Note: See TracBrowser for help on using the repository browser.