Coin Logo http://www.sim.no
http://www.coin3d.org

SoVRVolFileReader.h

00001 #ifndef COIN_SOVRVOLFILEREADER_H
00002 #define COIN_SOVRVOLFILEREADER_H
00003 
00004 /**************************************************************************\
00005  *
00006  *  This file is part of the SIM Voleon visualization library.
00007  *  Copyright (C) 2003-2004 by Systems in Motion.  All rights reserved.
00008  *
00009  *  This library is free software; you can redistribute it and/or
00010  *  modify it under the terms of the GNU General Public License
00011  *  ("GPL") version 2 as published by the Free Software Foundation.
00012  *  See the file LICENSE.GPL at the root directory of this source
00013  *  distribution for additional information about the GNU GPL.
00014  *
00015  *  For using SIM Voleon with software that can not be combined with
00016  *  the GNU GPL, and for taking advantage of the additional benefits
00017  *  of our support services, please contact Systems in Motion about
00018  *  acquiring a SIM Voleon Professional Edition License.
00019  *
00020  *  See <URL:http://www.coin3d.org/> for more information.
00021  *
00022  *  Systems in Motion, Postboks 1283, Pirsenteret, 7462 Trondheim, NORWAY.
00023  *  <URL:http://www.sim.no/>.
00024  *
00025 \**************************************************************************/
00026 
00027 #include <VolumeViz/readers/SoVolumeReader.h>
00028 
00029 
00030 class SIMVOLEON_DLL_API SoVRVolFileReader : public SoVolumeReader {
00031   typedef SoVolumeReader inherited;
00032 
00033 public:
00034   SoVRVolFileReader(void);
00035   ~SoVRVolFileReader();
00036 
00037   void setUserData(void * data);
00038   void getDataChar(SbBox3f & size, SoVolumeData::DataType & type, SbVec3s & dim);
00039   virtual void getSubSlice(SbBox2s & subslice, int slicenumber, void * data);
00040 
00041 private:
00042   class SoVRVolFileReaderP * pimpl;
00043   friend class SoVRVolFileReaderP;
00044 };
00045 
00046 #endif // ! COIN_SOVRVOLFILEREADER_H

Copyright © 1998-2004 by Systems in Motion AS. All rights reserved.

Generated on Fri Aug 31 08:50:00 2007 for SIMVoleon by Doxygen. 1.5.3