type.autogen.C

00001 /*
00002  * This file is part of the "Archon" framework.
00003  * (http://files3d.sourceforge.net)
00004  *
00005  * Copyright © 2002 by Kristian Spangsege and Brian Kristiansen.
00006  *
00007  * Permission to use, copy, modify, and distribute this software and
00008  * its documentation under the terms of the GNU General Public License is
00009  * hereby granted. No representations are made about the suitability of
00010  * this software for any purpose. It is provided "as is" without express
00011  * or implied warranty. See the GNU General Public License
00012  * (http://www.gnu.org/copyleft/gpl.html) for more details.
00013  *
00014  * The characters in this file are ISO8859-1 encoded.
00015  *
00016  * The documentation in this file is in "Doxygen" style
00017  * (http://www.doxygen.org).
00018  */
00019 
00020 /*
00021  * Note: This file is auto-generated, so don't edit it!
00022  */
00023 
00024 #include <archon/x3d/proxy/type.H>
00025 #include <archon/x3d/proxy/node.autogen.H>
00026 
00027 namespace Archon
00028 {
00029   namespace X3D
00030   {
00031     namespace Proxy
00032     {
00033       const FieldDef fieldsOfMetadataObject[] =
00034       {
00035         { "name" },
00036         { "reference" },
00037       };
00038 
00039       const FieldDef fieldsOfNode[] =
00040       {
00041         { "metadata" },
00042       };
00043 
00044       const FieldDef fieldsOfSensorNode[] =
00045       {
00046         { "enabled" },
00047         { "isActive" },
00048       };
00049 
00050       const FieldDef fieldsOfMetadataDouble[] =
00051       {
00052         { "value" },
00053       };
00054 
00055       const FieldDef fieldsOfMetadataFloat[] =
00056       {
00057         { "value" },
00058       };
00059 
00060       const FieldDef fieldsOfMetadataInteger[] =
00061       {
00062         { "value" },
00063       };
00064 
00065       const FieldDef fieldsOfMetadataSet[] =
00066       {
00067         { "value" },
00068       };
00069 
00070       const FieldDef fieldsOfMetadataString[] =
00071       {
00072         { "value" },
00073       };
00074 
00075       const FieldDef fieldsOfTimeDependentNode[] =
00076       {
00077         { "isPaused" },
00078         { "elapsedTime" },
00079         { "loop" },
00080         { "numLoops" },
00081         { "startTime" },
00082         { "stopTime" },
00083         { "pauseTime" },
00084         { "resumeTime" },
00085       };
00086 
00087       const FieldDef fieldsOfTimeSensor[] =
00088       {
00089         { "cycleInterval" },
00090         { "cycleTime" },
00091         { "fraction_changed" },
00092         { "time" },
00093       };
00094 
00095       const FieldDef fieldsOfUrlObject[] =
00096       {
00097         { "url" },
00098       };
00099 
00100       const FieldDef fieldsOfInline[] =
00101       {
00102         { "load" },
00103       };
00104 
00105       const FieldDef fieldsOfBoundedObject[] =
00106       {
00107         { "bboxCenter" },
00108         { "bboxSize" },
00109       };
00110 
00111       const FieldDef fieldsOfGroupingNode[] =
00112       {
00113         { "addChildren" },
00114         { "removeChildren" },
00115         { "children" },
00116       };
00117 
00118       const FieldDef fieldsOfSwitch[] =
00119       {
00120         { "whichChoice" },
00121       };
00122 
00123       const FieldDef fieldsOfTransform[] =
00124       {
00125         { "center" },
00126         { "rotation" },
00127         { "scale" },
00128         { "scaleOrientation" },
00129         { "translation" },
00130       };
00131 
00132       const FieldDef fieldsOfColor[] =
00133       {
00134         { "color" },
00135       };
00136 
00137       const FieldDef fieldsOfColorRGBA[] =
00138       {
00139         { "color" },
00140       };
00141 
00142       const FieldDef fieldsOfCoordinate[] =
00143       {
00144         { "point" },
00145       };
00146 
00147       const FieldDef fieldsOfNormal[] =
00148       {
00149         { "vector" },
00150       };
00151 
00152       const FieldDef fieldsOfTextureCoordinate[] =
00153       {
00154         { "point" },
00155       };
00156 
00157       const FieldDef fieldsOfTextureTransform[] =
00158       {
00159         { "center" },
00160         { "rotation" },
00161         { "scale" },
00162         { "translation" },
00163       };
00164 
00165       const FieldDef fieldsOfTexture2DNode[] =
00166       {
00167         { "repeatS" },
00168         { "repeatT" },
00169       };
00170 
00171       const FieldDef fieldsOfPixelTexture[] =
00172       {
00173         { "image" },
00174       };
00175 
00176       const FieldDef fieldsOfMaterial[] =
00177       {
00178         { "ambientIntensity" },
00179         { "diffuseColor" },
00180         { "emissiveColor" },
00181         { "shininess" },
00182         { "specularColor" },
00183         { "transparency" },
00184         { "refractiveIndex" },
00185       };
00186 
00187       const FieldDef fieldsOfAppearance[] =
00188       {
00189         { "material" },
00190         { "texture" },
00191         { "textureTransform" },
00192       };
00193 
00194       const FieldDef fieldsOfBindableNode[] =
00195       {
00196         { "set_bind" },
00197         { "isBound" },
00198         { "bindTime" },
00199       };
00200 
00201       const FieldDef fieldsOfFog[] =
00202       {
00203         { "color" },
00204         { "fogType" },
00205         { "visibilityRange" },
00206       };
00207 
00208       const FieldDef fieldsOfBackground[] =
00209       {
00210         { "groundAngle" },
00211         { "groundColor" },
00212         { "backUrl" },
00213         { "bottomUrl" },
00214         { "frontUrl" },
00215         { "leftUrl" },
00216         { "rightUrl" },
00217         { "topUrl" },
00218         { "skyAngle" },
00219         { "skyColor" },
00220       };
00221 
00222       const FieldDef fieldsOfBox[] =
00223       {
00224         { "size" },
00225       };
00226 
00227       const FieldDef fieldsOfCone[] =
00228       {
00229         { "bottomRadius" },
00230         { "height" },
00231         { "side" },
00232         { "bottom" },
00233       };
00234 
00235       const FieldDef fieldsOfCylinder[] =
00236       {
00237         { "bottom" },
00238         { "radius" },
00239         { "height" },
00240         { "side" },
00241         { "top" },
00242       };
00243 
00244       const FieldDef fieldsOfIndexedLineSet[] =
00245       {
00246         { "color" },
00247         { "coord" },
00248         { "colorIndex" },
00249         { "set_colorIndex" },
00250         { "colorPerVertex" },
00251         { "coordIndex" },
00252         { "set_coordIndex" },
00253         { "lineWidth" },
00254       };
00255 
00256       const FieldDef fieldsOfPointSet[] =
00257       {
00258         { "color" },
00259         { "coord" },
00260       };
00261 
00262       const FieldDef fieldsOfSphere[] =
00263       {
00264         { "radius" },
00265       };
00266 
00267       const FieldDef fieldsOfComposedGeometryNode[] =
00268       {
00269         { "color" },
00270         { "coord" },
00271         { "normal" },
00272         { "texCoord" },
00273         { "ccw" },
00274         { "colorPerVertex" },
00275         { "normalPerVertex" },
00276         { "solid" },
00277       };
00278 
00279       const FieldDef fieldsOfIndexedFaceSet[] =
00280       {
00281         { "convex" },
00282         { "colorIndex" },
00283         { "set_colorIndex" },
00284         { "coordIndex" },
00285         { "set_coordIndex" },
00286         { "creaseAngle" },
00287         { "normalIndex" },
00288         { "set_normalIndex" },
00289         { "texCoordIndex" },
00290         { "set_texCoordIndex" },
00291       };
00292 
00293       const FieldDef fieldsOfElevationGrid[] =
00294       {
00295         { "creaseAngle" },
00296         { "height" },
00297         { "set_height" },
00298         { "xDimension" },
00299         { "xSpacing" },
00300         { "zDimension" },
00301         { "zSpacing" },
00302       };
00303 
00304       const FieldDef fieldsOfShape[] =
00305       {
00306         { "appearance" },
00307         { "geometry" },
00308       };
00309 
00310       const FieldDef fieldsOfFontStyle[] =
00311       {
00312         { "family" },
00313         { "horizontal" },
00314         { "justify" },
00315         { "language" },
00316         { "leftToRight" },
00317         { "size" },
00318         { "spacing" },
00319         { "style" },
00320         { "topToBottom" },
00321       };
00322 
00323       const FieldDef fieldsOfText[] =
00324       {
00325         { "string" },
00326         { "fontStyle" },
00327         { "length" },
00328         { "maxExtent" },
00329         { "solid" },
00330       };
00331 
00332       const FieldDef fieldsOfLightNode[] =
00333       {
00334         { "ambientIntensity" },
00335         { "color" },
00336         { "intensity" },
00337         { "on" },
00338       };
00339 
00340       const FieldDef fieldsOfDirectionalLight[] =
00341       {
00342         { "direction" },
00343       };
00344 
00345       const FieldDef fieldsOfPointLight[] =
00346       {
00347         { "attenuation" },
00348         { "location" },
00349         { "radius" },
00350       };
00351 
00352       const FieldDef fieldsOfSpotLight[] =
00353       {
00354         { "attenuation" },
00355         { "beamWidth" },
00356         { "cutOffAngle" },
00357         { "direction" },
00358         { "location" },
00359         { "radius" },
00360       };
00361 
00362       const FieldDef fieldsOfInterpolatorNode[] =
00363       {
00364         { "set_fraction" },
00365         { "key" },
00366       };
00367 
00368       const FieldDef fieldsOfColorInterpolator[] =
00369       {
00370         { "keyValue" },
00371         { "value_changed" },
00372       };
00373 
00374       const FieldDef fieldsOfCoordinateInterpolator[] =
00375       {
00376         { "keyValue" },
00377         { "value_changed" },
00378       };
00379 
00380       const FieldDef fieldsOfCoordinateInterpolator2D[] =
00381       {
00382         { "keyValue" },
00383         { "value_changed" },
00384       };
00385 
00386       const FieldDef fieldsOfNormalInterpolator[] =
00387       {
00388         { "keyValue" },
00389         { "value_changed" },
00390       };
00391 
00392       const FieldDef fieldsOfOrientationInterpolator[] =
00393       {
00394         { "keyValue" },
00395         { "value_changed" },
00396       };
00397 
00398       const FieldDef fieldsOfPositionInterpolator[] =
00399       {
00400         { "keyValue" },
00401         { "value_changed" },
00402       };
00403 
00404       const FieldDef fieldsOfPositionInterpolator2D[] =
00405       {
00406         { "keyValue" },
00407         { "value_changed" },
00408       };
00409 
00410       const FieldDef fieldsOfScalarInterpolator[] =
00411       {
00412         { "keyValue" },
00413         { "value_changed" },
00414       };
00415 
00416       const FieldDef fieldsOfBillboard[] =
00417       {
00418         { "axisOfRotation" },
00419       };
00420 
00421       const FieldDef fieldsOfViewpoint[] =
00422       {
00423         { "jump" },
00424         { "position" },
00425         { "orientation" },
00426         { "fieldOfView" },
00427         { "centerOfRotation" },
00428         { "description" },
00429       };
00430 
00431       const FieldDef fieldsOfPointingDeviceSensorNode[] =
00432       {
00433         { "description" },
00434         { "isOver" },
00435       };
00436 
00437       const FieldDef fieldsOfDragSensorNode[] =
00438       {
00439         { "autoOffset" },
00440         { "trackPoint_changed" },
00441       };
00442 
00443       const FieldDef fieldsOfPlaneSensor[] =
00444       {
00445         { "maxPosition" },
00446         { "minPosition" },
00447         { "offset" },
00448         { "translation_changed" },
00449       };
00450 
00451       const FieldDef fieldsOfSphereSensor[] =
00452       {
00453         { "offset" },
00454         { "rotation_changed" },
00455       };
00456 
00457       const FieldDef fieldsOfCylinderSensor[] =
00458       {
00459         { "diskAngle" },
00460         { "maxAngle" },
00461         { "minAngle" },
00462         { "offset" },
00463         { "rotation_changed" },
00464       };
00465 
00466       const FieldDef fieldsOfTouchSensorNode[] =
00467       {
00468         { "touchTime" },
00469       };
00470 
00471       const FieldDef fieldsOfTouchSensor[] =
00472       {
00473         { "hitNormal_changed" },
00474         { "hitPoint_changed" },
00475         { "hitTexCoord_changed" },
00476       };
00477 
00478       const FieldDef fieldsOfScript[] =
00479       {
00480         { "directOutput" },
00481         { "mustEvaluate" },
00482       };
00483 
00484       const FieldDef fieldsOfTorus[] =
00485       {
00486         { "majorRadius" },
00487         { "minorRadius" },
00488       };
00489 
00490       const NodeDef nodeDefs[] =
00491       {
00492         { "MetadataObject", 0, 2, fieldsOfMetadataObject },
00493         { "Node", 0, 1, fieldsOfNode },
00494         { "ChildNode", 0, 0, 0 },
00495         { "SensorNode", 0, 2, fieldsOfSensorNode },
00496         { "MetadataDouble", &MetadataDouble::instantiate, 1, fieldsOfMetadataDouble },
00497         { "MetadataFloat", &MetadataFloat::instantiate, 1, fieldsOfMetadataFloat },
00498         { "MetadataInteger", &MetadataInteger::instantiate, 1, fieldsOfMetadataInteger },
00499         { "MetadataSet", &MetadataSet::instantiate, 1, fieldsOfMetadataSet },
00500         { "MetadataString", &MetadataString::instantiate, 1, fieldsOfMetadataString },
00501         { "TimeDependentNode", 0, 8, fieldsOfTimeDependentNode },
00502         { "TimeSensor", &TimeSensor::instantiate, 4, fieldsOfTimeSensor },
00503         { "UrlObject", 0, 1, fieldsOfUrlObject },
00504         { "SubSceneNode", 0, 0, 0 },
00505         { "Inline", &Inline::instantiate, 1, fieldsOfInline },
00506         { "ApplicationLink", &ApplicationLink::instantiate, 0, 0 },
00507         { "BoundedObject", 0, 2, fieldsOfBoundedObject },
00508         { "GroupingNode", 0, 3, fieldsOfGroupingNode },
00509         { "Group", &Group::instantiate, 0, 0 },
00510         { "Switch", &Switch::instantiate, 1, fieldsOfSwitch },
00511         { "Transform", &Transform::instantiate, 5, fieldsOfTransform },
00512         { "GeometricPropertyNode", 0, 0, 0 },
00513         { "ColorNode", 0, 0, 0 },
00514         { "CoordinateNode", 0, 0, 0 },
00515         { "NormalNode", 0, 0, 0 },
00516         { "Color", &Color::instantiate, 1, fieldsOfColor },
00517         { "ColorRGBA", &ColorRGBA::instantiate, 1, fieldsOfColorRGBA },
00518         { "Coordinate", &Coordinate::instantiate, 1, fieldsOfCoordinate },
00519         { "Normal", &Normal::instantiate, 1, fieldsOfNormal },
00520         { "TextureCoordinateNode", 0, 0, 0 },
00521         { "TextureCoordinate", &TextureCoordinate::instantiate, 1, fieldsOfTextureCoordinate },
00522         { "AppearanceChildNode", 0, 0, 0 },
00523         { "TextureTransformNode", 0, 0, 0 },
00524         { "TextureTransform", &TextureTransform::instantiate, 4, fieldsOfTextureTransform },
00525         { "TextureNode", 0, 0, 0 },
00526         { "Texture2DNode", 0, 2, fieldsOfTexture2DNode },
00527         { "ImageTexture", &ImageTexture::instantiate, 0, 0 },
00528         { "PixelTexture", &PixelTexture::instantiate, 1, fieldsOfPixelTexture },
00529         { "MaterialNode", 0, 0, 0 },
00530         { "Material", &Material::instantiate, 7, fieldsOfMaterial },
00531         { "AppearanceNode", 0, 0, 0 },
00532         { "Appearance", &Appearance::instantiate, 3, fieldsOfAppearance },
00533         { "BindableNode", 0, 3, fieldsOfBindableNode },
00534         { "Fog", &Fog::instantiate, 3, fieldsOfFog },
00535         { "Background", &Background::instantiate, 10, fieldsOfBackground },
00536         { "GeometryNode", 0, 0, 0 },
00537         { "Geometry3DNode", 0, 0, 0 },
00538         { "Box", &Box::instantiate, 1, fieldsOfBox },
00539         { "Cone", &Cone::instantiate, 4, fieldsOfCone },
00540         { "Cylinder", &Cylinder::instantiate, 5, fieldsOfCylinder },
00541         { "IndexedLineSet", &IndexedLineSet::instantiate, 8, fieldsOfIndexedLineSet },
00542         { "PointSet", &PointSet::instantiate, 2, fieldsOfPointSet },
00543         { "Sphere", &Sphere::instantiate, 1, fieldsOfSphere },
00544         { "ComposedGeometryNode", 0, 8, fieldsOfComposedGeometryNode },
00545         { "IndexedFaceSet", &IndexedFaceSet::instantiate, 10, fieldsOfIndexedFaceSet },
00546         { "ElevationGrid", &ElevationGrid::instantiate, 7, fieldsOfElevationGrid },
00547         { "ShapeNode", 0, 0, 0 },
00548         { "Shape", &Shape::instantiate, 2, fieldsOfShape },
00549         { "FontStyleNode", 0, 0, 0 },
00550         { "FontStyle", &FontStyle::instantiate, 9, fieldsOfFontStyle },
00551         { "TextNode", 0, 0, 0 },
00552         { "Text", &Text::instantiate, 5, fieldsOfText },
00553         { "LightNode", 0, 4, fieldsOfLightNode },
00554         { "DirectionalLight", &DirectionalLight::instantiate, 1, fieldsOfDirectionalLight },
00555         { "PointLight", &PointLight::instantiate, 3, fieldsOfPointLight },
00556         { "SpotLight", &SpotLight::instantiate, 6, fieldsOfSpotLight },
00557         { "InterpolatorNode", 0, 2, fieldsOfInterpolatorNode },
00558         { "ColorInterpolator", &ColorInterpolator::instantiate, 2, fieldsOfColorInterpolator },
00559         { "CoordinateInterpolator", &CoordinateInterpolator::instantiate, 2, fieldsOfCoordinateInterpolator },
00560         { "CoordinateInterpolator2D", &CoordinateInterpolator2D::instantiate, 2, fieldsOfCoordinateInterpolator2D },
00561         { "NormalInterpolator", &NormalInterpolator::instantiate, 2, fieldsOfNormalInterpolator },
00562         { "OrientationInterpolator", &OrientationInterpolator::instantiate, 2, fieldsOfOrientationInterpolator },
00563         { "PositionInterpolator", &PositionInterpolator::instantiate, 2, fieldsOfPositionInterpolator },
00564         { "PositionInterpolator2D", &PositionInterpolator2D::instantiate, 2, fieldsOfPositionInterpolator2D },
00565         { "ScalarInterpolator", &ScalarInterpolator::instantiate, 2, fieldsOfScalarInterpolator },
00566         { "Billboard", &Billboard::instantiate, 1, fieldsOfBillboard },
00567         { "Viewpoint", &Viewpoint::instantiate, 6, fieldsOfViewpoint },
00568         { "PointingDeviceSensorNode", 0, 2, fieldsOfPointingDeviceSensorNode },
00569         { "DragSensorNode", 0, 2, fieldsOfDragSensorNode },
00570         { "PlaneSensor", &PlaneSensor::instantiate, 4, fieldsOfPlaneSensor },
00571         { "SphereSensor", &SphereSensor::instantiate, 2, fieldsOfSphereSensor },
00572         { "CylinderSensor", &CylinderSensor::instantiate, 5, fieldsOfCylinderSensor },
00573         { "TouchSensorNode", 0, 1, fieldsOfTouchSensorNode },
00574         { "TouchSensor", &TouchSensor::instantiate, 3, fieldsOfTouchSensor },
00575         { "ScriptNode", 0, 0, 0 },
00576         { "Script", &Script::instantiate, 2, fieldsOfScript },
00577         { "Torus", &Torus::instantiate, 2, fieldsOfTorus },
00578       };
00579     }
00580   }
00581 }

Generated on Sun Jul 30 22:55:48 2006 for Archon by  doxygen 1.4.4