Updated wrappers
This commit is contained in:
@@ -24,81 +24,99 @@
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< unsigned int >, osgUtil::Simplifier::IndexList);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgUtil::Simplifier)
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgUtil::Simplifier)
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_ConstructorWithDefaults3(IN, float, sampleRatio, 1.0f, IN, float, maximumError, FLT_MAX, IN, float, maximumLength, 0.0,
|
||||
____Simplifier__float__float__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSampleRatio, IN, float, sampleRatio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSampleRatio__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getSampleRatio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getSampleRatio,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaximumError, IN, float, error,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaximumError__float,
|
||||
"Set the maximum point error that all point removals must be less than to permit removal of a point. ",
|
||||
"Note, Only used when down sampling. i.e. sampleRatio < 1.0 ");
|
||||
I_Method0(float, getMaximumError,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMaximumError,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaximumLength, IN, float, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaximumLength__float,
|
||||
"Set the maximum length target that all edges must be shorted than. ",
|
||||
"Note, Only used when up sampling i.e. sampleRatio > 1.0. ");
|
||||
I_Method0(float, getMaximumLength,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMaximumLength,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDoTriStrip, IN, bool, on,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDoTriStrip__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getDoTriStrip,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getDoTriStrip,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSmoothing, IN, bool, on,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSmoothing__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getSmoothing,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getSmoothing,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setContinueSimplificationCallback, IN, osgUtil::Simplifier::ContinueSimplificationCallback *, cb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setContinueSimplificationCallback__ContinueSimplificationCallback_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgUtil::Simplifier::ContinueSimplificationCallback *, getContinueSimplificationCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ContinueSimplificationCallback_P1__getContinueSimplificationCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgUtil::Simplifier::ContinueSimplificationCallback *, getContinueSimplificationCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ContinueSimplificationCallback_P1__getContinueSimplificationCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, continueSimplification, IN, float, nextError, IN, unsigned int, numOriginalPrimitives, IN, unsigned int, numRemainingPrimitives,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__continueSimplification__float__unsigned_int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, continueSimplificationImplementation, IN, float, nextError, IN, unsigned int, numOriginalPrimitives, IN, unsigned int, numRemainingPrimitives,
|
||||
Properties::VIRTUAL,
|
||||
__bool__continueSimplificationImplementation__float__unsigned_int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Geode &, geode,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Geode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, simplify, IN, osg::Geometry &, geometry,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__simplify__osg_Geometry_R1,
|
||||
"simply the geometry. ",
|
||||
"");
|
||||
I_Method2(void, simplify, IN, osg::Geometry &, geometry, IN, const osgUtil::Simplifier::IndexList &, protectedPoints,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__simplify__osg_Geometry_R1__C5_IndexList_R1,
|
||||
"simply the geometry, whilst protecting key points from being modified. ",
|
||||
"");
|
||||
@@ -122,12 +140,13 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::Simplifier)
|
||||
__void__setSmoothing__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgUtil::Simplifier::ContinueSimplificationCallback)
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgUtil::Simplifier::ContinueSimplificationCallback)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____ContinueSimplificationCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method4(bool, continueSimplification, IN, const osgUtil::Simplifier &, simplifier, IN, float, nextError, IN, unsigned int, numOriginalPrimitives, IN, unsigned int, numRemainingPrimitives,
|
||||
Properties::VIRTUAL,
|
||||
__bool__continueSimplification__C5_Simplifier_R1__float__unsigned_int__unsigned_int,
|
||||
"return true if mesh should be continued to be simplified, return false to stop simplification. ",
|
||||
"");
|
||||
|
||||
Reference in New Issue
Block a user