Debian Codegraph @

lib/nodekits/include/Inventor/misc/upgraders/SoV1SceneKit.h

raw symbols SCIP
1 /*
2 *
3 * Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved.
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * Further, this software is distributed without any warranty that it is
16 * free of the rightful claim of any third person regarding infringement
17 * or the like. Any license provided herein, whether implied or
18 * otherwise, applies only to this software file. Patent licenses, if
19 * any, provided herein do not apply to combinations of this program with
20 * other software, or any other product whatsoever.
21 *
22 * You should have received a copy of the GNU Lesser General Public
23 * License along with this library; if not, write to the Free Software
24 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25 *
26 * Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
27 * Mountain View, CA 94043, or:
28 *
29 * http://www.sgi.com
30 *
31 * For further information regarding this notice, see:
32 *
33 * http://oss.sgi.com/projects/GenInfo/NoticeExplan/
34 *
35 */
36
37 // -*- C++ -*-
38
39 /*
40 * Copyright (C) 1990,91 Silicon Graphics, Inc.
41 *
42 _______________________________________________________________________
43 ______________ S I L I C O N G R A P H I C S I N C . ____________
44 |
45 | $Revision: 1.1.1.1 $
46 |
47 | Description:
48 | Defines the SoV1SceneKit class.
49 | Organizes four lists into a scene:
50 | cameraList -- a list of SoV1CameraKits and its subclasses.
51 | lightList -- a list of SoV1LightKits and its subclasses.
52 | childList -- a list of SoV1GroupKits and its subclasses
53 | manipulatorList -- a list of SoManipulator nodes and its subclasses
54 |
55 | Author(s) : Paul Isaacs
56 |
57 ______________ S I L I C O N G R A P H I C S I N C . ____________
58 _______________________________________________________________________
59 */
60
61 #ifndef _SO_V1_SCENE_KIT_
62 #define _SO_V1_SCENE_KIT_cxx . . $ `lib/nodekits/include/Inventor/misc/upgraders/SoV1SceneKit.h:62:10`!
63
64 #include <Inventor/misc/upgraders/SoV1BaseKit.h>cxx . . $ `<file>/lib/nodekits/include/Inventor/misc/upgraders/SoV1BaseKit.h`/
65
66 ////////////////////////////////////////////////////////////////////
67 // Class: SoV1SceneKit
68 //
69 // New nodes in this subclass are:
70 // cameraList, lightList, and childList
71 //
72 // A parent node that manages a collection of child nodes
73 // into a unit with the following structure:
74 //
75 // this
76 // |
77 // -----------------
78 // | |
79 // "label "topSeparator"
80 // |
81 // --------------------------------------------------
82 // | | | |
83 // "cameraList" "lightList" "childList" "manipulatorList"
84 //
85 ////////////////////////////////////////////////////////////////////
86 SoEXTENDERcxx . . $ `lib/database/include/Inventor/SbBasic.h:112:9`! class SoV1SceneKitcxx . . $ SoV1SceneKit# : public SoV1BaseKitcxx . . $ SoV1BaseKit# {
87
88 // Define typeId and name stuff
89 SO_NODE_HEADERcxx . . $ `lib/database/include/Inventor/nodes/SoSubNode.h:171:9`!(SoV1SceneKit);
90
91 // Define catalog for children
92 SO_V1_SUBKIT_CATALOG_HEADERcxx . . $ `lib/nodekits/include/Inventor/misc/upgraders/SoV1SubKit.h:93:9`!(SoV1SceneKit);
93
94 public:
95 // constructor
96 SoV1SceneKitcxx . . $ SoV1SceneKit#SoV1SceneKit(49f6e7a06ebc5aa8).();
97
98 // sets the switch node in 'cameraList' to be the number given
99 int getCameraNumbercxx . . $ SoV1SceneKit#getCameraNumber(b126dc7c1de90089).();
100 void setCameraNumbercxx . . $ SoV1SceneKit#setCameraNumber(d4f767463ce0a6b3).(int camNum );
101
102 virtual SoNodecxx . . $ SoNode# *createNewNodecxx . . $ SoV1SceneKit#createNewNode(37b0c20759e6fed3).();
103
104 // If tryToSetPartInNewNode fails, then this routine is called.
105 // It will fail for the parts:
106 // "manipulatorList"
107 // This routine will simply discard those parts with a warning, but
108 // no error.
109 virtual SbBoolcxx . . $ SbBool# dealWithUpgradedPartcxx . . $ SoV1SceneKit#dealWithUpgradedPart(e0744854fea54a6a).( SoBaseKitcxx . . $ SoBaseKit# *newNode,
110 SoNodecxx . . $ SoNode# *newPart, const SbNamecxx . . $ SbName# &newPartName );
111 SoINTERNALcxx . . $ `lib/database/include/Inventor/SbBasic.h:113:9`! public:
112 static void initClasscxx . . $ SoV1SceneKit#initClass(49f6e7a06ebc5aa8).();
113
114 protected:
115 virtual ~cxx . . $ SoV1SceneKit#`~SoV1SceneKit`(49f6e7a06ebc5aa8).SoV1SceneKitcxx . . $ SoV1SceneKit#();
116 };
117 #endif /* _SO_V1_SCENE_KIT_ */