OpenSceneGraph/src/osgWrappers/osgGA/NodeTrackerManipulator.cpp
2005-05-16 09:41:10 +00:00

83 lines
3.6 KiB
C++

// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/ApplicationUsage>
#include <osg/Matrixd>
#include <osg/Node>
#include <osg/RefNodePath>
#include <osgGA/GUIActionAdapter>
#include <osgGA/GUIEventAdapter>
#include <osgGA/NodeTrackerManipulator>
#include <osgUtil/SceneView>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
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_Constructor0();
I_Method0(const char *, className);
I_Method1(void, setTrackNodePath, IN, const osg::RefNodePath &, nodePath);
I_Method1(void, setTrackNodePath, IN, const osg::NodePath &, nodePath);
I_Method0(osg::RefNodePath &, getTrackNodePath);
I_Method0(const osg::RefNodePath &, getTrackNodePath);
I_Method1(void, setTrackNode, IN, osg::Node *, node);
I_Method0(osg::Node *, getTrackNode);
I_Method0(const osg::Node *, getTrackNode);
I_Method1(void, setTrackerMode, IN, osgGA::NodeTrackerManipulator::TrackerMode, mode);
I_Method0(osgGA::NodeTrackerManipulator::TrackerMode, getTrackerNode);
I_Method1(void, setRotationMode, IN, osgGA::NodeTrackerManipulator::RotationMode, mode);
I_Method0(osgGA::NodeTrackerManipulator::RotationMode, getRotationMode);
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix);
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix);
I_Method0(osg::Matrixd, getMatrix);
I_Method0(osg::Matrixd, getInverseMatrix);
I_Method0(osgUtil::SceneView::FusionDistanceMode, getFusionDistanceMode);
I_Method0(float, getFusionDistanceValue);
I_Method1(void, setNode, IN, osg::Node *, x);
I_Method0(const osg::Node *, getNode);
I_Method0(osg::Node *, getNode);
I_Method0(void, computeHomePosition);
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us);
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us);
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us);
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage);
I_WriteOnlyProperty(const osg::Matrixd &, ByInverseMatrix);
I_WriteOnlyProperty(const osg::Matrixd &, ByMatrix);
I_ReadOnlyProperty(osgUtil::SceneView::FusionDistanceMode, FusionDistanceMode);
I_ReadOnlyProperty(float, FusionDistanceValue);
I_ReadOnlyProperty(osg::Matrixd, InverseMatrix);
I_ReadOnlyProperty(osg::Matrixd, Matrix);
I_Property(osg::Node *, Node);
I_Property(osgGA::NodeTrackerManipulator::RotationMode, RotationMode);
I_Property(osg::Node *, TrackNode);
I_Property(const osg::RefNodePath &, TrackNodePath);
I_WriteOnlyProperty(osgGA::NodeTrackerManipulator::TrackerMode, TrackerMode);
I_ReadOnlyProperty(osgGA::NodeTrackerManipulator::TrackerMode, TrackerNode);
END_REFLECTOR