source: trunk/packages/vizservers/nanovis/ZincBlendeVolume.h @ 3611

Last change on this file since 3611 was 3611, checked in by ldelgass, 7 years ago

Use nv namespace for classes in nanovis rather than prefixing class names with
Nv (still need to convert shader classes).

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2/*
3 * ----------------------------------------------------------------------
4 * ZincBlendeVolume.h: 3d zincblende volume class, a subclass of Volume.
5 *                      It contains two cubic volumes.
6 *
7 * ======================================================================
8 *  AUTHOR:  Wei Qiao <qiaow@purdue.edu>
9 *           Purdue Rendering and Perceptualization Lab (PURPL)
10 *
11 *  Copyright (c) 2004-2013  HUBzero Foundation, LLC
12 *
13 *  See the file "license.terms" for information on usage and
14 *  redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
15 * ======================================================================
16 */
17#ifndef NV_ZINCBLENDE_VOLUME_H
18#define NV_ZINCBLENDE_VOLUME_H
19
20#include <vrmath/Vector3f.h>
21
22#include "Volume.h"
23
24namespace nv {
25
26class ZincBlendeVolume : public Volume
27{
28public:
29    ZincBlendeVolume(float x, float y, float z, 
30                     int width, int height, int depth, int numComponents, 
31                     float *dataVolumeA, float *dataVolumeB,
32                     double vmin, double vmax, double non_zeromin, const vrmath::Vector3f& cellSize);
33
34    virtual ~ZincBlendeVolume();
35
36    Texture3D *zincblendeTex[2]; //the textures of two cubic volumes
37    vrmath::Vector3f cellSize;  //the cell size in texture space
38};
39
40}
41
42#endif
Note: See TracBrowser for help on using the repository browser.