Updated wrappers

This commit is contained in:
Robert Osfield 2007-12-17 10:22:41 +00:00
parent 9507ee6c7d
commit e883663072
2 changed files with 14 additions and 1 deletions

View File

@ -50,7 +50,7 @@ BEGIN_VALUE_REFLECTOR(osgSim::ShapeAttribute)
"");
I_Constructor2(IN, const char *, name, IN, const char *, value,
____ShapeAttribute__C5_char_P1__C5_char_P1,
"",
"Note, ShapeAttribute takes a copy of both name and value, the calling code should manage its own clean up of the original strings. ",
"");
I_Constructor1(IN, const osgSim::ShapeAttribute &, sa,
Properties::NON_EXPLICIT,

View File

@ -157,6 +157,16 @@ BEGIN_OBJECT_REFLECTOR(osgTerrain::Locator)
__bool__getDefinedInFile,
"",
"");
I_Method1(void, setTransformScaledByResolution, IN, bool, scaledByResolution,
Properties::NON_VIRTUAL,
__void__setTransformScaledByResolution__bool,
"",
"");
I_Method0(bool, getTransformScaledByResolution,
Properties::NON_VIRTUAL,
__bool__getTransformScaledByResolution,
"",
"");
I_StaticMethod4(bool, convertLocalCoordBetween, IN, const osgTerrain::Locator &, source, IN, const osg::Vec3d &, sourceNDC, IN, const osgTerrain::Locator &, destination, IN, osg::Vec3d &, destinationNDC,
__bool__convertLocalCoordBetween__C5_Locator_R1__C5_osg_Vec3d_R1__C5_Locator_R1__osg_Vec3d_R1_S,
"",
@ -179,5 +189,8 @@ BEGIN_OBJECT_REFLECTOR(osgTerrain::Locator)
I_SimpleProperty(const osg::Matrixd &, Transform,
__C5_osg_Matrixd_R1__getTransform,
__void__setTransform__C5_osg_Matrixd_R1);
I_SimpleProperty(bool, TransformScaledByResolution,
__bool__getTransformScaledByResolution,
__void__setTransformScaledByResolution__bool);
END_REFLECTOR