void PointsEventHandler::getUsage(osg::ApplicationUsage &usage) const
{
    usage.addKeyboardMouseBinding("+", "Increase point size");
    usage.addKeyboardMouseBinding("-", "Reduce point size");
    usage.addKeyboardMouseBinding(">", "Increase point size");
    usage.addKeyboardMouseBinding("<", "Reduce point size");
}
Exemplo n.º 2
0
void AnimationPathManipulator::getUsage(osg::ApplicationUsage& usage) const
{
    usage.addKeyboardMouseBinding("AnimationPath: Space","Reset the viewing position to start of animation");
    usage.addKeyboardMouseBinding("AnimationPath: p","Pause/resume animation.");
    usage.addKeyboardMouseBinding("AnimationPath: <","Slow down animation speed.");
    usage.addKeyboardMouseBinding("AnimationPath: <","Speed up animation speed.");
}
Exemplo n.º 3
0
void SlideEventHandler::getUsage(osg::ApplicationUsage& usage) const
{
    usage.addKeyboardMouseBinding("Space","Reset the image position to center");
    usage.addKeyboardMouseBinding("a","Toggle on/off the automatic advancement for image to image");
    usage.addKeyboardMouseBinding("n","Advance to next image");
    usage.addKeyboardMouseBinding("p","Move to previous image");
}
Exemplo n.º 4
0
void ViroManipulator::getUsage(osg::ApplicationUsage& usage) const
{
	usage.addKeyboardMouseBinding("ViRo: Mouse Wheel","Accelerate / Decelerate");
	usage.addKeyboardMouseBinding("ViRo: Left-Button","Stop");
	usage.addKeyboardMouseBinding("ViRo: Right-Button","Press and Turn - Hold CTRL for Slide/Height");
	usage.addKeyboardMouseBinding("ViRo: Mid-Button","Fly-To picked point - Hold CTRL for Satellite Picking");
}
Exemplo n.º 5
0
void MovieEventHandler::getUsage(osg::ApplicationUsage& usage) const
{
    usage.addKeyboardMouseBinding("i","toggle interactive mode, scrub via mouse-move");
    usage.addKeyboardMouseBinding("p","Play/Pause movie");
    usage.addKeyboardMouseBinding("r","Restart movie");
    usage.addKeyboardMouseBinding("l","Toggle looping of movie");
}
Exemplo n.º 6
0
void StateSetManipulator::getUsage(osg::ApplicationUsage& usage) const
{
    usage.addKeyboardMouseBinding(reinterpret_cast<const char*>(&_keyEventToggleBackfaceCulling),"Toggle backface culling");
    usage.addKeyboardMouseBinding(reinterpret_cast<const char*>(&_keyEventToggleLighting),"Toggle lighting");
    usage.addKeyboardMouseBinding(reinterpret_cast<const char*>(&_keyEventToggleTexturing),"Toggle texturing");
    usage.addKeyboardMouseBinding(reinterpret_cast<const char*>(&_keyEventCyclePolygonMode),"Toggle polygon fill mode between fill, line (wire frame) and points");
}
Exemplo n.º 7
0
 virtual void bindingDescription(osg::ApplicationUsage & au) const {
   au.addKeyboardMouseBinding("Teachung: t","toggle mode");
   au.addKeyboardMouseBinding("Teaching: u","forward");
   au.addKeyboardMouseBinding("Teaching: j","backward");
   au.addKeyboardMouseBinding("Simulation: s","store");
   au.addKeyboardMouseBinding("Simulation: l","load");
 }
Exemplo n.º 8
0
void Vwr::CameraManipulator::getUsage(osg::ApplicationUsage& usage) const {
	usage.addKeyboardMouseBinding("Trackball: Space",
			"Reset the viewing position to home");
	usage.addKeyboardMouseBinding("Trackball: +",
			"When in stereo, increase the fusion distance");
	usage.addKeyboardMouseBinding("Trackball: -",
			"When in stereo, reduce the fusion distance");
}
Exemplo n.º 9
0
void DriveManipulator::getUsage(osg::ApplicationUsage& usage) const
{
    usage.addKeyboardMouseBinding("Drive: Space","Reset the viewing position to home");
    usage.addKeyboardMouseBinding("Drive: q","Use mouse y for controlling speed");
    usage.addKeyboardMouseBinding("Drive: a","Use mouse middle,right mouse buttons for speed");
    usage.addKeyboardMouseBinding("Drive: Down","Cursor down key to look downwards");
    usage.addKeyboardMouseBinding("Drive: Up","Cursor up key to look upwards");
}
Exemplo n.º 10
0
void ChaseCam::getUsage(osg::ApplicationUsage& usage) const
{
    usage.addKeyboardMouseBinding("Drive: Space", "Accelerate");
    usage.addKeyboardMouseBinding("Drive: Left", "Roll left");
    usage.addKeyboardMouseBinding("Drive: Right", "Roll right");
    usage.addKeyboardMouseBinding("Drive: Down", "Hochziehen");
    usage.addKeyboardMouseBinding("Drive: Up", "Runterziehen");
}
Exemplo n.º 11
0
void SlideEventHandler::getUsage(osg::ApplicationUsage& usage) const
{
    usage.addKeyboardMouseBinding("Space","Reset the image position to center");
    usage.addKeyboardMouseBinding("a","Toggle on/off the automatic advancement for image to image");
    usage.addKeyboardMouseBinding("n","Advance to next image");
    usage.addKeyboardMouseBinding("p","Move to previous image");
    usage.addKeyboardMouseBinding("q","Zoom into the image");
    usage.addKeyboardMouseBinding("a","Zoom out of the image");
    usage.addKeyboardMouseBinding("j","Reduce horizontal offset");
    usage.addKeyboardMouseBinding("k","Increase horizontal offset");
    usage.addKeyboardMouseBinding("m","Reduce vertical offset");
    usage.addKeyboardMouseBinding("i","Increase vertical offset");
}
Exemplo n.º 12
0
void LODScaleHandler::getUsage(osg::ApplicationUsage& usage) const
{
    {
        std::ostringstream ostr;
        ostr<<char(_keyEventIncreaseLODScale);
        usage.addKeyboardMouseBinding(ostr.str(),"Increase LODScale.");
    }
    
    {
        std::ostringstream ostr;
        ostr<<char(_keyEventDecreaseLODScale);
        usage.addKeyboardMouseBinding(ostr.str(),"Decrease LODScale.");
    }
}
Exemplo n.º 13
0
void OpenLoopSim::bindingDescription(osg::ApplicationUsage & au) const {
  au.addKeyboardMouseBinding("Barrel: y","add force to the left");
  au.addKeyboardMouseBinding("Barrel: Y","add force to the right");
  au.addKeyboardMouseBinding("Barrel: x","add torque counter-clockwise");
  au.addKeyboardMouseBinding("Barrel: X","add torque clockwise");
  au.addKeyboardMouseBinding("Barrel: i","decrease period");
  au.addKeyboardMouseBinding("Barrel: I","incrase period");
};
Exemplo n.º 14
0
void UFOManipulator::getUsage(osg::ApplicationUsage& usage) const
{
    /** Way too busy.  This needs to wait until we have a scrollable window 
    usage.addKeyboardMouseBinding("UFO Manipulator: <SpaceBar>",        "Reset the viewing angle to 0.0");
    usage.addKeyboardMouseBinding("UFO Manipulator: <UpArrow>",         "Acceleration forward.");
    usage.addKeyboardMouseBinding("UFO Manipulator: <DownArrow>",       "Acceleration backward (or deceleration forward");
    usage.addKeyboardMouseBinding("UFO Manipulator: <LeftArrow>",       "Rotate view and direction of travel to the left.");
    usage.addKeyboardMouseBinding("UFO Manipulator: <RightArrow>",      "Rotate view and direction of travel to the right.");
    usage.addKeyboardMouseBinding("UFO Manipulator: <SpaceBar>",        "Brake.  Gradually decelerates linear and rotational movement.");
    usage.addKeyboardMouseBinding("UFO Manipulator: <Shift/UpArrow>",   "Accelerate up.");
    usage.addKeyboardMouseBinding("UFO Manipulator: <Shift/DownArrow>", "Accelerate down.");
    usage.addKeyboardMouseBinding("UFO Manipulator: <Shift/LeftArrow>", "Accelerate (linearly) left.");
    usage.addKeyboardMouseBinding("UFO Manipulator: <Shift/RightArrow>","Accelerate (linearly) right.");
    usage.addKeyboardMouseBinding("UFO Manipulator: <Shift/SpaceBar>",  "Instant brake.  Immediately stop all linear and rotational movement.");
    usage.addKeyboardMouseBinding("UFO Manipulator: <Ctrl/UpArrow>",    "Rotate view (but not direction of travel) up.");
    usage.addKeyboardMouseBinding("UFO Manipulator: <Ctrl/DownArrow>",  "Rotate view (but not direction of travel) down.");
    usage.addKeyboardMouseBinding("UFO Manipulator: <Ctrl/LeftArrow>",  "Rotate view (but not direction of travel) left.");
    usage.addKeyboardMouseBinding("UFO Manipulator: <Ctrl/RightArrow>", "Rotate view (but not direction of travel) right.");
    */
    usage.addKeyboardMouseBinding("UFO: ", "Please see http://www.openscenegraph.org/html/UFOCameraManipulator.html");
    // Keep this one as it might be confusing
    usage.addKeyboardMouseBinding("UFO: H", "Reset the viewing position to home");
}
void KeySwitchMatrixManipulator::getUsage(osg::ApplicationUsage& usage) const
{
    for(KeyManipMap::const_iterator itr=_manips.begin();
        itr!=_manips.end();
        ++itr)
    {
        std::string key; key += (char)(itr->first);
        std::string explanation(std::string("Select '")+itr->second.first+std::string("' camera manipulator"));
        if (_current==itr->second.second) explanation += " (default)";

        usage.addKeyboardMouseBinding(key,explanation);
        itr->second.second->getUsage(usage);
    }
}
Exemplo n.º 16
0
void NormalSim::bindingDescription(osg::ApplicationUsage & au) const {
  au.addKeyboardMouseBinding("Barrel: r","Randomize matrix C"); 
  au.addKeyboardMouseBinding("Barrel: R","Randomize matrix C and h");
  au.addKeyboardMouseBinding("Barrel: s","Scatter matrix C (0.2)");
  au.addKeyboardMouseBinding("Barrel: S","Scatter matrix C (0.5)");
  au.addKeyboardMouseBinding("Barrel: L","Initialize lolloping mode");
  
  au.addKeyboardMouseBinding("Barrel: x","add torque counter-clockwise");
  au.addKeyboardMouseBinding("Barrel: X","add torque clockwise");
};
Exemplo n.º 17
0
void MovieEventHandler::getUsage(osg::ApplicationUsage& usage) const
{
    usage.addKeyboardMouseBinding("p","Play/Pause movie");
    usage.addKeyboardMouseBinding("r","Restart movie");
    usage.addKeyboardMouseBinding("l","Toggle looping of movie");
    usage.addKeyboardMouseBinding("+","Increase speed of movie");
    usage.addKeyboardMouseBinding("-","Decrease speed of movie");
    usage.addKeyboardMouseBinding("o","Display frame rate of movie");
    usage.addKeyboardMouseBinding(">","Advance the movie using seek");
}
Exemplo n.º 18
0
 virtual void bindingDescription(osg::ApplicationUsage & au) const {
   au.addKeyboardMouseBinding("Sim: x","release robot");
 }
Exemplo n.º 19
0
void TechniqueEventHandler::getUsage(osg::ApplicationUsage& usage) const
{
    usage.addKeyboardMouseBinding("n or Left Arrow","Advance to next technique");
    usage.addKeyboardMouseBinding("p or Right Array","Move to previous technique");
}
Exemplo n.º 20
0
void LODScaleHandler::getUsage(osg::ApplicationUsage& usage) const
{
    usage.addKeyboardMouseBinding(_keyEventIncreaseLODScale,"Increase LODScale.");
    usage.addKeyboardMouseBinding(_keyEventDecreaseLODScale,"Decrease LODScale.");
}
Exemplo n.º 21
0
void ToggleSyncToVBlankHandler::getUsage(osg::ApplicationUsage& usage) const
{
    usage.addKeyboardMouseBinding(_keyEventToggleSyncToVBlank,"Toggle SyncToVBlank.");
}
Exemplo n.º 22
0
void ThreadingHandler::getUsage(osg::ApplicationUsage &usage) const
{
    usage.addKeyboardMouseBinding(reinterpret_cast<const char*>(&_keyEventChangeThreadingModel), "Toggle threading model.");
    usage.addKeyboardMouseBinding(reinterpret_cast<const char*>(&_keyEventChangeEndBarrierPosition), "Toggle the placement of the end of frame barrier.");
}
void ToggleHandler::getUsage(osg::ApplicationUsage &usage) const
{
  usage.addKeyboardMouseBinding(reinterpret_cast<const char*>(&key_), description_);
  return;
}
Exemplo n.º 24
0
	virtual void getUsage( osg::ApplicationUsage &usage ) const
	{
		usage.addKeyboardMouseBinding( "q or ESC", "Quit the MPV" );
		usage.addKeyboardMouseBinding( "SPACE", "Force transition from Standby to Debug mode" );
	}
Exemplo n.º 25
0
void SlideEventHandler::getUsage(osg::ApplicationUsage& usage) const
{
    usage.addKeyboardMouseBinding("a","Toggle on/off the automatic advancement for image to image");
    usage.addKeyboardMouseBinding("n","Advance to next layer or slide");
    usage.addKeyboardMouseBinding("p","Move to previous layer or slide");
}
Exemplo n.º 26
0
void WindowSizeHandler::getUsage(osg::ApplicationUsage &usage) const
{
    usage.addKeyboardMouseBinding(reinterpret_cast<const char*>(&_keyEventToggleFullscreen), "Toggle full screen.");
    usage.addKeyboardMouseBinding(reinterpret_cast<const char*>(&_keyEventWindowedResolutionUp), "Increase the screen resolution (in windowed mode).");
    usage.addKeyboardMouseBinding(reinterpret_cast<const char*>(&_keyEventWindowedResolutionDown), "Decrease the screen resolution (in windowed mode).");
}
Exemplo n.º 27
0
void RecordCameraPathHandler::getUsage(osg::ApplicationUsage &usage) const
{
    usage.addKeyboardMouseBinding(reinterpret_cast<const char*>(&_keyEventToggleRecord), "Toggle camera path recording.");
    usage.addKeyboardMouseBinding(reinterpret_cast<const char*>(&_keyEventTogglePlayback), "Toggle camera path playback.");
}
// --------------------------------------------------------------------------------------------------
void SphericalManipulator::getUsage(osg::ApplicationUsage &usage) const
{
    usage.addKeyboardMouseBinding("Spherical: Space", "Reset the viewing position to home");
    usage.addKeyboardMouseBinding("Spherical: SHIFT", "Rotates vertically only");
    usage.addKeyboardMouseBinding("Spherical: ALT", "Rotates horizontally only");
}
Exemplo n.º 29
0
 virtual void bindingDescription(osg::ApplicationUsage & au) const {
   au.addKeyboardMouseBinding("Simulation: T","Spin robot counter-clockwise");
   au.addKeyboardMouseBinding("Simulation: t","Spin robot clockwise");
 }
Exemplo n.º 30
0
void MovieEventHandler::getUsage(osg::ApplicationUsage& usage) const
{
    usage.addKeyboardMouseBinding("p","Play/Pause movie");
    usage.addKeyboardMouseBinding("r","Restart movie");
    usage.addKeyboardMouseBinding("l","Toggle looping of movie");
}