source: trunk/vizservers/nanovis/ZincBlendeVolume.h @ 749

Last change on this file since 749 was 580, checked in by vrinside, 17 years ago
File size: 1.2 KB
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 _ZINCBLENDE_VOLUME_H_
18#define _ZINCBLENDE_VOLUME_H_
19
20
21#include "Volume.h"
22
23
24using namespace std;
25
26
27class ZincBlendeVolume : public Volume
28{
29       
30public:
31        Texture3D* zincblende_tex[2];   //the textures of two cubic volumes
32        Vector3 cell_size;      //the cell size in texture space
33
34
35        ZincBlendeVolume(float x, float y, float z,
36                int width, int height, int depth, float size, int n_component,
37                float* dataVolumeA, float* dataVolumeB,
38                double vmin, double vmax, const Vector3& cellSize);
39
40        ~ZincBlendeVolume();
41};
42
43#endif
Note: See TracBrowser for help on using the repository browser.