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

Last change on this file since 4889 was 4889, checked in by ldelgass, 9 years ago

Merge r3611:3618 from trunk

  • Property svn:eol-style set to native
File size: 888 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 non_zeromin, const vrmath::Vector3f& cellSize);
27
28    virtual ~ZincBlendeVolume();
29
30    Texture3D *zincblendeTex[2]; //the textures of two cubic volumes
31    vrmath::Vector3f cellSize;  //the cell size in texture space
32};
33
34}
35
36#endif
Note: See TracBrowser for help on using the repository browser.