source: nanovis/trunk/ZincBlendeVolume.h @ 5722

Last change on this file since 5722 was 5407, checked in by ldelgass, 4 years ago

whitespace

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