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

Revision 13855, 0.6 kB (checked in by robert, 2 hours ago)

Changed osgvolume example to use the new tf plugin rather than having local code for reading transfer function

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