source: nanovis/branches/1.1/ColorTableShader.h

Last change on this file was 4889, checked in by ldelgass, 5 years ago

Merge r3611:3618 from trunk

  • Property svn:eol-style set to native
File size: 523 bytes
Line 
1/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2/*
3 * Copyright (c) 2004-2013  HUBzero Foundation, LLC
4 *
5 */
6#ifndef NV_COLORTABLE_SHADER_H
7#define NV_COLORTABLE_SHADER_H
8
9#include "Shader.h"
10#include "Texture2D.h"
11#include "TransferFunction.h"
12
13namespace nv {
14
15class ColorTableShader : public Shader
16{
17public:
18    ColorTableShader();
19
20    virtual ~ColorTableShader();
21
22    virtual void bind(Texture2D *plane, TransferFunction *tf);
23
24    virtual void unbind();
25
26private :
27    void init();
28};
29
30}
31
32#endif
Note: See TracBrowser for help on using the repository browser.