Updated wrappers
This commit is contained in:
parent
9b5bbe862d
commit
62ce8b72c1
@ -80,6 +80,26 @@ BEGIN_OBJECT_REFLECTOR(osg::TransferFunction1D)
|
|||||||
__void__setInputRange__float__float,
|
__void__setInputRange__float__float,
|
||||||
"",
|
"",
|
||||||
"");
|
"");
|
||||||
|
I_Method1(void, setMinimum, IN, float, value,
|
||||||
|
Properties::NON_VIRTUAL,
|
||||||
|
__void__setMinimum__float,
|
||||||
|
"",
|
||||||
|
"");
|
||||||
|
I_Method0(float, getMinimum,
|
||||||
|
Properties::NON_VIRTUAL,
|
||||||
|
__float__getMinimum,
|
||||||
|
"",
|
||||||
|
"");
|
||||||
|
I_Method1(void, setMaximum, IN, float, value,
|
||||||
|
Properties::NON_VIRTUAL,
|
||||||
|
__void__setMaximum__float,
|
||||||
|
"",
|
||||||
|
"");
|
||||||
|
I_Method0(float, getMaximum,
|
||||||
|
Properties::NON_VIRTUAL,
|
||||||
|
__float__getMaximum,
|
||||||
|
"",
|
||||||
|
"");
|
||||||
I_Method1(void, allocate, IN, unsigned int, numX,
|
I_Method1(void, allocate, IN, unsigned int, numX,
|
||||||
Properties::NON_VIRTUAL,
|
Properties::NON_VIRTUAL,
|
||||||
__void__allocate__unsigned_int,
|
__void__allocate__unsigned_int,
|
||||||
@ -95,9 +115,9 @@ BEGIN_OBJECT_REFLECTOR(osg::TransferFunction1D)
|
|||||||
__unsigned_int__getNumberCellsX,
|
__unsigned_int__getNumberCellsX,
|
||||||
"",
|
"",
|
||||||
"");
|
"");
|
||||||
I_Method1(osg::Vec4 &, getValue, IN, unsigned int, i,
|
I_Method2(void, setValue, IN, unsigned int, i, IN, const osg::Vec4 &, color,
|
||||||
Properties::NON_VIRTUAL,
|
Properties::NON_VIRTUAL,
|
||||||
__osg_Vec4_R1__getValue__unsigned_int,
|
__void__setValue__unsigned_int__C5_osg_Vec4_R1,
|
||||||
"",
|
"",
|
||||||
"");
|
"");
|
||||||
I_Method1(const osg::Vec4 &, getValue, IN, unsigned int, i,
|
I_Method1(const osg::Vec4 &, getValue, IN, unsigned int, i,
|
||||||
@ -105,8 +125,18 @@ BEGIN_OBJECT_REFLECTOR(osg::TransferFunction1D)
|
|||||||
__C5_osg_Vec4_R1__getValue__unsigned_int,
|
__C5_osg_Vec4_R1__getValue__unsigned_int,
|
||||||
"",
|
"",
|
||||||
"");
|
"");
|
||||||
|
I_SimpleProperty(float, Maximum,
|
||||||
|
__float__getMaximum,
|
||||||
|
__void__setMaximum__float);
|
||||||
|
I_SimpleProperty(float, Minimum,
|
||||||
|
__float__getMinimum,
|
||||||
|
__void__setMinimum__float);
|
||||||
I_SimpleProperty(unsigned int, NumberCellsX,
|
I_SimpleProperty(unsigned int, NumberCellsX,
|
||||||
__unsigned_int__getNumberCellsX,
|
__unsigned_int__getNumberCellsX,
|
||||||
0);
|
0);
|
||||||
|
I_IndexedProperty(const osg::Vec4 &, Value,
|
||||||
|
__C5_osg_Vec4_R1__getValue__unsigned_int,
|
||||||
|
__void__setValue__unsigned_int__C5_osg_Vec4_R1,
|
||||||
|
0);
|
||||||
END_REFLECTOR
|
END_REFLECTOR
|
||||||
|
|
||||||
|
@ -206,6 +206,16 @@ BEGIN_OBJECT_REFLECTOR(osgTerrain::Layer)
|
|||||||
__unsigned_int__getNumRows,
|
__unsigned_int__getNumRows,
|
||||||
"",
|
"",
|
||||||
"");
|
"");
|
||||||
|
I_Method1(void, setDefaultValue, IN, const osg::Vec4 &, value,
|
||||||
|
Properties::NON_VIRTUAL,
|
||||||
|
__void__setDefaultValue__C5_osg_Vec4_R1,
|
||||||
|
"",
|
||||||
|
"");
|
||||||
|
I_Method0(const osg::Vec4 &, getDefaultValue,
|
||||||
|
Properties::NON_VIRTUAL,
|
||||||
|
__C5_osg_Vec4_R1__getDefaultValue,
|
||||||
|
"",
|
||||||
|
"");
|
||||||
I_Method3(bool, getValue, IN, unsigned, int, IN, unsigned, int, IN, float &, x,
|
I_Method3(bool, getValue, IN, unsigned, int, IN, unsigned, int, IN, float &, x,
|
||||||
Properties::VIRTUAL,
|
Properties::VIRTUAL,
|
||||||
__bool__getValue__unsigned__unsigned__float_R1,
|
__bool__getValue__unsigned__unsigned__float_R1,
|
||||||
@ -241,6 +251,9 @@ BEGIN_OBJECT_REFLECTOR(osgTerrain::Layer)
|
|||||||
__osg_BoundingSphere__computeBound,
|
__osg_BoundingSphere__computeBound,
|
||||||
"",
|
"",
|
||||||
"");
|
"");
|
||||||
|
I_SimpleProperty(const osg::Vec4 &, DefaultValue,
|
||||||
|
__C5_osg_Vec4_R1__getDefaultValue,
|
||||||
|
__void__setDefaultValue__C5_osg_Vec4_R1);
|
||||||
I_SimpleProperty(osgTerrain::Locator *, Locator,
|
I_SimpleProperty(osgTerrain::Locator *, Locator,
|
||||||
__Locator_P1__getLocator,
|
__Locator_P1__getLocator,
|
||||||
__void__setLocator__Locator_P1);
|
__void__setLocator__Locator_P1);
|
||||||
|
@ -29,9 +29,9 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::DelaunayConstraint)
|
|||||||
I_Constructor0(____DelaunayConstraint,
|
I_Constructor0(____DelaunayConstraint,
|
||||||
"",
|
"",
|
||||||
"");
|
"");
|
||||||
I_Method3(void, addtriangle, IN, const int, i1, IN, const int, i2, IN, const int, i3,
|
I_Method3(void, addtriangle, IN, int, i1, IN, int, i2, IN, int, i3,
|
||||||
Properties::NON_VIRTUAL,
|
Properties::NON_VIRTUAL,
|
||||||
__void__addtriangle__C5_int__C5_int__C5_int,
|
__void__addtriangle__int__int__int,
|
||||||
"collect up indices of triangle from delaunay triangles. ",
|
"collect up indices of triangle from delaunay triangles. ",
|
||||||
"The delaunay triangles inside the DelaunayConstraint area can be used to fill the area or generate geometry that terrain follows the area in some way. These triangles can form a canopy or a field. ");
|
"The delaunay triangles inside the DelaunayConstraint area can be used to fill the area or generate geometry that terrain follows the area in some way. These triangles can form a canopy or a field. ");
|
||||||
I_Method0(const osg::DrawElementsUInt *, getTriangles,
|
I_Method0(const osg::DrawElementsUInt *, getTriangles,
|
||||||
@ -64,19 +64,19 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::DelaunayConstraint)
|
|||||||
__void__removeVerticesInside__C5_DelaunayConstraint_P1,
|
__void__removeVerticesInside__C5_DelaunayConstraint_P1,
|
||||||
"remove from line the vertices that are inside dco ",
|
"remove from line the vertices that are inside dco ",
|
||||||
"");
|
"");
|
||||||
I_Method1(float, windingNumber, IN, const osg::Vec3, testpoint,
|
I_Method1(float, windingNumber, IN, const osg::Vec3 &, testpoint,
|
||||||
Properties::NON_VIRTUAL,
|
Properties::NON_VIRTUAL,
|
||||||
__float__windingNumber__C5_osg_Vec3,
|
__float__windingNumber__C5_osg_Vec3_R1,
|
||||||
"return winding number as a float of loop around testpoint; may use multiple loops does not reject points on the edge or very very close to the edge ",
|
"return winding number as a float of loop around testpoint; may use multiple loops does not reject points on the edge or very very close to the edge ",
|
||||||
"");
|
"");
|
||||||
I_Method1(bool, contains, IN, const osg::Vec3, testpoint,
|
I_Method1(bool, contains, IN, const osg::Vec3 &, testpoint,
|
||||||
Properties::VIRTUAL,
|
Properties::VIRTUAL,
|
||||||
__bool__contains__C5_osg_Vec3,
|
__bool__contains__C5_osg_Vec3_R1,
|
||||||
"true if testpoint is internal (or external) to constraint. ",
|
"true if testpoint is internal (or external) to constraint. ",
|
||||||
"");
|
"");
|
||||||
I_Method1(bool, outside, IN, const osg::Vec3, testpoint,
|
I_Method1(bool, outside, IN, const osg::Vec3 &, testpoint,
|
||||||
Properties::VIRTUAL,
|
Properties::VIRTUAL,
|
||||||
__bool__outside__C5_osg_Vec3,
|
__bool__outside__C5_osg_Vec3_R1,
|
||||||
"",
|
"",
|
||||||
"");
|
"");
|
||||||
I_Method0(void, handleOverlaps,
|
I_Method0(void, handleOverlaps,
|
||||||
@ -159,10 +159,10 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::DelaunayTriangulator)
|
|||||||
__void__removeInternalTriangles__DelaunayConstraint_P1,
|
__void__removeInternalTriangles__DelaunayConstraint_P1,
|
||||||
"remove the triangles internal to the constraint loops. ",
|
"remove the triangles internal to the constraint loops. ",
|
||||||
"(Line strips cannot remove any internal triangles). ");
|
"(Line strips cannot remove any internal triangles). ");
|
||||||
I_ProtectedMethod2(int, getindex, IN, const osg::Vec3, pt, IN, const osg::Vec3Array *, points,
|
I_ProtectedMethod2(int, getindex, IN, const osg::Vec3 &, pt, IN, const osg::Vec3Array *, points,
|
||||||
Properties::NON_VIRTUAL,
|
Properties::NON_VIRTUAL,
|
||||||
Properties::NON_CONST,
|
Properties::NON_CONST,
|
||||||
__int__getindex__C5_osg_Vec3__C5_osg_Vec3Array_P1,
|
__int__getindex__C5_osg_Vec3_R1__C5_osg_Vec3Array_P1,
|
||||||
"",
|
"",
|
||||||
"");
|
"");
|
||||||
I_SimpleProperty(osg::Vec3Array *, InputPointArray,
|
I_SimpleProperty(osg::Vec3Array *, InputPointArray,
|
||||||
|
Loading…
Reference in New Issue
Block a user