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

SoVolumeSkin.h
1 #ifndef SIMVOLEON_SOVOLUMESKIN_H
2 #define SIMVOLEON_SOVOLUMESKIN_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 <Inventor/nodes/SoShape.h>
28 #include <Inventor/fields/SoSFEnum.h>
29 #include <VolumeViz/C/basic.h>
30 
31 class SIMVOLEON_DLL_API SoVolumeSkin : public SoShape {
32  typedef SoShape inherited;
33 
34  SO_NODE_HEADER(SoVolumeSkin);
35 
36 public:
37  SoVolumeSkin(void);
38  static void initClass(void);
39 
40  enum Interpolation { NEAREST, LINEAR };
41  SoSFEnum interpolation;
42 
43 protected:
44  ~SoVolumeSkin();
45 
46  virtual void GLRender(SoGLRenderAction * action);
47  virtual void generatePrimitives(SoAction * action);
48  virtual void computeBBox(SoAction * action, SbBox3f & box, SbVec3f & center);
49  virtual void rayPick(SoRayPickAction * action);
50 
51 private:
52  friend class SoVolumeSkinP;
53  class SoVolumeSkinP * pimpl;
54 };
55 
56 #endif // !SIMVOLEON_SOVOLUMESKIN_H

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

Generated on Wed Jul 18 2012 20:32:32 for SIMVoleon by Doxygen. 1.8.1.1