root/OpenSceneGraph/trunk/src/osgWrappers/serializers/osgTerrain/Locator.cpp @ 13041

Revision 13041, 1.0 kB (checked in by robert, 2 years ago)

Ran script to remove trailing spaces and tabs

  • Property svn:eol-style set to native
Line 
1#include <osgTerrain/Locator>
2#include <osgDB/ObjectWrapper>
3#include <osgDB/InputStream>
4#include <osgDB/OutputStream>
5
6REGISTER_OBJECT_WRAPPER( osgTerrain_Locator,
7                         new osgTerrain::Locator,
8                         osgTerrain::Locator,
9                         "osg::Object osgTerrain::Locator" )
10{
11    BEGIN_ENUM_SERIALIZER( CoordinateSystemType, PROJECTED );
12        ADD_ENUM_VALUE( GEOCENTRIC );
13        ADD_ENUM_VALUE( GEOGRAPHIC );
14        ADD_ENUM_VALUE( PROJECTED );
15    END_ENUM_SERIALIZER();  // _coordinateSystemType
16
17    ADD_STRING_SERIALIZER( Format, "" );  // _format
18    ADD_STRING_SERIALIZER( CoordinateSystem, "" );  // _cs
19    ADD_OBJECT_SERIALIZER( EllipsoidModel, osg::EllipsoidModel, NULL );  // _ellipsoidModel
20    ADD_MATRIXD_SERIALIZER( Transform, osg::Matrixd() );  // _transform
21    ADD_BOOL_SERIALIZER( DefinedInFile, false );  // _definedInFile
22    ADD_BOOL_SERIALIZER( TransformScaledByResolution, false );  // _transformScaledByResolution
23}
Note: See TracBrowser for help on using the browser.