Changeset 355
- Timestamp:
- Apr 21, 2012, 9:59:19 PM (13 years ago)
- Location:
- experimental/distortionNG
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
experimental/distortionNG/DistortionManipulator.cpp
r353 r355 64 64 case(osgGA::GUIEventAdapter::DRAG): 65 65 { 66 osg::notify(osg::ALWAYS)<<std::endl<<"Drag:"<<std::endl<<"ea.getGraphicsContext()="<<ea.getGraphicsContext()<<std::endl; 67 osg::notify(osg::ALWAYS)<<"ea.getXnormalized()="<<ea.getXnormalized()<<std::endl; 68 osg::notify(osg::ALWAYS)<<"ea.getYnormalized()="<<ea.getYnormalized()<<std::endl; 69 osg::notify(osg::ALWAYS)<<"ea.getX()="<<ea.getX()<<std::endl; 70 osg::notify(osg::ALWAYS)<<"ea.getXin()="<<ea.getXmin()<<std::endl; 71 osg::notify(osg::ALWAYS)<<"ea.getXmax()="<<ea.getXmax()<<std::endl; 72 osg::notify(osg::ALWAYS)<<"ea.getY()="<<ea.getY()<<std::endl; 73 osg::notify(osg::ALWAYS)<<"ea.getYin()="<<ea.getYmin()<<std::endl; 74 osg::notify(osg::ALWAYS)<<"ea.getYmax()="<<ea.getYmax()<<std::endl; 75 76 return true; // true means event handled: not forwarded to the camera manipulator; 66 if ( activeSetupMode == MANUAL) 67 { 68 osg::notify(osg::ALWAYS)<<std::endl<<"Drag:"<<std::endl<<"ea.getGraphicsContext()="<<ea.getGraphicsContext()<<std::endl; 69 osg::notify(osg::ALWAYS)<<"ea.getXnormalized()="<<ea.getXnormalized()<<std::endl; 70 osg::notify(osg::ALWAYS)<<"ea.getYnormalized()="<<ea.getYnormalized()<<std::endl; 71 osg::notify(osg::ALWAYS)<<"ea.getX()="<<ea.getX()<<std::endl; 72 osg::notify(osg::ALWAYS)<<"ea.getXin()="<<ea.getXmin()<<std::endl; 73 osg::notify(osg::ALWAYS)<<"ea.getXmax()="<<ea.getXmax()<<std::endl; 74 osg::notify(osg::ALWAYS)<<"ea.getY()="<<ea.getY()<<std::endl; 75 osg::notify(osg::ALWAYS)<<"ea.getYin()="<<ea.getYmin()<<std::endl; 76 osg::notify(osg::ALWAYS)<<"ea.getYmax()="<<ea.getYmax()<<std::endl; 77 78 return true; // true means event handled: not forwarded to the camera manipulator; 79 } 80 break; 77 81 78 82 } -
experimental/distortionNG/distortionNG.vcproj
r346 r355 338 338 </File> 339 339 <File 340 RelativePath=".\distortionNG.cpp"341 >342 </File>343 <File344 340 RelativePath=".\DistortionSet.cpp" 345 341 > … … 364 360 </File> 365 361 <File 366 RelativePath=".\distortionNG.h"367 >368 </File>369 <File370 362 RelativePath=".\DistortionSet.h" 371 363 >
Note: See TracChangeset
for help on using the changeset viewer.