Debian Codegraph @

lib/nodekits/include/Inventor/misc/upgraders/SoV1LightKit.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 SoV1LightKit class.
49 | This is the base class for all other lights.
50 |
51 | Author(s) : Paul Isaacs
52 |
53 ______________ S I L I C O N G R A P H I C S I N C . ____________
54 _______________________________________________________________________
55 */
56
57 #ifndef _SO_V1_LIGHT_KIT_
58 #define _SO_V1_LIGHT_KIT_cxx . . $ `lib/nodekits/include/Inventor/misc/upgraders/SoV1LightKit.h:58:10`!
59
60 #include <Inventor/misc/upgraders/SoV1BaseKit.h>cxx . . $ `<file>/lib/nodekits/include/Inventor/misc/upgraders/SoV1BaseKit.h`/
61
62 ////////////////////////////////////////////////////////////////////
63 // Class: SoV1LightKit
64 //
65 // New nodes in this subclass are:
66 // icon, which can be any shape node.
67 //
68 // A parent node that manages a collection of child nodes
69 // into a unit with the following structure:
70 //
71 // this
72 // |
73 // ------------------------------------------------------------------
74 // | | | | | |
75 // "label" | "appearance" "transform" | |
76 // "callbackList" | "childList"
77 // "light"
78 //
79 ////////////////////////////////////////////////////////////////////
80
81 SoEXTENDERcxx . . $ `lib/database/include/Inventor/SbBasic.h:112:9`! class SoV1LightKitcxx . . $ SoV1LightKit# : public SoV1BaseKitcxx . . $ SoV1BaseKit# {
82
83 // Define typeId and name stuff
84 SO_NODE_HEADERcxx . . $ `lib/database/include/Inventor/nodes/SoSubNode.h:171:9`!(SoV1LightKit);
85
86 // Define catalog for children
87 SO_V1_SUBKIT_CATALOG_HEADERcxx . . $ `lib/nodekits/include/Inventor/misc/upgraders/SoV1SubKit.h:93:9`!(SoV1LightKit);
88
89 public:
90 // constructor
91 SoV1LightKitcxx . . $ SoV1LightKit#SoV1LightKit(49f6e7a06ebc5aa8).();
92
93 virtual SoNodecxx . . $ SoNode# *createNewNodecxx . . $ SoV1LightKit#createNewNode(37b0c20759e6fed3).();
94
95 // If tryToSetPartInNewNode fails, then this routine is called.
96 // It will fail for the parts:
97 // "appearance" and "childList."
98 // This routine will simply discard those parts with a warning, but
99 // no error.
100 virtual SbBoolcxx . . $ SbBool# dealWithUpgradedPartcxx . . $ SoV1LightKit#dealWithUpgradedPart(e0744854fea54a6a).( SoBaseKitcxx . . $ SoBaseKit# *newNode,
101 SoNodecxx . . $ SoNode# *newPart, const SbNamecxx . . $ SbName# &newPartName );
102
103 SoINTERNALcxx . . $ `lib/database/include/Inventor/SbBasic.h:113:9`! public:
104 static void initClasscxx . . $ SoV1LightKit#initClass(49f6e7a06ebc5aa8).();
105
106 protected:
107 virtual ~cxx . . $ SoV1LightKit#`~SoV1LightKit`(49f6e7a06ebc5aa8).SoV1LightKitcxx . . $ SoV1LightKit#();
108 };
109 #endif /* _SO_V1_LIGHT_KIT_ */