source:
nanovis/branches/1.1/ZincBlendeVolumeShader.h
@
4906
Last change on this file since 4906 was 4889, checked in by ldelgass, 9 years ago | |
---|---|
|
|
File size: 550 bytes |
Rev | Line | |
---|---|---|
[2798] | 1 | /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ |
[3502] | 2 | /* |
3 | * Copyright (c) 2004-2013 HUBzero Foundation, LLC | |
4 | * | |
5 | */ | |
[2844] | 6 | #ifndef NV_ZINCBLENDE_SHADER_H |
7 | #define NV_ZINCBLENDE_SHADER_H | |
[580] | 8 | |
[3612] | 9 | #include "VolumeShader.h" |
[580] | 10 | |
[3611] | 11 | namespace nv { |
12 | ||
[3612] | 13 | class ZincBlendeVolumeShader : public VolumeShader |
[2844] | 14 | { |
[2859] | 15 | public: |
[3612] | 16 | ZincBlendeVolumeShader(); |
[2844] | 17 | |
[3612] | 18 | virtual ~ZincBlendeVolumeShader(); |
[2844] | 19 | |
[3362] | 20 | virtual void bind(unsigned int tfID, Volume *volume, |
21 | int sliceMode, float sampleRatio); | |
[2844] | 22 | |
[2919] | 23 | virtual void unbind(); |
[2844] | 24 | |
[2859] | 25 | private: |
[2844] | 26 | void init(); |
[580] | 27 | }; |
28 | ||
[3611] | 29 | } |
30 | ||
[580] | 31 | #endif |
Note: See TracBrowser
for help on using the repository browser.