Show
Ignore:
Timestamp:
01/05/10 12:09:18 (4 years ago)
Author:
robert
Message:

Added set/getDistance() method

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osgGA/TerrainManipulator

    r10255 r10913  
    5656        /** Get the FusionDistanceValue. Used by SceneView for setting up stereo convergence.*/ 
    5757        virtual float getFusionDistanceValue() const { return _distance; } 
     58 
     59        /** Set the distance of the trackball. */ 
     60        void setDistance(double distance) { _distance = distance; } 
     61 
     62        /** Get the distance of the trackball. */ 
     63        double getDistance() const { return _distance; } 
     64 
    5865 
    5966        /** Attach a node to the manipulator.