Last change
on this file since 3465 was
3465,
checked in by ldelgass, 11 years ago
|
Rename R2 library to nv::graphics and nv::util.
|
-
Property svn:eol-style set to
native
|
File size:
651 bytes
|
Line | |
---|
1 | /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ |
---|
2 | #ifndef NV_COLORTABLE_RENDERER_H |
---|
3 | #define NV_COLORTABLE_RENDERER_H |
---|
4 | |
---|
5 | #include <util/Fonts.h> |
---|
6 | |
---|
7 | #include "Texture2D.h" |
---|
8 | #include "TransferFunction.h" |
---|
9 | #include "NvColorTableShader.h" |
---|
10 | |
---|
11 | class NvColorTableRenderer |
---|
12 | { |
---|
13 | public : |
---|
14 | NvColorTableRenderer(); |
---|
15 | ~NvColorTableRenderer(); |
---|
16 | |
---|
17 | void render(int width, int height, |
---|
18 | Texture2D *texture, TransferFunction *tf, |
---|
19 | double rangeMin, double rangeMax); |
---|
20 | |
---|
21 | void setFonts(nv::util::Fonts *fonts) |
---|
22 | { |
---|
23 | _fonts = fonts; |
---|
24 | } |
---|
25 | |
---|
26 | private: |
---|
27 | nv::util::Fonts *_fonts; |
---|
28 | NvColorTableShader *_shader; |
---|
29 | }; |
---|
30 | |
---|
31 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.