Last change
on this file since 3452 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
|
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) |
---|
9 | class NvRegularVolumeShader : public NvVolumeShader |
---|
10 | { |
---|
11 | public: |
---|
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 | |
---|
21 | private: |
---|
22 | void init(); |
---|
23 | }; |
---|
24 | |
---|
25 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.