source: branches/blt4/packages/vizservers/nanovis/NvZincBlendeVolumeShader.h @ 2936

Last change on this file since 2936 was 2936, checked in by gah, 13 years ago

sync back with trunk

File size: 685 bytes
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
8class NvZincBlendeVolumeShader : public NvVolumeShader
9{
10public:
11    NvZincBlendeVolumeShader();
12
13    virtual ~NvZincBlendeVolumeShader();
14
15    virtual void bind(unsigned int tfID, Volume *volume, int sliceMode);
16
17    virtual void unbind();
18
19private:
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.