source: trunk/packages/vizservers/nanovis/NvColorTableShader.h @ 3335

Last change on this file since 3335 was 2956, checked in by ldelgass, 12 years ago

First batch of converting shaders to use new parameter support in NvShader?.

  • Property svn:eol-style set to native
File size: 452 bytes
Line 
1/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2#ifndef NV_COLORTABLE_SHADER_H
3#define NV_COLORTABLE_SHADER_H
4
5#include "NvShader.h"
6#include "Texture2D.h"
7#include "TransferFunction.h"
8
9class NvColorTableShader : public NvShader
10{
11public:
12    NvColorTableShader();
13
14    virtual ~NvColorTableShader();
15
16    virtual void bind(Texture2D *plane, TransferFunction *tf);
17
18    virtual void unbind();
19
20private :
21    void init();
22};
23
24#endif
Note: See TracBrowser for help on using the repository browser.