Line | |
---|
1 | /*
|
---|
2 | * ----------------------------------------------------------------------
|
---|
3 | * ZincBlendeVolume.h: 3d zincblende volume class, a subclass of Volume.
|
---|
4 | * It contains two cubic volumes.
|
---|
5 | *
|
---|
6 | * ======================================================================
|
---|
7 | * AUTHOR: Wei Qiao <qiaow@purdue.edu>
|
---|
8 | * Purdue Rendering and Perceptualization Lab (PURPL)
|
---|
9 | *
|
---|
10 | * Copyright (c) 2004-2006 Purdue Research Foundation
|
---|
11 | *
|
---|
12 | * See the file "license.terms" for information on usage and
|
---|
13 | * redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
---|
14 | * ======================================================================
|
---|
15 | */
|
---|
16 |
|
---|
17 | #ifndef _NV_VOLQD_VOLUME_H_
|
---|
18 | #define _NV_VOLQD_VOLUME_H_
|
---|
19 |
|
---|
20 |
|
---|
21 | #include "Volume.h"
|
---|
22 |
|
---|
23 |
|
---|
24 | using namespace std;
|
---|
25 |
|
---|
26 |
|
---|
27 | class NvVolQDVolume : public Volume
|
---|
28 | {
|
---|
29 | public:
|
---|
30 | Vector3 cell_size; //the cell size in texture space
|
---|
31 |
|
---|
32 |
|
---|
33 | NvVolQDVolume(float x, float y, float z,
|
---|
34 | int width, int height, int depth, float size, int n_component,
|
---|
35 | float* dataVolumeA,
|
---|
36 | double vmin, double vmax, const Vector3& cellSize);
|
---|
37 |
|
---|
38 | ~NvVolQDVolume();
|
---|
39 | };
|
---|
40 |
|
---|
41 | #endif
|
---|
Note: See
TracBrowser
for help on using the repository browser.