Changeset 355


Ignore:
Timestamp:
Apr 21, 2012, 9:59:19 PM (12 years ago)
Author:
Torben Dannhauer
Message:
 
Location:
experimental/distortionNG
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • experimental/distortionNG/DistortionManipulator.cpp

    r353 r355  
    6464        case(osgGA::GUIEventAdapter::DRAG):
    6565                {
    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;
    7781
    7882                }
  • experimental/distortionNG/distortionNG.vcproj

    r346 r355  
    338338                        </File>
    339339                        <File
    340                                 RelativePath=".\distortionNG.cpp"
    341                                 >
    342                         </File>
    343                         <File
    344340                                RelativePath=".\DistortionSet.cpp"
    345341                                >
     
    364360                        </File>
    365361                        <File
    366                                 RelativePath=".\distortionNG.h"
    367                                 >
    368                         </File>
    369                         <File
    370362                                RelativePath=".\DistortionSet.h"
    371363                                >
Note: See TracChangeset for help on using the changeset viewer.