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