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

SoVolumeRendering.h
1 #ifndef COIN_SOVOLUMERENDERING_H
2 #define COIN_SOVOLUMERENDERING_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/SoNode.h>
28 #include <Inventor/nodes/SoSubNode.h>
29 #include <VolumeViz/C/basic.h>
30 
31 
32 class SIMVOLEON_DLL_API SoVolumeRendering : public SoNode {
33  typedef SoNode inherited;
34 
35  SO_NODE_ABSTRACT_HEADER(SoVolumeRendering);
36 
37 public:
38  static void init(void);
39 
40  static void initClass(void);
42 
43  enum HW_Feature { HW_VOLUMEPRO, HW_3DTEXMAP, HW_TEXCOLORMAP, HW_TEXCOMPRESSION };
44  enum HW_SupportStatus { NO, YES, UNKNOWN };
45  HW_SupportStatus isSupported(HW_Feature feature);
46 
47  static void setReadAlternateRep(SbBool flag);
48  static void setWriteAlternateRep(SbBool flag);
49  static SbBool getReadAlternateRep(void);
50  static SbBool getWriteAlternateRep(void);
51 
52  static void setDelayedRendering(SbBool flag);
53  static SbBool getDelayedRendering(void);
54 
55 protected:
57 
58 private:
59  friend class SoVolumeRenderingP;
60  class SoVolumeRenderingP * pimpl;
61 };
62 
63 #endif // !COIN_SOVOLUMERENDERING_H
Abstract base class for all nodes related to volume rendering.
Definition: SoVolumeRendering.h:32

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