source: nanovis/branches/1.2/ZincBlendeVolume.h @ 5718

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

backport from trunk: remove unused ctor params

  • 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/*
[4889]3 * Copyright (c) 2004-2013  HUBzero Foundation, LLC
[1478]4 *
[4889]5 * Authors:
6 *   Wei Qiao <qiaow@purdue.edu>
[1478]7 */
[4889]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
[4889]15namespace nv {
16
17/**
18 * \brief 3D ZincBlende volume, contains two cubic volumes
19 */
[1478]20class ZincBlendeVolume : public Volume
21{
22public:
[5406]23    ZincBlendeVolume(int width, int height, int depth, int numComponents,
[2844]24                     float *dataVolumeA, float *dataVolumeB,
[4923]25                     double vmin, double vmax, double nonZeroMin,
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
[4889]34}
35
[1478]36#endif
Note: See TracBrowser for help on using the repository browser.