Show
Ignore:
Timestamp:
08/05/09 18:02:44 (5 years ago)
Author:
robert
Message:

Introduced TabBoxTrackballDragger?

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgmanipulator/osgmanipulator.cpp

    r10454 r10523  
    2424 
    2525#include <osgManipulator/TabBoxDragger> 
     26#include <osgManipulator/TabBoxTrackballDragger> 
    2627#include <osgManipulator/TabPlaneDragger> 
    2728#include <osgManipulator/TabPlaneTrackballDragger> 
     
    5051    { 
    5152        osgManipulator::TabPlaneTrackballDragger* d = new osgManipulator::TabPlaneTrackballDragger(); 
     53        d->setupDefaultGeometry(); 
     54        dragger = d; 
     55    } 
     56    else if ("TabBoxTrackballDragger" == name) 
     57    { 
     58        osgManipulator::TabBoxTrackballDragger* d = new osgManipulator::TabBoxTrackballDragger(); 
    5259        d->setupDefaultGeometry(); 
    5360        dragger = d; 
     
    202209      transform_1.get()->addChild(addDraggerToScene(geode_1.get(),"TabBoxDragger")); 
    203210    transform_2.get()->addChild(addDraggerToScene(geode_2.get(),"TabPlaneDragger")); 
    204     transform_3.get()->addChild(addDraggerToScene(geode_3.get(),"TabPlaneTrackballDragger")); 
     211    transform_3.get()->addChild(addDraggerToScene(geode_3.get(),"TabBoxTrackballDragger")); 
    205212    transform_4.get()->addChild(addDraggerToScene(geode_4.get(),"TrackballDragger")); 
    206213    transform_5.get()->addChild(addDraggerToScene(geode_5.get(),"Translate1DDragger"));