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

SoSeparatorKit.h
1 #ifndef COIN_SOSEPARATORKIT_H
2 #define COIN_SOSEPARATORKIT_H
3 
4 /**************************************************************************\
5  *
6  * This file is part of the Coin 3D visualization library.
7  * Copyright (C) by Kongsberg Oil & Gas Technologies.
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 Coin with software that can not be combined with the GNU
16  * GPL, and for taking advantage of the additional benefits of our
17  * support services, please contact Kongsberg Oil & Gas Technologies
18  * about acquiring a Coin Professional Edition License.
19  *
20  * See http://www.coin3d.org/ for more information.
21  *
22  * Kongsberg Oil & Gas Technologies, Bygdoy Alle 5, 0257 Oslo, NORWAY.
23  * http://www.sim.no/ sales@sim.no coin-support@coin3d.org
24  *
25 \**************************************************************************/
26 
27 #include <Inventor/nodekits/SoSubKit.h>
28 #include <Inventor/nodekits/SoBaseKit.h>
29 #include <Inventor/fields/SoSFEnum.h>
30 
31 class COIN_DLL_API SoSeparatorKit : public SoBaseKit {
32  typedef SoBaseKit inherited;
33 
34  SO_KIT_HEADER(SoSeparatorKit);
35 
36  SO_KIT_CATALOG_ENTRY_HEADER(appearance);
37  SO_KIT_CATALOG_ENTRY_HEADER(childList);
38  SO_KIT_CATALOG_ENTRY_HEADER(pickStyle);
39  SO_KIT_CATALOG_ENTRY_HEADER(texture2Transform);
40  SO_KIT_CATALOG_ENTRY_HEADER(topSeparator);
41  SO_KIT_CATALOG_ENTRY_HEADER(transform);
42  SO_KIT_CATALOG_ENTRY_HEADER(units);
43 
44 public:
45  SoSeparatorKit(void);
46 
47  enum CacheEnabled {
48  OFF,
49  ON,
50  AUTO
51  };
52 
57 
58  static void initClass(void);
59 
60 protected:
61  virtual ~SoSeparatorKit();
62  virtual void setDefaultOnNonWritingFields(void);
63  virtual SbBool setUpConnections(SbBool onoff, SbBool doitalways = FALSE);
64 
65 private:
66  class SoSeparatorKitP * pimpl;
67  friend class SoSeparatorKitP;
68 };
69 
70 #endif // !COIN_SOSEPARATORKIT_H
SoSFEnum pickCulling
Definition: SoSeparatorKit.h:56
The SoBase class is the top-level superclass for a number of class-hierarchies.SoBase provides the ba...
Definition: SoBase.h:36
The SoBaseKit class is the toplevel superclass for nodekits.Node kits are collections of nodes and ot...
Definition: SoBaseKit.h:57
SoSFEnum renderCulling
Definition: SoSeparatorKit.h:55
The SoSeparatorKit class provides a typical set of nodes to influence a shape subgraph.Node kit structure (new entries versus parent class marked with arrow prefix):
Definition: SoSeparatorKit.h:31
CacheEnabled
Definition: SoSeparatorKit.h:47
The SoSFEnum class is a container for an enum value.This field is used where nodes, engines or other field containers needs to store one particular value out of an enumerated set.
Definition: SoSFEnum.h:31
virtual void setDefaultOnNonWritingFields(void)
Definition: SoBaseKit.cpp:1283
virtual SbBool setUpConnections(SbBool onoff, SbBool doitalways=FALSE)
Definition: SoBaseKit.cpp:2050
SoSFEnum renderCaching
Definition: SoSeparatorKit.h:53
SoSFEnum boundingBoxCaching
Definition: SoSeparatorKit.h:54

Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.

Generated on Wed Feb 7 2018 for Coin by Doxygen 1.8.14.