SoNavigationDraggerLayout.h
Go to the documentation of this file.00001 const char RotTransDragger::NavigationDraggerLayout[] =
00002 "\n"
00003 "\n"
00004 "# Geometry resource file for the RotTransDragger\n"
00005 "\n"
00006 "# Geometry for the rotating parts.\n"
00007 "DEF rotTransRotatorRotator Separator {\n"
00008 " Material { \n"
00009 " diffuseColor .05 .18 .125\n"
00010 " emissiveColor .05 .18 .125\n"
00011 " }\n"
00012 " DrawStyle { lineWidth 2 }\n"
00013 " Cylinder {\n"
00014 " radius 1.85\n"
00015 " height .15\n"
00016 " parts SIDES\n"
00017 " }\n"
00018 "}\n"
00019 "\n"
00020 "DEF rotTransRotatorRotatorActive Separator {\n"
00021 " Material { \n"
00022 " diffuseColor .05 .2025 .18\n"
00023 " emissiveColor .05 .2025 .18\n"
00024 " }\n"
00025 " DrawStyle { lineWidth 2 }\n"
00026 " Cylinder {\n"
00027 " radius 1.85\n"
00028 " height .15\n"
00029 " parts SIDES\n"
00030 " }\n"
00031 "}\n"
00032 "\n"
00033 "# Do not display the axis feedback used\n"
00034 "# by the cylinder manips.\n"
00035 "DEF rotTransRotatorFeedback Separator { }\n"
00036 "DEF rotTransRotatorFeedbackActive Separator { }\n"
00037 "\n"
00038 "DEF rotTransTranslatorTranslator Separator {\n"
00039 " Material { diffuseColor .6 .6 .6 }\n"
00040 " DrawStyle { style LINES }\n"
00041 " Sphere { radius 1.732 }\n"
00042 "}\n"
00043 "\n"
00044 "DEF rotTransTranslatorTranslatorActive Separator {\n"
00045 " Material { diffuseColor .6 .6 0 }\n"
00046 " DrawStyle { style LINES }\n"
00047 " Sphere { radius 1.732 }\n"
00048 "}\n"
00049 "\n"
00050 "# Don't show anything for feedback during inactive state.\n"
00051 "DEF rotTransTranslatorFeedback Separator { }\n"
00052 "\n"
00053 "DEF rotTransTranslatorFeedbackActive Separator {\n"
00054 " Material { diffuseColor .5 .9 .9 }\n"
00055 " # An arrow aligned with the x-axis.\n"
00056 " RotationXYZ {\n"
00057 " axis Z\n"
00058 " angle 1.57079\n"
00059 " }\n"
00060 " Separator {\n"
00061 "\n"
00062 " #stick\n"
00063 " Cylinder { height 4.0 radius 0.05 }\n"
00064 "\n"
00065 " #left arrowhead\n"
00066 " Translation { translation 0 2.2 0 }\n"
00067 " Cone { height 0.4 bottomRadius 0.2 }\n"
00068 "\n"
00069 " #right arrowhead\n"
00070 " Translation { translation 0 -4.4 0 }\n"
00071 " RotationXYZ { axis Z angle 3.14159 }\n"
00072 " Cone { height 0.4 bottomRadius 0.2 }\n"
00073 " }\n"
00074 "}\n";