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

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

Merge nanovis2 branch to trunk

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