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

SoSceneKit.h
1 #ifndef COIN_SOSCENEKIT_H
2 #define COIN_SOSCENEKIT_H
3 
4 /**************************************************************************\
5  *
6  * This file is part of the Coin 3D visualization library.
7  * Copyright (C) 1998-2007 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 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 Systems in Motion about acquiring
18  * a Coin Professional Edition License.
19  *
20  * See http://www.coin3d.org/ for more information.
21  *
22  * Systems in Motion, Postboks 1283, Pirsenteret, 7462 Trondheim, 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 
30 class COIN_DLL_API SoSceneKit : public SoBaseKit {
31  typedef SoBaseKit inherited;
32 
33  SO_KIT_HEADER(SoSceneKit);
34 
35  SO_KIT_CATALOG_ENTRY_HEADER(cameraList);
36  SO_KIT_CATALOG_ENTRY_HEADER(childList);
37  SO_KIT_CATALOG_ENTRY_HEADER(lightList);
38  SO_KIT_CATALOG_ENTRY_HEADER(topSeparator);
39 
40 public:
41  static void initClass(void);
42  SoSceneKit(void);
43 
44  int getCameraNumber(void);
45  void setCameraNumber(int camNum);
46  virtual SbBool affectsState(void) const;
47 
48 protected:
49  virtual ~SoSceneKit();
50 };
51 
52 #endif // !COIN_SOSCENEKIT_H
SoSceneKit
The SoSceneKit class collects node kits needed to set up a scene: camera, light and shapes.
Definition: SoSceneKit.h:30
SbName
The SbName class stores strings by reference.
Definition: SbName.h:31
SoCameraKit
The SoCameraKit class is a node kit with a transform and a camera.
Definition: SoCameraKit.h:30
SoSwitch
The SoSwitch class is a group node which selects one child subgraph for traversal.
Definition: SoSwitch.h:37
SoSwitch::whichChild
SoSFInt32 whichChild
Definition: SoSwitch.h:47
SoShapeKit
The SoShapeKit class provides templates to insert what is usually needed for shape nodes.
Definition: SoShapeKit.h:29
SoDebugError::postInfo
static void postInfo(const char *const source, const char *const format,...)
Definition: SoDebugError.cpp:334
SoSceneKit::getCameraNumber
int getCameraNumber(void)
Definition: SoSceneKit.cpp:111
SoBase
The SoBase class is the top-level superclass for a number of class-hierarchies.
Definition: SoBase.h:41
SoSceneKit::~SoSceneKit
virtual ~SoSceneKit()
Definition: SoSceneKit.cpp:96
SoSeparatorKit
The SoSeparatorKit class provides a typical set of nodes to influence a shape subgraph.
Definition: SoSeparatorKit.h:31
SoLightKit
The SoLightKit class provides a kit with a transform, a light and a shape or subgraph.
Definition: SoLightKit.h:30
SoSeparator
The SoSeparator class is a state-preserving group node.
Definition: SoSeparator.h:34
SoSceneKit::affectsState
virtual SbBool affectsState(void) const
Definition: SoSceneKit.cpp:136
SoNode::affectsState
virtual SbBool affectsState(void) const
Definition: SoNode.cpp:783
SoBaseKit::getContainerNode
SoGroup * getContainerNode(const SbName &listname, SbBool makeifneeded=1)
Definition: SoBaseKit.cpp:1667
SoBaseKit
The SoBaseKit class is the toplevel superclass for nodekits.
Definition: SoBaseKit.h:57
SoGroup::getNumChildren
virtual int getNumChildren(void) const
Definition: SoGroup.cpp:271
SoSceneKit::SoSceneKit
SoSceneKit(void)
Definition: SoSceneKit.cpp:78
SoGroup
The SoGroup class is a node which managed other node instances.
Definition: SoGroup.h:31
SoSceneKit::setCameraNumber
void setCameraNumber(int camNum)
Definition: SoSceneKit.cpp:121

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

Generated on Wed Jul 24 2019 for Coin by Doxygen. 1.8.17