source: nanovis/branches/1.1/ColorTableShader.h @ 5722

Last change on this file since 5722 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
RevLine 
[2798]1/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
[3502]2/*
3 * Copyright (c) 2004-2013  HUBzero Foundation, LLC
4 *
5 */
[2836]6#ifndef NV_COLORTABLE_SHADER_H
7#define NV_COLORTABLE_SHADER_H
[580]8
[3612]9#include "Shader.h"
[580]10#include "Texture2D.h"
11#include "TransferFunction.h"
12
[3611]13namespace nv {
14
[3612]15class ColorTableShader : public Shader
[2836]16{
17public:
[3612]18    ColorTableShader();
[580]19
[3612]20    virtual ~ColorTableShader();
[580]21
[2914]22    virtual void bind(Texture2D *plane, TransferFunction *tf);
[2836]23
[2914]24    virtual void unbind();
[2836]25
[580]26private :
27    void init();
28};
29
[3611]30}
31
[580]32#endif
Note: See TracBrowser for help on using the repository browser.