source:
trunk/packages/vizservers/nanovis/VolumeShader.h
@
4587
Last change on this file since 4587 was 3612, checked in by ldelgass, 12 years ago | |
---|---|
|
|
File size: 546 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_VOLUME_SHADER_H |
7 | #define NV_VOLUME_SHADER_H | |
[580] | 8 | |
[3612] | 9 | #include "Shader.h" |
[580] | 10 | |
[3611] | 11 | namespace nv { |
12 | ||
[580] | 13 | class Volume; |
14 | ||
[3612] | 15 | class VolumeShader : public Shader |
[2844] | 16 | { |
[580] | 17 | public : |
[3612] | 18 | virtual ~VolumeShader(); |
[580] | 19 | |
[3362] | 20 | virtual void bind(unsigned int tfID, Volume *volume, |
21 | int sliceMode, float sampleRatio) = 0; | |
[2844] | 22 | |
[3362] | 23 | virtual void unbind() |
24 | { | |
[3612] | 25 | Shader::unbind(); |
[3362] | 26 | } |
[2844] | 27 | |
28 | protected : | |
[3612] | 29 | VolumeShader(); |
[580] | 30 | }; |
31 | ||
[3611] | 32 | } |
[580] | 33 | |
34 | #endif // | |
35 |
Note: See TracBrowser
for help on using the repository browser.