source: nanovis/branches/1.1/ZincBlendeVolume.h @ 4923

Last change on this file since 4923 was 4923, checked in by ldelgass, 5 years ago

whitespace

  • Property svn:eol-style set to native
File size: 906 bytes
Line 
1/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2/*
3 * Copyright (c) 2004-2013  HUBzero Foundation, LLC
4 *
5 * Authors:
6 *   Wei Qiao <qiaow@purdue.edu>
7 */
8#ifndef NV_ZINCBLENDE_VOLUME_H
9#define NV_ZINCBLENDE_VOLUME_H
10
11#include <vrmath/Vector3f.h>
12
13#include "Volume.h"
14
15namespace nv {
16
17/**
18 * \brief 3D ZincBlende volume, contains two cubic volumes
19 */
20class ZincBlendeVolume : public Volume
21{
22public:
23    ZincBlendeVolume(float x, float y, float z,
24                     int width, int height, int depth, int numComponents,
25                     float *dataVolumeA, float *dataVolumeB,
26                     double vmin, double vmax, double nonZeroMin,
27                     const vrmath::Vector3f& cellSize);
28
29    virtual ~ZincBlendeVolume();
30
31    Texture3D *zincblendeTex[2]; //the textures of two cubic volumes
32    vrmath::Vector3f cellSize;  //the cell size in texture space
33};
34
35}
36
37#endif
Note: See TracBrowser for help on using the repository browser.