source: trunk/packages/vizservers/nanovis/NvRegularVolumeShader.h @ 3464

Last change on this file since 3464 was 3362, checked in by ldelgass, 12 years ago

Merge nanovis2 branch to trunk

  • Property svn:eol-style set to native
File size: 528 bytes
RevLine 
[2798]1/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
[2857]2#ifndef NV_REGULAR_SHADER_H
3#define NV_REGULAR_SHADER_H
[580]4
5#include "Volume.h"
6#include "NvVolumeShader.h"
7
[3362]8/// Shader for regular volume (uniform grid)
[2837]9class NvRegularVolumeShader : public NvVolumeShader
10{
11public:
[580]12    NvRegularVolumeShader();
[2971]13
[2919]14    virtual ~NvRegularVolumeShader();
[580]15
[3362]16    virtual void bind(unsigned int tfID, Volume *volume,
17                      int sliceMode, float sampleRatio);
[2971]18
[2919]19    virtual void unbind();
[580]20
[2837]21private:
22    void init();
[580]23};
24
[2837]25#endif
Note: See TracBrowser for help on using the repository browser.