Changeset 7005
- Timestamp:
- 06/19/07 11:16:36
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
OpenSceneGraph/trunk/examples/osgterrain/osgterrain.cpp
r7003 r7005 49 49 #include <iostream> 50 50 51 class OSGVIEWER_EXPORTFilterHandler : public osgGA::GUIEventHandler51 class FilterHandler : public osgGA::GUIEventHandler 52 52 { 53 53 public: … … 85 85 { 86 86 _gt->setFilterWidth(_gt->getFilterWidth()*1.1); 87 osg::notify(osg::NOTICE)<<"Filter width = "<<_gt->getFilterWidth()<<std::endl; 87 88 return true; 88 89 } … … 90 91 { 91 92 _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; 92 106 return true; 93 107 }
