basic/geometry/vrml_reader/keyword.cpp

Go to the documentation of this file.
00001 #include "keyword.h"
00002 
00003 char VrmlKeywordAmbientColor[]  = "ambientColor";
00004 char VrmlKeywordAmbientIntensity[]      = "ambientIntensity";
00005 char VrmlKeywordAppearanceUpper[]       = "Appearance";
00006 char VrmlKeywordAppearanceLower[]       = "appearance";
00007 char VrmlKeywordBboxCenter[]    = "bboxCenter";
00008 char VrmlKeywordBboxSize[]              = "bboxSize";
00009 char VrmlKeywordCcw[]                   = "ccw";
00010 char VrmlKeywordChildren[]              = "children";
00011 char VrmlKeywordCollision[]     = "Collision";
00012 char VrmlKeywordColor[]         = "color";
00013 char VrmlKeywordColorPerVertex[]= "colorPerVertex";
00014 char VrmlKeywordConvex[]                = "convex";
00015 char VrmlKeywordCoord[]                 = "coord";
00016 char VrmlKeywordCoordIndex[]    = "coordIndex";
00017 char VrmlKeywordCreaseAngle[]   = "creaseAngle";
00018 char VrmlKeywordCylinder[]              = "Cylinder";
00019 char VrmlKeywordDefine[]                = "DEF";
00020 char VrmlKeywordDiffuseColor[]  = "diffuseColor";
00021 char VrmlKeywordDirectionalLight[]      = "DirectionalLight";
00022 char VrmlKeywordDrawStyle[]             = "DrawStyle";
00023 char VrmlKeywordEmissiveColor[] = "emissiveColor";
00024 char VrmlKeywordIndexedLineSet[]= "IndexedLineSet";
00025 char VrmlKeywordGeometry[]              = "geometry";
00026 char VrmlKeywordGroup[]                 = "Group";
00027 char VrmlKeywordInfo[]                  = "Info";
00028 char VrmlKeywordInline[]                = "Inline";
00029 char VrmlKeywordMaterialLower[] = "material";
00030 char VrmlKeywordMaterialUpper[] = "Material";
00031 char VrmlKeywordMaterialBinding[] = "MaterialBinding";
00032 char VrmlKeywordMaterialIndex[] = "materialIndex";
00033 char VrmlKeywordMatrixTransform[] = "MatrixTransform";
00034 char VrmlKeywordNavigationInfo[]= "NavigationInfo";
00035 char VrmlKeywordNormal[]                = "normal";
00036 char VrmlKeywordNormalBinding[] = "NormalBinding";
00037 char VrmlKeywordNormalIndex[]   = "normalIndex";
00038 char VrmlKeywordNormalPerVertex[]       = "normalPerVertex";
00039 char VrmlKeywordPointSet[]              = "PointSet";
00040 char VrmlKeywordRenderCulling[] = "renderCulling";
00041 char VrmlKeywordRotation[]              = "rotation";
00042 char VrmlKeywordRotationUpper[] = "Rotation";
00043 char VrmlKeywordScale[]                 = "scale";
00044 char VrmlKeywordScaleFactor[]   = "scaleFactor";
00045 char VrmlKeywordScaleUpper[]    = "Scale";
00046 char VrmlKeywordScaleOrientation[]      = "scaleOrientation";
00047 char VrmlKeywordSeparator[]             = "Separator";
00048 char VrmlKeywordShape[]                 = "Shape";
00049 char VrmlKeywordShininess[]             = "shininess";
00050 char VrmlKeywordSolid[]                 = "solid";
00051 char VrmlKeywordSpecularColor[] = "specularColor";
00052 char VrmlKeywordSphere[]                = "Sphere";
00053 char VrmlKeywordTexCoord[]              = "texCoord";
00054 char VrmlKeywordTexCoordIndex[] = "texCoordIndex";
00055 char VrmlKeywordTexture[]               = "texture";
00056 char VrmlKeywordTextureCoordinate[]     = "TextureCoordinate";
00057 char VrmlKeywordTextureCoordIndex[] = "textureCoordIndex";
00058 char VrmlKeywordTimeSensor[]    = "TimeSensor";
00059 char VrmlKeywordTransform[]             = "Transform";
00060 char VrmlKeywordTranslation[]   = "translation";
00061 char VrmlKeywordTranslationUpper[]      = "Translation";
00062 char VrmlKeywordTransparency[]  = "transparency";
00063 char VrmlKeywordUse[]                   = "USE";
00064 char VrmlKeywordUrl[]                   = "url";
00065 char VrmlKeywordVector[]        = "vector";
00066 char VrmlKeywordViewpoint[]             = "Viewpoint";
00067 char VrmlKeywordWorldInfo[]             = "WorldInfo";
00068 
00069 bool IsNodeType( Keyword keyword )
00070 {
00071         switch( keyword )
00072         {
00073         case VRML_Define:
00074         case VRML_Rotation:
00075         case VRML_Scale:
00076         case VRML_ScaleOrientation:
00077         case VRML_Translation:
00078         case VRML_Use:
00079         case VRML_Url:
00080                 {
00081                         return false;
00082                 }
00083         default:
00084                 {
00085                         return true;
00086                 }
00087         }
00088 }

Generated on Sat Apr 1 21:30:33 2006 for Motion Planning Kernel by  doxygen 1.4.6-NO