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

Added set/getDistance() method

Files:
1 modified

Legend:

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

    r10246 r10913  
    101101        virtual float getFusionDistanceValue() const { return 1.0f; } 
    102102 
     103        /** Set the distance parameter (used by TrackballManipulator etc.) */ 
     104        void setDistance(double /*distance*/) {} 
     105 
     106        /** Get the distance parameter. */ 
     107        virtual double getDistance() const { return 1.0; } 
     108 
    103109        /** Set the mask to use when set up intersection traversal such as used in manipulators that follow terrain or have collision detection. 
    104110          * The intersection traversal mask is useful for controlling what parts of the scene graph should be used for intersection purposes.*/