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 _ZINCBLENDE_VOLUME_H_ |
---|
18 | #define _ZINCBLENDE_VOLUME_H_ |
---|
19 | |
---|
20 | |
---|
21 | #include "Volume.h" |
---|
22 | |
---|
23 | class ZincBlendeVolume : public Volume |
---|
24 | { |
---|
25 | public: |
---|
26 | Texture3D* zincblende_tex[2]; //the textures of two cubic volumes |
---|
27 | Vector3 cell_size; //the cell size in texture space |
---|
28 | |
---|
29 | |
---|
30 | ZincBlendeVolume(float x, float y, float z, |
---|
31 | int width, int height, int depth, float size, int n_component, |
---|
32 | float* dataVolumeA, float* dataVolumeB, |
---|
33 | double vmin, double vmax, double non_zeromin, const Vector3& cellSize); |
---|
34 | |
---|
35 | virtual ~ZincBlendeVolume(); |
---|
36 | }; |
---|
37 | |
---|
38 | #endif |
---|