Changeset 7005

Show
Ignore:
Timestamp:
06/19/07 11:16:36
Author:
robert
Message:

Removed OSGVIEWER_EXPORT

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • OpenSceneGraph/trunk/examples/osgterrain/osgterrain.cpp

    r7003 r7005  
    4949#include <iostream> 
    5050 
    51 class OSGVIEWER_EXPORT FilterHandler : public osgGA::GUIEventHandler  
     51class FilterHandler : public osgGA::GUIEventHandler  
    5252{ 
    5353public:  
     
    8585                    { 
    8686                        _gt->setFilterWidth(_gt->getFilterWidth()*1.1); 
     87                        osg::notify(osg::NOTICE)<<"Filter width = "<<_gt->getFilterWidth()<<std::endl; 
    8788                        return true; 
    8889                    } 
     
    9091                    { 
    9192                        _gt->setFilterWidth(_gt->getFilterWidth()/1.1); 
     93                        osg::notify(osg::NOTICE)<<"Filter width = "<<_gt->getFilterWidth()<<std::endl; 
     94                        return true; 
     95                    } 
     96                    else if (ea.getKey() == '>') 
     97                    { 
     98                        _gt->setFilterBias(_gt->getFilterBias()+0.1); 
     99                        osg::notify(osg::NOTICE)<<"Filter bias = "<<_gt->getFilterBias()<<std::endl; 
     100                        return true; 
     101                    } 
     102                    else if (ea.getKey() == '<') 
     103                    { 
     104                        _gt->setFilterBias(_gt->getFilterBias()-0.1); 
     105                        osg::notify(osg::NOTICE)<<"Filter bias = "<<_gt->getFilterBias()<<std::endl; 
    92106                        return true; 
    93107                    }