Updated wrappers
This commit is contained in:
@@ -16,62 +16,70 @@
|
||||
#include <osgSim/ScalarBar>
|
||||
#include <osgSim/ScalarsToColors>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgSim::ScalarBar::Orientation)
|
||||
EnumLabel(osgSim::ScalarBar::HORIZONTAL);
|
||||
EnumLabel(osgSim::ScalarBar::VERTICAL);
|
||||
I_EnumLabel(osgSim::ScalarBar::HORIZONTAL);
|
||||
I_EnumLabel(osgSim::ScalarBar::VERTICAL);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::ScalarBar)
|
||||
BaseType(osg::Geode);
|
||||
Constructor0();
|
||||
ConstructorWithDefaults7(IN, int, numColors, , IN, int, numLabels, , IN, osgSim::ScalarsToColors *, stc, , IN, const std::string &, title, , IN, osgSim::ScalarBar::Orientation, orientation, osgSim::ScalarBar::HORIZONTAL, IN, float, aspectRatio, 0.25, IN, osgSim::ScalarBar::ScalarPrinter *, sp, new osgSim::ScalarBar::ScalarPrinter);
|
||||
Constructor2(IN, const osgSim::ScalarBar &, rhs, IN, const osg::CopyOp &, co);
|
||||
Method0(osg::Object *, cloneType);
|
||||
Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
Method0(const char *, className);
|
||||
Method0(const char *, libraryName);
|
||||
Method1(void, accept, IN, osg::NodeVisitor &, nv);
|
||||
Method1(void, setNumColors, IN, int, numColors);
|
||||
Method0(int, getNumColors);
|
||||
Method1(void, setNumLabels, IN, int, numLabels);
|
||||
Method0(int, getNumLabels);
|
||||
Method1(void, setScalarsToColors, IN, osgSim::ScalarsToColors *, stc);
|
||||
Method0(const osgSim::ScalarsToColors *, getScalarsToColors);
|
||||
Method1(void, setTitle, IN, const std::string &, title);
|
||||
Method0(std::string, getTitle);
|
||||
Method1(void, setPosition, IN, const osg::Vec3 &, pos);
|
||||
Method0(const osg::Vec3 &, getPosition);
|
||||
Method1(void, setWidth, IN, float, width);
|
||||
Method0(float, getWidth);
|
||||
Method1(void, setAspectRatio, IN, float, aspectRatio);
|
||||
Method0(float, getAspectRatio);
|
||||
Method1(void, setOrientation, IN, osgSim::ScalarBar::Orientation, orientation);
|
||||
Method0(osgSim::ScalarBar::Orientation, getOrientation);
|
||||
Method1(void, setScalarPrinter, IN, osgSim::ScalarBar::ScalarPrinter *, sp);
|
||||
Method0(const osgSim::ScalarBar::ScalarPrinter *, getScalarPrinter);
|
||||
Method1(void, setTextProperties, IN, const osgSim::ScalarBar::TextProperties &, tp);
|
||||
Method0(const osgSim::ScalarBar::TextProperties &, getTextProperties);
|
||||
Method0(void, update);
|
||||
Property(float, AspectRatio);
|
||||
WriteOnlyProperty(int, NumColors);
|
||||
WriteOnlyProperty(int, NumLabels);
|
||||
Property(osgSim::ScalarBar::Orientation, Orientation);
|
||||
Property(const osg::Vec3 &, Position);
|
||||
WriteOnlyProperty(osgSim::ScalarBar::ScalarPrinter *, ScalarPrinter);
|
||||
WriteOnlyProperty(osgSim::ScalarsToColors *, ScalarsToColors);
|
||||
Property(const osgSim::ScalarBar::TextProperties &, TextProperties);
|
||||
ReadOnlyProperty(std::string, Title);
|
||||
Property(float, Width);
|
||||
I_BaseType(osg::Geode);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults7(IN, int, numColors, , IN, int, numLabels, , IN, osgSim::ScalarsToColors *, stc, , IN, const std::string &, title, , IN, osgSim::ScalarBar::Orientation, orientation, osgSim::ScalarBar::HORIZONTAL, IN, float, aspectRatio, 0.25, IN, osgSim::ScalarBar::ScalarPrinter *, sp, new osgSim::ScalarBar::ScalarPrinter);
|
||||
I_Constructor2(IN, const osgSim::ScalarBar &, rhs, IN, const osg::CopyOp &, co);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv);
|
||||
I_Method1(void, setNumColors, IN, int, numColors);
|
||||
I_Method0(int, getNumColors);
|
||||
I_Method1(void, setNumLabels, IN, int, numLabels);
|
||||
I_Method0(int, getNumLabels);
|
||||
I_Method1(void, setScalarsToColors, IN, osgSim::ScalarsToColors *, stc);
|
||||
I_Method0(const osgSim::ScalarsToColors *, getScalarsToColors);
|
||||
I_Method1(void, setTitle, IN, const std::string &, title);
|
||||
I_Method0(std::string, getTitle);
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3 &, pos);
|
||||
I_Method0(const osg::Vec3 &, getPosition);
|
||||
I_Method1(void, setWidth, IN, float, width);
|
||||
I_Method0(float, getWidth);
|
||||
I_Method1(void, setAspectRatio, IN, float, aspectRatio);
|
||||
I_Method0(float, getAspectRatio);
|
||||
I_Method1(void, setOrientation, IN, osgSim::ScalarBar::Orientation, orientation);
|
||||
I_Method0(osgSim::ScalarBar::Orientation, getOrientation);
|
||||
I_Method1(void, setScalarPrinter, IN, osgSim::ScalarBar::ScalarPrinter *, sp);
|
||||
I_Method0(const osgSim::ScalarBar::ScalarPrinter *, getScalarPrinter);
|
||||
I_Method1(void, setTextProperties, IN, const osgSim::ScalarBar::TextProperties &, tp);
|
||||
I_Method0(const osgSim::ScalarBar::TextProperties &, getTextProperties);
|
||||
I_Method0(void, update);
|
||||
I_Property(float, AspectRatio);
|
||||
I_WriteOnlyProperty(int, NumColors);
|
||||
I_WriteOnlyProperty(int, NumLabels);
|
||||
I_Property(osgSim::ScalarBar::Orientation, Orientation);
|
||||
I_Property(const osg::Vec3 &, Position);
|
||||
I_WriteOnlyProperty(osgSim::ScalarBar::ScalarPrinter *, ScalarPrinter);
|
||||
I_WriteOnlyProperty(osgSim::ScalarsToColors *, ScalarsToColors);
|
||||
I_Property(const osgSim::ScalarBar::TextProperties &, TextProperties);
|
||||
I_ReadOnlyProperty(std::string, Title);
|
||||
I_Property(float, Width);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgSim::ScalarBar::ScalarPrinter)
|
||||
BaseType(osg::Referenced);
|
||||
Constructor0();
|
||||
Method1(std::string, printScalar, IN, float, scalar);
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::ScalarBar::ScalarPrinter)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0();
|
||||
I_Method1(std::string, printScalar, IN, float, scalar);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgSim::ScalarBar::TextProperties)
|
||||
Constructor0();
|
||||
I_Constructor0();
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
Reference in New Issue
Block a user