root/OpenSceneGraph/trunk/src/osgWrappers/serializers/osgManipulator/TranslateAxisDragger.cpp @ 13855

Revision 13855, 0.7 kB (checked in by robert, 10 days ago)

Added shaders to support experimental shader based displacement mapping technique osgTerrain::ShaderTerrain?.

  • Property svn:eol-style set to native
Line 
1#include <osgManipulator/TranslateAxisDragger>
2#include <osgDB/ObjectWrapper>
3#include <osgDB/InputStream>
4#include <osgDB/OutputStream>
5
6REGISTER_OBJECT_WRAPPER( osgManipulator_TranslateAxisDragger,
7                         new osgManipulator::TranslateAxisDragger,
8                         osgManipulator::TranslateAxisDragger,
9                         "osg::Object osg::Node osg::Transform osg::MatrixTransform osgManipulator::Dragger "
10                         "osgManipulator::TranslateAxisDragger" )  // No need to contain CompositeDragger here
11{
12    ADD_FLOAT_SERIALIZER(AxisLineWidth, 2.0f);
13    ADD_FLOAT_SERIALIZER(PickCylinderRadius, 0.015f);
14    ADD_FLOAT_SERIALIZER(ConeHeight, 0.1f);
15}
Note: See TracBrowser for help on using the browser.