Ignore:
Timestamp:
Apr 21, 2012, 1:33:14 PM (12 years ago)
Author:
Torben Dannhauer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • experimental/distortionNG/DistortionManipulator.h

    r348 r349  
    2020#define OSGGA_DISTORTION_MANIPULATOR 1
    2121
    22 #include<osgGA/GUIEventHandler>
     22#include <osgGA/GUIEventHandler>
     23#include<osg/Referenced>
     24#include "DistortionSet.h"
    2325
    2426
     
    5456    virtual bool handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionAdapter& aa, osg::Object*, osg::NodeVisitor* nv);
    5557
     58        void setDistortionSet(DistortionSet* ds) {_distortionSet = ds;}
     59
    5660private:
    5761        void resetIntensityMap();
    5862        void resetDistortion();
     63        void showDistortionMesh(bool show);
     64        void showIntensityMap(bool show);
    5965
    6066        SetupMode activeSetupMode;
     
    6268        ManualSetupMode activeManualSetupMode;
    6369        VisualizationMode activeVisualizationMode;
     70
     71        osg::ref_ptr<DistortionSet> _distortionSet;
    6472};
    6573
Note: See TracChangeset for help on using the changeset viewer.