Fixed genwrapper so that it handles .svn directories, updated wrappers
This commit is contained in:
@@ -10,9 +10,9 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Matrixd.svn-base>
|
||||
#include <osg/AnimationPath>
|
||||
#include <osg/ApplicationUsage>
|
||||
#include <osg/Matrixd>
|
||||
#include <osgGA/AnimationPathManipulator>
|
||||
#include <osgGA/GUIActionAdapter>
|
||||
#include <osgGA/GUIEventAdapter>
|
||||
@@ -26,7 +26,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgGA::AnimationPathManipulator)
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_ConstructorWithDefaults1(IN, osg::AnimationPath *, animationPath, 0,
|
||||
Properties::NON_EXPLICIT,
|
||||
@@ -41,8 +40,8 @@ BEGIN_OBJECT_REFLECTOR(osgGA::AnimationPathManipulator)
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, setPrintOutTimingInfo, IN, bool, printOutTiminInfo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPrintOutTimingInfo__bool,
|
||||
@@ -94,317 +93,24 @@ BEGIN_OBJECT_REFLECTOR(osgGA::AnimationPathManipulator)
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
"Start/restart the manipulator. ",
|
||||
"FIXME: what does this actually mean? Provide examples.");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
"Move the camera to the default position. ",
|
||||
"May be ignored by manipulators if home functionality is not appropriate.");
|
||||
I_Method1(void, home, IN, double, currentTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__double,
|
||||
"",
|
||||
"");
|
||||
"Move the camera to the default position. ",
|
||||
"This version does not require GUIEventAdapter and GUIActionAdapter so may be called from somewhere other than a handle() method in GUIEventHandler. Application must be aware of implications.");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, osg::AnimationPath *, animationPath, 0,
|
||||
Properties::NON_EXPLICIT,
|
||||
____AnimationPathManipulator__osg_AnimationPath_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const std::string &, filename,
|
||||
Properties::NON_EXPLICIT,
|
||||
____AnimationPathManipulator__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPrintOutTimingInfo, IN, bool, printOutTiminInfo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPrintOutTimingInfo__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getPrintOutTimingInfo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getPrintOutTimingInfo,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getMatrix,
|
||||
"get the position of the manipulator as 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getInverseMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
"get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ",
|
||||
"");
|
||||
I_Method1(void, setAnimationPath, IN, osg::AnimationPath *, animationPath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAnimationPath__osg_AnimationPath_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::AnimationPath *, getAnimationPath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_AnimationPath_P1__getAnimationPath,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::AnimationPath *, getAnimationPath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_AnimationPath_P1__getAnimationPath,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, home, IN, double, currentTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__home__double,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
I_SimpleProperty(osg::AnimationPath *, AnimationPath,
|
||||
__osg_AnimationPath_P1__getAnimationPath,
|
||||
__void__setAnimationPath__osg_AnimationPath_P1);
|
||||
I_SimpleProperty(const osg::Matrixd &, ByInverseMatrix,
|
||||
0,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1);
|
||||
I_SimpleProperty(const osg::Matrixd &, ByMatrix,
|
||||
0,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1);
|
||||
I_SimpleProperty(osg::Matrixd, InverseMatrix,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
0);
|
||||
I_SimpleProperty(osg::Matrixd, Matrix,
|
||||
__osg_Matrixd__getMatrix,
|
||||
0);
|
||||
I_SimpleProperty(bool, PrintOutTimingInfo,
|
||||
__bool__getPrintOutTimingInfo,
|
||||
__void__setPrintOutTimingInfo__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgGA::AnimationPathManipulator)
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_ConstructorWithDefaults1(IN, osg::AnimationPath *, animationPath, 0,
|
||||
Properties::NON_EXPLICIT,
|
||||
____AnimationPathManipulator__osg_AnimationPath_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const std::string &, filename,
|
||||
Properties::NON_EXPLICIT,
|
||||
____AnimationPathManipulator__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPrintOutTimingInfo, IN, bool, printOutTiminInfo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPrintOutTimingInfo__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getPrintOutTimingInfo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getPrintOutTimingInfo,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getMatrix,
|
||||
"get the position of the manipulator as 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getInverseMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
"get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ",
|
||||
"");
|
||||
I_Method1(void, setAnimationPath, IN, osg::AnimationPath *, animationPath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAnimationPath__osg_AnimationPath_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::AnimationPath *, getAnimationPath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_AnimationPath_P1__getAnimationPath,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::AnimationPath *, getAnimationPath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_AnimationPath_P1__getAnimationPath,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, home, IN, double, currentTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__home__double,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, osg::AnimationPath *, animationPath, 0,
|
||||
Properties::NON_EXPLICIT,
|
||||
____AnimationPathManipulator__osg_AnimationPath_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const std::string &, filename,
|
||||
Properties::NON_EXPLICIT,
|
||||
____AnimationPathManipulator__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPrintOutTimingInfo, IN, bool, printOutTiminInfo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPrintOutTimingInfo__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getPrintOutTimingInfo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getPrintOutTimingInfo,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getMatrix,
|
||||
"get the position of the manipulator as 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getInverseMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
"get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ",
|
||||
"");
|
||||
I_Method1(void, setAnimationPath, IN, osg::AnimationPath *, animationPath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAnimationPath__osg_AnimationPath_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::AnimationPath *, getAnimationPath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_AnimationPath_P1__getAnimationPath,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::AnimationPath *, getAnimationPath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_AnimationPath_P1__getAnimationPath,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, home, IN, double, currentTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__home__double,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"Handle events, return true if handled, false otherwise. ",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Matrixd.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/ApplicationUsage>
|
||||
#include <osg/Matrixd>
|
||||
#include <osg/Node>
|
||||
#include <osgGA/DriveManipulator>
|
||||
#include <osgGA/GUIActionAdapter>
|
||||
#include <osgGA/GUIEventAdapter>
|
||||
@@ -26,7 +26,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgGA::DriveManipulator)
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_Constructor0(____DriveManipulator,
|
||||
"",
|
||||
@@ -34,8 +33,8 @@ BEGIN_OBJECT_REFLECTOR(osgGA::DriveManipulator)
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1,
|
||||
@@ -59,360 +58,37 @@ BEGIN_OBJECT_REFLECTOR(osgGA::DriveManipulator)
|
||||
I_Method1(void, setNode, IN, osg::Node *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
"Attach a node to the manipulator, automatically detaching any previously attached node. ",
|
||||
"setNode(NULL) detaches previous nodes. May be ignored by manipulators which do not require a reference model.");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
"",
|
||||
"Return const node if attached. ",
|
||||
"");
|
||||
I_Method0(osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Node_P1__getNode,
|
||||
"",
|
||||
"Return node if attached. ",
|
||||
"");
|
||||
I_Method0(void, computeHomePosition,
|
||||
Properties::VIRTUAL,
|
||||
__void__computeHomePosition,
|
||||
"",
|
||||
"Compute the home position. ",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
"Move the camera to the default position. ",
|
||||
"May be ignored by manipulators if home functionality is not appropriate.");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
"Start/restart the manipulator. ",
|
||||
"FIXME: what does this actually mean? Provide examples.");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
I_Method1(void, setModelScale, IN, double, in_ms,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setModelScale__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getModelScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getModelScale,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVelocity, IN, double, in_vel,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVelocity__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getVelocity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getVelocity,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setHeight, IN, double, in_h,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setHeight__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getHeight,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____DriveManipulator,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getMatrix,
|
||||
"get the position of the manipulator as 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getInverseMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
"get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ",
|
||||
"");
|
||||
I_Method1(void, setNode, IN, osg::Node *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Node_P1__getNode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, computeHomePosition,
|
||||
Properties::VIRTUAL,
|
||||
__void__computeHomePosition,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
I_Method1(void, setModelScale, IN, double, in_ms,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setModelScale__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getModelScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getModelScale,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVelocity, IN, double, in_vel,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVelocity__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getVelocity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getVelocity,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setHeight, IN, double, in_h,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setHeight__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getHeight,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Matrixd &, ByInverseMatrix,
|
||||
0,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1);
|
||||
I_SimpleProperty(const osg::Matrixd &, ByMatrix,
|
||||
0,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1);
|
||||
I_SimpleProperty(double, Height,
|
||||
__double__getHeight,
|
||||
__void__setHeight__double);
|
||||
I_SimpleProperty(osg::Matrixd, InverseMatrix,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
0);
|
||||
I_SimpleProperty(osg::Matrixd, Matrix,
|
||||
__osg_Matrixd__getMatrix,
|
||||
0);
|
||||
I_SimpleProperty(double, ModelScale,
|
||||
__double__getModelScale,
|
||||
__void__setModelScale__double);
|
||||
I_SimpleProperty(osg::Node *, Node,
|
||||
__osg_Node_P1__getNode,
|
||||
__void__setNode__osg_Node_P1);
|
||||
I_SimpleProperty(double, Velocity,
|
||||
__double__getVelocity,
|
||||
__void__setVelocity__double);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgGA::DriveManipulator)
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_Constructor0(____DriveManipulator,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getMatrix,
|
||||
"get the position of the manipulator as 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getInverseMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
"get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ",
|
||||
"");
|
||||
I_Method1(void, setNode, IN, osg::Node *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Node_P1__getNode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, computeHomePosition,
|
||||
Properties::VIRTUAL,
|
||||
__void__computeHomePosition,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
I_Method1(void, setModelScale, IN, double, in_ms,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setModelScale__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getModelScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getModelScale,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVelocity, IN, double, in_vel,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVelocity__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getVelocity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getVelocity,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setHeight, IN, double, in_h,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setHeight__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getHeight,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____DriveManipulator,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getMatrix,
|
||||
"get the position of the manipulator as 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getInverseMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
"get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ",
|
||||
"");
|
||||
I_Method1(void, setNode, IN, osg::Node *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Node_P1__getNode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, computeHomePosition,
|
||||
Properties::VIRTUAL,
|
||||
__void__computeHomePosition,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"Handle events, return true if handled, false otherwise. ",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
|
||||
@@ -10,9 +10,7 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Timer.svn-base>
|
||||
#include <osgGA/.svn/text-base/EventQueue.svn-base>
|
||||
#include <osgGA/.svn/text-base/GUIEventAdapter.svn-base>
|
||||
#include <osg/Timer>
|
||||
#include <osgGA/EventQueue>
|
||||
#include <osgGA/GUIEventAdapter>
|
||||
|
||||
@@ -28,222 +26,6 @@ TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osgGA::GUIEventAdapter > >, osgGA::Even
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgGA::EventQueue)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_ConstructorWithDefaults1(IN, osgGA::GUIEventAdapter::MouseYOrientation, mouseYOrientation, osgGA::GUIEventAdapter::Y_INCREASING_DOWNWARDS,
|
||||
Properties::NON_EXPLICIT,
|
||||
____EventQueue__GUIEventAdapter_MouseYOrientation,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEvents, IN, osgGA::EventQueue::Events &, events,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEvents__Events_R1,
|
||||
"Set events. ",
|
||||
"");
|
||||
I_Method1(bool, takeEvents, IN, osgGA::EventQueue::Events &, events,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__takeEvents__Events_R1,
|
||||
"Take the entire event queue leaving the EventQueue' event queue empty. ",
|
||||
"");
|
||||
I_Method1(bool, copyEvents, IN, osgGA::EventQueue::Events &, events,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__copyEvents__Events_R1,
|
||||
"Take a copy the entire event queue leaving the EventQueue' event queue intact. ",
|
||||
"");
|
||||
I_Method1(void, appendEvents, IN, osgGA::EventQueue::Events &, events,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__appendEvents__Events_R1,
|
||||
"Add events to end of event queue. ",
|
||||
"");
|
||||
I_Method1(void, addEvent, IN, osgGA::GUIEventAdapter *, event,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addEvent__GUIEventAdapter_P1,
|
||||
"Add an event to the end of the event queue. ",
|
||||
"");
|
||||
I_Method1(void, setUseFixedMouseInputRange, IN, bool, useFixedMouseInputRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUseFixedMouseInputRange__bool,
|
||||
"Specify if mouse coordinates should be transformed into a pre defined input range, or whether they should be simply based on as local coordinates to the window that generated the mouse events. ",
|
||||
"");
|
||||
I_Method0(bool, getUseFixedMouseInputRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getUseFixedMouseInputRange,
|
||||
"Get whether the mouse coordinates should be transformed into a pre defined input range. ",
|
||||
"");
|
||||
I_Method4(void, setMouseInputRange, IN, float, xMin, IN, float, yMin, IN, float, xMax, IN, float, yMax,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMouseInputRange__float__float__float__float,
|
||||
"Set the mouse input range. ",
|
||||
"");
|
||||
I_Method4(void, windowResize, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__windowResize__int__int__int__int,
|
||||
"Method for adapting window resize event, placing this event on the back of the event queue. ",
|
||||
"");
|
||||
I_Method5(void, windowResize, IN, int, x, IN, int, y, IN, int, width, IN, int, height, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__windowResize__int__int__int__int__double,
|
||||
"Method for adapting window resize event, placing this event on the back of the event queue, with specified time. ",
|
||||
"");
|
||||
I_Method1(void, mouseScroll, IN, osgGA::GUIEventAdapter::ScrollingMotion, sm,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseScroll__GUIEventAdapter_ScrollingMotion,
|
||||
"Method for adapting mouse scroll wheel events, placing this event on the back of the event queue. ",
|
||||
"");
|
||||
I_Method2(void, mouseScroll, IN, osgGA::GUIEventAdapter::ScrollingMotion, sm, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseScroll__GUIEventAdapter_ScrollingMotion__double,
|
||||
"Method for adapting mouse scroll wheel events, placing this event on the back of the event queue, with specified time. ",
|
||||
"");
|
||||
I_Method2(void, mouseScroll2D, IN, float, x, IN, float, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseScroll2D__float__float,
|
||||
"Method for adapting mouse scroll wheel events, placing this event on the back of the event queue. ",
|
||||
"");
|
||||
I_Method3(void, mouseScroll2D, IN, float, x, IN, float, y, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseScroll2D__float__float__double,
|
||||
"Method for adapting mouse scroll wheel events, placing this event on the back of the event queue. ",
|
||||
"");
|
||||
I_Method1(void, penPressure, IN, float, pressure,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__penPressure__float,
|
||||
"Method for adapting pen pressure events, placing this event on the back of the event queue. ",
|
||||
"");
|
||||
I_Method2(void, penPressure, IN, float, pressure, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__penPressure__float__double,
|
||||
"Method for adapting pen pressure events, placing this event on the back of the event queue, with specified time. ",
|
||||
"");
|
||||
I_Method2(void, penProximity, IN, osgGA::GUIEventAdapter::TabletPointerType, pt, IN, bool, isEntering,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__penProximity__GUIEventAdapter_TabletPointerType__bool,
|
||||
"Method for adapting pen proximity events, placing this event on the back of the event queue. ",
|
||||
"");
|
||||
I_Method3(void, penProximity, IN, osgGA::GUIEventAdapter::TabletPointerType, pt, IN, bool, isEntering, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__penProximity__GUIEventAdapter_TabletPointerType__bool__double,
|
||||
"Method for adapting pen proximity events, placing this event on the back of the event queue, with specified time. ",
|
||||
"");
|
||||
I_Method2(void, mouseWarped, IN, float, x, IN, float, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseWarped__float__float,
|
||||
"Method for updating in response to a mouse warp. ",
|
||||
"Note, just moves the mouse position without creating a new event for it. ");
|
||||
I_Method2(void, mouseMotion, IN, float, x, IN, float, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseMotion__float__float,
|
||||
"Method for adapting mouse motion events, placing this event on the back of the event queue. ",
|
||||
"");
|
||||
I_Method3(void, mouseMotion, IN, float, x, IN, float, y, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseMotion__float__float__double,
|
||||
"Method for adapting mouse motion events, placing this event on the back of the event queue, with specified time. ",
|
||||
"");
|
||||
I_Method3(void, mouseButtonPress, IN, float, x, IN, float, y, IN, unsigned int, button,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseButtonPress__float__float__unsigned_int,
|
||||
"Method for adapting mouse button pressed events, placing this event on the back of the event queue. ",
|
||||
"Button numbering is 1 for left mouse button, 2 for middle, 3 for right. ");
|
||||
I_Method4(void, mouseButtonPress, IN, float, x, IN, float, y, IN, unsigned int, button, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseButtonPress__float__float__unsigned_int__double,
|
||||
"Method for adapting mouse button pressed events, placing this event on the back of the event queue, with specified time. ",
|
||||
"Button numbering is 1 for left mouse button, 2 for middle, 3 for right. ");
|
||||
I_Method3(void, mouseDoubleButtonPress, IN, float, x, IN, float, y, IN, unsigned int, button,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseDoubleButtonPress__float__float__unsigned_int,
|
||||
"Method for adapting mouse button pressed events, placing this event on the back of the event queue. ",
|
||||
"Button numbering is 1 for left mouse button, 2 for middle, 3 for right. ");
|
||||
I_Method4(void, mouseDoubleButtonPress, IN, float, x, IN, float, y, IN, unsigned int, button, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseDoubleButtonPress__float__float__unsigned_int__double,
|
||||
"Method for adapting mouse button pressed events, placing this event on the back of the event queue, with specified time. ",
|
||||
"Button numbering is 1 for left mouse button, 2 for middle, 3 for right. ");
|
||||
I_Method3(void, mouseButtonRelease, IN, float, x, IN, float, y, IN, unsigned int, button,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseButtonRelease__float__float__unsigned_int,
|
||||
"Method for adapting mouse button release events, placing this event on the back of the event queue. ",
|
||||
"Button numbering is 1 for left mouse button, 2 for middle, 3 for right. ");
|
||||
I_Method4(void, mouseButtonRelease, IN, float, x, IN, float, y, IN, unsigned int, button, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseButtonRelease__float__float__unsigned_int__double,
|
||||
"Method for adapting mouse button release events, placing this event on the back of the event queue, with specified time. ",
|
||||
"Button numbering is 1 for left mouse button, 2 for middle, 3 for right. ");
|
||||
I_Method1(void, keyPress, IN, int, key,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__keyPress__int,
|
||||
"Method for adapting keyboard press events. ",
|
||||
"Note, special keys such as Ctrl/Function keys should be adapted to GUIEventAdapter::KeySymbol mappings. ");
|
||||
I_Method2(void, keyPress, IN, int, key, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__keyPress__int__double,
|
||||
"Method for adapting keyboard press events. ",
|
||||
"Note, special keys such as Ctrl/Function keys should be adapted to GUIEventAdapter::KeySymbol mappings, with specified time. ");
|
||||
I_Method1(void, keyRelease, IN, int, key,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__keyRelease__int,
|
||||
"Method for adapting keyboard press events. ",
|
||||
"Note, special keys such as Ctrl/Function keys should be adapted to GUIEventAdapter::KeySymbol mappings. ");
|
||||
I_Method2(void, keyRelease, IN, int, key, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__keyRelease__int__double,
|
||||
"Method for adapting keyboard press events. ",
|
||||
"Note, special keys such as Ctrl/Function keys should be adapted to GUIEventAdapter::KeySymbol mappings, with specified time. ");
|
||||
I_Method0(void, closeWindow,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__closeWindow,
|
||||
"Method for adapting close window events. ",
|
||||
"");
|
||||
I_Method1(void, closeWindow, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__closeWindow__double,
|
||||
"Method for adapting close window event with specified event time. ",
|
||||
"");
|
||||
I_Method0(void, quitApplication,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__quitApplication,
|
||||
"Method for adapting application quit events. ",
|
||||
"");
|
||||
I_Method1(void, quitApplication, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__quitApplication__double,
|
||||
"Method for adapting application quit events with specified event time. ",
|
||||
"");
|
||||
I_Method1(void, frame, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__frame__double,
|
||||
"Method for adapting frame events. ",
|
||||
"");
|
||||
I_Method1(void, setStartTick, IN, osg::Timer_t, tick,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStartTick__osg_Timer_t,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Timer_t, getStartTick,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Timer_t__getStartTick,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getTime,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::GUIEventAdapter *, createEvent,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GUIEventAdapter_P1__createEvent,
|
||||
"convinience method for create an event ready to fill in. ",
|
||||
"Clones the getCurrentEventState() to produce a up to date event state. ");
|
||||
I_Method0(osgGA::GUIEventAdapter *, getCurrentEventState,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GUIEventAdapter_P1__getCurrentEventState,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgGA::GUIEventAdapter *, getCurrentEventState,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_GUIEventAdapter_P1__getCurrentEventState,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, osgGA::GUIEventAdapter::MouseYOrientation, mouseYOrientation, osgGA::GUIEventAdapter::Y_INCREASING_DOWNWARDS,
|
||||
Properties::NON_EXPLICIT,
|
||||
____EventQueue__GUIEventAdapter_MouseYOrientation,
|
||||
@@ -476,455 +258,44 @@ BEGIN_OBJECT_REFLECTOR(osgGA::EventQueue)
|
||||
__void__setUseFixedMouseInputRange__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osgGA::GUIEventAdapter > >, osgGA::EventQueue::Events);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgGA::EventQueue)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_ConstructorWithDefaults1(IN, osgGA::GUIEventAdapter::MouseYOrientation, mouseYOrientation, osgGA::GUIEventAdapter::Y_INCREASING_DOWNWARDS,
|
||||
Properties::NON_EXPLICIT,
|
||||
____EventQueue__GUIEventAdapter_MouseYOrientation,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEvents, IN, osgGA::EventQueue::Events &, events,
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgGA::GUIEventAdapter >)
|
||||
I_Constructor0(____ref_ptr,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osgGA::GUIEventAdapter *, ptr,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__T_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ref_ptr< osgGA::GUIEventAdapter > &, rp,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__C5_ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::GUIEventAdapter *, get,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEvents__Events_R1,
|
||||
"Set events. ",
|
||||
"");
|
||||
I_Method1(bool, takeEvents, IN, osgGA::EventQueue::Events &, events,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__takeEvents__Events_R1,
|
||||
"Take the entire event queue leaving the EventQueue' event queue empty. ",
|
||||
"");
|
||||
I_Method1(bool, copyEvents, IN, osgGA::EventQueue::Events &, events,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__copyEvents__Events_R1,
|
||||
"Take a copy the entire event queue leaving the EventQueue' event queue intact. ",
|
||||
"");
|
||||
I_Method1(void, appendEvents, IN, osgGA::EventQueue::Events &, events,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__appendEvents__Events_R1,
|
||||
"Add events to end of event queue. ",
|
||||
"");
|
||||
I_Method1(void, addEvent, IN, osgGA::GUIEventAdapter *, event,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addEvent__GUIEventAdapter_P1,
|
||||
"Add an event to the end of the event queue. ",
|
||||
"");
|
||||
I_Method1(void, setUseFixedMouseInputRange, IN, bool, useFixedMouseInputRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUseFixedMouseInputRange__bool,
|
||||
"Specify if mouse coordinates should be transformed into a pre defined input range, or whether they should be simply based on as local coordinates to the window that generated the mouse events. ",
|
||||
"");
|
||||
I_Method0(bool, getUseFixedMouseInputRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getUseFixedMouseInputRange,
|
||||
"Get whether the mouse coordinates should be transformed into a pre defined input range. ",
|
||||
"");
|
||||
I_Method4(void, setMouseInputRange, IN, float, xMin, IN, float, yMin, IN, float, xMax, IN, float, yMax,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMouseInputRange__float__float__float__float,
|
||||
"Set the mouse input range. ",
|
||||
"");
|
||||
I_Method4(void, windowResize, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__windowResize__int__int__int__int,
|
||||
"Method for adapting window resize event, placing this event on the back of the event queue. ",
|
||||
"");
|
||||
I_Method5(void, windowResize, IN, int, x, IN, int, y, IN, int, width, IN, int, height, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__windowResize__int__int__int__int__double,
|
||||
"Method for adapting window resize event, placing this event on the back of the event queue, with specified time. ",
|
||||
"");
|
||||
I_Method1(void, mouseScroll, IN, osgGA::GUIEventAdapter::ScrollingMotion, sm,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseScroll__GUIEventAdapter_ScrollingMotion,
|
||||
"Method for adapting mouse scroll wheel events, placing this event on the back of the event queue. ",
|
||||
"");
|
||||
I_Method2(void, mouseScroll, IN, osgGA::GUIEventAdapter::ScrollingMotion, sm, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseScroll__GUIEventAdapter_ScrollingMotion__double,
|
||||
"Method for adapting mouse scroll wheel events, placing this event on the back of the event queue, with specified time. ",
|
||||
"");
|
||||
I_Method2(void, mouseScroll2D, IN, float, x, IN, float, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseScroll2D__float__float,
|
||||
"Method for adapting mouse scroll wheel events, placing this event on the back of the event queue. ",
|
||||
"");
|
||||
I_Method3(void, mouseScroll2D, IN, float, x, IN, float, y, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseScroll2D__float__float__double,
|
||||
"Method for adapting mouse scroll wheel events, placing this event on the back of the event queue. ",
|
||||
"");
|
||||
I_Method1(void, penPressure, IN, float, pressure,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__penPressure__float,
|
||||
"Method for adapting pen pressure events, placing this event on the back of the event queue. ",
|
||||
"");
|
||||
I_Method2(void, penPressure, IN, float, pressure, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__penPressure__float__double,
|
||||
"Method for adapting pen pressure events, placing this event on the back of the event queue, with specified time. ",
|
||||
"");
|
||||
I_Method2(void, penProximity, IN, osgGA::GUIEventAdapter::TabletPointerType, pt, IN, bool, isEntering,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__penProximity__GUIEventAdapter_TabletPointerType__bool,
|
||||
"Method for adapting pen proximity events, placing this event on the back of the event queue. ",
|
||||
"");
|
||||
I_Method3(void, penProximity, IN, osgGA::GUIEventAdapter::TabletPointerType, pt, IN, bool, isEntering, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__penProximity__GUIEventAdapter_TabletPointerType__bool__double,
|
||||
"Method for adapting pen proximity events, placing this event on the back of the event queue, with specified time. ",
|
||||
"");
|
||||
I_Method2(void, mouseWarped, IN, float, x, IN, float, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseWarped__float__float,
|
||||
"Method for updating in response to a mouse warp. ",
|
||||
"Note, just moves the mouse position without creating a new event for it. ");
|
||||
I_Method2(void, mouseMotion, IN, float, x, IN, float, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseMotion__float__float,
|
||||
"Method for adapting mouse motion events, placing this event on the back of the event queue. ",
|
||||
"");
|
||||
I_Method3(void, mouseMotion, IN, float, x, IN, float, y, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseMotion__float__float__double,
|
||||
"Method for adapting mouse motion events, placing this event on the back of the event queue, with specified time. ",
|
||||
"");
|
||||
I_Method3(void, mouseButtonPress, IN, float, x, IN, float, y, IN, unsigned int, button,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseButtonPress__float__float__unsigned_int,
|
||||
"Method for adapting mouse button pressed events, placing this event on the back of the event queue. ",
|
||||
"Button numbering is 1 for left mouse button, 2 for middle, 3 for right. ");
|
||||
I_Method4(void, mouseButtonPress, IN, float, x, IN, float, y, IN, unsigned int, button, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseButtonPress__float__float__unsigned_int__double,
|
||||
"Method for adapting mouse button pressed events, placing this event on the back of the event queue, with specified time. ",
|
||||
"Button numbering is 1 for left mouse button, 2 for middle, 3 for right. ");
|
||||
I_Method3(void, mouseDoubleButtonPress, IN, float, x, IN, float, y, IN, unsigned int, button,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseDoubleButtonPress__float__float__unsigned_int,
|
||||
"Method for adapting mouse button pressed events, placing this event on the back of the event queue. ",
|
||||
"Button numbering is 1 for left mouse button, 2 for middle, 3 for right. ");
|
||||
I_Method4(void, mouseDoubleButtonPress, IN, float, x, IN, float, y, IN, unsigned int, button, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseDoubleButtonPress__float__float__unsigned_int__double,
|
||||
"Method for adapting mouse button pressed events, placing this event on the back of the event queue, with specified time. ",
|
||||
"Button numbering is 1 for left mouse button, 2 for middle, 3 for right. ");
|
||||
I_Method3(void, mouseButtonRelease, IN, float, x, IN, float, y, IN, unsigned int, button,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseButtonRelease__float__float__unsigned_int,
|
||||
"Method for adapting mouse button release events, placing this event on the back of the event queue. ",
|
||||
"Button numbering is 1 for left mouse button, 2 for middle, 3 for right. ");
|
||||
I_Method4(void, mouseButtonRelease, IN, float, x, IN, float, y, IN, unsigned int, button, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseButtonRelease__float__float__unsigned_int__double,
|
||||
"Method for adapting mouse button release events, placing this event on the back of the event queue, with specified time. ",
|
||||
"Button numbering is 1 for left mouse button, 2 for middle, 3 for right. ");
|
||||
I_Method1(void, keyPress, IN, int, key,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__keyPress__int,
|
||||
"Method for adapting keyboard press events. ",
|
||||
"Note, special keys such as Ctrl/Function keys should be adapted to GUIEventAdapter::KeySymbol mappings. ");
|
||||
I_Method2(void, keyPress, IN, int, key, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__keyPress__int__double,
|
||||
"Method for adapting keyboard press events. ",
|
||||
"Note, special keys such as Ctrl/Function keys should be adapted to GUIEventAdapter::KeySymbol mappings, with specified time. ");
|
||||
I_Method1(void, keyRelease, IN, int, key,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__keyRelease__int,
|
||||
"Method for adapting keyboard press events. ",
|
||||
"Note, special keys such as Ctrl/Function keys should be adapted to GUIEventAdapter::KeySymbol mappings. ");
|
||||
I_Method2(void, keyRelease, IN, int, key, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__keyRelease__int__double,
|
||||
"Method for adapting keyboard press events. ",
|
||||
"Note, special keys such as Ctrl/Function keys should be adapted to GUIEventAdapter::KeySymbol mappings, with specified time. ");
|
||||
I_Method0(void, closeWindow,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__closeWindow,
|
||||
"Method for adapting close window events. ",
|
||||
"");
|
||||
I_Method1(void, closeWindow, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__closeWindow__double,
|
||||
"Method for adapting close window event with specified event time. ",
|
||||
"");
|
||||
I_Method0(void, quitApplication,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__quitApplication,
|
||||
"Method for adapting application quit events. ",
|
||||
"");
|
||||
I_Method1(void, quitApplication, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__quitApplication__double,
|
||||
"Method for adapting application quit events with specified event time. ",
|
||||
"");
|
||||
I_Method1(void, frame, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__frame__double,
|
||||
"Method for adapting frame events. ",
|
||||
"");
|
||||
I_Method1(void, setStartTick, IN, osg::Timer_t, tick,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStartTick__osg_Timer_t,
|
||||
__T_P1__get,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Timer_t, getStartTick,
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Timer_t__getStartTick,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getTime,
|
||||
I_Method0(osgGA::GUIEventAdapter *, release,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getTime,
|
||||
__T_P1__release,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::GUIEventAdapter *, createEvent,
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osgGA::GUIEventAdapter > &, rp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GUIEventAdapter_P1__createEvent,
|
||||
"convinience method for create an event ready to fill in. ",
|
||||
"Clones the getCurrentEventState() to produce a up to date event state. ");
|
||||
I_Method0(osgGA::GUIEventAdapter *, getCurrentEventState,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GUIEventAdapter_P1__getCurrentEventState,
|
||||
__void__swap__ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgGA::GUIEventAdapter *, getCurrentEventState,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_GUIEventAdapter_P1__getCurrentEventState,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, osgGA::GUIEventAdapter::MouseYOrientation, mouseYOrientation, osgGA::GUIEventAdapter::Y_INCREASING_DOWNWARDS,
|
||||
Properties::NON_EXPLICIT,
|
||||
____EventQueue__GUIEventAdapter_MouseYOrientation,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEvents, IN, osgGA::EventQueue::Events &, events,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEvents__Events_R1,
|
||||
"Set events. ",
|
||||
"");
|
||||
I_Method1(bool, takeEvents, IN, osgGA::EventQueue::Events &, events,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__takeEvents__Events_R1,
|
||||
"Take the entire event queue leaving the EventQueue' event queue empty. ",
|
||||
"");
|
||||
I_Method1(bool, copyEvents, IN, osgGA::EventQueue::Events &, events,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__copyEvents__Events_R1,
|
||||
"Take a copy the entire event queue leaving the EventQueue' event queue intact. ",
|
||||
"");
|
||||
I_Method1(void, appendEvents, IN, osgGA::EventQueue::Events &, events,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__appendEvents__Events_R1,
|
||||
"Add events to end of event queue. ",
|
||||
"");
|
||||
I_Method1(void, addEvent, IN, osgGA::GUIEventAdapter *, event,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addEvent__GUIEventAdapter_P1,
|
||||
"Add an event to the end of the event queue. ",
|
||||
"");
|
||||
I_Method1(void, setUseFixedMouseInputRange, IN, bool, useFixedMouseInputRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUseFixedMouseInputRange__bool,
|
||||
"Specify if mouse coordinates should be transformed into a pre defined input range, or whether they should be simply based on as local coordinates to the window that generated the mouse events. ",
|
||||
"");
|
||||
I_Method0(bool, getUseFixedMouseInputRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getUseFixedMouseInputRange,
|
||||
"Get whether the mouse coordinates should be transformed into a pre defined input range. ",
|
||||
"");
|
||||
I_Method4(void, setMouseInputRange, IN, float, xMin, IN, float, yMin, IN, float, xMax, IN, float, yMax,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMouseInputRange__float__float__float__float,
|
||||
"Set the mouse input range. ",
|
||||
"");
|
||||
I_Method4(void, windowResize, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__windowResize__int__int__int__int,
|
||||
"Method for adapting window resize event, placing this event on the back of the event queue. ",
|
||||
"");
|
||||
I_Method5(void, windowResize, IN, int, x, IN, int, y, IN, int, width, IN, int, height, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__windowResize__int__int__int__int__double,
|
||||
"Method for adapting window resize event, placing this event on the back of the event queue, with specified time. ",
|
||||
"");
|
||||
I_Method1(void, mouseScroll, IN, osgGA::GUIEventAdapter::ScrollingMotion, sm,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseScroll__GUIEventAdapter_ScrollingMotion,
|
||||
"Method for adapting mouse scroll wheel events, placing this event on the back of the event queue. ",
|
||||
"");
|
||||
I_Method2(void, mouseScroll, IN, osgGA::GUIEventAdapter::ScrollingMotion, sm, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseScroll__GUIEventAdapter_ScrollingMotion__double,
|
||||
"Method for adapting mouse scroll wheel events, placing this event on the back of the event queue, with specified time. ",
|
||||
"");
|
||||
I_Method2(void, mouseScroll2D, IN, float, x, IN, float, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseScroll2D__float__float,
|
||||
"Method for adapting mouse scroll wheel events, placing this event on the back of the event queue. ",
|
||||
"");
|
||||
I_Method3(void, mouseScroll2D, IN, float, x, IN, float, y, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseScroll2D__float__float__double,
|
||||
"Method for adapting mouse scroll wheel events, placing this event on the back of the event queue. ",
|
||||
"");
|
||||
I_Method1(void, penPressure, IN, float, pressure,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__penPressure__float,
|
||||
"Method for adapting pen pressure events, placing this event on the back of the event queue. ",
|
||||
"");
|
||||
I_Method2(void, penPressure, IN, float, pressure, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__penPressure__float__double,
|
||||
"Method for adapting pen pressure events, placing this event on the back of the event queue, with specified time. ",
|
||||
"");
|
||||
I_Method2(void, penProximity, IN, osgGA::GUIEventAdapter::TabletPointerType, pt, IN, bool, isEntering,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__penProximity__GUIEventAdapter_TabletPointerType__bool,
|
||||
"Method for adapting pen proximity events, placing this event on the back of the event queue. ",
|
||||
"");
|
||||
I_Method3(void, penProximity, IN, osgGA::GUIEventAdapter::TabletPointerType, pt, IN, bool, isEntering, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__penProximity__GUIEventAdapter_TabletPointerType__bool__double,
|
||||
"Method for adapting pen proximity events, placing this event on the back of the event queue, with specified time. ",
|
||||
"");
|
||||
I_Method2(void, mouseWarped, IN, float, x, IN, float, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseWarped__float__float,
|
||||
"Method for updating in response to a mouse warp. ",
|
||||
"Note, just moves the mouse position without creating a new event for it. ");
|
||||
I_Method2(void, mouseMotion, IN, float, x, IN, float, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseMotion__float__float,
|
||||
"Method for adapting mouse motion events, placing this event on the back of the event queue. ",
|
||||
"");
|
||||
I_Method3(void, mouseMotion, IN, float, x, IN, float, y, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseMotion__float__float__double,
|
||||
"Method for adapting mouse motion events, placing this event on the back of the event queue, with specified time. ",
|
||||
"");
|
||||
I_Method3(void, mouseButtonPress, IN, float, x, IN, float, y, IN, unsigned int, button,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseButtonPress__float__float__unsigned_int,
|
||||
"Method for adapting mouse button pressed events, placing this event on the back of the event queue. ",
|
||||
"Button numbering is 1 for left mouse button, 2 for middle, 3 for right. ");
|
||||
I_Method4(void, mouseButtonPress, IN, float, x, IN, float, y, IN, unsigned int, button, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseButtonPress__float__float__unsigned_int__double,
|
||||
"Method for adapting mouse button pressed events, placing this event on the back of the event queue, with specified time. ",
|
||||
"Button numbering is 1 for left mouse button, 2 for middle, 3 for right. ");
|
||||
I_Method3(void, mouseDoubleButtonPress, IN, float, x, IN, float, y, IN, unsigned int, button,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseDoubleButtonPress__float__float__unsigned_int,
|
||||
"Method for adapting mouse button pressed events, placing this event on the back of the event queue. ",
|
||||
"Button numbering is 1 for left mouse button, 2 for middle, 3 for right. ");
|
||||
I_Method4(void, mouseDoubleButtonPress, IN, float, x, IN, float, y, IN, unsigned int, button, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseDoubleButtonPress__float__float__unsigned_int__double,
|
||||
"Method for adapting mouse button pressed events, placing this event on the back of the event queue, with specified time. ",
|
||||
"Button numbering is 1 for left mouse button, 2 for middle, 3 for right. ");
|
||||
I_Method3(void, mouseButtonRelease, IN, float, x, IN, float, y, IN, unsigned int, button,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseButtonRelease__float__float__unsigned_int,
|
||||
"Method for adapting mouse button release events, placing this event on the back of the event queue. ",
|
||||
"Button numbering is 1 for left mouse button, 2 for middle, 3 for right. ");
|
||||
I_Method4(void, mouseButtonRelease, IN, float, x, IN, float, y, IN, unsigned int, button, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mouseButtonRelease__float__float__unsigned_int__double,
|
||||
"Method for adapting mouse button release events, placing this event on the back of the event queue, with specified time. ",
|
||||
"Button numbering is 1 for left mouse button, 2 for middle, 3 for right. ");
|
||||
I_Method1(void, keyPress, IN, int, key,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__keyPress__int,
|
||||
"Method for adapting keyboard press events. ",
|
||||
"Note, special keys such as Ctrl/Function keys should be adapted to GUIEventAdapter::KeySymbol mappings. ");
|
||||
I_Method2(void, keyPress, IN, int, key, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__keyPress__int__double,
|
||||
"Method for adapting keyboard press events. ",
|
||||
"Note, special keys such as Ctrl/Function keys should be adapted to GUIEventAdapter::KeySymbol mappings, with specified time. ");
|
||||
I_Method1(void, keyRelease, IN, int, key,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__keyRelease__int,
|
||||
"Method for adapting keyboard press events. ",
|
||||
"Note, special keys such as Ctrl/Function keys should be adapted to GUIEventAdapter::KeySymbol mappings. ");
|
||||
I_Method2(void, keyRelease, IN, int, key, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__keyRelease__int__double,
|
||||
"Method for adapting keyboard press events. ",
|
||||
"Note, special keys such as Ctrl/Function keys should be adapted to GUIEventAdapter::KeySymbol mappings, with specified time. ");
|
||||
I_Method0(void, closeWindow,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__closeWindow,
|
||||
"Method for adapting close window events. ",
|
||||
"");
|
||||
I_Method1(void, closeWindow, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__closeWindow__double,
|
||||
"Method for adapting close window event with specified event time. ",
|
||||
"");
|
||||
I_Method0(void, quitApplication,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__quitApplication,
|
||||
"Method for adapting application quit events. ",
|
||||
"");
|
||||
I_Method1(void, quitApplication, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__quitApplication__double,
|
||||
"Method for adapting application quit events with specified event time. ",
|
||||
"");
|
||||
I_Method1(void, frame, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__frame__double,
|
||||
"Method for adapting frame events. ",
|
||||
"");
|
||||
I_Method1(void, setStartTick, IN, osg::Timer_t, tick,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStartTick__osg_Timer_t,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Timer_t, getStartTick,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Timer_t__getStartTick,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getTime,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::GUIEventAdapter *, createEvent,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GUIEventAdapter_P1__createEvent,
|
||||
"convinience method for create an event ready to fill in. ",
|
||||
"Clones the getCurrentEventState() to produce a up to date event state. ");
|
||||
I_Method0(osgGA::GUIEventAdapter *, getCurrentEventState,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GUIEventAdapter_P1__getCurrentEventState,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgGA::GUIEventAdapter *, getCurrentEventState,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_GUIEventAdapter_P1__getCurrentEventState,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgGA::GUIEventAdapter *, CurrentEventState,
|
||||
__GUIEventAdapter_P1__getCurrentEventState,
|
||||
I_SimpleProperty(osgGA::GUIEventAdapter *, ,
|
||||
__T_P1__get,
|
||||
0);
|
||||
I_SimpleProperty(osgGA::EventQueue::Events &, Events,
|
||||
0,
|
||||
__void__setEvents__Events_R1);
|
||||
I_SimpleProperty(osg::Timer_t, StartTick,
|
||||
__osg_Timer_t__getStartTick,
|
||||
__void__setStartTick__osg_Timer_t);
|
||||
I_SimpleProperty(double, Time,
|
||||
__double__getTime,
|
||||
0);
|
||||
I_SimpleProperty(bool, UseFixedMouseInputRange,
|
||||
__bool__getUseFixedMouseInputRange,
|
||||
__void__setUseFixedMouseInputRange__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osgGA::GUIEventAdapter > >);
|
||||
|
||||
|
||||
@@ -10,17 +10,17 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Billboard.svn-base>
|
||||
#include <osg/.svn/text-base/Group.svn-base>
|
||||
#include <osg/.svn/text-base/LOD.svn-base>
|
||||
#include <osg/.svn/text-base/LightSource.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/.svn/text-base/OccluderNode.svn-base>
|
||||
#include <osg/.svn/text-base/Switch.svn-base>
|
||||
#include <osg/Billboard>
|
||||
#include <osg/Geode>
|
||||
#include <osg/Group>
|
||||
#include <osg/LOD>
|
||||
#include <osg/LightSource>
|
||||
#include <osg/Node>
|
||||
#include <osg/OccluderNode>
|
||||
#include <osg/Projection>
|
||||
#include <osg/Switch>
|
||||
#include <osg/Transform>
|
||||
#include <osgGA/.svn/text-base/EventQueue.svn-base>
|
||||
#include <osgGA/EventQueue>
|
||||
#include <osgGA/EventVisitor>
|
||||
#include <osgGA/GUIActionAdapter>
|
||||
#include <osgGA/GUIEventAdapter>
|
||||
@@ -36,7 +36,6 @@
|
||||
TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osgGA::GUIEventAdapter > >, osgGA::EventVisitor::EventList);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgGA::EventVisitor)
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_Constructor0(____EventVisitor,
|
||||
"",
|
||||
@@ -94,348 +93,8 @@ BEGIN_OBJECT_REFLECTOR(osgGA::EventVisitor)
|
||||
I_Method0(void, reset,
|
||||
Properties::VIRTUAL,
|
||||
__void__reset,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Node &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Node_R1,
|
||||
"During traversal each type of node calls its callbacks and its children traversed. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Geode &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Geode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Billboard &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Billboard_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::LightSource &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_LightSource_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Group &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Group_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Transform &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Transform_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Projection &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Projection_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Switch &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Switch_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::LOD &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_LOD_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::OccluderNode &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_OccluderNode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____EventVisitor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setActionAdapter, IN, osgGA::GUIActionAdapter *, actionAdapter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setActionAdapter__osgGA_GUIActionAdapter_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::GUIActionAdapter *, getActionAdapter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgGA_GUIActionAdapter_P1__getActionAdapter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgGA::GUIActionAdapter *, getActionAdapter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgGA_GUIActionAdapter_P1__getActionAdapter,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addEvent, IN, osgGA::GUIEventAdapter *, event,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addEvent__GUIEventAdapter_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, removeEvent, IN, osgGA::GUIEventAdapter *, event,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__removeEvent__GUIEventAdapter_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEventHandled, IN, bool, handled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEventHandled__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getEventHandled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getEventHandled,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEvents, IN, const osgGA::EventQueue::Events &, events,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEvents__C5_EventQueue_Events_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::EventQueue::Events &, getEvents,
|
||||
Properties::NON_VIRTUAL,
|
||||
__EventQueue_Events_R1__getEvents,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgGA::EventQueue::Events &, getEvents,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_EventQueue_Events_R1__getEvents,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, reset,
|
||||
Properties::VIRTUAL,
|
||||
__void__reset,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Node &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Node_R1,
|
||||
"During traversal each type of node calls its callbacks and its children traversed. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Geode &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Geode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Billboard &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Billboard_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::LightSource &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_LightSource_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Group &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Group_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Transform &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Transform_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Projection &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Projection_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Switch &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Switch_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::LOD &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_LOD_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::OccluderNode &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_OccluderNode_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgGA::GUIActionAdapter *, ActionAdapter,
|
||||
__osgGA_GUIActionAdapter_P1__getActionAdapter,
|
||||
__void__setActionAdapter__osgGA_GUIActionAdapter_P1);
|
||||
I_SimpleProperty(bool, EventHandled,
|
||||
__bool__getEventHandled,
|
||||
__void__setEventHandled__bool);
|
||||
I_SimpleProperty(const osgGA::EventQueue::Events &, Events,
|
||||
__C5_EventQueue_Events_R1__getEvents,
|
||||
__void__setEvents__C5_EventQueue_Events_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osgGA::GUIEventAdapter > >, osgGA::EventVisitor::EventList);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgGA::EventVisitor)
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_Constructor0(____EventVisitor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setActionAdapter, IN, osgGA::GUIActionAdapter *, actionAdapter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setActionAdapter__osgGA_GUIActionAdapter_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::GUIActionAdapter *, getActionAdapter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgGA_GUIActionAdapter_P1__getActionAdapter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgGA::GUIActionAdapter *, getActionAdapter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgGA_GUIActionAdapter_P1__getActionAdapter,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addEvent, IN, osgGA::GUIEventAdapter *, event,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addEvent__GUIEventAdapter_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, removeEvent, IN, osgGA::GUIEventAdapter *, event,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__removeEvent__GUIEventAdapter_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEventHandled, IN, bool, handled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEventHandled__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getEventHandled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getEventHandled,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEvents, IN, const osgGA::EventQueue::Events &, events,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEvents__C5_EventQueue_Events_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::EventQueue::Events &, getEvents,
|
||||
Properties::NON_VIRTUAL,
|
||||
__EventQueue_Events_R1__getEvents,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgGA::EventQueue::Events &, getEvents,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_EventQueue_Events_R1__getEvents,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, reset,
|
||||
Properties::VIRTUAL,
|
||||
__void__reset,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Node &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Node_R1,
|
||||
"During traversal each type of node calls its callbacks and its children traversed. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Geode &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Geode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Billboard &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Billboard_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::LightSource &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_LightSource_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Group &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Group_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Transform &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Transform_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Projection &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Projection_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Switch &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Switch_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::LOD &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_LOD_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::OccluderNode &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_OccluderNode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____EventVisitor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setActionAdapter, IN, osgGA::GUIActionAdapter *, actionAdapter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setActionAdapter__osgGA_GUIActionAdapter_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::GUIActionAdapter *, getActionAdapter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgGA_GUIActionAdapter_P1__getActionAdapter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgGA::GUIActionAdapter *, getActionAdapter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgGA_GUIActionAdapter_P1__getActionAdapter,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addEvent, IN, osgGA::GUIEventAdapter *, event,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addEvent__GUIEventAdapter_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, removeEvent, IN, osgGA::GUIEventAdapter *, event,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__removeEvent__GUIEventAdapter_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEventHandled, IN, bool, handled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEventHandled__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getEventHandled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getEventHandled,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEvents, IN, const osgGA::EventQueue::Events &, events,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEvents__C5_EventQueue_Events_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::EventQueue::Events &, getEvents,
|
||||
Properties::NON_VIRTUAL,
|
||||
__EventQueue_Events_R1__getEvents,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgGA::EventQueue::Events &, getEvents,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_EventQueue_Events_R1__getEvents,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, reset,
|
||||
Properties::VIRTUAL,
|
||||
__void__reset,
|
||||
"",
|
||||
"");
|
||||
"Method to call to reset visitor. ",
|
||||
"Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal. ");
|
||||
I_Method1(void, apply, IN, osg::Node &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Node_R1,
|
||||
|
||||
@@ -10,10 +10,9 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Matrixd.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/ApplicationUsage>
|
||||
#include <osgGA/.svn/text-base/FlightManipulator.svn-base>
|
||||
#include <osg/Matrixd>
|
||||
#include <osg/Node>
|
||||
#include <osgGA/FlightManipulator>
|
||||
#include <osgGA/GUIActionAdapter>
|
||||
#include <osgGA/GUIEventAdapter>
|
||||
@@ -32,7 +31,6 @@ BEGIN_ENUM_REFLECTOR(osgGA::FlightManipulator::YawControlMode)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgGA::FlightManipulator)
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_Constructor0(____FlightManipulator,
|
||||
"",
|
||||
@@ -40,8 +38,8 @@ BEGIN_OBJECT_REFLECTOR(osgGA::FlightManipulator)
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1,
|
||||
@@ -65,363 +63,32 @@ BEGIN_OBJECT_REFLECTOR(osgGA::FlightManipulator)
|
||||
I_Method1(void, setNode, IN, osg::Node *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
"Attach a node to the manipulator, automatically detaching any previously attached node. ",
|
||||
"setNode(NULL) detaches previous nodes. May be ignored by manipulators which do not require a reference model.");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
"",
|
||||
"Return const node if attached. ",
|
||||
"");
|
||||
I_Method0(osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Node_P1__getNode,
|
||||
"",
|
||||
"Return node if attached. ",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
"Move the camera to the default position. ",
|
||||
"May be ignored by manipulators if home functionality is not appropriate.");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
"Start/restart the manipulator. ",
|
||||
"FIXME: what does this actually mean? Provide examples.");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
I_Method1(void, setYawControlMode, IN, osgGA::FlightManipulator::YawControlMode, ycm,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setYawControlMode__YawControlMode,
|
||||
"Configure the Yaw control for the flight model. ",
|
||||
"");
|
||||
I_Method1(void, setModelScale, IN, double, in_ms,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setModelScale__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getModelScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getModelScale,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAcceleration, IN, double, in_acc,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAcceleration__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getAcceleration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getAcceleration,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVelocity, IN, double, in_vel,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVelocity__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getVelocity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getVelocity,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____FlightManipulator,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getMatrix,
|
||||
"get the position of the manipulator as 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getInverseMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
"get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ",
|
||||
"");
|
||||
I_Method1(void, setNode, IN, osg::Node *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Node_P1__getNode,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
I_Method1(void, setYawControlMode, IN, osgGA::FlightManipulator::YawControlMode, ycm,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setYawControlMode__YawControlMode,
|
||||
"Configure the Yaw control for the flight model. ",
|
||||
"");
|
||||
I_Method1(void, setModelScale, IN, double, in_ms,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setModelScale__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getModelScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getModelScale,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAcceleration, IN, double, in_acc,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAcceleration__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getAcceleration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getAcceleration,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVelocity, IN, double, in_vel,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVelocity__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getVelocity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getVelocity,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(double, Acceleration,
|
||||
__double__getAcceleration,
|
||||
__void__setAcceleration__double);
|
||||
I_SimpleProperty(const osg::Matrixd &, ByInverseMatrix,
|
||||
0,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1);
|
||||
I_SimpleProperty(const osg::Matrixd &, ByMatrix,
|
||||
0,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1);
|
||||
I_SimpleProperty(osg::Matrixd, InverseMatrix,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
0);
|
||||
I_SimpleProperty(osg::Matrixd, Matrix,
|
||||
__osg_Matrixd__getMatrix,
|
||||
0);
|
||||
I_SimpleProperty(double, ModelScale,
|
||||
__double__getModelScale,
|
||||
__void__setModelScale__double);
|
||||
I_SimpleProperty(osg::Node *, Node,
|
||||
__osg_Node_P1__getNode,
|
||||
__void__setNode__osg_Node_P1);
|
||||
I_SimpleProperty(double, Velocity,
|
||||
__double__getVelocity,
|
||||
__void__setVelocity__double);
|
||||
I_SimpleProperty(osgGA::FlightManipulator::YawControlMode, YawControlMode,
|
||||
0,
|
||||
__void__setYawControlMode__YawControlMode);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgGA::FlightManipulator::YawControlMode)
|
||||
I_EnumLabel(osgGA::FlightManipulator::YAW_AUTOMATICALLY_WHEN_BANKED);
|
||||
I_EnumLabel(osgGA::FlightManipulator::NO_AUTOMATIC_YAW);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgGA::FlightManipulator)
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_Constructor0(____FlightManipulator,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getMatrix,
|
||||
"get the position of the manipulator as 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getInverseMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
"get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ",
|
||||
"");
|
||||
I_Method1(void, setNode, IN, osg::Node *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Node_P1__getNode,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
I_Method1(void, setYawControlMode, IN, osgGA::FlightManipulator::YawControlMode, ycm,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setYawControlMode__YawControlMode,
|
||||
"Configure the Yaw control for the flight model. ",
|
||||
"");
|
||||
I_Method1(void, setModelScale, IN, double, in_ms,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setModelScale__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getModelScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getModelScale,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAcceleration, IN, double, in_acc,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAcceleration__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getAcceleration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getAcceleration,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVelocity, IN, double, in_vel,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVelocity__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getVelocity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getVelocity,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____FlightManipulator,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getMatrix,
|
||||
"get the position of the manipulator as 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getInverseMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
"get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ",
|
||||
"");
|
||||
I_Method1(void, setNode, IN, osg::Node *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Node_P1__getNode,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"Handle events, return true if handled, false otherwise. ",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
|
||||
@@ -15,6 +15,8 @@ CXXFILES =\
|
||||
NodeTrackerManipulator.cpp\
|
||||
StateSetManipulator.cpp\
|
||||
TerrainManipulator.cpp\
|
||||
TrackballManipulator.cpp\
|
||||
UFOManipulator.cpp\
|
||||
|
||||
LIBS += -losgGA -losg -losgIntrospection -losgUtil $(GL_LIBS) $(OTHER_LIBS)
|
||||
|
||||
|
||||
@@ -39,56 +39,5 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::GUIActionAdapter)
|
||||
__void__requestWarpPointer__float__float,
|
||||
"requestWarpPointer(int,int) is requesting a repositioning of the mouse pointer to a specified x,y location on the window. ",
|
||||
"This is used by some camera manipulators to initialise the mouse pointer when mouse position relative to a controls neutral mouse position is required, i.e when mimicking a aircrafts joystick.");
|
||||
I_Method0(void, requestRedraw,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__requestRedraw,
|
||||
"requestRedraw() requests a single redraw. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, requestContinuousUpdate, IN, bool, needed, true,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__requestContinuousUpdate__bool,
|
||||
"requestContinousUpdate(bool) is for en/disabling a throw or idle callback to be requested by a GUIEventHandler (typically a MatrixManipulator, though other GUIEventHandler's may also provide functionality). ",
|
||||
"GUI toolkits can respond to this immediately by registering an idle/timed callback, or can delay setting the callback and update at their own leisure.");
|
||||
I_Method2(void, requestWarpPointer, IN, float, x, IN, float, y,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__requestWarpPointer__float__float,
|
||||
"requestWarpPointer(int,int) is requesting a repositioning of the mouse pointer to a specified x,y location on the window. ",
|
||||
"This is used by some camera manipulators to initialise the mouse pointer when mouse position relative to a controls neutral mouse position is required, i.e when mimicking a aircrafts joystick.");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::GUIActionAdapter)
|
||||
I_Constructor0(____GUIActionAdapter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, requestRedraw,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__requestRedraw,
|
||||
"requestRedraw() requests a single redraw. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, requestContinuousUpdate, IN, bool, needed, true,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__requestContinuousUpdate__bool,
|
||||
"requestContinousUpdate(bool) is for en/disabling a throw or idle callback to be requested by a GUIEventHandler (typically a MatrixManipulator, though other GUIEventHandler's may also provide functionality). ",
|
||||
"GUI toolkits can respond to this immediately by registering an idle/timed callback, or can delay setting the callback and update at their own leisure.");
|
||||
I_Method2(void, requestWarpPointer, IN, float, x, IN, float, y,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__requestWarpPointer__float__float,
|
||||
"requestWarpPointer(int,int) is requesting a repositioning of the mouse pointer to a specified x,y location on the window. ",
|
||||
"This is used by some camera manipulators to initialise the mouse pointer when mouse position relative to a controls neutral mouse position is required, i.e when mimicking a aircrafts joystick.");
|
||||
I_Method0(void, requestRedraw,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__requestRedraw,
|
||||
"requestRedraw() requests a single redraw. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, requestContinuousUpdate, IN, bool, needed, true,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__requestContinuousUpdate__bool,
|
||||
"requestContinousUpdate(bool) is for en/disabling a throw or idle callback to be requested by a GUIEventHandler (typically a MatrixManipulator, though other GUIEventHandler's may also provide functionality). ",
|
||||
"GUI toolkits can respond to this immediately by registering an idle/timed callback, or can delay setting the callback and update at their own leisure.");
|
||||
I_Method2(void, requestWarpPointer, IN, float, x, IN, float, y,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__requestWarpPointer__float__float,
|
||||
"requestWarpPointer(int,int) is requesting a repositioning of the mouse pointer to a specified x,y location on the window. ",
|
||||
"This is used by some camera manipulators to initialise the mouse pointer when mouse position relative to a controls neutral mouse position is required, i.e when mimicking a aircrafts joystick.");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osgGA/.svn/text-base/GUIEventAdapter.svn-base>
|
||||
#include <osgGA/GUIEventAdapter>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -211,929 +210,6 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgGA::GUIEventAdapter)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____GUIEventAdapter,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osgGA::GUIEventAdapter &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____GUIEventAdapter__C5_GUIEventAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setHandled, IN, bool, handled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setHandled__bool,
|
||||
"Set whether this event has been handled by an event handler or not. ",
|
||||
"");
|
||||
I_Method0(bool, getHandled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getHandled,
|
||||
"Get whether this event has been handled by an event handler or not. ",
|
||||
"");
|
||||
I_Method1(void, setEventType, IN, osgGA::GUIEventAdapter::EventType, Type,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEventType__EventType,
|
||||
"Get the Type of the GUI GUIEventAdapter. ",
|
||||
"");
|
||||
I_Method0(osgGA::GUIEventAdapter::EventType, getEventType,
|
||||
Properties::VIRTUAL,
|
||||
__EventType__getEventType,
|
||||
"Get the Type of the GUI GUIEventAdapter. ",
|
||||
"");
|
||||
I_Method1(void, setTime, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTime__double,
|
||||
"set time in seconds of event. ",
|
||||
"");
|
||||
I_Method0(double, getTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getTime,
|
||||
"get time in seconds of event. ",
|
||||
"");
|
||||
I_Method0(double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__time,
|
||||
"deprecated function for getting time of event. ",
|
||||
"");
|
||||
I_MethodWithDefaults5(void, setWindowRectangle, IN, int, x, , IN, int, y, , IN, int, width, , IN, int, height, , IN, bool, updateMouseRange, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWindowRectangle__int__int__int__int__bool,
|
||||
"set window rectangle. ",
|
||||
"");
|
||||
I_Method0(int, getWindowX,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getWindowX,
|
||||
"get window x origin. ",
|
||||
"");
|
||||
I_Method0(int, getWindowY,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getWindowY,
|
||||
"get window y origin. ",
|
||||
"");
|
||||
I_Method0(int, getWindowWidth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getWindowWidth,
|
||||
"get window width. ",
|
||||
"");
|
||||
I_Method0(int, getWindowHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getWindowHeight,
|
||||
"get window height. ",
|
||||
"");
|
||||
I_Method1(void, setKey, IN, int, key,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setKey__int,
|
||||
"set key pressed. ",
|
||||
"");
|
||||
I_Method0(int, getKey,
|
||||
Properties::VIRTUAL,
|
||||
__int__getKey,
|
||||
"get key pressed, return -1 if inappropriate for this GUIEventAdapter. ",
|
||||
"");
|
||||
I_Method1(void, setButton, IN, int, button,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setButton__int,
|
||||
"set button pressed/released. ",
|
||||
"");
|
||||
I_Method0(int, getButton,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getButton,
|
||||
"button pressed/released, return -1 if inappropriate for this GUIEventAdapter. ",
|
||||
"");
|
||||
I_Method4(void, setInputRange, IN, float, Xmin, IN, float, Ymin, IN, float, Xmax, IN, float, Ymax,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setInputRange__float__float__float__float,
|
||||
"set mouse input range. ",
|
||||
"");
|
||||
I_Method0(float, getXmin,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getXmin,
|
||||
"get mouse minimum x. ",
|
||||
"");
|
||||
I_Method0(float, getXmax,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getXmax,
|
||||
"get mouse maximum x. ",
|
||||
"");
|
||||
I_Method0(float, getYmin,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getYmin,
|
||||
"get mmouse minimum y. ",
|
||||
"");
|
||||
I_Method0(float, getYmax,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getYmax,
|
||||
"get mouse maYimum y. ",
|
||||
"");
|
||||
I_Method1(void, setX, IN, float, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setX__float,
|
||||
"set current mouse x position. ",
|
||||
"");
|
||||
I_Method0(float, getX,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getX,
|
||||
"get current mouse x position. ",
|
||||
"");
|
||||
I_Method1(void, setY, IN, float, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setY__float,
|
||||
"set current mouse y position. ",
|
||||
"");
|
||||
I_Method0(float, getY,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getY,
|
||||
"get current mouse y position. ",
|
||||
"");
|
||||
I_Method1(void, setButtonMask, IN, unsigned int, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setButtonMask__unsigned_int,
|
||||
"set current mouse button state ",
|
||||
"");
|
||||
I_Method0(unsigned int, getButtonMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getButtonMask,
|
||||
"get current mouse button state ",
|
||||
"");
|
||||
I_Method1(void, setModKeyMask, IN, unsigned int, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setModKeyMask__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getModKeyMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getModKeyMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getPenPressure,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getPenPressure,
|
||||
"get the pressure, from a tablet input device (range 0 - 1) ",
|
||||
"");
|
||||
I_Method1(void, setPenPressure, IN, float, pressure,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPenPressure__float,
|
||||
"sets the pressure from a tablet ",
|
||||
"");
|
||||
I_Method0(osgGA::GUIEventAdapter::TabletPointerType, getTabletPointerType,
|
||||
Properties::NON_VIRTUAL,
|
||||
__TabletPointerType__getTabletPointerType,
|
||||
"get the current used tablet pointer type ",
|
||||
"");
|
||||
I_Method1(void, setTabletPointerType, IN, osgGA::GUIEventAdapter::TabletPointerType, pt,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTabletPointerType__TabletPointerType,
|
||||
"set the current used tablet pointer type ",
|
||||
"");
|
||||
I_Method1(void, setScrollingMotion, IN, osgGA::GUIEventAdapter::ScrollingMotion, motion,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScrollingMotion__ScrollingMotion,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getScrollingDeltaX,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getScrollingDeltaX,
|
||||
"get the scrolling x-delta ",
|
||||
"");
|
||||
I_Method0(float, getScrollingDeltaY,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getScrollingDeltaY,
|
||||
"get the scrolling y-delta ",
|
||||
"");
|
||||
I_Method2(void, setScrollingMotionDelta, IN, float, x, IN, float, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScrollingMotionDelta__float__float,
|
||||
"sets the scrolling delta to x,y and the type of scrolling to SCROLL_2D ",
|
||||
"");
|
||||
I_Method0(osgGA::GUIEventAdapter::ScrollingMotion, getScrollingMotion,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ScrollingMotion__getScrollingMotion,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getXnormalized,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getXnormalized,
|
||||
"return the getX() value normalised to the range of -1 to 1. ",
|
||||
"-1 would be the left hand side of the window. 0.0 would be the middle of the window. +1 would be the right hand side of the window. ");
|
||||
I_Method0(float, getYnormalized,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getYnormalized,
|
||||
"return the getY() value normalised to the range of -1 to 1. ",
|
||||
"-1 would be the bottom of the window. 0.0 would be the middle of the window. +1 would be the top of the window. ");
|
||||
I_Method1(void, setMouseYOrientation, IN, osgGA::GUIEventAdapter::MouseYOrientation, myo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMouseYOrientation__MouseYOrientation,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::GUIEventAdapter::MouseYOrientation, getMouseYOrientation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__MouseYOrientation__getMouseYOrientation,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____GUIEventAdapter,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osgGA::GUIEventAdapter &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____GUIEventAdapter__C5_GUIEventAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setHandled, IN, bool, handled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setHandled__bool,
|
||||
"Set whether this event has been handled by an event handler or not. ",
|
||||
"");
|
||||
I_Method0(bool, getHandled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getHandled,
|
||||
"Get whether this event has been handled by an event handler or not. ",
|
||||
"");
|
||||
I_Method1(void, setEventType, IN, osgGA::GUIEventAdapter::EventType, Type,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEventType__EventType,
|
||||
"Get the Type of the GUI GUIEventAdapter. ",
|
||||
"");
|
||||
I_Method0(osgGA::GUIEventAdapter::EventType, getEventType,
|
||||
Properties::VIRTUAL,
|
||||
__EventType__getEventType,
|
||||
"Get the Type of the GUI GUIEventAdapter. ",
|
||||
"");
|
||||
I_Method1(void, setTime, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTime__double,
|
||||
"set time in seconds of event. ",
|
||||
"");
|
||||
I_Method0(double, getTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getTime,
|
||||
"get time in seconds of event. ",
|
||||
"");
|
||||
I_Method0(double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__time,
|
||||
"deprecated function for getting time of event. ",
|
||||
"");
|
||||
I_MethodWithDefaults5(void, setWindowRectangle, IN, int, x, , IN, int, y, , IN, int, width, , IN, int, height, , IN, bool, updateMouseRange, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWindowRectangle__int__int__int__int__bool,
|
||||
"set window rectangle. ",
|
||||
"");
|
||||
I_Method0(int, getWindowX,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getWindowX,
|
||||
"get window x origin. ",
|
||||
"");
|
||||
I_Method0(int, getWindowY,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getWindowY,
|
||||
"get window y origin. ",
|
||||
"");
|
||||
I_Method0(int, getWindowWidth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getWindowWidth,
|
||||
"get window width. ",
|
||||
"");
|
||||
I_Method0(int, getWindowHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getWindowHeight,
|
||||
"get window height. ",
|
||||
"");
|
||||
I_Method1(void, setKey, IN, int, key,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setKey__int,
|
||||
"set key pressed. ",
|
||||
"");
|
||||
I_Method0(int, getKey,
|
||||
Properties::VIRTUAL,
|
||||
__int__getKey,
|
||||
"get key pressed, return -1 if inappropriate for this GUIEventAdapter. ",
|
||||
"");
|
||||
I_Method1(void, setButton, IN, int, button,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setButton__int,
|
||||
"set button pressed/released. ",
|
||||
"");
|
||||
I_Method0(int, getButton,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getButton,
|
||||
"button pressed/released, return -1 if inappropriate for this GUIEventAdapter. ",
|
||||
"");
|
||||
I_Method4(void, setInputRange, IN, float, Xmin, IN, float, Ymin, IN, float, Xmax, IN, float, Ymax,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setInputRange__float__float__float__float,
|
||||
"set mouse input range. ",
|
||||
"");
|
||||
I_Method0(float, getXmin,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getXmin,
|
||||
"get mouse minimum x. ",
|
||||
"");
|
||||
I_Method0(float, getXmax,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getXmax,
|
||||
"get mouse maximum x. ",
|
||||
"");
|
||||
I_Method0(float, getYmin,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getYmin,
|
||||
"get mmouse minimum y. ",
|
||||
"");
|
||||
I_Method0(float, getYmax,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getYmax,
|
||||
"get mouse maYimum y. ",
|
||||
"");
|
||||
I_Method1(void, setX, IN, float, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setX__float,
|
||||
"set current mouse x position. ",
|
||||
"");
|
||||
I_Method0(float, getX,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getX,
|
||||
"get current mouse x position. ",
|
||||
"");
|
||||
I_Method1(void, setY, IN, float, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setY__float,
|
||||
"set current mouse y position. ",
|
||||
"");
|
||||
I_Method0(float, getY,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getY,
|
||||
"get current mouse y position. ",
|
||||
"");
|
||||
I_Method1(void, setButtonMask, IN, unsigned int, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setButtonMask__unsigned_int,
|
||||
"set current mouse button state ",
|
||||
"");
|
||||
I_Method0(unsigned int, getButtonMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getButtonMask,
|
||||
"get current mouse button state ",
|
||||
"");
|
||||
I_Method1(void, setModKeyMask, IN, unsigned int, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setModKeyMask__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getModKeyMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getModKeyMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getPenPressure,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getPenPressure,
|
||||
"get the pressure, from a tablet input device (range 0 - 1) ",
|
||||
"");
|
||||
I_Method1(void, setPenPressure, IN, float, pressure,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPenPressure__float,
|
||||
"sets the pressure from a tablet ",
|
||||
"");
|
||||
I_Method0(osgGA::GUIEventAdapter::TabletPointerType, getTabletPointerType,
|
||||
Properties::NON_VIRTUAL,
|
||||
__TabletPointerType__getTabletPointerType,
|
||||
"get the current used tablet pointer type ",
|
||||
"");
|
||||
I_Method1(void, setTabletPointerType, IN, osgGA::GUIEventAdapter::TabletPointerType, pt,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTabletPointerType__TabletPointerType,
|
||||
"set the current used tablet pointer type ",
|
||||
"");
|
||||
I_Method1(void, setScrollingMotion, IN, osgGA::GUIEventAdapter::ScrollingMotion, motion,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScrollingMotion__ScrollingMotion,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getScrollingDeltaX,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getScrollingDeltaX,
|
||||
"get the scrolling x-delta ",
|
||||
"");
|
||||
I_Method0(float, getScrollingDeltaY,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getScrollingDeltaY,
|
||||
"get the scrolling y-delta ",
|
||||
"");
|
||||
I_Method2(void, setScrollingMotionDelta, IN, float, x, IN, float, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScrollingMotionDelta__float__float,
|
||||
"sets the scrolling delta to x,y and the type of scrolling to SCROLL_2D ",
|
||||
"");
|
||||
I_Method0(osgGA::GUIEventAdapter::ScrollingMotion, getScrollingMotion,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ScrollingMotion__getScrollingMotion,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getXnormalized,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getXnormalized,
|
||||
"return the getX() value normalised to the range of -1 to 1. ",
|
||||
"-1 would be the left hand side of the window. 0.0 would be the middle of the window. +1 would be the right hand side of the window. ");
|
||||
I_Method0(float, getYnormalized,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getYnormalized,
|
||||
"return the getY() value normalised to the range of -1 to 1. ",
|
||||
"-1 would be the bottom of the window. 0.0 would be the middle of the window. +1 would be the top of the window. ");
|
||||
I_Method1(void, setMouseYOrientation, IN, osgGA::GUIEventAdapter::MouseYOrientation, myo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMouseYOrientation__MouseYOrientation,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::GUIEventAdapter::MouseYOrientation, getMouseYOrientation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__MouseYOrientation__getMouseYOrientation,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(int, Button,
|
||||
__int__getButton,
|
||||
__void__setButton__int);
|
||||
I_SimpleProperty(unsigned int, ButtonMask,
|
||||
__unsigned_int__getButtonMask,
|
||||
__void__setButtonMask__unsigned_int);
|
||||
I_SimpleProperty(osgGA::GUIEventAdapter::EventType, EventType,
|
||||
__EventType__getEventType,
|
||||
__void__setEventType__EventType);
|
||||
I_SimpleProperty(bool, Handled,
|
||||
__bool__getHandled,
|
||||
__void__setHandled__bool);
|
||||
I_SimpleProperty(int, Key,
|
||||
__int__getKey,
|
||||
__void__setKey__int);
|
||||
I_SimpleProperty(unsigned int, ModKeyMask,
|
||||
__unsigned_int__getModKeyMask,
|
||||
__void__setModKeyMask__unsigned_int);
|
||||
I_SimpleProperty(osgGA::GUIEventAdapter::MouseYOrientation, MouseYOrientation,
|
||||
__MouseYOrientation__getMouseYOrientation,
|
||||
__void__setMouseYOrientation__MouseYOrientation);
|
||||
I_SimpleProperty(float, PenPressure,
|
||||
__float__getPenPressure,
|
||||
__void__setPenPressure__float);
|
||||
I_SimpleProperty(float, ScrollingDeltaX,
|
||||
__float__getScrollingDeltaX,
|
||||
0);
|
||||
I_SimpleProperty(float, ScrollingDeltaY,
|
||||
__float__getScrollingDeltaY,
|
||||
0);
|
||||
I_SimpleProperty(osgGA::GUIEventAdapter::ScrollingMotion, ScrollingMotion,
|
||||
__ScrollingMotion__getScrollingMotion,
|
||||
__void__setScrollingMotion__ScrollingMotion);
|
||||
I_SimpleProperty(osgGA::GUIEventAdapter::TabletPointerType, TabletPointerType,
|
||||
__TabletPointerType__getTabletPointerType,
|
||||
__void__setTabletPointerType__TabletPointerType);
|
||||
I_SimpleProperty(double, Time,
|
||||
__double__getTime,
|
||||
__void__setTime__double);
|
||||
I_SimpleProperty(int, WindowHeight,
|
||||
__int__getWindowHeight,
|
||||
0);
|
||||
I_SimpleProperty(int, WindowWidth,
|
||||
__int__getWindowWidth,
|
||||
0);
|
||||
I_SimpleProperty(int, WindowX,
|
||||
__int__getWindowX,
|
||||
0);
|
||||
I_SimpleProperty(int, WindowY,
|
||||
__int__getWindowY,
|
||||
0);
|
||||
I_SimpleProperty(float, X,
|
||||
__float__getX,
|
||||
__void__setX__float);
|
||||
I_SimpleProperty(float, Xmax,
|
||||
__float__getXmax,
|
||||
0);
|
||||
I_SimpleProperty(float, Xmin,
|
||||
__float__getXmin,
|
||||
0);
|
||||
I_SimpleProperty(float, Xnormalized,
|
||||
__float__getXnormalized,
|
||||
0);
|
||||
I_SimpleProperty(float, Y,
|
||||
__float__getY,
|
||||
__void__setY__float);
|
||||
I_SimpleProperty(float, Ymax,
|
||||
__float__getYmax,
|
||||
0);
|
||||
I_SimpleProperty(float, Ymin,
|
||||
__float__getYmin,
|
||||
0);
|
||||
I_SimpleProperty(float, Ynormalized,
|
||||
__float__getYnormalized,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgGA::GUIEventAdapter::MouseButtonMask)
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::LEFT_MOUSE_BUTTON);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::MIDDLE_MOUSE_BUTTON);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::RIGHT_MOUSE_BUTTON);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgGA::GUIEventAdapter::EventType)
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::NONE);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::PUSH);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::RELEASE);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::DOUBLECLICK);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::DRAG);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::MOVE);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEYDOWN);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEYUP);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::FRAME);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::RESIZE);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::SCROLL);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::PEN_PRESSURE);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::PEN_PROXIMITY_ENTER);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::PEN_PROXIMITY_LEAVE);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::CLOSE_WINDOW);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::QUIT_APPLICATION);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgGA::GUIEventAdapter::KeySymbol)
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Space);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_BackSpace);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Tab);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Linefeed);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Clear);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Return);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Pause);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Scroll_Lock);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Sys_Req);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Escape);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Delete);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Home);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Left);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Up);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Right);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Down);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Prior);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Page_Up);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Next);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Page_Down);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_End);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Begin);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Select);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Print);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Execute);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Insert);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Undo);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Redo);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Menu);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Find);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Cancel);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Help);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Break);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Mode_switch);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Script_switch);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Num_Lock);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Space);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Tab);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Enter);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_F1);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_F2);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_F3);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_F4);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Home);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Left);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Up);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Right);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Down);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Prior);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Page_Up);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Next);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Page_Down);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_End);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Begin);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Insert);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Delete);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Equal);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Multiply);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Add);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Separator);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Subtract);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Decimal);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Divide);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_0);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_1);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_2);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_3);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_4);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_5);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_6);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_7);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_8);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_9);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F1);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F2);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F3);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F4);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F5);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F6);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F7);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F8);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F9);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F10);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F11);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F12);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F13);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F14);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F15);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F16);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F17);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F18);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F19);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F20);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F21);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F22);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F23);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F24);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F25);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F26);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F27);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F28);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F29);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F30);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F31);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F32);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F33);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F34);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F35);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Shift_L);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Shift_R);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Control_L);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Control_R);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Caps_Lock);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Shift_Lock);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Meta_L);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Meta_R);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Alt_L);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Alt_R);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Super_L);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Super_R);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Hyper_L);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Hyper_R);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgGA::GUIEventAdapter::ModKeyMask)
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_LEFT_SHIFT);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_RIGHT_SHIFT);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_LEFT_CTRL);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_RIGHT_CTRL);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_LEFT_ALT);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_RIGHT_ALT);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_LEFT_META);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_RIGHT_META);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_NUM_LOCK);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_CAPS_LOCK);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_CTRL);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_SHIFT);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_ALT);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_META);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgGA::GUIEventAdapter::MouseYOrientation)
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::Y_INCREASING_UPWARDS);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::Y_INCREASING_DOWNWARDS);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgGA::GUIEventAdapter::ScrollingMotion)
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::SCROLL_NONE);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::SCROLL_LEFT);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::SCROLL_RIGHT);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::SCROLL_UP);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::SCROLL_DOWN);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::SCROLL_2D);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgGA::GUIEventAdapter::TabletPointerType)
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::UNKNOWN);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::PEN);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::PUCK);
|
||||
I_EnumLabel(osgGA::GUIEventAdapter::ERASER);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgGA::GUIEventAdapter)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____GUIEventAdapter,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osgGA::GUIEventAdapter &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____GUIEventAdapter__C5_GUIEventAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setHandled, IN, bool, handled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setHandled__bool,
|
||||
"Set whether this event has been handled by an event handler or not. ",
|
||||
"");
|
||||
I_Method0(bool, getHandled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getHandled,
|
||||
"Get whether this event has been handled by an event handler or not. ",
|
||||
"");
|
||||
I_Method1(void, setEventType, IN, osgGA::GUIEventAdapter::EventType, Type,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEventType__EventType,
|
||||
"Get the Type of the GUI GUIEventAdapter. ",
|
||||
"");
|
||||
I_Method0(osgGA::GUIEventAdapter::EventType, getEventType,
|
||||
Properties::VIRTUAL,
|
||||
__EventType__getEventType,
|
||||
"Get the Type of the GUI GUIEventAdapter. ",
|
||||
"");
|
||||
I_Method1(void, setTime, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTime__double,
|
||||
"set time in seconds of event. ",
|
||||
"");
|
||||
I_Method0(double, getTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getTime,
|
||||
"get time in seconds of event. ",
|
||||
"");
|
||||
I_Method0(double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__time,
|
||||
"deprecated function for getting time of event. ",
|
||||
"");
|
||||
I_MethodWithDefaults5(void, setWindowRectangle, IN, int, x, , IN, int, y, , IN, int, width, , IN, int, height, , IN, bool, updateMouseRange, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWindowRectangle__int__int__int__int__bool,
|
||||
"set window rectangle. ",
|
||||
"");
|
||||
I_Method0(int, getWindowX,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getWindowX,
|
||||
"get window x origin. ",
|
||||
"");
|
||||
I_Method0(int, getWindowY,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getWindowY,
|
||||
"get window y origin. ",
|
||||
"");
|
||||
I_Method0(int, getWindowWidth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getWindowWidth,
|
||||
"get window width. ",
|
||||
"");
|
||||
I_Method0(int, getWindowHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getWindowHeight,
|
||||
"get window height. ",
|
||||
"");
|
||||
I_Method1(void, setKey, IN, int, key,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setKey__int,
|
||||
"set key pressed. ",
|
||||
"");
|
||||
I_Method0(int, getKey,
|
||||
Properties::VIRTUAL,
|
||||
__int__getKey,
|
||||
"get key pressed, return -1 if inappropriate for this GUIEventAdapter. ",
|
||||
"");
|
||||
I_Method1(void, setButton, IN, int, button,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setButton__int,
|
||||
"set button pressed/released. ",
|
||||
"");
|
||||
I_Method0(int, getButton,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getButton,
|
||||
"button pressed/released, return -1 if inappropriate for this GUIEventAdapter. ",
|
||||
"");
|
||||
I_Method4(void, setInputRange, IN, float, Xmin, IN, float, Ymin, IN, float, Xmax, IN, float, Ymax,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setInputRange__float__float__float__float,
|
||||
"set mouse input range. ",
|
||||
"");
|
||||
I_Method0(float, getXmin,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getXmin,
|
||||
"get mouse minimum x. ",
|
||||
"");
|
||||
I_Method0(float, getXmax,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getXmax,
|
||||
"get mouse maximum x. ",
|
||||
"");
|
||||
I_Method0(float, getYmin,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getYmin,
|
||||
"get mmouse minimum y. ",
|
||||
"");
|
||||
I_Method0(float, getYmax,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getYmax,
|
||||
"get mouse maYimum y. ",
|
||||
"");
|
||||
I_Method1(void, setX, IN, float, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setX__float,
|
||||
"set current mouse x position. ",
|
||||
"");
|
||||
I_Method0(float, getX,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getX,
|
||||
"get current mouse x position. ",
|
||||
"");
|
||||
I_Method1(void, setY, IN, float, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setY__float,
|
||||
"set current mouse y position. ",
|
||||
"");
|
||||
I_Method0(float, getY,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getY,
|
||||
"get current mouse y position. ",
|
||||
"");
|
||||
I_Method1(void, setButtonMask, IN, unsigned int, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setButtonMask__unsigned_int,
|
||||
"set current mouse button state ",
|
||||
"");
|
||||
I_Method0(unsigned int, getButtonMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getButtonMask,
|
||||
"get current mouse button state ",
|
||||
"");
|
||||
I_Method1(void, setModKeyMask, IN, unsigned int, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setModKeyMask__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getModKeyMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getModKeyMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getPenPressure,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getPenPressure,
|
||||
"get the pressure, from a tablet input device (range 0 - 1) ",
|
||||
"");
|
||||
I_Method1(void, setPenPressure, IN, float, pressure,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPenPressure__float,
|
||||
"sets the pressure from a tablet ",
|
||||
"");
|
||||
I_Method0(osgGA::GUIEventAdapter::TabletPointerType, getTabletPointerType,
|
||||
Properties::NON_VIRTUAL,
|
||||
__TabletPointerType__getTabletPointerType,
|
||||
"get the current used tablet pointer type ",
|
||||
"");
|
||||
I_Method1(void, setTabletPointerType, IN, osgGA::GUIEventAdapter::TabletPointerType, pt,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTabletPointerType__TabletPointerType,
|
||||
"set the current used tablet pointer type ",
|
||||
"");
|
||||
I_Method1(void, setScrollingMotion, IN, osgGA::GUIEventAdapter::ScrollingMotion, motion,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScrollingMotion__ScrollingMotion,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getScrollingDeltaX,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getScrollingDeltaX,
|
||||
"get the scrolling x-delta ",
|
||||
"");
|
||||
I_Method0(float, getScrollingDeltaY,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getScrollingDeltaY,
|
||||
"get the scrolling y-delta ",
|
||||
"");
|
||||
I_Method2(void, setScrollingMotionDelta, IN, float, x, IN, float, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScrollingMotionDelta__float__float,
|
||||
"sets the scrolling delta to x,y and the type of scrolling to SCROLL_2D ",
|
||||
"");
|
||||
I_Method0(osgGA::GUIEventAdapter::ScrollingMotion, getScrollingMotion,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ScrollingMotion__getScrollingMotion,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getXnormalized,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getXnormalized,
|
||||
"return the getX() value normalised to the range of -1 to 1. ",
|
||||
"-1 would be the left hand side of the window. 0.0 would be the middle of the window. +1 would be the right hand side of the window. ");
|
||||
I_Method0(float, getYnormalized,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getYnormalized,
|
||||
"return the getY() value normalised to the range of -1 to 1. ",
|
||||
"-1 would be the bottom of the window. 0.0 would be the middle of the window. +1 would be the top of the window. ");
|
||||
I_Method1(void, setMouseYOrientation, IN, osgGA::GUIEventAdapter::MouseYOrientation, myo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMouseYOrientation__MouseYOrientation,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::GUIEventAdapter::MouseYOrientation, getMouseYOrientation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__MouseYOrientation__getMouseYOrientation,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____GUIEventAdapter,
|
||||
"",
|
||||
"");
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Drawable.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/ApplicationUsage>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Drawable>
|
||||
#include <osg/Node>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osgGA/GUIActionAdapter>
|
||||
#include <osgGA/GUIEventAdapter>
|
||||
#include <osgGA/GUIEventHandler>
|
||||
@@ -29,8 +29,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgGA::GUIEventHandler)
|
||||
I_BaseType(osg::NodeCallback);
|
||||
I_BaseType(osg::Drawable::EventCallback);
|
||||
I_BaseType(osg::NodeCallback);
|
||||
I_BaseType(osg::Drawable::EventCallback);
|
||||
I_Constructor0(____GUIEventHandler,
|
||||
@@ -43,13 +41,13 @@ BEGIN_OBJECT_REFLECTOR(osgGA::GUIEventHandler)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
@@ -58,176 +56,13 @@ BEGIN_OBJECT_REFLECTOR(osgGA::GUIEventHandler)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, event, IN, osg::NodeVisitor *, nv, IN, osg::Drawable *, drawable,
|
||||
Properties::VIRTUAL,
|
||||
__void__event__osg_NodeVisitor_P1__osg_Drawable_P1,
|
||||
"Event traversal drawable callback method. ",
|
||||
"");
|
||||
I_Method4(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa, IN, osg::Object *, x, IN, osg::NodeVisitor *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1__osg_Object_P1__osg_NodeVisitor_P1,
|
||||
"Handle events, return true if handled, false otherwise. ",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"deprecated, Handle events, return true if handled, false otherwise. ",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
I_Constructor0(____GUIEventHandler,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgGA::GUIEventHandler &, x, IN, const osg::CopyOp &, x,
|
||||
____GUIEventHandler__C5_GUIEventHandler_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, event, IN, osg::NodeVisitor *, nv, IN, osg::Drawable *, drawable,
|
||||
Properties::VIRTUAL,
|
||||
__void__event__osg_NodeVisitor_P1__osg_Drawable_P1,
|
||||
"Event traversal drawable callback method. ",
|
||||
"");
|
||||
I_Method4(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa, IN, osg::Object *, x, IN, osg::NodeVisitor *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1__osg_Object_P1__osg_NodeVisitor_P1,
|
||||
"Handle events, return true if handled, false otherwise. ",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"deprecated, Handle events, return true if handled, false otherwise. ",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgGA::GUIEventHandler)
|
||||
I_BaseType(osg::NodeCallback);
|
||||
I_BaseType(osg::Drawable::EventCallback);
|
||||
I_BaseType(osg::NodeCallback);
|
||||
I_BaseType(osg::Drawable::EventCallback);
|
||||
I_Constructor0(____GUIEventHandler,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgGA::GUIEventHandler &, x, IN, const osg::CopyOp &, x,
|
||||
____GUIEventHandler__C5_GUIEventHandler_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, event, IN, osg::NodeVisitor *, nv, IN, osg::Drawable *, drawable,
|
||||
Properties::VIRTUAL,
|
||||
__void__event__osg_NodeVisitor_P1__osg_Drawable_P1,
|
||||
"Event traversal drawable callback method. ",
|
||||
"");
|
||||
I_Method4(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa, IN, osg::Object *, x, IN, osg::NodeVisitor *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1__osg_Object_P1__osg_NodeVisitor_P1,
|
||||
"Handle events, return true if handled, false otherwise. ",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"deprecated, Handle events, return true if handled, false otherwise. ",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
I_Constructor0(____GUIEventHandler,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgGA::GUIEventHandler &, x, IN, const osg::CopyOp &, x,
|
||||
____GUIEventHandler__C5_GUIEventHandler_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method2(void, event, IN, osg::NodeVisitor *, nv, IN, osg::Drawable *, drawable,
|
||||
Properties::VIRTUAL,
|
||||
__void__event__osg_NodeVisitor_P1__osg_Drawable_P1,
|
||||
@@ -259,26 +94,5 @@ BEGIN_VALUE_REFLECTOR(osgGA::GUIEventHandlerVisitor)
|
||||
__void__visit__GUIEventHandler_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, visit, IN, osgGA::GUIEventHandler &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__visit__GUIEventHandler_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgGA::GUIEventHandlerVisitor)
|
||||
I_Constructor0(____GUIEventHandlerVisitor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, visit, IN, osgGA::GUIEventHandler &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__visit__GUIEventHandler_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, visit, IN, osgGA::GUIEventHandler &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__visit__GUIEventHandler_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,16 +10,15 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Matrixd.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/ApplicationUsage>
|
||||
#include <osg/Matrixd>
|
||||
#include <osg/Node>
|
||||
#include <osg/Vec3d>
|
||||
#include <osgGA/.svn/text-base/KeySwitchMatrixManipulator.svn-base>
|
||||
#include <osgGA/GUIActionAdapter>
|
||||
#include <osgGA/GUIEventAdapter>
|
||||
#include <osgGA/KeySwitchMatrixManipulator>
|
||||
#include <osgGA/MatrixManipulator>
|
||||
#include <osgUtil/.svn/text-base/SceneView.svn-base>
|
||||
#include <osgUtil/SceneView>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -34,7 +33,6 @@ TYPE_NAME_ALIAS(std::pair< std::string COMMA osg::ref_ptr< osgGA::MatrixManipul
|
||||
TYPE_NAME_ALIAS(std::map< int COMMA osgGA::KeySwitchMatrixManipulator::NamedManipulator >, osgGA::KeySwitchMatrixManipulator::KeyManipMap);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgGA::KeySwitchMatrixManipulator)
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_Constructor0(____KeySwitchMatrixManipulator,
|
||||
"",
|
||||
@@ -42,8 +40,8 @@ BEGIN_OBJECT_REFLECTOR(osgGA::KeySwitchMatrixManipulator)
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method3(void, addMatrixManipulator, IN, int, key, IN, std::string, name, IN, osgGA::MatrixManipulator *, cm,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addMatrixManipulator__int__std_string__MatrixManipulator_P1,
|
||||
@@ -147,202 +145,47 @@ BEGIN_OBJECT_REFLECTOR(osgGA::KeySwitchMatrixManipulator)
|
||||
I_Method1(void, setNode, IN, osg::Node *, n,
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
"Attach a node to the manipulator, automatically detaching any previously attached node. ",
|
||||
"setNode(NULL) detaches previous nodes. May be ignored by manipulators which do not require a reference model.");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
"",
|
||||
"Return const node if attached. ",
|
||||
"");
|
||||
I_Method0(osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Node_P1__getNode,
|
||||
"",
|
||||
"Return node if attached. ",
|
||||
"");
|
||||
I_MethodWithDefaults4(void, setHomePosition, IN, const osg::Vec3d &, eye, , IN, const osg::Vec3d &, center, , IN, const osg::Vec3d &, up, , IN, bool, autoComputeHomePosition, false,
|
||||
Properties::VIRTUAL,
|
||||
__void__setHomePosition__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__bool,
|
||||
"",
|
||||
"Manually set the home position, and set the automatic compute of home position. ",
|
||||
"");
|
||||
I_Method1(void, setAutoComputeHomePosition, IN, bool, flag,
|
||||
Properties::VIRTUAL,
|
||||
__void__setAutoComputeHomePosition__bool,
|
||||
"",
|
||||
"Set whether the automatic compute of the home position is enabled. ",
|
||||
"");
|
||||
I_Method0(void, computeHomePosition,
|
||||
Properties::VIRTUAL,
|
||||
__void__computeHomePosition,
|
||||
"",
|
||||
"Compute the home position. ",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ee, IN, osgGA::GUIActionAdapter &, aa,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
"Move the camera to the default position. ",
|
||||
"May be ignored by manipulators if home functionality is not appropriate.");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ee, IN, osgGA::GUIActionAdapter &, aa,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
"Start/restart the manipulator. ",
|
||||
"FIXME: what does this actually mean? Provide examples.");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, addMatrixManipulator, IN, int, key, IN, std::string, name, IN, osgGA::MatrixManipulator *, cm,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addMatrixManipulator__int__std_string__MatrixManipulator_P1,
|
||||
"Add a camera manipulator with an associated name, and a key to trigger the switch,. ",
|
||||
"");
|
||||
I_Method1(void, addNumberedMatrixManipulator, IN, osgGA::MatrixManipulator *, cm,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addNumberedMatrixManipulator__MatrixManipulator_P1,
|
||||
"Add a camera manipulator with an autogenerated keybinding which is '1' + previous number of camera's registerd. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumMatrixManipulators,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumMatrixManipulators,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, selectMatrixManipulator, IN, unsigned int, num,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__selectMatrixManipulator__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::KeySwitchMatrixManipulator::KeyManipMap &, getKeyManipMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KeyManipMap_R1__getKeyManipMap,
|
||||
"Get the complete list of manipulators attached to this keyswitch manipulator. ",
|
||||
"");
|
||||
I_Method0(const osgGA::KeySwitchMatrixManipulator::KeyManipMap &, getKeyManipMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_KeyManipMap_R1__getKeyManipMap,
|
||||
"Get the const complete list of manipulators attached to this keyswitch manipulator. ",
|
||||
"");
|
||||
I_Method0(osgGA::MatrixManipulator *, getCurrentMatrixManipulator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__MatrixManipulator_P1__getCurrentMatrixManipulator,
|
||||
"Get the current active manipulators. ",
|
||||
"");
|
||||
I_Method0(const osgGA::MatrixManipulator *, getCurrentMatrixManipulator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_MatrixManipulator_P1__getCurrentMatrixManipulator,
|
||||
"Get the const current active manipulators. ",
|
||||
"");
|
||||
I_Method1(osgGA::MatrixManipulator *, getMatrixManipulatorWithIndex, IN, unsigned int, key,
|
||||
Properties::NON_VIRTUAL,
|
||||
__MatrixManipulator_P1__getMatrixManipulatorWithIndex__unsigned_int,
|
||||
"Get manipulator assigned to a specified index. ",
|
||||
"");
|
||||
I_Method1(const osgGA::MatrixManipulator *, getMatrixManipulatorWithIndex, IN, unsigned int, key,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_MatrixManipulator_P1__getMatrixManipulatorWithIndex__unsigned_int,
|
||||
"Get const manipulator assigned to a specified index. ",
|
||||
"");
|
||||
I_Method1(osgGA::MatrixManipulator *, getMatrixManipulatorWithKey, IN, unsigned int, key,
|
||||
Properties::NON_VIRTUAL,
|
||||
__MatrixManipulator_P1__getMatrixManipulatorWithKey__unsigned_int,
|
||||
"Get manipulator assigned to a specified key. ",
|
||||
"");
|
||||
I_Method1(const osgGA::MatrixManipulator *, getMatrixManipulatorWithKey, IN, unsigned int, key,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_MatrixManipulator_P1__getMatrixManipulatorWithKey__unsigned_int,
|
||||
"Get const manipulator assigned to a specified key. ",
|
||||
"");
|
||||
I_Method1(void, setMinimumDistance, IN, float, minimumDistance,
|
||||
Properties::VIRTUAL,
|
||||
__void__setMinimumDistance__float,
|
||||
"set the minimum distance (as ratio) the eye point can be zoomed in towards the center before the center is pushed forward. ",
|
||||
"");
|
||||
I_Method1(void, setCoordinateFrameCallback, IN, osgGA::MatrixManipulator::CoordinateFrameCallback *, cb,
|
||||
Properties::VIRTUAL,
|
||||
__void__setCoordinateFrameCallback__CoordinateFrameCallback_P1,
|
||||
"set the coordinate frame which callback tells the manipulator which way is up, east and north. ",
|
||||
"");
|
||||
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1,
|
||||
"Set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getMatrix,
|
||||
"get the position of the manipulator as 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getInverseMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
"get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ",
|
||||
"");
|
||||
I_Method0(osgUtil::SceneView::FusionDistanceMode, getFusionDistanceMode,
|
||||
Properties::VIRTUAL,
|
||||
__osgUtil_SceneView_FusionDistanceMode__getFusionDistanceMode,
|
||||
"Get the FusionDistanceMode. ",
|
||||
"Used by SceneView for setting up setereo convergence. ");
|
||||
I_Method0(float, getFusionDistanceValue,
|
||||
Properties::VIRTUAL,
|
||||
__float__getFusionDistanceValue,
|
||||
"Get the FusionDistanceValue. ",
|
||||
"Used by SceneView for setting up setereo convergence. ");
|
||||
I_Method1(void, setNode, IN, osg::Node *, n,
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Node_P1__getNode,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults4(void, setHomePosition, IN, const osg::Vec3d &, eye, , IN, const osg::Vec3d &, center, , IN, const osg::Vec3d &, up, , IN, bool, autoComputeHomePosition, false,
|
||||
Properties::VIRTUAL,
|
||||
__void__setHomePosition__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAutoComputeHomePosition, IN, bool, flag,
|
||||
Properties::VIRTUAL,
|
||||
__void__setAutoComputeHomePosition__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, computeHomePosition,
|
||||
Properties::VIRTUAL,
|
||||
__void__computeHomePosition,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ee, IN, osgGA::GUIActionAdapter &, aa,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ee, IN, osgGA::GUIActionAdapter &, aa,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"Handle events, return true if handled, false otherwise. ",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
@@ -387,361 +230,46 @@ BEGIN_OBJECT_REFLECTOR(osgGA::KeySwitchMatrixManipulator)
|
||||
__void__setNode__osg_Node_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::pair< std::string COMMA osg::ref_ptr< osgGA::MatrixManipulator > >, osgGA::KeySwitchMatrixManipulator::NamedManipulator);
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< int COMMA osgGA::KeySwitchMatrixManipulator::NamedManipulator >, osgGA::KeySwitchMatrixManipulator::KeyManipMap);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgGA::KeySwitchMatrixManipulator)
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_Constructor0(____KeySwitchMatrixManipulator,
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgGA::MatrixManipulator >)
|
||||
I_Constructor0(____ref_ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
I_Constructor1(IN, osgGA::MatrixManipulator *, ptr,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__T_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ref_ptr< osgGA::MatrixManipulator > &, rp,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__C5_ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::MatrixManipulator *, get,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__get,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, addMatrixManipulator, IN, int, key, IN, std::string, name, IN, osgGA::MatrixManipulator *, cm,
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addMatrixManipulator__int__std_string__MatrixManipulator_P1,
|
||||
"Add a camera manipulator with an associated name, and a key to trigger the switch,. ",
|
||||
"");
|
||||
I_Method1(void, addNumberedMatrixManipulator, IN, osgGA::MatrixManipulator *, cm,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addNumberedMatrixManipulator__MatrixManipulator_P1,
|
||||
"Add a camera manipulator with an autogenerated keybinding which is '1' + previous number of camera's registerd. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumMatrixManipulators,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumMatrixManipulators,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, selectMatrixManipulator, IN, unsigned int, num,
|
||||
I_Method0(osgGA::MatrixManipulator *, release,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__selectMatrixManipulator__unsigned_int,
|
||||
__T_P1__release,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::KeySwitchMatrixManipulator::KeyManipMap &, getKeyManipMap,
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osgGA::MatrixManipulator > &, rp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KeyManipMap_R1__getKeyManipMap,
|
||||
"Get the complete list of manipulators attached to this keyswitch manipulator. ",
|
||||
"");
|
||||
I_Method0(const osgGA::KeySwitchMatrixManipulator::KeyManipMap &, getKeyManipMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_KeyManipMap_R1__getKeyManipMap,
|
||||
"Get the const complete list of manipulators attached to this keyswitch manipulator. ",
|
||||
"");
|
||||
I_Method0(osgGA::MatrixManipulator *, getCurrentMatrixManipulator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__MatrixManipulator_P1__getCurrentMatrixManipulator,
|
||||
"Get the current active manipulators. ",
|
||||
"");
|
||||
I_Method0(const osgGA::MatrixManipulator *, getCurrentMatrixManipulator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_MatrixManipulator_P1__getCurrentMatrixManipulator,
|
||||
"Get the const current active manipulators. ",
|
||||
"");
|
||||
I_Method1(osgGA::MatrixManipulator *, getMatrixManipulatorWithIndex, IN, unsigned int, key,
|
||||
Properties::NON_VIRTUAL,
|
||||
__MatrixManipulator_P1__getMatrixManipulatorWithIndex__unsigned_int,
|
||||
"Get manipulator assigned to a specified index. ",
|
||||
"");
|
||||
I_Method1(const osgGA::MatrixManipulator *, getMatrixManipulatorWithIndex, IN, unsigned int, key,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_MatrixManipulator_P1__getMatrixManipulatorWithIndex__unsigned_int,
|
||||
"Get const manipulator assigned to a specified index. ",
|
||||
"");
|
||||
I_Method1(osgGA::MatrixManipulator *, getMatrixManipulatorWithKey, IN, unsigned int, key,
|
||||
Properties::NON_VIRTUAL,
|
||||
__MatrixManipulator_P1__getMatrixManipulatorWithKey__unsigned_int,
|
||||
"Get manipulator assigned to a specified key. ",
|
||||
"");
|
||||
I_Method1(const osgGA::MatrixManipulator *, getMatrixManipulatorWithKey, IN, unsigned int, key,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_MatrixManipulator_P1__getMatrixManipulatorWithKey__unsigned_int,
|
||||
"Get const manipulator assigned to a specified key. ",
|
||||
"");
|
||||
I_Method1(void, setMinimumDistance, IN, float, minimumDistance,
|
||||
Properties::VIRTUAL,
|
||||
__void__setMinimumDistance__float,
|
||||
"set the minimum distance (as ratio) the eye point can be zoomed in towards the center before the center is pushed forward. ",
|
||||
"");
|
||||
I_Method1(void, setCoordinateFrameCallback, IN, osgGA::MatrixManipulator::CoordinateFrameCallback *, cb,
|
||||
Properties::VIRTUAL,
|
||||
__void__setCoordinateFrameCallback__CoordinateFrameCallback_P1,
|
||||
"set the coordinate frame which callback tells the manipulator which way is up, east and north. ",
|
||||
"");
|
||||
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1,
|
||||
"Set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getMatrix,
|
||||
"get the position of the manipulator as 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getInverseMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
"get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ",
|
||||
"");
|
||||
I_Method0(osgUtil::SceneView::FusionDistanceMode, getFusionDistanceMode,
|
||||
Properties::VIRTUAL,
|
||||
__osgUtil_SceneView_FusionDistanceMode__getFusionDistanceMode,
|
||||
"Get the FusionDistanceMode. ",
|
||||
"Used by SceneView for setting up setereo convergence. ");
|
||||
I_Method0(float, getFusionDistanceValue,
|
||||
Properties::VIRTUAL,
|
||||
__float__getFusionDistanceValue,
|
||||
"Get the FusionDistanceValue. ",
|
||||
"Used by SceneView for setting up setereo convergence. ");
|
||||
I_Method1(void, setNode, IN, osg::Node *, n,
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
__void__swap__ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Node_P1__getNode,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults4(void, setHomePosition, IN, const osg::Vec3d &, eye, , IN, const osg::Vec3d &, center, , IN, const osg::Vec3d &, up, , IN, bool, autoComputeHomePosition, false,
|
||||
Properties::VIRTUAL,
|
||||
__void__setHomePosition__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAutoComputeHomePosition, IN, bool, flag,
|
||||
Properties::VIRTUAL,
|
||||
__void__setAutoComputeHomePosition__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, computeHomePosition,
|
||||
Properties::VIRTUAL,
|
||||
__void__computeHomePosition,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ee, IN, osgGA::GUIActionAdapter &, aa,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ee, IN, osgGA::GUIActionAdapter &, aa,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, addMatrixManipulator, IN, int, key, IN, std::string, name, IN, osgGA::MatrixManipulator *, cm,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addMatrixManipulator__int__std_string__MatrixManipulator_P1,
|
||||
"Add a camera manipulator with an associated name, and a key to trigger the switch,. ",
|
||||
"");
|
||||
I_Method1(void, addNumberedMatrixManipulator, IN, osgGA::MatrixManipulator *, cm,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addNumberedMatrixManipulator__MatrixManipulator_P1,
|
||||
"Add a camera manipulator with an autogenerated keybinding which is '1' + previous number of camera's registerd. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumMatrixManipulators,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumMatrixManipulators,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, selectMatrixManipulator, IN, unsigned int, num,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__selectMatrixManipulator__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::KeySwitchMatrixManipulator::KeyManipMap &, getKeyManipMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KeyManipMap_R1__getKeyManipMap,
|
||||
"Get the complete list of manipulators attached to this keyswitch manipulator. ",
|
||||
"");
|
||||
I_Method0(const osgGA::KeySwitchMatrixManipulator::KeyManipMap &, getKeyManipMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_KeyManipMap_R1__getKeyManipMap,
|
||||
"Get the const complete list of manipulators attached to this keyswitch manipulator. ",
|
||||
"");
|
||||
I_Method0(osgGA::MatrixManipulator *, getCurrentMatrixManipulator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__MatrixManipulator_P1__getCurrentMatrixManipulator,
|
||||
"Get the current active manipulators. ",
|
||||
"");
|
||||
I_Method0(const osgGA::MatrixManipulator *, getCurrentMatrixManipulator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_MatrixManipulator_P1__getCurrentMatrixManipulator,
|
||||
"Get the const current active manipulators. ",
|
||||
"");
|
||||
I_Method1(osgGA::MatrixManipulator *, getMatrixManipulatorWithIndex, IN, unsigned int, key,
|
||||
Properties::NON_VIRTUAL,
|
||||
__MatrixManipulator_P1__getMatrixManipulatorWithIndex__unsigned_int,
|
||||
"Get manipulator assigned to a specified index. ",
|
||||
"");
|
||||
I_Method1(const osgGA::MatrixManipulator *, getMatrixManipulatorWithIndex, IN, unsigned int, key,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_MatrixManipulator_P1__getMatrixManipulatorWithIndex__unsigned_int,
|
||||
"Get const manipulator assigned to a specified index. ",
|
||||
"");
|
||||
I_Method1(osgGA::MatrixManipulator *, getMatrixManipulatorWithKey, IN, unsigned int, key,
|
||||
Properties::NON_VIRTUAL,
|
||||
__MatrixManipulator_P1__getMatrixManipulatorWithKey__unsigned_int,
|
||||
"Get manipulator assigned to a specified key. ",
|
||||
"");
|
||||
I_Method1(const osgGA::MatrixManipulator *, getMatrixManipulatorWithKey, IN, unsigned int, key,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_MatrixManipulator_P1__getMatrixManipulatorWithKey__unsigned_int,
|
||||
"Get const manipulator assigned to a specified key. ",
|
||||
"");
|
||||
I_Method1(void, setMinimumDistance, IN, float, minimumDistance,
|
||||
Properties::VIRTUAL,
|
||||
__void__setMinimumDistance__float,
|
||||
"set the minimum distance (as ratio) the eye point can be zoomed in towards the center before the center is pushed forward. ",
|
||||
"");
|
||||
I_Method1(void, setCoordinateFrameCallback, IN, osgGA::MatrixManipulator::CoordinateFrameCallback *, cb,
|
||||
Properties::VIRTUAL,
|
||||
__void__setCoordinateFrameCallback__CoordinateFrameCallback_P1,
|
||||
"set the coordinate frame which callback tells the manipulator which way is up, east and north. ",
|
||||
"");
|
||||
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1,
|
||||
"Set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getMatrix,
|
||||
"get the position of the manipulator as 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getInverseMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
"get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ",
|
||||
"");
|
||||
I_Method0(osgUtil::SceneView::FusionDistanceMode, getFusionDistanceMode,
|
||||
Properties::VIRTUAL,
|
||||
__osgUtil_SceneView_FusionDistanceMode__getFusionDistanceMode,
|
||||
"Get the FusionDistanceMode. ",
|
||||
"Used by SceneView for setting up setereo convergence. ");
|
||||
I_Method0(float, getFusionDistanceValue,
|
||||
Properties::VIRTUAL,
|
||||
__float__getFusionDistanceValue,
|
||||
"Get the FusionDistanceValue. ",
|
||||
"Used by SceneView for setting up setereo convergence. ");
|
||||
I_Method1(void, setNode, IN, osg::Node *, n,
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Node_P1__getNode,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults4(void, setHomePosition, IN, const osg::Vec3d &, eye, , IN, const osg::Vec3d &, center, , IN, const osg::Vec3d &, up, , IN, bool, autoComputeHomePosition, false,
|
||||
Properties::VIRTUAL,
|
||||
__void__setHomePosition__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAutoComputeHomePosition, IN, bool, flag,
|
||||
Properties::VIRTUAL,
|
||||
__void__setAutoComputeHomePosition__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, computeHomePosition,
|
||||
Properties::VIRTUAL,
|
||||
__void__computeHomePosition,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ee, IN, osgGA::GUIActionAdapter &, aa,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ee, IN, osgGA::GUIActionAdapter &, aa,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
I_SimpleProperty(bool, AutoComputeHomePosition,
|
||||
0,
|
||||
__void__setAutoComputeHomePosition__bool);
|
||||
I_SimpleProperty(const osg::Matrixd &, ByInverseMatrix,
|
||||
0,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1);
|
||||
I_SimpleProperty(const osg::Matrixd &, ByMatrix,
|
||||
0,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1);
|
||||
I_SimpleProperty(osgGA::MatrixManipulator::CoordinateFrameCallback *, CoordinateFrameCallback,
|
||||
0,
|
||||
__void__setCoordinateFrameCallback__CoordinateFrameCallback_P1);
|
||||
I_SimpleProperty(osgGA::MatrixManipulator *, CurrentMatrixManipulator,
|
||||
__MatrixManipulator_P1__getCurrentMatrixManipulator,
|
||||
I_SimpleProperty(osgGA::MatrixManipulator *, ,
|
||||
__T_P1__get,
|
||||
0);
|
||||
I_SimpleProperty(osgUtil::SceneView::FusionDistanceMode, FusionDistanceMode,
|
||||
__osgUtil_SceneView_FusionDistanceMode__getFusionDistanceMode,
|
||||
0);
|
||||
I_SimpleProperty(float, FusionDistanceValue,
|
||||
__float__getFusionDistanceValue,
|
||||
0);
|
||||
I_SimpleProperty(osg::Matrixd, InverseMatrix,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
0);
|
||||
I_SimpleProperty(osgGA::KeySwitchMatrixManipulator::KeyManipMap &, KeyManipMap,
|
||||
__KeyManipMap_R1__getKeyManipMap,
|
||||
0);
|
||||
I_SimpleProperty(osg::Matrixd, Matrix,
|
||||
__osg_Matrixd__getMatrix,
|
||||
0);
|
||||
I_SimpleProperty(float, MinimumDistance,
|
||||
0,
|
||||
__void__setMinimumDistance__float);
|
||||
I_SimpleProperty(osg::Node *, Node,
|
||||
__osg_Node_P1__getNode,
|
||||
__void__setNode__osg_Node_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_MAP_REFLECTOR(std::map< int COMMA osgGA::KeySwitchMatrixManipulator::NamedManipulator >);
|
||||
|
||||
STD_PAIR_REFLECTOR(std::pair< std::string COMMA osg::ref_ptr< osgGA::MatrixManipulator > >);
|
||||
|
||||
|
||||
@@ -10,14 +10,14 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CoordinateSystemNode.svn-base>
|
||||
#include <osg/.svn/text-base/Matrixd.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/CoordinateSystemNode>
|
||||
#include <osg/Matrixd>
|
||||
#include <osg/Node>
|
||||
#include <osg/Vec3d>
|
||||
#include <osgGA/GUIActionAdapter>
|
||||
#include <osgGA/GUIEventAdapter>
|
||||
#include <osgGA/MatrixManipulator>
|
||||
#include <osgUtil/.svn/text-base/SceneView.svn-base>
|
||||
#include <osgUtil/SceneView>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -28,501 +28,12 @@
|
||||
#endif
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::MatrixManipulator)
|
||||
I_BaseType(osgGA::GUIEventHandler);
|
||||
I_BaseType(osgGA::GUIEventHandler);
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinimumDistance, IN, float, minimumDistance,
|
||||
Properties::VIRTUAL,
|
||||
__void__setMinimumDistance__float,
|
||||
"set the minimum distance (as ratio) the eye point can be zoomed in towards the center before the center is pushed forward. ",
|
||||
"");
|
||||
I_Method0(float, getMinimumDistance,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMinimumDistance,
|
||||
"get the minimum distance (as ratio) the eye point can be zoomed in ",
|
||||
"");
|
||||
I_Method1(void, setCoordinateFrameCallback, IN, osgGA::MatrixManipulator::CoordinateFrameCallback *, cb,
|
||||
Properties::VIRTUAL,
|
||||
__void__setCoordinateFrameCallback__CoordinateFrameCallback_P1,
|
||||
"set the coordinate frame which callback tells the manipulator which way is up, east and north. ",
|
||||
"");
|
||||
I_Method0(osgGA::MatrixManipulator::CoordinateFrameCallback *, getCoordinateFrameCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__CoordinateFrameCallback_P1__getCoordinateFrameCallback,
|
||||
"get the coordinate frame callback which tells the manipulator which way is up, east and north. ",
|
||||
"");
|
||||
I_Method0(const osgGA::MatrixManipulator::CoordinateFrameCallback *, getCoordinateFrameCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_CoordinateFrameCallback_P1__getCoordinateFrameCallback,
|
||||
"get the coordinate frame callback which tells the manipulator which way is up, east and north. ",
|
||||
"");
|
||||
I_Method1(osg::CoordinateFrame, getCoordinateFrame, IN, const osg::Vec3d &, position,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_CoordinateFrame__getCoordinateFrame__C5_osg_Vec3d_R1,
|
||||
"get the coordinate frame. ",
|
||||
"");
|
||||
I_Method1(osg::Vec3d, getSideVector, IN, const osg::CoordinateFrame &, cf,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3d__getSideVector__C5_osg_CoordinateFrame_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Vec3d, getFrontVector, IN, const osg::CoordinateFrame &, cf,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3d__getFrontVector__C5_osg_CoordinateFrame_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Vec3d, getUpVector, IN, const osg::CoordinateFrame &, cf,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3d__getUpVector__C5_osg_CoordinateFrame_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getMatrix,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__osg_Matrixd__getMatrix,
|
||||
"get the position of the manipulator as 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getInverseMatrix,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
"get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ",
|
||||
"");
|
||||
I_Method0(osgUtil::SceneView::FusionDistanceMode, getFusionDistanceMode,
|
||||
Properties::VIRTUAL,
|
||||
__osgUtil_SceneView_FusionDistanceMode__getFusionDistanceMode,
|
||||
"Get the FusionDistanceMode. ",
|
||||
"Used by SceneView for setting up setereo convergence. ");
|
||||
I_Method0(float, getFusionDistanceValue,
|
||||
Properties::VIRTUAL,
|
||||
__float__getFusionDistanceValue,
|
||||
"Get the FusionDistanceValue. ",
|
||||
"Used by SceneView for setting up setereo convergence. ");
|
||||
I_Method1(void, setIntersectTraversalMask, IN, unsigned int, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setIntersectTraversalMask__unsigned_int,
|
||||
"Set the mask to use when set up intersection traversal such as used in manipulators that follow terrain or have collision detection. ",
|
||||
"The intersection traversal mask is useful for controlling what parts of the scene graph should be used for intersection purposes. ");
|
||||
I_Method0(unsigned int, getIntersectTraversalMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getIntersectTraversalMask,
|
||||
"Get the mask to use when set up intersection traversal such as used in manipulators that follow terrain or have collision detection. ",
|
||||
"");
|
||||
I_Method1(void, setNode, IN, osg::Node *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"Attach a node to the manipulator, automatically detaching any previously attached node. ",
|
||||
"setNode(NULL) detaches previous nodes. May be ignored by manipulators which do not require a reference model.");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
"Return const node if attached. ",
|
||||
"");
|
||||
I_Method0(osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Node_P1__getNode,
|
||||
"Return node if attached. ",
|
||||
"");
|
||||
I_MethodWithDefaults4(void, setHomePosition, IN, const osg::Vec3d &, eye, , IN, const osg::Vec3d &, center, , IN, const osg::Vec3d &, up, , IN, bool, autoComputeHomePosition, false,
|
||||
Properties::VIRTUAL,
|
||||
__void__setHomePosition__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__bool,
|
||||
"Manually set the home position, and set the automatic compute of home position. ",
|
||||
"");
|
||||
I_Method3(void, getHomePosition, IN, osg::Vec3d &, eye, IN, osg::Vec3d &, center, IN, osg::Vec3d &, up,
|
||||
Properties::VIRTUAL,
|
||||
__void__getHomePosition__osg_Vec3d_R1__osg_Vec3d_R1__osg_Vec3d_R1,
|
||||
"Get the mnaully set home position. ",
|
||||
"");
|
||||
I_Method1(void, setAutoComputeHomePosition, IN, bool, flag,
|
||||
Properties::VIRTUAL,
|
||||
__void__setAutoComputeHomePosition__bool,
|
||||
"Set whether the automatic compute of the home position is enabled. ",
|
||||
"");
|
||||
I_Method0(bool, getAutoComputeHomePosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getAutoComputeHomePosition,
|
||||
"Get whether the automatic compute of the home position is enabled. ",
|
||||
"");
|
||||
I_Method0(void, computeHomePosition,
|
||||
Properties::VIRTUAL,
|
||||
__void__computeHomePosition,
|
||||
"Compute the home position. ",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Move the camera to the default position. ",
|
||||
"May be ignored by manipulators if home functionality is not appropriate.");
|
||||
I_Method1(void, home, IN, double, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__double,
|
||||
"Move the camera to the default position. ",
|
||||
"This version does not require GUIEventAdapter and GUIActionAdapter so may be called from somewhere other than a handle() method in GUIEventHandler. Application must be aware of implications.");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Start/restart the manipulator. ",
|
||||
"FIXME: what does this actually mean? Provide examples.");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Handle events, return true if handled, false otherwise. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinimumDistance, IN, float, minimumDistance,
|
||||
Properties::VIRTUAL,
|
||||
__void__setMinimumDistance__float,
|
||||
"set the minimum distance (as ratio) the eye point can be zoomed in towards the center before the center is pushed forward. ",
|
||||
"");
|
||||
I_Method0(float, getMinimumDistance,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMinimumDistance,
|
||||
"get the minimum distance (as ratio) the eye point can be zoomed in ",
|
||||
"");
|
||||
I_Method1(void, setCoordinateFrameCallback, IN, osgGA::MatrixManipulator::CoordinateFrameCallback *, cb,
|
||||
Properties::VIRTUAL,
|
||||
__void__setCoordinateFrameCallback__CoordinateFrameCallback_P1,
|
||||
"set the coordinate frame which callback tells the manipulator which way is up, east and north. ",
|
||||
"");
|
||||
I_Method0(osgGA::MatrixManipulator::CoordinateFrameCallback *, getCoordinateFrameCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__CoordinateFrameCallback_P1__getCoordinateFrameCallback,
|
||||
"get the coordinate frame callback which tells the manipulator which way is up, east and north. ",
|
||||
"");
|
||||
I_Method0(const osgGA::MatrixManipulator::CoordinateFrameCallback *, getCoordinateFrameCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_CoordinateFrameCallback_P1__getCoordinateFrameCallback,
|
||||
"get the coordinate frame callback which tells the manipulator which way is up, east and north. ",
|
||||
"");
|
||||
I_Method1(osg::CoordinateFrame, getCoordinateFrame, IN, const osg::Vec3d &, position,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_CoordinateFrame__getCoordinateFrame__C5_osg_Vec3d_R1,
|
||||
"get the coordinate frame. ",
|
||||
"");
|
||||
I_Method1(osg::Vec3d, getSideVector, IN, const osg::CoordinateFrame &, cf,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3d__getSideVector__C5_osg_CoordinateFrame_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Vec3d, getFrontVector, IN, const osg::CoordinateFrame &, cf,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3d__getFrontVector__C5_osg_CoordinateFrame_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Vec3d, getUpVector, IN, const osg::CoordinateFrame &, cf,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3d__getUpVector__C5_osg_CoordinateFrame_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getMatrix,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__osg_Matrixd__getMatrix,
|
||||
"get the position of the manipulator as 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getInverseMatrix,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
"get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ",
|
||||
"");
|
||||
I_Method0(osgUtil::SceneView::FusionDistanceMode, getFusionDistanceMode,
|
||||
Properties::VIRTUAL,
|
||||
__osgUtil_SceneView_FusionDistanceMode__getFusionDistanceMode,
|
||||
"Get the FusionDistanceMode. ",
|
||||
"Used by SceneView for setting up setereo convergence. ");
|
||||
I_Method0(float, getFusionDistanceValue,
|
||||
Properties::VIRTUAL,
|
||||
__float__getFusionDistanceValue,
|
||||
"Get the FusionDistanceValue. ",
|
||||
"Used by SceneView for setting up setereo convergence. ");
|
||||
I_Method1(void, setIntersectTraversalMask, IN, unsigned int, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setIntersectTraversalMask__unsigned_int,
|
||||
"Set the mask to use when set up intersection traversal such as used in manipulators that follow terrain or have collision detection. ",
|
||||
"The intersection traversal mask is useful for controlling what parts of the scene graph should be used for intersection purposes. ");
|
||||
I_Method0(unsigned int, getIntersectTraversalMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getIntersectTraversalMask,
|
||||
"Get the mask to use when set up intersection traversal such as used in manipulators that follow terrain or have collision detection. ",
|
||||
"");
|
||||
I_Method1(void, setNode, IN, osg::Node *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"Attach a node to the manipulator, automatically detaching any previously attached node. ",
|
||||
"setNode(NULL) detaches previous nodes. May be ignored by manipulators which do not require a reference model.");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
"Return const node if attached. ",
|
||||
"");
|
||||
I_Method0(osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Node_P1__getNode,
|
||||
"Return node if attached. ",
|
||||
"");
|
||||
I_MethodWithDefaults4(void, setHomePosition, IN, const osg::Vec3d &, eye, , IN, const osg::Vec3d &, center, , IN, const osg::Vec3d &, up, , IN, bool, autoComputeHomePosition, false,
|
||||
Properties::VIRTUAL,
|
||||
__void__setHomePosition__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__bool,
|
||||
"Manually set the home position, and set the automatic compute of home position. ",
|
||||
"");
|
||||
I_Method3(void, getHomePosition, IN, osg::Vec3d &, eye, IN, osg::Vec3d &, center, IN, osg::Vec3d &, up,
|
||||
Properties::VIRTUAL,
|
||||
__void__getHomePosition__osg_Vec3d_R1__osg_Vec3d_R1__osg_Vec3d_R1,
|
||||
"Get the mnaully set home position. ",
|
||||
"");
|
||||
I_Method1(void, setAutoComputeHomePosition, IN, bool, flag,
|
||||
Properties::VIRTUAL,
|
||||
__void__setAutoComputeHomePosition__bool,
|
||||
"Set whether the automatic compute of the home position is enabled. ",
|
||||
"");
|
||||
I_Method0(bool, getAutoComputeHomePosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getAutoComputeHomePosition,
|
||||
"Get whether the automatic compute of the home position is enabled. ",
|
||||
"");
|
||||
I_Method0(void, computeHomePosition,
|
||||
Properties::VIRTUAL,
|
||||
__void__computeHomePosition,
|
||||
"Compute the home position. ",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Move the camera to the default position. ",
|
||||
"May be ignored by manipulators if home functionality is not appropriate.");
|
||||
I_Method1(void, home, IN, double, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__double,
|
||||
"Move the camera to the default position. ",
|
||||
"This version does not require GUIEventAdapter and GUIActionAdapter so may be called from somewhere other than a handle() method in GUIEventHandler. Application must be aware of implications.");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Start/restart the manipulator. ",
|
||||
"FIXME: what does this actually mean? Provide examples.");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Handle events, return true if handled, false otherwise. ",
|
||||
"");
|
||||
I_SimpleProperty(bool, AutoComputeHomePosition,
|
||||
__bool__getAutoComputeHomePosition,
|
||||
__void__setAutoComputeHomePosition__bool);
|
||||
I_SimpleProperty(const osg::Matrixd &, ByInverseMatrix,
|
||||
0,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1);
|
||||
I_SimpleProperty(const osg::Matrixd &, ByMatrix,
|
||||
0,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1);
|
||||
I_SimpleProperty(osgGA::MatrixManipulator::CoordinateFrameCallback *, CoordinateFrameCallback,
|
||||
__CoordinateFrameCallback_P1__getCoordinateFrameCallback,
|
||||
__void__setCoordinateFrameCallback__CoordinateFrameCallback_P1);
|
||||
I_SimpleProperty(osgUtil::SceneView::FusionDistanceMode, FusionDistanceMode,
|
||||
__osgUtil_SceneView_FusionDistanceMode__getFusionDistanceMode,
|
||||
0);
|
||||
I_SimpleProperty(float, FusionDistanceValue,
|
||||
__float__getFusionDistanceValue,
|
||||
0);
|
||||
I_SimpleProperty(unsigned int, IntersectTraversalMask,
|
||||
__unsigned_int__getIntersectTraversalMask,
|
||||
__void__setIntersectTraversalMask__unsigned_int);
|
||||
I_SimpleProperty(osg::Matrixd, InverseMatrix,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
0);
|
||||
I_SimpleProperty(osg::Matrixd, Matrix,
|
||||
__osg_Matrixd__getMatrix,
|
||||
0);
|
||||
I_SimpleProperty(float, MinimumDistance,
|
||||
__float__getMinimumDistance,
|
||||
__void__setMinimumDistance__float);
|
||||
I_SimpleProperty(osg::Node *, Node,
|
||||
__osg_Node_P1__getNode,
|
||||
__void__setNode__osg_Node_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::MatrixManipulator)
|
||||
I_BaseType(osgGA::GUIEventHandler);
|
||||
I_BaseType(osgGA::GUIEventHandler);
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinimumDistance, IN, float, minimumDistance,
|
||||
Properties::VIRTUAL,
|
||||
__void__setMinimumDistance__float,
|
||||
"set the minimum distance (as ratio) the eye point can be zoomed in towards the center before the center is pushed forward. ",
|
||||
"");
|
||||
I_Method0(float, getMinimumDistance,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMinimumDistance,
|
||||
"get the minimum distance (as ratio) the eye point can be zoomed in ",
|
||||
"");
|
||||
I_Method1(void, setCoordinateFrameCallback, IN, osgGA::MatrixManipulator::CoordinateFrameCallback *, cb,
|
||||
Properties::VIRTUAL,
|
||||
__void__setCoordinateFrameCallback__CoordinateFrameCallback_P1,
|
||||
"set the coordinate frame which callback tells the manipulator which way is up, east and north. ",
|
||||
"");
|
||||
I_Method0(osgGA::MatrixManipulator::CoordinateFrameCallback *, getCoordinateFrameCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__CoordinateFrameCallback_P1__getCoordinateFrameCallback,
|
||||
"get the coordinate frame callback which tells the manipulator which way is up, east and north. ",
|
||||
"");
|
||||
I_Method0(const osgGA::MatrixManipulator::CoordinateFrameCallback *, getCoordinateFrameCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_CoordinateFrameCallback_P1__getCoordinateFrameCallback,
|
||||
"get the coordinate frame callback which tells the manipulator which way is up, east and north. ",
|
||||
"");
|
||||
I_Method1(osg::CoordinateFrame, getCoordinateFrame, IN, const osg::Vec3d &, position,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_CoordinateFrame__getCoordinateFrame__C5_osg_Vec3d_R1,
|
||||
"get the coordinate frame. ",
|
||||
"");
|
||||
I_Method1(osg::Vec3d, getSideVector, IN, const osg::CoordinateFrame &, cf,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3d__getSideVector__C5_osg_CoordinateFrame_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Vec3d, getFrontVector, IN, const osg::CoordinateFrame &, cf,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3d__getFrontVector__C5_osg_CoordinateFrame_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Vec3d, getUpVector, IN, const osg::CoordinateFrame &, cf,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3d__getUpVector__C5_osg_CoordinateFrame_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getMatrix,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__osg_Matrixd__getMatrix,
|
||||
"get the position of the manipulator as 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getInverseMatrix,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
"get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ",
|
||||
"");
|
||||
I_Method0(osgUtil::SceneView::FusionDistanceMode, getFusionDistanceMode,
|
||||
Properties::VIRTUAL,
|
||||
__osgUtil_SceneView_FusionDistanceMode__getFusionDistanceMode,
|
||||
"Get the FusionDistanceMode. ",
|
||||
"Used by SceneView for setting up setereo convergence. ");
|
||||
I_Method0(float, getFusionDistanceValue,
|
||||
Properties::VIRTUAL,
|
||||
__float__getFusionDistanceValue,
|
||||
"Get the FusionDistanceValue. ",
|
||||
"Used by SceneView for setting up setereo convergence. ");
|
||||
I_Method1(void, setIntersectTraversalMask, IN, unsigned int, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setIntersectTraversalMask__unsigned_int,
|
||||
"Set the mask to use when set up intersection traversal such as used in manipulators that follow terrain or have collision detection. ",
|
||||
"The intersection traversal mask is useful for controlling what parts of the scene graph should be used for intersection purposes. ");
|
||||
I_Method0(unsigned int, getIntersectTraversalMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getIntersectTraversalMask,
|
||||
"Get the mask to use when set up intersection traversal such as used in manipulators that follow terrain or have collision detection. ",
|
||||
"");
|
||||
I_Method1(void, setNode, IN, osg::Node *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"Attach a node to the manipulator, automatically detaching any previously attached node. ",
|
||||
"setNode(NULL) detaches previous nodes. May be ignored by manipulators which do not require a reference model.");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
"Return const node if attached. ",
|
||||
"");
|
||||
I_Method0(osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Node_P1__getNode,
|
||||
"Return node if attached. ",
|
||||
"");
|
||||
I_MethodWithDefaults4(void, setHomePosition, IN, const osg::Vec3d &, eye, , IN, const osg::Vec3d &, center, , IN, const osg::Vec3d &, up, , IN, bool, autoComputeHomePosition, false,
|
||||
Properties::VIRTUAL,
|
||||
__void__setHomePosition__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__bool,
|
||||
"Manually set the home position, and set the automatic compute of home position. ",
|
||||
"");
|
||||
I_Method3(void, getHomePosition, IN, osg::Vec3d &, eye, IN, osg::Vec3d &, center, IN, osg::Vec3d &, up,
|
||||
Properties::VIRTUAL,
|
||||
__void__getHomePosition__osg_Vec3d_R1__osg_Vec3d_R1__osg_Vec3d_R1,
|
||||
"Get the mnaully set home position. ",
|
||||
"");
|
||||
I_Method1(void, setAutoComputeHomePosition, IN, bool, flag,
|
||||
Properties::VIRTUAL,
|
||||
__void__setAutoComputeHomePosition__bool,
|
||||
"Set whether the automatic compute of the home position is enabled. ",
|
||||
"");
|
||||
I_Method0(bool, getAutoComputeHomePosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getAutoComputeHomePosition,
|
||||
"Get whether the automatic compute of the home position is enabled. ",
|
||||
"");
|
||||
I_Method0(void, computeHomePosition,
|
||||
Properties::VIRTUAL,
|
||||
__void__computeHomePosition,
|
||||
"Compute the home position. ",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Move the camera to the default position. ",
|
||||
"May be ignored by manipulators if home functionality is not appropriate.");
|
||||
I_Method1(void, home, IN, double, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__double,
|
||||
"Move the camera to the default position. ",
|
||||
"This version does not require GUIEventAdapter and GUIActionAdapter so may be called from somewhere other than a handle() method in GUIEventHandler. Application must be aware of implications.");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Start/restart the manipulator. ",
|
||||
"FIXME: what does this actually mean? Provide examples.");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Handle events, return true if handled, false otherwise. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, setMinimumDistance, IN, float, minimumDistance,
|
||||
Properties::VIRTUAL,
|
||||
__void__setMinimumDistance__float,
|
||||
@@ -704,7 +215,6 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::MatrixManipulator)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::MatrixManipulator::CoordinateFrameCallback)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____CoordinateFrameCallback,
|
||||
"",
|
||||
@@ -714,28 +224,5 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::MatrixManipulator::CoordinateFrameCallbac
|
||||
__osg_CoordinateFrame__getCoordinateFrame__C5_osg_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::CoordinateFrame, getCoordinateFrame, IN, const osg::Vec3d &, position,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__osg_CoordinateFrame__getCoordinateFrame__C5_osg_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::MatrixManipulator::CoordinateFrameCallback)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____CoordinateFrameCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::CoordinateFrame, getCoordinateFrame, IN, const osg::Vec3d &, position,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__osg_CoordinateFrame__getCoordinateFrame__C5_osg_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::CoordinateFrame, getCoordinateFrame, IN, const osg::Vec3d &, position,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__osg_CoordinateFrame__getCoordinateFrame__C5_osg_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,14 +10,13 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Matrixd.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/ApplicationUsage>
|
||||
#include <osgGA/.svn/text-base/NodeTrackerManipulator.svn-base>
|
||||
#include <osg/Matrixd>
|
||||
#include <osg/Node>
|
||||
#include <osgGA/GUIActionAdapter>
|
||||
#include <osgGA/GUIEventAdapter>
|
||||
#include <osgGA/NodeTrackerManipulator>
|
||||
#include <osgUtil/.svn/text-base/SceneView.svn-base>
|
||||
#include <osgUtil/SceneView>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -41,7 +40,6 @@ BEGIN_ENUM_REFLECTOR(osgGA::NodeTrackerManipulator::RotationMode)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgGA::NodeTrackerManipulator)
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_Constructor0(____NodeTrackerManipulator,
|
||||
"",
|
||||
@@ -49,8 +47,8 @@ BEGIN_OBJECT_REFLECTOR(osgGA::NodeTrackerManipulator)
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, setTrackNodePath, IN, const osg::NodePath &, nodePath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTrackNodePath__C5_osg_NodePath_R1,
|
||||
@@ -149,442 +147,7 @@ BEGIN_OBJECT_REFLECTOR(osgGA::NodeTrackerManipulator)
|
||||
I_Method0(void, computeHomePosition,
|
||||
Properties::VIRTUAL,
|
||||
__void__computeHomePosition,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Move the camera to the default position. ",
|
||||
"May be ignored by manipulators if home functionality is not appropriate. ");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Start/restart the manipulator. ",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"handle events, return true if handled, false otherwise. ",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
I_Constructor0(____NodeTrackerManipulator,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTrackNodePath, IN, const osg::NodePath &, nodePath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTrackNodePath__C5_osg_NodePath_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTrackNodePath, IN, const osgGA::NodeTrackerManipulator::ObserveredNodePath &, nodePath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTrackNodePath__C5_ObserveredNodePath_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::NodeTrackerManipulator::ObserveredNodePath &, getTrackNodePath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ObserveredNodePath_R1__getTrackNodePath,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTrackNode, IN, osg::Node *, node,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTrackNode__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Node *, getTrackNode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_P1__getTrackNode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Node *, getTrackNode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Node_P1__getTrackNode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTrackerMode, IN, osgGA::NodeTrackerManipulator::TrackerMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTrackerMode__TrackerMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::NodeTrackerManipulator::TrackerMode, getTrackerMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__TrackerMode__getTrackerMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRotationMode, IN, osgGA::NodeTrackerManipulator::RotationMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRotationMode__RotationMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::NodeTrackerManipulator::RotationMode, getRotationMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__RotationMode__getRotationMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getMatrix,
|
||||
"get the position of the manipulator as 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getInverseMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
"get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ",
|
||||
"");
|
||||
I_Method0(osgUtil::SceneView::FusionDistanceMode, getFusionDistanceMode,
|
||||
Properties::VIRTUAL,
|
||||
__osgUtil_SceneView_FusionDistanceMode__getFusionDistanceMode,
|
||||
"Get the FusionDistanceMode. ",
|
||||
"Used by SceneView for setting up setereo convergence. ");
|
||||
I_Method0(float, getFusionDistanceValue,
|
||||
Properties::VIRTUAL,
|
||||
__float__getFusionDistanceValue,
|
||||
"Get the FusionDistanceValue. ",
|
||||
"Used by SceneView for setting up setereo convergence. ");
|
||||
I_Method1(void, setNode, IN, osg::Node *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"Attach a node to the manipulator. ",
|
||||
"Automatically detaches previously attached node. setNode(NULL) detaches previously nodes. Is ignored by manipulators which do not require a reference model. ");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
"Return node if attached. ",
|
||||
"");
|
||||
I_Method0(osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Node_P1__getNode,
|
||||
"Return node if attached. ",
|
||||
"");
|
||||
I_Method0(void, computeHomePosition,
|
||||
Properties::VIRTUAL,
|
||||
__void__computeHomePosition,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Move the camera to the default position. ",
|
||||
"May be ignored by manipulators if home functionality is not appropriate. ");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Start/restart the manipulator. ",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"handle events, return true if handled, false otherwise. ",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Matrixd &, ByInverseMatrix,
|
||||
0,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1);
|
||||
I_SimpleProperty(const osg::Matrixd &, ByMatrix,
|
||||
0,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1);
|
||||
I_SimpleProperty(osgUtil::SceneView::FusionDistanceMode, FusionDistanceMode,
|
||||
__osgUtil_SceneView_FusionDistanceMode__getFusionDistanceMode,
|
||||
0);
|
||||
I_SimpleProperty(float, FusionDistanceValue,
|
||||
__float__getFusionDistanceValue,
|
||||
0);
|
||||
I_SimpleProperty(osg::Matrixd, InverseMatrix,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
0);
|
||||
I_SimpleProperty(osg::Matrixd, Matrix,
|
||||
__osg_Matrixd__getMatrix,
|
||||
0);
|
||||
I_SimpleProperty(osg::Node *, Node,
|
||||
__osg_Node_P1__getNode,
|
||||
__void__setNode__osg_Node_P1);
|
||||
I_SimpleProperty(osgGA::NodeTrackerManipulator::RotationMode, RotationMode,
|
||||
__RotationMode__getRotationMode,
|
||||
__void__setRotationMode__RotationMode);
|
||||
I_SimpleProperty(osg::Node *, TrackNode,
|
||||
__osg_Node_P1__getTrackNode,
|
||||
__void__setTrackNode__osg_Node_P1);
|
||||
I_SimpleProperty(osgGA::NodeTrackerManipulator::ObserveredNodePath &, TrackNodePath,
|
||||
__ObserveredNodePath_R1__getTrackNodePath,
|
||||
0);
|
||||
I_SimpleProperty(osgGA::NodeTrackerManipulator::TrackerMode, TrackerMode,
|
||||
__TrackerMode__getTrackerMode,
|
||||
__void__setTrackerMode__TrackerMode);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::observer_ptr< osg::Node > >, osgGA::NodeTrackerManipulator::ObserveredNodePath);
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgGA::NodeTrackerManipulator::TrackerMode)
|
||||
I_EnumLabel(osgGA::NodeTrackerManipulator::NODE_CENTER);
|
||||
I_EnumLabel(osgGA::NodeTrackerManipulator::NODE_CENTER_AND_AZIM);
|
||||
I_EnumLabel(osgGA::NodeTrackerManipulator::NODE_CENTER_AND_ROTATION);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgGA::NodeTrackerManipulator::RotationMode)
|
||||
I_EnumLabel(osgGA::NodeTrackerManipulator::TRACKBALL);
|
||||
I_EnumLabel(osgGA::NodeTrackerManipulator::ELEVATION_AZIM);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgGA::NodeTrackerManipulator)
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_Constructor0(____NodeTrackerManipulator,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTrackNodePath, IN, const osg::NodePath &, nodePath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTrackNodePath__C5_osg_NodePath_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTrackNodePath, IN, const osgGA::NodeTrackerManipulator::ObserveredNodePath &, nodePath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTrackNodePath__C5_ObserveredNodePath_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::NodeTrackerManipulator::ObserveredNodePath &, getTrackNodePath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ObserveredNodePath_R1__getTrackNodePath,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTrackNode, IN, osg::Node *, node,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTrackNode__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Node *, getTrackNode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_P1__getTrackNode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Node *, getTrackNode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Node_P1__getTrackNode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTrackerMode, IN, osgGA::NodeTrackerManipulator::TrackerMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTrackerMode__TrackerMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::NodeTrackerManipulator::TrackerMode, getTrackerMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__TrackerMode__getTrackerMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRotationMode, IN, osgGA::NodeTrackerManipulator::RotationMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRotationMode__RotationMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::NodeTrackerManipulator::RotationMode, getRotationMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__RotationMode__getRotationMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getMatrix,
|
||||
"get the position of the manipulator as 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getInverseMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
"get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ",
|
||||
"");
|
||||
I_Method0(osgUtil::SceneView::FusionDistanceMode, getFusionDistanceMode,
|
||||
Properties::VIRTUAL,
|
||||
__osgUtil_SceneView_FusionDistanceMode__getFusionDistanceMode,
|
||||
"Get the FusionDistanceMode. ",
|
||||
"Used by SceneView for setting up setereo convergence. ");
|
||||
I_Method0(float, getFusionDistanceValue,
|
||||
Properties::VIRTUAL,
|
||||
__float__getFusionDistanceValue,
|
||||
"Get the FusionDistanceValue. ",
|
||||
"Used by SceneView for setting up setereo convergence. ");
|
||||
I_Method1(void, setNode, IN, osg::Node *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"Attach a node to the manipulator. ",
|
||||
"Automatically detaches previously attached node. setNode(NULL) detaches previously nodes. Is ignored by manipulators which do not require a reference model. ");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
"Return node if attached. ",
|
||||
"");
|
||||
I_Method0(osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Node_P1__getNode,
|
||||
"Return node if attached. ",
|
||||
"");
|
||||
I_Method0(void, computeHomePosition,
|
||||
Properties::VIRTUAL,
|
||||
__void__computeHomePosition,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Move the camera to the default position. ",
|
||||
"May be ignored by manipulators if home functionality is not appropriate. ");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Start/restart the manipulator. ",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"handle events, return true if handled, false otherwise. ",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
I_Constructor0(____NodeTrackerManipulator,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTrackNodePath, IN, const osg::NodePath &, nodePath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTrackNodePath__C5_osg_NodePath_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTrackNodePath, IN, const osgGA::NodeTrackerManipulator::ObserveredNodePath &, nodePath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTrackNodePath__C5_ObserveredNodePath_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::NodeTrackerManipulator::ObserveredNodePath &, getTrackNodePath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ObserveredNodePath_R1__getTrackNodePath,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTrackNode, IN, osg::Node *, node,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTrackNode__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Node *, getTrackNode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_P1__getTrackNode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Node *, getTrackNode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Node_P1__getTrackNode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTrackerMode, IN, osgGA::NodeTrackerManipulator::TrackerMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTrackerMode__TrackerMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::NodeTrackerManipulator::TrackerMode, getTrackerMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__TrackerMode__getTrackerMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRotationMode, IN, osgGA::NodeTrackerManipulator::RotationMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRotationMode__RotationMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::NodeTrackerManipulator::RotationMode, getRotationMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__RotationMode__getRotationMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getMatrix,
|
||||
"get the position of the manipulator as 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getInverseMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
"get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ",
|
||||
"");
|
||||
I_Method0(osgUtil::SceneView::FusionDistanceMode, getFusionDistanceMode,
|
||||
Properties::VIRTUAL,
|
||||
__osgUtil_SceneView_FusionDistanceMode__getFusionDistanceMode,
|
||||
"Get the FusionDistanceMode. ",
|
||||
"Used by SceneView for setting up setereo convergence. ");
|
||||
I_Method0(float, getFusionDistanceValue,
|
||||
Properties::VIRTUAL,
|
||||
__float__getFusionDistanceValue,
|
||||
"Get the FusionDistanceValue. ",
|
||||
"Used by SceneView for setting up setereo convergence. ");
|
||||
I_Method1(void, setNode, IN, osg::Node *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"Attach a node to the manipulator. ",
|
||||
"Automatically detaches previously attached node. setNode(NULL) detaches previously nodes. Is ignored by manipulators which do not require a reference model. ");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
"Return node if attached. ",
|
||||
"");
|
||||
I_Method0(osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Node_P1__getNode,
|
||||
"Return node if attached. ",
|
||||
"");
|
||||
I_Method0(void, computeHomePosition,
|
||||
Properties::VIRTUAL,
|
||||
__void__computeHomePosition,
|
||||
"",
|
||||
"Compute the home position. ",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/PolygonMode.svn-base>
|
||||
#include <osg/ApplicationUsage>
|
||||
#include <osg/PolygonMode>
|
||||
#include <osg/StateSet>
|
||||
#include <osgGA/GUIActionAdapter>
|
||||
#include <osgGA/GUIEventAdapter>
|
||||
@@ -26,7 +26,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgGA::StateSetManipulator)
|
||||
I_BaseType(osgGA::GUIEventHandler);
|
||||
I_BaseType(osgGA::GUIEventHandler);
|
||||
I_ConstructorWithDefaults1(IN, osg::StateSet *, stateset, 0,
|
||||
Properties::NON_EXPLICIT,
|
||||
@@ -36,301 +35,8 @@ BEGIN_OBJECT_REFLECTOR(osgGA::StateSetManipulator)
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStateSet, IN, osg::StateSet *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setStateSet__osg_StateSet_P1,
|
||||
"attach a STATESTATE to the manipulator to be used for specifying view. ",
|
||||
"");
|
||||
I_Method0(osg::StateSet *, getStateSet,
|
||||
Properties::VIRTUAL,
|
||||
__osg_StateSet_P1__getStateSet,
|
||||
"get the attached a STATESTATE. ",
|
||||
"");
|
||||
I_Method0(const osg::StateSet *, getStateSet,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_StateSet_P1__getStateSet,
|
||||
"get the attached a STATESTATE. ",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Handle events, return true if handled, false otherwise. ",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
I_Method1(void, setMaximumNumOfTextureUnits, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaximumNumOfTextureUnits__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getMaximumNumOfTextureUnits,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getMaximumNumOfTextureUnits,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setBackfaceEnabled, IN, bool, newbackface,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setBackfaceEnabled__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getBackfaceEnabled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getBackfaceEnabled,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setLightingEnabled, IN, bool, newlighting,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLightingEnabled__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getLightingEnabled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getLightingEnabled,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTextureEnabled, IN, bool, newtexture,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureEnabled__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getTextureEnabled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getTextureEnabled,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPolygonMode, IN, osg::PolygonMode::Mode, newpolygonmode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPolygonMode__osg_PolygonMode_Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::PolygonMode::Mode, getPolygonMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_PolygonMode_Mode__getPolygonMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, cyclePolygonMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__cyclePolygonMode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, osg::StateSet *, stateset, 0,
|
||||
Properties::NON_EXPLICIT,
|
||||
____StateSetManipulator__osg_StateSet_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStateSet, IN, osg::StateSet *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setStateSet__osg_StateSet_P1,
|
||||
"attach a STATESTATE to the manipulator to be used for specifying view. ",
|
||||
"");
|
||||
I_Method0(osg::StateSet *, getStateSet,
|
||||
Properties::VIRTUAL,
|
||||
__osg_StateSet_P1__getStateSet,
|
||||
"get the attached a STATESTATE. ",
|
||||
"");
|
||||
I_Method0(const osg::StateSet *, getStateSet,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_StateSet_P1__getStateSet,
|
||||
"get the attached a STATESTATE. ",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Handle events, return true if handled, false otherwise. ",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
I_Method1(void, setMaximumNumOfTextureUnits, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaximumNumOfTextureUnits__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getMaximumNumOfTextureUnits,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getMaximumNumOfTextureUnits,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setBackfaceEnabled, IN, bool, newbackface,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setBackfaceEnabled__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getBackfaceEnabled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getBackfaceEnabled,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setLightingEnabled, IN, bool, newlighting,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLightingEnabled__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getLightingEnabled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getLightingEnabled,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTextureEnabled, IN, bool, newtexture,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureEnabled__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getTextureEnabled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getTextureEnabled,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPolygonMode, IN, osg::PolygonMode::Mode, newpolygonmode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPolygonMode__osg_PolygonMode_Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::PolygonMode::Mode, getPolygonMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_PolygonMode_Mode__getPolygonMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, cyclePolygonMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__cyclePolygonMode,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(bool, BackfaceEnabled,
|
||||
__bool__getBackfaceEnabled,
|
||||
__void__setBackfaceEnabled__bool);
|
||||
I_SimpleProperty(bool, LightingEnabled,
|
||||
__bool__getLightingEnabled,
|
||||
__void__setLightingEnabled__bool);
|
||||
I_SimpleProperty(unsigned int, MaximumNumOfTextureUnits,
|
||||
__unsigned_int__getMaximumNumOfTextureUnits,
|
||||
__void__setMaximumNumOfTextureUnits__unsigned_int);
|
||||
I_SimpleProperty(osg::PolygonMode::Mode, PolygonMode,
|
||||
__osg_PolygonMode_Mode__getPolygonMode,
|
||||
__void__setPolygonMode__osg_PolygonMode_Mode);
|
||||
I_SimpleProperty(osg::StateSet *, StateSet,
|
||||
__osg_StateSet_P1__getStateSet,
|
||||
__void__setStateSet__osg_StateSet_P1);
|
||||
I_SimpleProperty(bool, TextureEnabled,
|
||||
__bool__getTextureEnabled,
|
||||
__void__setTextureEnabled__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgGA::StateSetManipulator)
|
||||
I_BaseType(osgGA::GUIEventHandler);
|
||||
I_BaseType(osgGA::GUIEventHandler);
|
||||
I_ConstructorWithDefaults1(IN, osg::StateSet *, stateset, 0,
|
||||
Properties::NON_EXPLICIT,
|
||||
____StateSetManipulator__osg_StateSet_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStateSet, IN, osg::StateSet *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setStateSet__osg_StateSet_P1,
|
||||
"attach a STATESTATE to the manipulator to be used for specifying view. ",
|
||||
"");
|
||||
I_Method0(osg::StateSet *, getStateSet,
|
||||
Properties::VIRTUAL,
|
||||
__osg_StateSet_P1__getStateSet,
|
||||
"get the attached a STATESTATE. ",
|
||||
"");
|
||||
I_Method0(const osg::StateSet *, getStateSet,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_StateSet_P1__getStateSet,
|
||||
"get the attached a STATESTATE. ",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Handle events, return true if handled, false otherwise. ",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
I_Method1(void, setMaximumNumOfTextureUnits, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaximumNumOfTextureUnits__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getMaximumNumOfTextureUnits,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getMaximumNumOfTextureUnits,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setBackfaceEnabled, IN, bool, newbackface,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setBackfaceEnabled__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getBackfaceEnabled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getBackfaceEnabled,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setLightingEnabled, IN, bool, newlighting,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLightingEnabled__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getLightingEnabled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getLightingEnabled,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTextureEnabled, IN, bool, newtexture,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureEnabled__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getTextureEnabled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getTextureEnabled,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPolygonMode, IN, osg::PolygonMode::Mode, newpolygonmode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPolygonMode__osg_PolygonMode_Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::PolygonMode::Mode, getPolygonMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_PolygonMode_Mode__getPolygonMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, cyclePolygonMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__cyclePolygonMode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, osg::StateSet *, stateset, 0,
|
||||
Properties::NON_EXPLICIT,
|
||||
____StateSetManipulator__osg_StateSet_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, setStateSet, IN, osg::StateSet *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setStateSet__osg_StateSet_P1,
|
||||
|
||||
@@ -10,14 +10,13 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Matrixd.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/ApplicationUsage>
|
||||
#include <osgGA/.svn/text-base/TerrainManipulator.svn-base>
|
||||
#include <osg/Matrixd>
|
||||
#include <osg/Node>
|
||||
#include <osgGA/GUIActionAdapter>
|
||||
#include <osgGA/GUIEventAdapter>
|
||||
#include <osgGA/TerrainManipulator>
|
||||
#include <osgUtil/.svn/text-base/SceneView.svn-base>
|
||||
#include <osgUtil/SceneView>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -33,7 +32,6 @@ BEGIN_ENUM_REFLECTOR(osgGA::TerrainManipulator::RotationMode)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgGA::TerrainManipulator)
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_Constructor0(____TerrainManipulator,
|
||||
"",
|
||||
@@ -41,291 +39,8 @@ BEGIN_OBJECT_REFLECTOR(osgGA::TerrainManipulator)
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRotationMode, IN, osgGA::TerrainManipulator::RotationMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRotationMode__RotationMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::TerrainManipulator::RotationMode, getRotationMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__RotationMode__getRotationMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getMatrix,
|
||||
"get the position of the manipulator as 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getInverseMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
"get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ",
|
||||
"");
|
||||
I_Method0(osgUtil::SceneView::FusionDistanceMode, getFusionDistanceMode,
|
||||
Properties::VIRTUAL,
|
||||
__osgUtil_SceneView_FusionDistanceMode__getFusionDistanceMode,
|
||||
"Get the FusionDistanceMode. ",
|
||||
"Used by SceneView for setting up setereo convergence. ");
|
||||
I_Method0(float, getFusionDistanceValue,
|
||||
Properties::VIRTUAL,
|
||||
__float__getFusionDistanceValue,
|
||||
"Get the FusionDistanceValue. ",
|
||||
"Used by SceneView for setting up setereo convergence. ");
|
||||
I_Method1(void, setNode, IN, osg::Node *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"Attach a node to the manipulator. ",
|
||||
"Automatically detaches previously attached node. setNode(NULL) detaches previously nodes. Is ignored by manipulators which do not require a reference model. ");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
"Return node if attached. ",
|
||||
"");
|
||||
I_Method0(osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Node_P1__getNode,
|
||||
"Return node if attached. ",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Move the camera to the default position. ",
|
||||
"May be ignored by manipulators if home functionality is not appropriate. ");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Start/restart the manipulator. ",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"handle events, return true if handled, false otherwise. ",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
I_Constructor0(____TerrainManipulator,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRotationMode, IN, osgGA::TerrainManipulator::RotationMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRotationMode__RotationMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::TerrainManipulator::RotationMode, getRotationMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__RotationMode__getRotationMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getMatrix,
|
||||
"get the position of the manipulator as 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getInverseMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
"get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ",
|
||||
"");
|
||||
I_Method0(osgUtil::SceneView::FusionDistanceMode, getFusionDistanceMode,
|
||||
Properties::VIRTUAL,
|
||||
__osgUtil_SceneView_FusionDistanceMode__getFusionDistanceMode,
|
||||
"Get the FusionDistanceMode. ",
|
||||
"Used by SceneView for setting up setereo convergence. ");
|
||||
I_Method0(float, getFusionDistanceValue,
|
||||
Properties::VIRTUAL,
|
||||
__float__getFusionDistanceValue,
|
||||
"Get the FusionDistanceValue. ",
|
||||
"Used by SceneView for setting up setereo convergence. ");
|
||||
I_Method1(void, setNode, IN, osg::Node *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"Attach a node to the manipulator. ",
|
||||
"Automatically detaches previously attached node. setNode(NULL) detaches previously nodes. Is ignored by manipulators which do not require a reference model. ");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
"Return node if attached. ",
|
||||
"");
|
||||
I_Method0(osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Node_P1__getNode,
|
||||
"Return node if attached. ",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Move the camera to the default position. ",
|
||||
"May be ignored by manipulators if home functionality is not appropriate. ");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Start/restart the manipulator. ",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"handle events, return true if handled, false otherwise. ",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Matrixd &, ByInverseMatrix,
|
||||
0,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1);
|
||||
I_SimpleProperty(const osg::Matrixd &, ByMatrix,
|
||||
0,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1);
|
||||
I_SimpleProperty(osgUtil::SceneView::FusionDistanceMode, FusionDistanceMode,
|
||||
__osgUtil_SceneView_FusionDistanceMode__getFusionDistanceMode,
|
||||
0);
|
||||
I_SimpleProperty(float, FusionDistanceValue,
|
||||
__float__getFusionDistanceValue,
|
||||
0);
|
||||
I_SimpleProperty(osg::Matrixd, InverseMatrix,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
0);
|
||||
I_SimpleProperty(osg::Matrixd, Matrix,
|
||||
__osg_Matrixd__getMatrix,
|
||||
0);
|
||||
I_SimpleProperty(osg::Node *, Node,
|
||||
__osg_Node_P1__getNode,
|
||||
__void__setNode__osg_Node_P1);
|
||||
I_SimpleProperty(osgGA::TerrainManipulator::RotationMode, RotationMode,
|
||||
__RotationMode__getRotationMode,
|
||||
__void__setRotationMode__RotationMode);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgGA::TerrainManipulator::RotationMode)
|
||||
I_EnumLabel(osgGA::TerrainManipulator::ELEVATION_AZIM_ROLL);
|
||||
I_EnumLabel(osgGA::TerrainManipulator::ELEVATION_AZIM);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgGA::TerrainManipulator)
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_Constructor0(____TerrainManipulator,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRotationMode, IN, osgGA::TerrainManipulator::RotationMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRotationMode__RotationMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::TerrainManipulator::RotationMode, getRotationMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__RotationMode__getRotationMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getMatrix,
|
||||
"get the position of the manipulator as 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getInverseMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
"get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ",
|
||||
"");
|
||||
I_Method0(osgUtil::SceneView::FusionDistanceMode, getFusionDistanceMode,
|
||||
Properties::VIRTUAL,
|
||||
__osgUtil_SceneView_FusionDistanceMode__getFusionDistanceMode,
|
||||
"Get the FusionDistanceMode. ",
|
||||
"Used by SceneView for setting up setereo convergence. ");
|
||||
I_Method0(float, getFusionDistanceValue,
|
||||
Properties::VIRTUAL,
|
||||
__float__getFusionDistanceValue,
|
||||
"Get the FusionDistanceValue. ",
|
||||
"Used by SceneView for setting up setereo convergence. ");
|
||||
I_Method1(void, setNode, IN, osg::Node *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"Attach a node to the manipulator. ",
|
||||
"Automatically detaches previously attached node. setNode(NULL) detaches previously nodes. Is ignored by manipulators which do not require a reference model. ");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
"Return node if attached. ",
|
||||
"");
|
||||
I_Method0(osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Node_P1__getNode,
|
||||
"Return node if attached. ",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Move the camera to the default position. ",
|
||||
"May be ignored by manipulators if home functionality is not appropriate. ");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Start/restart the manipulator. ",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"handle events, return true if handled, false otherwise. ",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
I_Constructor0(____TerrainManipulator,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, setRotationMode, IN, osgGA::TerrainManipulator::RotationMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRotationMode__RotationMode,
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Matrixd.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/ApplicationUsage>
|
||||
#include <osg/Matrixd>
|
||||
#include <osg/Node>
|
||||
#include <osg/Vec3>
|
||||
#include <osgGA/GUIActionAdapter>
|
||||
#include <osgGA/GUIEventAdapter>
|
||||
#include <osgGA/UFOManipulator>
|
||||
@@ -27,7 +27,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgGA::UFOManipulator)
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_Constructor0(____UFOManipulator,
|
||||
"Default constructor. ",
|
||||
@@ -83,441 +82,22 @@ BEGIN_OBJECT_REFLECTOR(osgGA::UFOManipulator)
|
||||
"Sets the viewpoint matrix to the home position. ",
|
||||
"");
|
||||
I_Method1(void, home, IN, double, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__double,
|
||||
"",
|
||||
"");
|
||||
"Move the camera to the default position. ",
|
||||
"This version does not require GUIEventAdapter and GUIActionAdapter so may be called from somewhere other than a handle() method in GUIEventHandler. Application must be aware of implications.");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
"Start/restart the manipulator. ",
|
||||
"FIXME: what does this actually mean? Provide examples.");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"Handles incoming osgGA events. ",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Reports Usage parameters to the application. ",
|
||||
"");
|
||||
I_Method3(void, getCurrentPositionAsLookAt, IN, osg::Vec3 &, eye, IN, osg::Vec3 &, center, IN, osg::Vec3 &, up,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getCurrentPositionAsLookAt__osg_Vec3_R1__osg_Vec3_R1__osg_Vec3_R1,
|
||||
"Report the current position as LookAt vectors. ",
|
||||
"");
|
||||
I_Method1(void, setMinHeight, IN, double, in_min_height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinHeight__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getMinHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getMinHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinDistance, IN, double, in_min_dist,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinDistance__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getMinDistance,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getMinDistance,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setForwardSpeed, IN, double, in_fs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setForwardSpeed__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getForwardSpeed,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getForwardSpeed,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSideSpeed, IN, double, in_ss,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSideSpeed__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getSideSpeed,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getSideSpeed,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRotationSpeed, IN, double, in_rot_speed,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRotationSpeed__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getRotationSpeed,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getRotationSpeed,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____UFOManipulator,
|
||||
"Default constructor. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return className ",
|
||||
"returns constant \"UFO\" ");
|
||||
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1,
|
||||
"Set the current position with a matrix. ",
|
||||
" param matrix A viewpoint matrix. ");
|
||||
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, invmat,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
|
||||
"Set the current position with the invers matrix. ",
|
||||
" param invmat The inverse of a viewpoint matrix ");
|
||||
I_Method0(osg::Matrixd, getMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getMatrix,
|
||||
"Get the current viewmatrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getInverseMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
"Get the current inverse view matrix. ",
|
||||
"");
|
||||
I_Method1(void, setNode, IN, osg::Node *, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"Set the subgraph this manipulator is driving the eye through. ",
|
||||
" param node root of subgraph ");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
"Get the root node of the subgraph this manipulator is driving the eye through (const). ",
|
||||
"");
|
||||
I_Method0(osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Node_P1__getNode,
|
||||
"Get the root node of the subgraph this manipulator is driving the eye through. ",
|
||||
"");
|
||||
I_Method0(void, computeHomePosition,
|
||||
Properties::VIRTUAL,
|
||||
__void__computeHomePosition,
|
||||
"Computes the home position based on the extents and scale of the scene graph rooted at node. ",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"Sets the viewpoint matrix to the home position. ",
|
||||
"");
|
||||
I_Method1(void, home, IN, double, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__home__double,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"Handles incoming osgGA events. ",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Reports Usage parameters to the application. ",
|
||||
"");
|
||||
I_Method3(void, getCurrentPositionAsLookAt, IN, osg::Vec3 &, eye, IN, osg::Vec3 &, center, IN, osg::Vec3 &, up,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getCurrentPositionAsLookAt__osg_Vec3_R1__osg_Vec3_R1__osg_Vec3_R1,
|
||||
"Report the current position as LookAt vectors. ",
|
||||
"");
|
||||
I_Method1(void, setMinHeight, IN, double, in_min_height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinHeight__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getMinHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getMinHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinDistance, IN, double, in_min_dist,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinDistance__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getMinDistance,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getMinDistance,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setForwardSpeed, IN, double, in_fs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setForwardSpeed__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getForwardSpeed,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getForwardSpeed,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSideSpeed, IN, double, in_ss,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSideSpeed__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getSideSpeed,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getSideSpeed,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRotationSpeed, IN, double, in_rot_speed,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRotationSpeed__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getRotationSpeed,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getRotationSpeed,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Matrixd &, ByInverseMatrix,
|
||||
0,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1);
|
||||
I_SimpleProperty(const osg::Matrixd &, ByMatrix,
|
||||
0,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1);
|
||||
I_SimpleProperty(double, ForwardSpeed,
|
||||
__double__getForwardSpeed,
|
||||
__void__setForwardSpeed__double);
|
||||
I_SimpleProperty(osg::Matrixd, InverseMatrix,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
0);
|
||||
I_SimpleProperty(osg::Matrixd, Matrix,
|
||||
__osg_Matrixd__getMatrix,
|
||||
0);
|
||||
I_SimpleProperty(double, MinDistance,
|
||||
__double__getMinDistance,
|
||||
__void__setMinDistance__double);
|
||||
I_SimpleProperty(double, MinHeight,
|
||||
__double__getMinHeight,
|
||||
__void__setMinHeight__double);
|
||||
I_SimpleProperty(osg::Node *, Node,
|
||||
__osg_Node_P1__getNode,
|
||||
__void__setNode__osg_Node_P1);
|
||||
I_SimpleProperty(double, RotationSpeed,
|
||||
__double__getRotationSpeed,
|
||||
__void__setRotationSpeed__double);
|
||||
I_SimpleProperty(double, SideSpeed,
|
||||
__double__getSideSpeed,
|
||||
__void__setSideSpeed__double);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgGA::UFOManipulator)
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_Constructor0(____UFOManipulator,
|
||||
"Default constructor. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return className ",
|
||||
"returns constant \"UFO\" ");
|
||||
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1,
|
||||
"Set the current position with a matrix. ",
|
||||
" param matrix A viewpoint matrix. ");
|
||||
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, invmat,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
|
||||
"Set the current position with the invers matrix. ",
|
||||
" param invmat The inverse of a viewpoint matrix ");
|
||||
I_Method0(osg::Matrixd, getMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getMatrix,
|
||||
"Get the current viewmatrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getInverseMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
"Get the current inverse view matrix. ",
|
||||
"");
|
||||
I_Method1(void, setNode, IN, osg::Node *, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"Set the subgraph this manipulator is driving the eye through. ",
|
||||
" param node root of subgraph ");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
"Get the root node of the subgraph this manipulator is driving the eye through (const). ",
|
||||
"");
|
||||
I_Method0(osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Node_P1__getNode,
|
||||
"Get the root node of the subgraph this manipulator is driving the eye through. ",
|
||||
"");
|
||||
I_Method0(void, computeHomePosition,
|
||||
Properties::VIRTUAL,
|
||||
__void__computeHomePosition,
|
||||
"Computes the home position based on the extents and scale of the scene graph rooted at node. ",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"Sets the viewpoint matrix to the home position. ",
|
||||
"");
|
||||
I_Method1(void, home, IN, double, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__home__double,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"Handles incoming osgGA events. ",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Reports Usage parameters to the application. ",
|
||||
"");
|
||||
I_Method3(void, getCurrentPositionAsLookAt, IN, osg::Vec3 &, eye, IN, osg::Vec3 &, center, IN, osg::Vec3 &, up,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getCurrentPositionAsLookAt__osg_Vec3_R1__osg_Vec3_R1__osg_Vec3_R1,
|
||||
"Report the current position as LookAt vectors. ",
|
||||
"");
|
||||
I_Method1(void, setMinHeight, IN, double, in_min_height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinHeight__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getMinHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getMinHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinDistance, IN, double, in_min_dist,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinDistance__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getMinDistance,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getMinDistance,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setForwardSpeed, IN, double, in_fs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setForwardSpeed__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getForwardSpeed,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getForwardSpeed,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSideSpeed, IN, double, in_ss,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSideSpeed__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getSideSpeed,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getSideSpeed,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRotationSpeed, IN, double, in_rot_speed,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRotationSpeed__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getRotationSpeed,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getRotationSpeed,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____UFOManipulator,
|
||||
"Default constructor. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return className ",
|
||||
"returns constant \"UFO\" ");
|
||||
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1,
|
||||
"Set the current position with a matrix. ",
|
||||
" param matrix A viewpoint matrix. ");
|
||||
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, invmat,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
|
||||
"Set the current position with the invers matrix. ",
|
||||
" param invmat The inverse of a viewpoint matrix ");
|
||||
I_Method0(osg::Matrixd, getMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getMatrix,
|
||||
"Get the current viewmatrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getInverseMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
"Get the current inverse view matrix. ",
|
||||
"");
|
||||
I_Method1(void, setNode, IN, osg::Node *, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"Set the subgraph this manipulator is driving the eye through. ",
|
||||
" param node root of subgraph ");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
"Get the root node of the subgraph this manipulator is driving the eye through (const). ",
|
||||
"");
|
||||
I_Method0(osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Node_P1__getNode,
|
||||
"Get the root node of the subgraph this manipulator is driving the eye through. ",
|
||||
"");
|
||||
I_Method0(void, computeHomePosition,
|
||||
Properties::VIRTUAL,
|
||||
__void__computeHomePosition,
|
||||
"Computes the home position based on the extents and scale of the scene graph rooted at node. ",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"Sets the viewpoint matrix to the home position. ",
|
||||
"");
|
||||
I_Method1(void, home, IN, double, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__home__double,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"Handles incoming osgGA events. ",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Reports Usage parameters to the application. ",
|
||||
"");
|
||||
|
||||
Reference in New Issue
Block a user