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

SoVRVolFileReader.h
1 #ifndef COIN_SOVRVOLFILEREADER_H
2 #define COIN_SOVRVOLFILEREADER_H
3 
4 /**************************************************************************\
5  *
6  * This file is part of the SIM Voleon visualization library.
7  * Copyright (C) 2003-2004 by Systems in Motion. All rights reserved.
8  *
9  * This library is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU General Public License
11  * ("GPL") version 2 as published by the Free Software Foundation.
12  * See the file LICENSE.GPL at the root directory of this source
13  * distribution for additional information about the GNU GPL.
14  *
15  * For using SIM Voleon with software that can not be combined with
16  * the GNU GPL, and for taking advantage of the additional benefits
17  * of our support services, please contact Systems in Motion about
18  * acquiring a SIM Voleon Professional Edition License.
19  *
20  * See <URL:http://www.coin3d.org/> for more information.
21  *
22  * Systems in Motion, Postboks 1283, Pirsenteret, 7462 Trondheim, NORWAY.
23  * <URL:http://www.sim.no/>.
24  *
25 \**************************************************************************/
26 
27 #include <VolumeViz/readers/SoVolumeReader.h>
28 
29 
30 class SIMVOLEON_DLL_API SoVRVolFileReader : public SoVolumeReader {
31  typedef SoVolumeReader inherited;
32 
33 public:
34  SoVRVolFileReader(void);
36 
37  void setUserData(void * data);
38  void getDataChar(SbBox3f & size, SoVolumeData::DataType & type, SbVec3s & dim);
39  virtual void getSubSlice(SbBox2s & subslice, int slicenumber, void * data);
40 
41 private:
42  class SoVRVolFileReaderP * pimpl;
43  friend class SoVRVolFileReaderP;
44 };
45 
46 #endif // ! COIN_SOVRVOLFILEREADER_H
virtual void getDataChar(SbBox3f &size, SoVolumeData::DataType &type, SbVec3s &dim)=0
virtual void getSubSlice(SbBox2s &slice, int slicenumber, void *voxels)=0
Loader for files in the VOL data format.
Definition: SoVRVolFileReader.h:30
Abstract superclass for all volume data reader classes.
Definition: SoVolumeReader.h:34

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

Generated on Fri Jul 31 2015 13:47:24 for SIMVoleon by Doxygen. 1.8.9.1