Last change
on this file since 3596 was
3502,
checked in by ldelgass, 12 years ago
|
Add basic VTK structured points reader to nanovis, update copyright dates.
|
-
Property svn:eol-style set to
native
|
File size:
540 bytes
|
Line | |
---|
1 | /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ |
---|
2 | /* |
---|
3 | * Copyright (c) 2004-2013 HUBzero Foundation, LLC |
---|
4 | * |
---|
5 | */ |
---|
6 | #ifndef NV_VOLUME_SHADER_H |
---|
7 | #define NV_VOLUME_SHADER_H |
---|
8 | |
---|
9 | #include "NvShader.h" |
---|
10 | |
---|
11 | class Volume; |
---|
12 | |
---|
13 | class NvVolumeShader : public NvShader |
---|
14 | { |
---|
15 | public : |
---|
16 | virtual ~NvVolumeShader(); |
---|
17 | |
---|
18 | virtual void bind(unsigned int tfID, Volume *volume, |
---|
19 | int sliceMode, float sampleRatio) = 0; |
---|
20 | |
---|
21 | virtual void unbind() |
---|
22 | { |
---|
23 | NvShader::unbind(); |
---|
24 | } |
---|
25 | |
---|
26 | protected : |
---|
27 | NvVolumeShader(); |
---|
28 | }; |
---|
29 | |
---|
30 | |
---|
31 | #endif // |
---|
32 | |
---|
Note: See
TracBrowser
for help on using the repository browser.