Line | |
---|
1 | /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ |
---|
2 | #ifndef NV_ZINCBLENDE_SHADER_H |
---|
3 | #define NV_ZINCBLENDE_SHADER_H |
---|
4 | |
---|
5 | #include "ZincBlendeVolume.h" |
---|
6 | #include "NvVolumeShader.h" |
---|
7 | |
---|
8 | class NvZincBlendeVolumeShader : public NvVolumeShader |
---|
9 | { |
---|
10 | public: |
---|
11 | NvZincBlendeVolumeShader(); |
---|
12 | |
---|
13 | virtual ~NvZincBlendeVolumeShader(); |
---|
14 | |
---|
15 | virtual void bind(unsigned int tfID, Volume *volume, int sliceMode); |
---|
16 | |
---|
17 | virtual void unbind(); |
---|
18 | |
---|
19 | private: |
---|
20 | void init(); |
---|
21 | |
---|
22 | CGparameter _tfParam; |
---|
23 | CGparameter _volumeAParam; |
---|
24 | CGparameter _volumeBParam; |
---|
25 | CGparameter _cellSizeParam; |
---|
26 | CGparameter _mviParam; |
---|
27 | CGparameter _renderParam; |
---|
28 | CGparameter _optionOneVolumeParam; |
---|
29 | }; |
---|
30 | |
---|
31 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.