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

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

First pass at loading VTK vector data for flows in nanovis

  • Property svn:eol-style set to native
File size: 859 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(int width, int height, int depth, int numComponents, 
24                     float *dataVolumeA, float *dataVolumeB,
25                     double vmin, double vmax, double nonZeroMin,
26                     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.