Last change
on this file was
5407,
checked in by ldelgass, 10 years ago
|
whitespace
|
-
Property svn:eol-style set to
native
|
File size:
858 bytes
|
Line | |
---|
1 | /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ |
---|
2 | /* |
---|
3 | * Copyright (c) 2004-2013 HUBzero Foundation, LLC |
---|
4 | * |
---|
5 | * Authors: |
---|
6 | * Wei Qiao <qiaow@purdue.edu> |
---|
7 | */ |
---|
8 | #ifndef NV_ZINCBLENDE_VOLUME_H |
---|
9 | #define NV_ZINCBLENDE_VOLUME_H |
---|
10 | |
---|
11 | #include <vrmath/Vector3f.h> |
---|
12 | |
---|
13 | #include "Volume.h" |
---|
14 | |
---|
15 | namespace nv { |
---|
16 | |
---|
17 | /** |
---|
18 | * \brief 3D ZincBlende volume, contains two cubic volumes |
---|
19 | */ |
---|
20 | class ZincBlendeVolume : public Volume |
---|
21 | { |
---|
22 | public: |
---|
23 | ZincBlendeVolume(int width, int height, int depth, int numComponents, |
---|
24 | float *dataVolumeA, float *dataVolumeB, |
---|
25 | double vmin, double vmax, double nonZeroMin, |
---|
26 | const vrmath::Vector3f& cellSize); |
---|
27 | |
---|
28 | virtual ~ZincBlendeVolume(); |
---|
29 | |
---|
30 | Texture3D *zincblendeTex[2]; //the textures of two cubic volumes |
---|
31 | vrmath::Vector3f cellSize; //the cell size in texture space |
---|
32 | }; |
---|
33 | |
---|
34 | } |
---|
35 | |
---|
36 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.