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

Last change on this file since 3492 was 3492, checked in by ldelgass, 6 years ago

Fix camera reset for nanovis. Includes refactoring of vector/matrix classes
in nanovis to consolidate into vrmath library. Also add preliminary canonical
view control to clients for testing.

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