Ignore:
Timestamp:
Jun 2, 2012, 11:53:38 PM (12 years ago)
Author:
Torben Dannhauer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • experimental/distortionNG/DistortionSet.h

    r361 r374  
    2424#include <osg/Switch>
    2525#include <osg/Shader>
     26#include <osg/Geometry>
    2627
    2728namespace osgViewer {
     
    7576        int getDistortionMeshColumns() const    { return _distortionMeshColumns; }
    7677
     78        void setDistortionMesh(osg::Geometry*);
     79        const osg::Geometry* getDistortionMesh() const;
     80
    7781        void setMeshType(GLenum meshType) { _meshType = meshType; }
    7882    inline GLenum getMeshType() const { return _meshType; }
     
    110114        osg::Matrixd _projectionOffset;
    111115
     116        // Interconnect-Pointer to allow access between distortion elements (osgViewer) and the distortion manipulator.
     117        // These variable are therefor not saved/restored by the serializer but populated on runtime.
    112118        bool _showIntesityMapMapOnly;   // Intensity Blending is done by a frag shader. To control it on runtime, the uniform must be bound to a central variable.
    113 
    114         // Interconnect-Pointer to allow acces between distortion elements (osgViewer) and the distortion manipulator.
    115         // These variable are therefor not saved/restored by the serializer but populated on runtime.
    116119        osg::observer_ptr<osg::Camera> _camera; // is used to pass the distortion cam from osgViewers setupDistortion() method to the manipulator.
    117120        osg::ref_ptr<osg::Switch> _distortionInternals; // definition: child #0 = mesh, #1 = highlighter, #2 HUD
Note: See TracChangeset for help on using the changeset viewer.