| 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 SoV1VertexShapeKit class. |
| 49 | | Subclassed off of SoV1ShapeKit, this class adds 3 nodes needed for all |
| 50 | | vertex-based shapes: SoCoordinate3, SoNormal, and SoTextureCoordinate2 |
| 51 | | |
| 52 | | Author(s) : Paul Isaacs |
| 53 | | |
| 54 | ______________ S I L I C O N G R A P H I C S I N C . ____________ |
| 55 | _______________________________________________________________________ |
| 56 | */ |
| 57 | |
| 58 | #ifndef _SO_V1_VERTEX_SHAPE_KIT_ |
| 59 | #define _SO_V1_VERTEX_SHAPE_KIT_cxx . . $ `lib/nodekits/include/Inventor/misc/upgraders/SoV1VertexShapeKit.h:59:10`! |
| 60 | |
| 61 | #include <Inventor/misc/upgraders/SoV1ShapeKit.h>cxx . . $ `<file>/lib/nodekits/include/Inventor/misc/upgraders/SoV1ShapeKit.h`/ |
| 62 | |
| 63 | //////////////////////////////////////////////////////////////////// |
| 64 | // Class: SoV1VertexShapeKit |
| 65 | // |
| 66 | // New nodes in this subclass are: |
| 67 | // shapeHints, coordinate3, normal, and textureCoordinate2 |
| 68 | // |
| 69 | // A parent node that manages a collection of child nodes |
| 70 | // into a unit with the following structure: |
| 71 | // |
| 72 | // this |
| 73 | // |---------------------| |
| 74 | // "label" | "topSeparator" |
| 75 | // "callbackList" | |
| 76 | // --------------------------------------------------------------- |
| 77 | // | | | | | | | | |
| 78 | // "pickStyle" | "transform" | | | | | |
| 79 | // "appearance" "texture2Transform" | | | | |
| 80 | // | | | | |
| 81 | // | | | | |
| 82 | // --------------------------------- | | | |
| 83 | // | | | | | | "childList" |
| 84 | //"materialBinding"| | | | | |
| 85 | // "normalBinding" | | | | |
| 86 | // "textureCoordinateFunctionList" | | "shape" |
| 87 | // "textureCoordinateBinding"| |
| 88 | // | |
| 89 | // -------------------------------------- |
| 90 | // | | | | |
| 91 | // "shapeHints" "coordinate3" "normal" "textureCoordinate2" |
| 92 | // |
| 93 | //////////////////////////////////////////////////////////////////// |
| 94 | |
| 95 | SoEXTENDERcxx . . $ `lib/database/include/Inventor/SbBasic.h:112:9`! class SoV1VertexShapeKitcxx . . $ SoV1VertexShapeKit# : public SoV1ShapeKitcxx . . $ SoV1ShapeKit# { |
| 96 | |
| 97 | // Define typeId and name stuff |
| 98 | SO_NODE_HEADERcxx . . $ `lib/database/include/Inventor/nodes/SoSubNode.h:171:9`!(SoV1VertexShapeKit); |
| 99 | |
| 100 | // Define catalog for children |
| 101 | SO_V1_SUBKIT_CATALOG_HEADERcxx . . $ `lib/nodekits/include/Inventor/misc/upgraders/SoV1SubKit.h:93:9`!(SoV1VertexShapeKit); |
| 102 | |
| 103 | public: |
| 104 | // constructor |
| 105 | SoV1VertexShapeKitcxx . . $ SoV1VertexShapeKit#SoV1VertexShapeKit(49f6e7a06ebc5aa8).(); |
| 106 | |
| 107 | virtual SoNodecxx . . $ SoNode# *createNewNodecxx . . $ SoV1VertexShapeKit#createNewNode(37b0c20759e6fed3).(); |
| 108 | |
| 109 | SoINTERNALcxx . . $ `lib/database/include/Inventor/SbBasic.h:113:9`! public: |
| 110 | static void initClasscxx . . $ SoV1VertexShapeKit#initClass(49f6e7a06ebc5aa8).(); |
| 111 | |
| 112 | protected: |
| 113 | virtual ~cxx . . $ SoV1VertexShapeKit#`~SoV1VertexShapeKit`(49f6e7a06ebc5aa8).SoV1VertexShapeKitcxx . . $ SoV1VertexShapeKit#(); |
| 114 | }; |
| 115 | #endif /* _SO_V1_VERTEX_SHAPE_KIT_ */ |