source:
trunk/packages/vizservers/nanovis/NvRegularVolumeShader.h
@
3464
Last change on this file since 3464 was 3362, checked in by ldelgass, 12 years ago | |
---|---|
|
|
File size: 528 bytes |
Rev | Line | |
---|---|---|
[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] | 9 | class NvRegularVolumeShader : public NvVolumeShader |
10 | { | |
11 | public: | |
[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] | 21 | private: |
22 | void init(); | |
[580] | 23 | }; |
24 | ||
[2837] | 25 | #endif |
Note: See TracBrowser
for help on using the repository browser.