Moved osgProducer and osgproducerviewer out into their own repository.
Clean up the source for remaining references to osgProducer/Producer.
This commit is contained in:
@@ -11,8 +11,10 @@
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/Camera>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Matrix>
|
||||
#include <osg/Matrixd>
|
||||
#include <osg/Object>
|
||||
#include <osg/Stats>
|
||||
#include <osg/View>
|
||||
|
||||
@@ -25,10 +27,39 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::View)
|
||||
I_VirtualBaseType(osg::Referenced);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____View,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::View &, view, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____View__C5_osg_View_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
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,
|
||||
"",
|
||||
"");
|
||||
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,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, setStats, IN, osg::Stats *, stats,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStats__osg_Stats_P1,
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/Camera>
|
||||
#include <osg/Matrix>
|
||||
#include <osg/Node>
|
||||
#include <osg/Vec2>
|
||||
@@ -51,7 +52,7 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::CompositeDragger)
|
||||
__void__setParentDragger__Dragger_P1,
|
||||
"Set/Get parent dragger. ",
|
||||
"For simple draggers parent points to itself. For composite draggers parent points to the parent dragger that uses this dragger.");
|
||||
I_Method3(bool, handle, IN, const osgManipulator::Dragger::PointerInfo &, pi, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa,
|
||||
I_Method3(bool, handle, IN, const osgManipulator::PointerInfo &, pi, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_PointerInfo_R1__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"",
|
||||
@@ -151,7 +152,7 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::Dragger)
|
||||
__CompositeDragger_P1__getComposite,
|
||||
"Returns 0 if this Dragger is not a CompositeDragger. ",
|
||||
"");
|
||||
I_Method3(bool, handle, IN, const osgManipulator::Dragger::PointerInfo &, x, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x,
|
||||
I_Method3(bool, handle, IN, const osgManipulator::PointerInfo &, x, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_PointerInfo_R1__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"",
|
||||
@@ -167,15 +168,24 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::Dragger)
|
||||
__void__setParentDragger__Dragger_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgManipulator::Dragger::PointerInfo)
|
||||
TYPE_NAME_ALIAS(std::pair< osg::NodePath COMMA osg::Vec3 >, osgManipulator::PointerInfo::NodePathIntersectionPair);
|
||||
|
||||
TYPE_NAME_ALIAS(std::list< osgManipulator::PointerInfo::NodePathIntersectionPair >, osgManipulator::PointerInfo::IntersectionList);
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgManipulator::PointerInfo)
|
||||
I_Constructor0(____PointerInfo,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osgManipulator::Dragger::PointerInfo &, rhs,
|
||||
I_Constructor1(IN, const osgManipulator::PointerInfo &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____PointerInfo__C5_PointerInfo_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, reset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__reset,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, completed,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__completed,
|
||||
@@ -206,6 +216,11 @@ BEGIN_VALUE_REFLECTOR(osgManipulator::Dragger::PointerInfo)
|
||||
__bool__projectWindowXYIntoObject__osg_Vec3_R1__osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, projectObjectIntoWindow, IN, const osg::Vec3 &, object, IN, osg::Vec3 &, window,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__projectObjectIntoWindow__C5_osg_Vec3_R1__osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getViewMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Matrix_R1__getViewMatrix,
|
||||
@@ -216,17 +231,37 @@ BEGIN_VALUE_REFLECTOR(osgManipulator::Dragger::PointerInfo)
|
||||
__bool__contains__C5_osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCamera, IN, osg::Camera *, camera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCamera__osg_Camera_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, addIntersection, IN, const osg::NodePath &, nodePath, IN, osg::Vec3, intersectionPoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addIntersection__C5_osg_NodePath_R1__osg_Vec3,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setMousePosition, IN, int, pixel_x, IN, int, pixel_y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMousePosition__int__int,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::Camera *, Camera,
|
||||
0,
|
||||
__void__setCamera__osg_Camera_P1);
|
||||
I_SimpleProperty(osg::Vec3, LocalIntersectPoint,
|
||||
__osg_Vec3__getLocalIntersectPoint,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Matrix &, ViewMatrix,
|
||||
__C5_osg_Matrix_R1__getViewMatrix,
|
||||
0);
|
||||
I_PublicMemberProperty(int, pixel_x);
|
||||
I_PublicMemberProperty(int, pixel_y);
|
||||
I_PublicMemberProperty(osgUtil::SceneView *, sv);
|
||||
I_PublicMemberProperty(osgUtil::IntersectVisitor::HitList, hitList);
|
||||
I_PublicMemberProperty(osgUtil::IntersectVisitor::HitList::iterator, hitIter);
|
||||
I_PublicMemberProperty(int, _pixel_x);
|
||||
I_PublicMemberProperty(int, _pixel_y);
|
||||
I_PublicMemberProperty(osg::Camera *, _camera);
|
||||
I_PublicMemberProperty(osgManipulator::PointerInfo::IntersectionList, _hitList);
|
||||
I_PublicMemberProperty(osgManipulator::PointerInfo::IntersectionList::iterator, _hitIter);
|
||||
I_PublicMemberProperty(osg::Matrix, _MVPW);
|
||||
I_PublicMemberProperty(osg::Matrix, _inverseMVPW);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgManipulator::Dragger >)
|
||||
@@ -268,5 +303,9 @@ BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgManipulator::Dragger >)
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_LIST_REFLECTOR(std::list< osgManipulator::PointerInfo::NodePathIntersectionPair >);
|
||||
|
||||
STD_PAIR_REFLECTOR(std::pair< osg::NodePath COMMA osg::Vec3 >);
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgManipulator::Dragger > >);
|
||||
|
||||
|
||||
@@ -36,9 +36,9 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::CylinderPlaneProjector)
|
||||
____CylinderPlaneProjector__osg_Cylinder_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, project, IN, const osgManipulator::Dragger::PointerInfo &, pi, IN, osg::Vec3 &, projectedPoint,
|
||||
I_Method2(bool, project, IN, const osgManipulator::PointerInfo &, pi, IN, osg::Vec3 &, projectedPoint,
|
||||
Properties::VIRTUAL,
|
||||
__bool__project__C5_Dragger_PointerInfo_R1__osg_Vec3_R1,
|
||||
__bool__project__C5_PointerInfo_R1__osg_Vec3_R1,
|
||||
"Calculates the object coordinates (projectedPoint) of a window coordinate (pointToProject) when projected onto the given plane. ",
|
||||
"Returns true on successful projection.");
|
||||
I_Method0(bool, isProjectionOnCylinder,
|
||||
@@ -73,14 +73,14 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::CylinderProjector)
|
||||
__C5_osg_Cylinder_P1__getCylinder,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, project, IN, const osgManipulator::Dragger::PointerInfo &, pi, IN, osg::Vec3 &, projectedPoint,
|
||||
I_Method2(bool, project, IN, const osgManipulator::PointerInfo &, pi, IN, osg::Vec3 &, projectedPoint,
|
||||
Properties::VIRTUAL,
|
||||
__bool__project__C5_Dragger_PointerInfo_R1__osg_Vec3_R1,
|
||||
__bool__project__C5_PointerInfo_R1__osg_Vec3_R1,
|
||||
"Calculates the object coordinates (projectedPoint) of a window coordinate (pointToProject) when projected onto the given plane. ",
|
||||
"Returns true on successful projection.");
|
||||
I_Method2(bool, isPointInFront, IN, const osgManipulator::Dragger::PointerInfo &, pi, IN, const osg::Matrix &, localToWorld,
|
||||
I_Method2(bool, isPointInFront, IN, const osgManipulator::PointerInfo &, pi, IN, const osg::Matrix &, localToWorld,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isPointInFront__C5_Dragger_PointerInfo_R1__C5_osg_Matrix_R1,
|
||||
__bool__isPointInFront__C5_PointerInfo_R1__C5_osg_Matrix_R1,
|
||||
"Returns true is the point is in front of the cylinder given the eye direction. ",
|
||||
"");
|
||||
I_Method1(void, setFront, IN, bool, front,
|
||||
@@ -130,9 +130,9 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::LineProjector)
|
||||
__osg_Vec3_R1__getLineEnd,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, project, IN, const osgManipulator::Dragger::PointerInfo &, pi, IN, osg::Vec3 &, projectedPoint,
|
||||
I_Method2(bool, project, IN, const osgManipulator::PointerInfo &, pi, IN, osg::Vec3 &, projectedPoint,
|
||||
Properties::VIRTUAL,
|
||||
__bool__project__C5_Dragger_PointerInfo_R1__osg_Vec3_R1,
|
||||
__bool__project__C5_PointerInfo_R1__osg_Vec3_R1,
|
||||
"Calculates the object coordinates (projectedPoint) of a window coordinate (pointToProject) when projected onto the given line. ",
|
||||
"Returns true on successful projection.");
|
||||
I_SimpleProperty(osg::Vec3 &, LineEnd,
|
||||
@@ -163,9 +163,9 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::PlaneProjector)
|
||||
__C5_osg_Plane_R1__getPlane,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, project, IN, const osgManipulator::Dragger::PointerInfo &, pi, IN, osg::Vec3 &, projectedPoint,
|
||||
I_Method2(bool, project, IN, const osgManipulator::PointerInfo &, pi, IN, osg::Vec3 &, projectedPoint,
|
||||
Properties::VIRTUAL,
|
||||
__bool__project__C5_Dragger_PointerInfo_R1__osg_Vec3_R1,
|
||||
__bool__project__C5_PointerInfo_R1__osg_Vec3_R1,
|
||||
"Calculates the object coordinates (projectedPoint) of a window coordinate (pointToProject) when projected onto the given plane. ",
|
||||
"Returns true on successful projection.");
|
||||
I_SimpleProperty(const osg::Plane &, Plane,
|
||||
@@ -178,9 +178,9 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgManipulator::Projector)
|
||||
I_Constructor0(____Projector,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, project, IN, const osgManipulator::Dragger::PointerInfo &, pi, IN, osg::Vec3 &, projectedPoint,
|
||||
I_Method2(bool, project, IN, const osgManipulator::PointerInfo &, pi, IN, osg::Vec3 &, projectedPoint,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__bool__project__C5_Dragger_PointerInfo_R1__osg_Vec3_R1,
|
||||
__bool__project__C5_PointerInfo_R1__osg_Vec3_R1,
|
||||
"Calculates the object/world coordinates (projectedPoint) of a window coordinate (pointToProject) when projected onto some shape or geometry (implemented in derived classes). ",
|
||||
"SceneView in used for i projecting window coordinates into object coordinates and vice versa. Returns true on successful projection.");
|
||||
I_Method1(void, setLocalToWorld, IN, const osg::Matrix &, localToWorld,
|
||||
@@ -216,9 +216,9 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::SpherePlaneProjector)
|
||||
____SpherePlaneProjector__osg_Sphere_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, project, IN, const osgManipulator::Dragger::PointerInfo &, pi, IN, osg::Vec3 &, projectedPoint,
|
||||
I_Method2(bool, project, IN, const osgManipulator::PointerInfo &, pi, IN, osg::Vec3 &, projectedPoint,
|
||||
Properties::VIRTUAL,
|
||||
__bool__project__C5_Dragger_PointerInfo_R1__osg_Vec3_R1,
|
||||
__bool__project__C5_PointerInfo_R1__osg_Vec3_R1,
|
||||
"Calculates the object coordinates (projectedPoint) of a window coordinate (pointToProject) when projected onto the given sphere. ",
|
||||
"Returns true on successful projection.");
|
||||
I_Method0(bool, isProjectionOnSphere,
|
||||
@@ -253,14 +253,14 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::SphereProjector)
|
||||
__C5_osg_Sphere_P1__getSphere,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, project, IN, const osgManipulator::Dragger::PointerInfo &, pi, IN, osg::Vec3 &, projectedPoint,
|
||||
I_Method2(bool, project, IN, const osgManipulator::PointerInfo &, pi, IN, osg::Vec3 &, projectedPoint,
|
||||
Properties::VIRTUAL,
|
||||
__bool__project__C5_Dragger_PointerInfo_R1__osg_Vec3_R1,
|
||||
__bool__project__C5_PointerInfo_R1__osg_Vec3_R1,
|
||||
"Calculates the object coordinates (projectedPoint) of a window coordinate (pointToProject) when projected onto the given sphere. ",
|
||||
"Returns true on successful projection.");
|
||||
I_Method2(bool, isPointInFront, IN, const osgManipulator::Dragger::PointerInfo &, pi, IN, const osg::Matrix &, localToWorld,
|
||||
I_Method2(bool, isPointInFront, IN, const osgManipulator::PointerInfo &, pi, IN, const osg::Matrix &, localToWorld,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isPointInFront__C5_Dragger_PointerInfo_R1__C5_osg_Matrix_R1,
|
||||
__bool__isPointInFront__C5_PointerInfo_R1__C5_osg_Matrix_R1,
|
||||
"Returns true is the point is in front of the cylinder given the eye direction. ",
|
||||
"");
|
||||
I_Method1(void, setFront, IN, bool, front,
|
||||
|
||||
@@ -29,7 +29,7 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::RotateCylinderDragger)
|
||||
I_Constructor0(____RotateCylinderDragger,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, handle, IN, const osgManipulator::Dragger::PointerInfo &, pi, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
I_Method3(bool, handle, IN, const osgManipulator::PointerInfo &, pi, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_PointerInfo_R1__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"Handle pick events on dragger and generate TranslateInLine commands. ",
|
||||
|
||||
@@ -29,7 +29,7 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::RotateSphereDragger)
|
||||
I_Constructor0(____RotateSphereDragger,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, handle, IN, const osgManipulator::Dragger::PointerInfo &, x, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
I_Method3(bool, handle, IN, const osgManipulator::PointerInfo &, x, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_PointerInfo_R1__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"Handle pick events on dragger and generate TranslateInLine commands. ",
|
||||
|
||||
@@ -37,7 +37,7 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::Scale1DDragger)
|
||||
____Scale1DDragger__ScaleMode,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, handle, IN, const osgManipulator::Dragger::PointerInfo &, pi, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
I_Method3(bool, handle, IN, const osgManipulator::PointerInfo &, pi, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_PointerInfo_R1__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"Handle pick events on dragger and generate TranslateInLine commands. ",
|
||||
|
||||
@@ -38,7 +38,7 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::Scale2DDragger)
|
||||
____Scale2DDragger__ScaleMode,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, handle, IN, const osgManipulator::Dragger::PointerInfo &, pi, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
I_Method3(bool, handle, IN, const osgManipulator::PointerInfo &, pi, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_PointerInfo_R1__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"Handle pick events on dragger and generate TranslateInLine commands. ",
|
||||
|
||||
@@ -29,7 +29,7 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::TabPlaneDragger)
|
||||
I_Constructor0(____TabPlaneDragger,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, handle, IN, const osgManipulator::Dragger::PointerInfo &, pi, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
I_Method3(bool, handle, IN, const osgManipulator::PointerInfo &, pi, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_PointerInfo_R1__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"",
|
||||
|
||||
@@ -34,7 +34,7 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::Translate1DDragger)
|
||||
____Translate1DDragger__C5_osg_Vec3_R1__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, handle, IN, const osgManipulator::Dragger::PointerInfo &, pi, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
I_Method3(bool, handle, IN, const osgManipulator::PointerInfo &, pi, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_PointerInfo_R1__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"Handle pick events on dragger and generate TranslateInLine commands. ",
|
||||
|
||||
@@ -35,7 +35,7 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::Translate2DDragger)
|
||||
____Translate2DDragger__C5_osg_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, handle, IN, const osgManipulator::Dragger::PointerInfo &, pi, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
I_Method3(bool, handle, IN, const osgManipulator::PointerInfo &, pi, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_PointerInfo_R1__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"Handle pick events on dragger and generate TranslateInLine commands. ",
|
||||
|
||||
@@ -31,7 +31,7 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::TranslatePlaneDragger)
|
||||
I_Constructor0(____TranslatePlaneDragger,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, handle, IN, const osgManipulator::Dragger::PointerInfo &, pi, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
I_Method3(bool, handle, IN, const osgManipulator::PointerInfo &, pi, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_PointerInfo_R1__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"",
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osgProducer/Export>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
TOPDIR = ../../..
|
||||
include $(TOPDIR)/Make/makedefs
|
||||
|
||||
CXXFILES =\
|
||||
Export.cpp\
|
||||
GraphicsContextImplementation.cpp\
|
||||
KeyboardMouseCallback.cpp\
|
||||
OsgCameraGroup.cpp\
|
||||
OsgSceneHandler.cpp\
|
||||
Viewer.cpp\
|
||||
ViewerEventHandler.cpp\
|
||||
|
||||
LIBS += -losgProducer -losg -losgIntrospection -losgUtil -losgDB -lProducer -losgGA -losgText $(GL_LIBS) $(OTHER_LIBS)
|
||||
|
||||
OPTF = -O
|
||||
|
||||
TARGET_BASENAME = osgProducer
|
||||
include $(TOPDIR)/Make/cygwin_wrapper_def
|
||||
WRAPPER = $(WRAPPER_PREFIX)$(TARGET_BASENAME).$(PLUGIN_EXT)
|
||||
|
||||
include $(TOPDIR)/Make/makerules
|
||||
@@ -1,95 +0,0 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/GraphicsContext>
|
||||
#include <osgProducer/GraphicsContextImplementation>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgProducer::GraphicsContextImplementation)
|
||||
I_BaseType(osg::GraphicsContext);
|
||||
I_Constructor1(IN, osg::GraphicsContext::Traits *, traits,
|
||||
Properties::NON_EXPLICIT,
|
||||
____GraphicsContextImplementation__Traits_P1,
|
||||
"Construct a graphics context to specified traits. ",
|
||||
"");
|
||||
I_Constructor1(IN, Producer::RenderSurface *, rs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____GraphicsContextImplementation__Producer_RenderSurface_P1,
|
||||
"Construct a graphics context with specified RenderSurface. ",
|
||||
"");
|
||||
I_Method0(Producer::RenderSurface *, getRenderSurface,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Producer_RenderSurface_P1__getRenderSurface,
|
||||
"Return the RenderSurface that implements the graphics context. ",
|
||||
"");
|
||||
I_Method0(const Producer::RenderSurface *, getRenderSurface,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Producer_RenderSurface_P1__getRenderSurface,
|
||||
"Return the const RenderSurface that implements the graphics context. ",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::VIRTUAL,
|
||||
__bool__valid,
|
||||
"Return whether a valid and usable GraphicsContext has been created - assume success. ",
|
||||
"");
|
||||
I_Method0(bool, realizeImplementation,
|
||||
Properties::VIRTUAL,
|
||||
__bool__realizeImplementation,
|
||||
"Realise the GraphicsContext. ",
|
||||
"");
|
||||
I_Method0(bool, isRealizedImplementation,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isRealizedImplementation,
|
||||
"Return true if the graphics context has been realised and is ready to use. ",
|
||||
"");
|
||||
I_Method0(void, closeImplementation,
|
||||
Properties::VIRTUAL,
|
||||
__void__closeImplementation,
|
||||
"Close the graphics context. ",
|
||||
"");
|
||||
I_Method0(bool, makeCurrentImplementation,
|
||||
Properties::VIRTUAL,
|
||||
__bool__makeCurrentImplementation,
|
||||
"Make this graphics context current. ",
|
||||
"");
|
||||
I_Method1(bool, makeContextCurrentImplementation, IN, osg::GraphicsContext *, readContext,
|
||||
Properties::VIRTUAL,
|
||||
__bool__makeContextCurrentImplementation__osg_GraphicsContext_P1,
|
||||
"Make this graphics context current with specified read context. ",
|
||||
"");
|
||||
I_Method0(bool, releaseContextImplementation,
|
||||
Properties::VIRTUAL,
|
||||
__bool__releaseContextImplementation,
|
||||
"Release the graphics context. ",
|
||||
"");
|
||||
I_Method1(void, bindPBufferToTextureImplementation, IN, GLenum, buffer,
|
||||
Properties::VIRTUAL,
|
||||
__void__bindPBufferToTextureImplementation__GLenum,
|
||||
"Bind the graphics context to associated texture. ",
|
||||
"");
|
||||
I_Method0(void, swapBuffersImplementation,
|
||||
Properties::VIRTUAL,
|
||||
__void__swapBuffersImplementation,
|
||||
"swap the front and back buffers. ",
|
||||
"");
|
||||
I_SimpleProperty(Producer::RenderSurface *, RenderSurface,
|
||||
__Producer_RenderSurface_P1__getRenderSurface,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
@@ -1,195 +0,0 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osgGA/EventQueue>
|
||||
#include <osgGA/GUIEventAdapter>
|
||||
#include <osgProducer/KeyboardMouseCallback>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(osgGA::EventQueue::Events, osgProducer::KeyboardMouseCallback::EventQueue);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgProducer::KeyboardMouseCallback)
|
||||
I_ConstructorWithDefaults3(IN, Producer::KeyboardMouse *, keyboardMouse, , IN, bool &, done, , IN, bool, escapeKeySetsDone, true,
|
||||
____KeyboardMouseCallback__Producer_KeyboardMouse_P1__bool_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, mouseScroll, IN, Producer::KeyboardMouseCallback::ScrollingMotion, sm,
|
||||
Properties::VIRTUAL,
|
||||
__void__mouseScroll__Producer_KeyboardMouseCallback_ScrollingMotion,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, mouseScroll2D, IN, float, x, IN, float, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__mouseScroll2D__float__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, penPressure, IN, float, pressure,
|
||||
Properties::VIRTUAL,
|
||||
__void__penPressure__float,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, penProximity, IN, Producer::KeyboardMouseCallback::TabletPointerType, x, IN, bool, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__penProximity__Producer_KeyboardMouseCallback_TabletPointerType__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, mouseMotion, IN, float, mx, IN, float, my,
|
||||
Properties::VIRTUAL,
|
||||
__void__mouseMotion__float__float,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, passiveMouseMotion, IN, float, mx, IN, float, my,
|
||||
Properties::VIRTUAL,
|
||||
__void__passiveMouseMotion__float__float,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, mouseWarp, IN, float, mx, IN, float, my,
|
||||
Properties::VIRTUAL,
|
||||
__void__mouseWarp__float__float,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, buttonPress, IN, float, mx, IN, float, my, IN, unsigned int, mbutton,
|
||||
Properties::VIRTUAL,
|
||||
__void__buttonPress__float__float__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, doubleButtonPress, IN, float, mx, IN, float, my, IN, unsigned int, mbutton,
|
||||
Properties::VIRTUAL,
|
||||
__void__doubleButtonPress__float__float__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, buttonRelease, IN, float, mx, IN, float, my, IN, unsigned int, mbutton,
|
||||
Properties::VIRTUAL,
|
||||
__void__buttonRelease__float__float__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, keyPress, IN, Producer::KeyCharacter, key,
|
||||
Properties::VIRTUAL,
|
||||
__void__keyPress__Producer_KeyCharacter,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, keyRelease, IN, Producer::KeyCharacter, key,
|
||||
Properties::VIRTUAL,
|
||||
__void__keyRelease__Producer_KeyCharacter,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, specialKeyPress, IN, Producer::KeyCharacter, key,
|
||||
Properties::VIRTUAL,
|
||||
__void__specialKeyPress__Producer_KeyCharacter,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, specialKeyRelease, IN, Producer::KeyCharacter, key,
|
||||
Properties::VIRTUAL,
|
||||
__void__specialKeyRelease__Producer_KeyCharacter,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, windowConfig, IN, int, x, IN, int, y, IN, unsigned int, width, IN, unsigned int, height,
|
||||
Properties::VIRTUAL,
|
||||
__void__windowConfig__int__int__unsigned_int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, shutdown,
|
||||
Properties::VIRTUAL,
|
||||
__void__shutdown,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEscapeSetDone, IN, bool, esc,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEscapeSetDone__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getEscapeSetDone,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getEscapeSetDone,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEventQueue, IN, osgGA::EventQueue *, eventQueue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEventQueue__osgGA_EventQueue_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::EventQueue *, getEventQueue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgGA_EventQueue_P1__getEventQueue,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, takeEventQueue, IN, osgProducer::KeyboardMouseCallback::EventQueue &, queue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__takeEventQueue__EventQueue_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, copyEventQueue, IN, osgProducer::KeyboardMouseCallback::EventQueue &, queue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__copyEventQueue__EventQueue_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEventQueue, IN, osgProducer::KeyboardMouseCallback::EventQueue &, queue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEventQueue__EventQueue_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, appendEventQueue, IN, osgProducer::KeyboardMouseCallback::EventQueue &, queue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__appendEventQueue__EventQueue_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, done,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__done,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getTime,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Producer::KeyboardMouse *, getKeyboardMouse,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Producer_KeyboardMouse_P1__getKeyboardMouse,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const Producer::KeyboardMouse *, getKeyboardMouse,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Producer_KeyboardMouse_P1__getKeyboardMouse,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::GUIEventAdapter *, createEventAdapter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgGA_GUIEventAdapter_P1__createEventAdapter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, updateWindowSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__updateWindowSize,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(bool, EscapeSetDone,
|
||||
__bool__getEscapeSetDone,
|
||||
__void__setEscapeSetDone__bool);
|
||||
I_SimpleProperty(osgGA::EventQueue *, EventQueue,
|
||||
__osgGA_EventQueue_P1__getEventQueue,
|
||||
__void__setEventQueue__osgGA_EventQueue_P1);
|
||||
I_SimpleProperty(Producer::KeyboardMouse *, KeyboardMouse,
|
||||
__Producer_KeyboardMouse_P1__getKeyboardMouse,
|
||||
0);
|
||||
I_SimpleProperty(double, Time,
|
||||
__double__getTime,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
@@ -1,408 +0,0 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/ApplicationUsage>
|
||||
#include <osg/ArgumentParser>
|
||||
#include <osg/CullSettings>
|
||||
#include <osg/DisplaySettings>
|
||||
#include <osg/FrameStamp>
|
||||
#include <osg/Group>
|
||||
#include <osg/Matrixd>
|
||||
#include <osg/Node>
|
||||
#include <osg/StateSet>
|
||||
#include <osg/Vec4>
|
||||
#include <osgProducer/GraphicsContextImplementation>
|
||||
#include <osgProducer/OsgCameraGroup>
|
||||
#include <osgProducer/OsgSceneHandler>
|
||||
#include <osgUtil/SceneView>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(Producer::CameraGroup::ThreadModel, osgProducer::OsgCameraGroup::ThreadingModel);
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgProducer::GraphicsContextImplementation > >, osgProducer::OsgCameraGroup::GraphicsContextList);
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< Producer::ref_ptr< osgProducer::OsgSceneHandler > >, osgProducer::OsgCameraGroup::SceneHandlerList);
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgProducer::OsgCameraGroup)
|
||||
I_Constructor0(____OsgCameraGroup,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, Producer::CameraConfig *, cfg,
|
||||
Properties::NON_EXPLICIT,
|
||||
____OsgCameraGroup__Producer_CameraConfig_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const std::string &, configFile,
|
||||
Properties::NON_EXPLICIT,
|
||||
____OsgCameraGroup__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::ArgumentParser &, arguments,
|
||||
Properties::NON_EXPLICIT,
|
||||
____OsgCameraGroup__osg_ArgumentParser_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setApplicationUsage, IN, osg::ApplicationUsage *, au,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setApplicationUsage__osg_ApplicationUsage_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::ApplicationUsage *, getApplicationUsage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_ApplicationUsage_P1__getApplicationUsage,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ApplicationUsage *, getApplicationUsage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_ApplicationUsage_P1__getApplicationUsage,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setGraphicsContextList, IN, osgProducer::OsgCameraGroup::GraphicsContextList &, gcList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setGraphicsContextList__GraphicsContextList_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgProducer::OsgCameraGroup::GraphicsContextList &, getGraphicsContextList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GraphicsContextList_R1__getGraphicsContextList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgProducer::OsgCameraGroup::GraphicsContextList &, getGraphicsContextList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_GraphicsContextList_R1__getGraphicsContextList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgProducer::OsgCameraGroup::SceneHandlerList &, getSceneHandlerList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__SceneHandlerList_R1__getSceneHandlerList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgProducer::OsgCameraGroup::SceneHandlerList &, getSceneHandlerList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_SceneHandlerList_R1__getSceneHandlerList,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSceneData, IN, osg::Node *, scene,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSceneData__osg_Node_P1,
|
||||
"Set the scene data to be rendered. ",
|
||||
" param scene The node to be used as the starting point during the rendering traversal of the scene graph. ");
|
||||
I_Method0(osg::Node *, getSceneData,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_P1__getSceneData,
|
||||
"Get the scene data being used for rendering. ",
|
||||
"The node being used as the starting point during the rendering traversal of the scene graph. ");
|
||||
I_Method0(const osg::Node *, getSceneData,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Node_P1__getSceneData,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSceneDecorator, IN, osg::Group *, decorator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSceneDecorator__osg_Group_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Group *, getSceneDecorator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Group_P1__getSceneDecorator,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Group *, getSceneDecorator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Group_P1__getSceneDecorator,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Node *, getTopMostSceneData,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_P1__getTopMostSceneData,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Node *, getTopMostSceneData,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Node_P1__getTopMostSceneData,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, updatedSceneData,
|
||||
Properties::VIRTUAL,
|
||||
__void__updatedSceneData,
|
||||
"Update internal structures w.r.t updated scene data. ",
|
||||
"");
|
||||
I_Method1(void, setDisplaySettings, IN, osg::DisplaySettings *, ds,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDisplaySettings__osg_DisplaySettings_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::DisplaySettings *, getDisplaySettings,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_DisplaySettings_P1__getDisplaySettings,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::DisplaySettings *, getDisplaySettings,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_DisplaySettings_P1__getDisplaySettings,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCullSettings, IN, const osg::CullSettings &, cs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCullSettings__C5_osg_CullSettings_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::CullSettings &, getCullSettings,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_CullSettings_R1__getCullSettings,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::CullSettings &, getCullSettings,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_CullSettings_R1__getCullSettings,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFrameStamp, IN, osg::FrameStamp *, fs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFrameStamp__osg_FrameStamp_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::FrameStamp *, getFrameStamp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_FrameStamp_P1__getFrameStamp,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::FrameStamp *, getFrameStamp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_FrameStamp_P1__getFrameStamp,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setGlobalStateSet, IN, osg::StateSet *, sset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setGlobalStateSet__osg_StateSet_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::StateSet *, getGlobalStateSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_StateSet_P1__getGlobalStateSet,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::StateSet *, getGlobalStateSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_StateSet_P1__getGlobalStateSet,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setClearColor, IN, const osg::Vec4 &, clearColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setClearColor__C5_osg_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getClearColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec4_R1__getClearColor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setLODScale, IN, float, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLODScale__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getLODScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getLODScale,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, setFusionDistance, IN, osgUtil::SceneView::FusionDistanceMode, mode, , IN, float, value, 1.0f,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFusionDistance__osgUtil_SceneView_FusionDistanceMode__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRealizeSceneViewOptions, IN, unsigned int, options,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRealizeSceneViewOptions__unsigned_int,
|
||||
"Set the options to set up SceneView with, see osgUtil::SceneView::Options for available options. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getRealizeSceneViewOptions,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getRealizeSceneViewOptions,
|
||||
"Get the options to set up SceneView with. ",
|
||||
"");
|
||||
I_Method1(void, setEnableProcessorAffinityHint, IN, bool, enableProccessAffinityHint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEnableProcessorAffinityHint__bool,
|
||||
"Set whether processor affinity should be enable where supported by hardware. ",
|
||||
"");
|
||||
I_Method0(bool, getEnableProcessorAffinityHint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getEnableProcessorAffinityHint,
|
||||
"Get whether processor affinity should be enable where supported by hardware. ",
|
||||
"");
|
||||
I_Method1(void, setRealizeCallback, IN, osgProducer::OsgCameraGroup::RealizeCallback *, cb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRealizeCallback__RealizeCallback_P1,
|
||||
"Set the realize callback to use when once the render surfaces are realized. ",
|
||||
"");
|
||||
I_Method0(osgProducer::OsgCameraGroup::RealizeCallback *, getRealizeCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__RealizeCallback_P1__getRealizeCallback,
|
||||
"Get the realize callback. ",
|
||||
"");
|
||||
I_Method0(const osgProducer::OsgCameraGroup::RealizeCallback *, getRealizeCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_RealizeCallback_P1__getRealizeCallback,
|
||||
"Get the const realize callback. ",
|
||||
"");
|
||||
I_Method0(void, advance,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__advance,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, realize, IN, osgProducer::OsgCameraGroup::ThreadingModel, thread_model,
|
||||
Properties::VIRTUAL,
|
||||
__bool__realize__ThreadingModel,
|
||||
"Set the threading model and then call realize(). ",
|
||||
"");
|
||||
I_Method0(bool, realize,
|
||||
Properties::VIRTUAL,
|
||||
__bool__realize,
|
||||
"Realize the render surfaces (OpenGL graphics) and various threads, and call any realize callbacks. ",
|
||||
"");
|
||||
I_Method1(void, setView, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setView__C5_osg_Matrixd_R1,
|
||||
"Set the model view matrix of the camera group, by individually set all the camera groups's camera. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getViewMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Matrixd__getViewMatrix,
|
||||
"Get the model view martrix of the camera group, taking its value for camera 0. ",
|
||||
"");
|
||||
I_Method0(void, sync,
|
||||
Properties::VIRTUAL,
|
||||
__void__sync,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, frame,
|
||||
Properties::VIRTUAL,
|
||||
__void__frame,
|
||||
"Dispatch the cull and draw for each of the Camera's for this frame. ",
|
||||
"");
|
||||
I_Method0(void, cleanup_frame,
|
||||
Properties::VIRTUAL,
|
||||
__void__cleanup_frame,
|
||||
"Dispatch a clean up frame that should be called before closing a OsgCameraGroup, i.e. ",
|
||||
"on exit from an app. The clean up frame first release all GL objects associated with all the graphics context associated with the camera group, then runs a special frame that does the actual OpenGL deletion of GL objects for each graphics context. ");
|
||||
I_SimpleProperty(osg::ApplicationUsage *, ApplicationUsage,
|
||||
__osg_ApplicationUsage_P1__getApplicationUsage,
|
||||
__void__setApplicationUsage__osg_ApplicationUsage_P1);
|
||||
I_SimpleProperty(const osg::Vec4 &, ClearColor,
|
||||
__C5_osg_Vec4_R1__getClearColor,
|
||||
__void__setClearColor__C5_osg_Vec4_R1);
|
||||
I_SimpleProperty(const osg::CullSettings &, CullSettings,
|
||||
__C5_osg_CullSettings_R1__getCullSettings,
|
||||
__void__setCullSettings__C5_osg_CullSettings_R1);
|
||||
I_SimpleProperty(osg::DisplaySettings *, DisplaySettings,
|
||||
__osg_DisplaySettings_P1__getDisplaySettings,
|
||||
__void__setDisplaySettings__osg_DisplaySettings_P1);
|
||||
I_SimpleProperty(bool, EnableProcessorAffinityHint,
|
||||
__bool__getEnableProcessorAffinityHint,
|
||||
__void__setEnableProcessorAffinityHint__bool);
|
||||
I_SimpleProperty(osg::FrameStamp *, FrameStamp,
|
||||
__osg_FrameStamp_P1__getFrameStamp,
|
||||
__void__setFrameStamp__osg_FrameStamp_P1);
|
||||
I_SimpleProperty(osg::StateSet *, GlobalStateSet,
|
||||
__osg_StateSet_P1__getGlobalStateSet,
|
||||
__void__setGlobalStateSet__osg_StateSet_P1);
|
||||
I_SimpleProperty(osgProducer::OsgCameraGroup::GraphicsContextList &, GraphicsContextList,
|
||||
__GraphicsContextList_R1__getGraphicsContextList,
|
||||
__void__setGraphicsContextList__GraphicsContextList_R1);
|
||||
I_SimpleProperty(float, LODScale,
|
||||
__float__getLODScale,
|
||||
__void__setLODScale__float);
|
||||
I_SimpleProperty(osgProducer::OsgCameraGroup::RealizeCallback *, RealizeCallback,
|
||||
__RealizeCallback_P1__getRealizeCallback,
|
||||
__void__setRealizeCallback__RealizeCallback_P1);
|
||||
I_SimpleProperty(unsigned int, RealizeSceneViewOptions,
|
||||
__unsigned_int__getRealizeSceneViewOptions,
|
||||
__void__setRealizeSceneViewOptions__unsigned_int);
|
||||
I_SimpleProperty(osg::Node *, SceneData,
|
||||
__osg_Node_P1__getSceneData,
|
||||
__void__setSceneData__osg_Node_P1);
|
||||
I_SimpleProperty(osg::Group *, SceneDecorator,
|
||||
__osg_Group_P1__getSceneDecorator,
|
||||
__void__setSceneDecorator__osg_Group_P1);
|
||||
I_SimpleProperty(osgProducer::OsgCameraGroup::SceneHandlerList &, SceneHandlerList,
|
||||
__SceneHandlerList_R1__getSceneHandlerList,
|
||||
0);
|
||||
I_SimpleProperty(osg::Node *, TopMostSceneData,
|
||||
__osg_Node_P1__getTopMostSceneData,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Matrixd &, View,
|
||||
0,
|
||||
__void__setView__C5_osg_Matrixd_R1);
|
||||
I_SimpleProperty(osg::Matrixd, ViewMatrix,
|
||||
__osg_Matrixd__getViewMatrix,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgProducer::OsgCameraGroup::RealizeCallback)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____RealizeCallback,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgProducer::GraphicsContextImplementation >)
|
||||
I_Constructor0(____ref_ptr,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osgProducer::GraphicsContextImplementation *, ptr,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__T_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ref_ptr< osgProducer::GraphicsContextImplementation > &, rp,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__C5_ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgProducer::GraphicsContextImplementation *, get,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__get,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgProducer::GraphicsContextImplementation *, release,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__release,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osgProducer::GraphicsContextImplementation > &, rp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__swap__ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgProducer::GraphicsContextImplementation *, ,
|
||||
__T_P1__get,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< Producer::ref_ptr< osgProducer::OsgSceneHandler > >);
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgProducer::GraphicsContextImplementation > >);
|
||||
|
||||
@@ -1,199 +0,0 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/DisplaySettings>
|
||||
#include <osgProducer/OsgSceneHandler>
|
||||
#include <osgUtil/SceneView>
|
||||
#include <osgUtil/Statistics>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgProducer::OsgSceneHandler)
|
||||
I_ConstructorWithDefaults1(IN, osg::DisplaySettings *, ds, NULL,
|
||||
Properties::NON_EXPLICIT,
|
||||
____OsgSceneHandler__osg_DisplaySettings_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSceneView, IN, osgUtil::SceneView *, sceneView,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSceneView__osgUtil_SceneView_P1,
|
||||
"set the scene view to which will manage rendering of the OSG scene. ",
|
||||
"");
|
||||
I_Method0(osgUtil::SceneView *, getSceneView,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgUtil_SceneView_P1__getSceneView,
|
||||
"get the scene view. ",
|
||||
"");
|
||||
I_Method0(const osgUtil::SceneView *, getSceneView,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgUtil_SceneView_P1__getSceneView,
|
||||
"get the const scene view. ",
|
||||
"");
|
||||
I_Method0(void, init,
|
||||
Properties::VIRTUAL,
|
||||
__void__init,
|
||||
"override the init method to force it be run one at a time. ",
|
||||
"");
|
||||
I_Method1(void, clear, IN, Producer::Camera &, camera,
|
||||
Properties::VIRTUAL,
|
||||
__void__clear__Producer_Camera_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, clearImplementation, IN, Producer::Camera &, camera,
|
||||
Properties::VIRTUAL,
|
||||
__void__clearImplementation__Producer_Camera_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setClearCallback, IN, osgProducer::OsgSceneHandler::Callback *, callback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setClearCallback__Callback_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgProducer::OsgSceneHandler::Callback *, getClearCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Callback_P1__getClearCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgProducer::OsgSceneHandler::Callback *, getClearCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Callback_P1__getClearCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, cull, IN, Producer::Camera &, camera,
|
||||
Properties::VIRTUAL,
|
||||
__void__cull__Producer_Camera_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, cullImplementation, IN, Producer::Camera &, camera,
|
||||
Properties::VIRTUAL,
|
||||
__void__cullImplementation__Producer_Camera_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCullCallback, IN, osgProducer::OsgSceneHandler::Callback *, callback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCullCallback__Callback_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgProducer::OsgSceneHandler::Callback *, getCullCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Callback_P1__getCullCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgProducer::OsgSceneHandler::Callback *, getCullCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Callback_P1__getCullCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, draw, IN, Producer::Camera &, camera,
|
||||
Properties::VIRTUAL,
|
||||
__void__draw__Producer_Camera_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, drawImplementation, IN, Producer::Camera &, camera,
|
||||
Properties::VIRTUAL,
|
||||
__void__drawImplementation__Producer_Camera_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDrawCallback, IN, osgProducer::OsgSceneHandler::Callback *, callback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDrawCallback__Callback_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgProducer::OsgSceneHandler::Callback *, getDrawCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Callback_P1__getDrawCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgProducer::OsgSceneHandler::Callback *, getDrawCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Callback_P1__getDrawCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCollectStats, IN, bool, collectStats,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCollectStats__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCollectStats,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getCollectStats,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, getStats, IN, osgUtil::Statistics &, primStats,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getStats__osgUtil_Statistics_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setContextID, IN, int, id,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setContextID__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFlushOfAllDeletedGLObjectsOnNextFrame, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFlushOfAllDeletedGLObjectsOnNextFrame__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getFlushOfAllDeletedGLObjectsOnNextFrame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getFlushOfAllDeletedGLObjectsOnNextFrame,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCleanUpOnNextFrame, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCleanUpOnNextFrame__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCleanUpOnNextFrame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getCleanUpOnNextFrame,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(bool, CleanUpOnNextFrame,
|
||||
__bool__getCleanUpOnNextFrame,
|
||||
__void__setCleanUpOnNextFrame__bool);
|
||||
I_SimpleProperty(osgProducer::OsgSceneHandler::Callback *, ClearCallback,
|
||||
__Callback_P1__getClearCallback,
|
||||
__void__setClearCallback__Callback_P1);
|
||||
I_SimpleProperty(bool, CollectStats,
|
||||
__bool__getCollectStats,
|
||||
__void__setCollectStats__bool);
|
||||
I_SimpleProperty(int, ContextID,
|
||||
0,
|
||||
__void__setContextID__int);
|
||||
I_SimpleProperty(osgProducer::OsgSceneHandler::Callback *, CullCallback,
|
||||
__Callback_P1__getCullCallback,
|
||||
__void__setCullCallback__Callback_P1);
|
||||
I_SimpleProperty(osgProducer::OsgSceneHandler::Callback *, DrawCallback,
|
||||
__Callback_P1__getDrawCallback,
|
||||
__void__setDrawCallback__Callback_P1);
|
||||
I_SimpleProperty(bool, FlushOfAllDeletedGLObjectsOnNextFrame,
|
||||
__bool__getFlushOfAllDeletedGLObjectsOnNextFrame,
|
||||
__void__setFlushOfAllDeletedGLObjectsOnNextFrame__bool);
|
||||
I_SimpleProperty(osgUtil::SceneView *, SceneView,
|
||||
__osgUtil_SceneView_P1__getSceneView,
|
||||
__void__setSceneView__osgUtil_SceneView_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgProducer::OsgSceneHandler::Callback)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____Callback,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
@@ -1,526 +0,0 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/AnimationPath>
|
||||
#include <osg/ApplicationUsage>
|
||||
#include <osg/ArgumentParser>
|
||||
#include <osg/Node>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Quat>
|
||||
#include <osg/Vec3>
|
||||
#include <osgGA/EventQueue>
|
||||
#include <osgGA/EventVisitor>
|
||||
#include <osgGA/GUIEventHandler>
|
||||
#include <osgGA/KeySwitchMatrixManipulator>
|
||||
#include <osgGA/MatrixManipulator>
|
||||
#include <osgProducer/KeyboardMouseCallback>
|
||||
#include <osgProducer/OsgCameraGroup>
|
||||
#include <osgProducer/Viewer>
|
||||
#include <osgUtil/IntersectVisitor>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osgGA::GUIEventHandler > >, osgProducer::Viewer::EventHandlerList);
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgProducer::Viewer::ViewerOptions)
|
||||
I_EnumLabel(osgProducer::Viewer::NO_EVENT_HANDLERS);
|
||||
I_EnumLabel(osgProducer::Viewer::TRACKBALL_MANIPULATOR);
|
||||
I_EnumLabel(osgProducer::Viewer::DRIVE_MANIPULATOR);
|
||||
I_EnumLabel(osgProducer::Viewer::FLIGHT_MANIPULATOR);
|
||||
I_EnumLabel(osgProducer::Viewer::TERRAIN_MANIPULATOR);
|
||||
I_EnumLabel(osgProducer::Viewer::UFO_MANIPULATOR);
|
||||
I_EnumLabel(osgProducer::Viewer::STATE_MANIPULATOR);
|
||||
I_EnumLabel(osgProducer::Viewer::HEAD_LIGHT_SOURCE);
|
||||
I_EnumLabel(osgProducer::Viewer::SKY_LIGHT_SOURCE);
|
||||
I_EnumLabel(osgProducer::Viewer::STATS_MANIPULATOR);
|
||||
I_EnumLabel(osgProducer::Viewer::VIEWER_MANIPULATOR);
|
||||
I_EnumLabel(osgProducer::Viewer::ESCAPE_SETS_DONE);
|
||||
I_EnumLabel(osgProducer::Viewer::STANDARD_SETTINGS);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgProducer::Viewer)
|
||||
I_BaseType(osgProducer::OsgCameraGroup);
|
||||
I_BaseType(osgGA::GUIActionAdapter);
|
||||
I_Constructor0(____Viewer,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, Producer::CameraConfig *, cfg,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Viewer__Producer_CameraConfig_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const std::string &, configFile,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Viewer__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::ArgumentParser &, arguments,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Viewer__osg_ArgumentParser_R1,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, setUpViewer, IN, unsigned int, options, osgProducer::Viewer::STANDARD_SETTINGS,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUpViewer__unsigned_int,
|
||||
"Set up the viewer, allowing to control some aspects of its behavior. ",
|
||||
" param options One or more of the options defined by the ViewerOptions enumeration, combined using the bitwise OR operator (``|''). ");
|
||||
I_Method1(void, setDoneAtElapsedTime, IN, double, elapsedTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDoneAtElapsedTime__double,
|
||||
"Set the viewer so it sets done to true once the refrence time equals or exceeds specified elapsed time. ",
|
||||
"Automatically does a setDoneAtElapsedTimeEnabled(true). ");
|
||||
I_Method0(double, getDoneAtElapsedTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getDoneAtElapsedTime,
|
||||
"Get the elapsed time that will cause done to be set to be true. ",
|
||||
"");
|
||||
I_Method1(void, setDoneAtElapsedTimeEnabled, IN, bool, enabled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDoneAtElapsedTimeEnabled__bool,
|
||||
"Set whether to use a elapsed time to limit the run of the viewer. ",
|
||||
"");
|
||||
I_Method0(bool, getDoneAtElapsedTimeEnabled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getDoneAtElapsedTimeEnabled,
|
||||
"Get whether to use a elapsed time to limit the run of the viewer. ",
|
||||
"");
|
||||
I_Method1(void, setDoneAtFrameNumber, IN, unsigned int, frameNumber,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDoneAtFrameNumber__unsigned_int,
|
||||
"Set the viewer so it sets done to true once the frame number equals or exceeds specified frame number. ",
|
||||
"Automatically does a setDoneAtFrameNumberEnabled(true). ");
|
||||
I_Method0(unsigned int, getDoneAtFrameNumber,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getDoneAtFrameNumber,
|
||||
"Get the frame number that will cause done to be set to be true. ",
|
||||
"");
|
||||
I_Method1(void, setDoneAtFrameNumberEnabled, IN, bool, enabled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDoneAtFrameNumberEnabled__bool,
|
||||
"Set whether to use a frame number to limit the run of the viewer. ",
|
||||
"");
|
||||
I_Method0(bool, getDoneAtFrameNumberEnabled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getDoneAtFrameNumberEnabled,
|
||||
"Get whether to use a frame number to limit the run of the viewer. ",
|
||||
"");
|
||||
I_Method1(void, setDone, IN, bool, done,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDone__bool,
|
||||
"Set the done flag signalling that the viewer exit. ",
|
||||
"");
|
||||
I_Method0(bool, getDone,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getDone,
|
||||
"Get the done flag which signals that the viewer exit. ",
|
||||
"");
|
||||
I_Method0(bool, done,
|
||||
Properties::VIRTUAL,
|
||||
__bool__done,
|
||||
"Return true if the application is done and should exit. ",
|
||||
"");
|
||||
I_Method1(void, setWriteImageWhenDone, IN, bool, enabled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWriteImageWhenDone__bool,
|
||||
"Set the viewer to take an image snapshot on the last frame() when done is enabled. ",
|
||||
"");
|
||||
I_Method0(bool, getWriteImageWhenDone,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getWriteImageWhenDone,
|
||||
"Set the viewer to take an image snapshot on the last frame() when done is enabled. ",
|
||||
"");
|
||||
I_Method1(void, setWriteImageFileName, IN, const std::string &, filename,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWriteImageFileName__C5_std_string_R1,
|
||||
"Set the filename to write to when the viewer takes an image snapshot on the last frame() when done is enabled. ",
|
||||
"");
|
||||
I_Method0(const std::string &, getWriteImageFileName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getWriteImageFileName,
|
||||
"Get the filename to write to when the viewer takes an image snapshot on the last frame() when done is enabled. ",
|
||||
"");
|
||||
I_Method1(void, setViewByMatrix, IN, const Producer::Matrix &, pm,
|
||||
Properties::VIRTUAL,
|
||||
__void__setViewByMatrix__C5_Producer_Matrix_R1,
|
||||
"Override the Producer::CameraGroup::setViewByMatrix to catch all changes to view. ",
|
||||
"");
|
||||
I_Method1(bool, realize, IN, osgProducer::OsgCameraGroup::ThreadingModel, thread_model,
|
||||
Properties::VIRTUAL,
|
||||
__bool__realize__ThreadingModel,
|
||||
"Set the threading model and then call realize(). ",
|
||||
"");
|
||||
I_Method0(bool, realize,
|
||||
Properties::VIRTUAL,
|
||||
__bool__realize,
|
||||
"Realize the render surfaces (OpenGL graphics) and various threads, and call any realize callbacks. ",
|
||||
"");
|
||||
I_Method0(void, update,
|
||||
Properties::VIRTUAL,
|
||||
__void__update,
|
||||
"Updated the scene. ",
|
||||
"Handle any queued up events, do an update traversal and set the CameraGroup's setViewByMatrix if any camera manipulators are active. ");
|
||||
I_Method1(void, setUpdateVisitor, IN, osg::NodeVisitor *, nv,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUpdateVisitor__osg_NodeVisitor_P1,
|
||||
"Set the update visitor which does the update traversal of the scene graph. ",
|
||||
"Automatically called by the update() method. ");
|
||||
I_Method0(osg::NodeVisitor *, getUpdateVisitor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_NodeVisitor_P1__getUpdateVisitor,
|
||||
"Get the update visitor. ",
|
||||
"");
|
||||
I_Method0(const osg::NodeVisitor *, getUpdateVisitor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_NodeVisitor_P1__getUpdateVisitor,
|
||||
"Get the const update visitor. ",
|
||||
"");
|
||||
I_Method1(void, setEventVisitor, IN, osgGA::EventVisitor *, nv,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEventVisitor__osgGA_EventVisitor_P1,
|
||||
"Set the update visitor which does the event traversal of the scene graph. ",
|
||||
"Automatically called by the update() method. ");
|
||||
I_Method0(osgGA::EventVisitor *, getEventVisitor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgGA_EventVisitor_P1__getEventVisitor,
|
||||
"Get the update visitor. ",
|
||||
"");
|
||||
I_Method0(const osgGA::EventVisitor *, getEventVisitor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgGA_EventVisitor_P1__getEventVisitor,
|
||||
"Get the const update visitor. ",
|
||||
"");
|
||||
I_Method0(void, computeActiveCoordinateSystemNodePath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__computeActiveCoordinateSystemNodePath,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCoordinateSystemNodePath, IN, const osg::NodePath &, nodePath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCoordinateSystemNodePath__C5_osg_NodePath_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::NodePath, getCoordinateSystemNodePath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_NodePath__getCoordinateSystemNodePath,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, frame,
|
||||
Properties::VIRTUAL,
|
||||
__void__frame,
|
||||
"Dispatch the cull and draw for each of the Camera's for this frame. ",
|
||||
"");
|
||||
I_Method0(void, requestRedraw,
|
||||
Properties::VIRTUAL,
|
||||
__void__requestRedraw,
|
||||
"requestRedraw() requests a single redraw. ",
|
||||
"");
|
||||
I_Method1(void, requestContinuousUpdate, IN, bool, x,
|
||||
Properties::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::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_Method5(bool, computePixelCoords, IN, float, x, IN, float, y, IN, unsigned int, cameraNum, IN, float &, pixel_x, IN, float &, pixel_y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__computePixelCoords__float__float__unsigned_int__float_R1__float_R1,
|
||||
"Compute, from normalized mouse coords, for sepecified Camera, the pixel coords relative to that Camera's RenderSurface. ",
|
||||
"");
|
||||
I_Method5(bool, computeNearFarPoints, IN, float, x, IN, float, y, IN, unsigned int, cameraNum, IN, osg::Vec3 &, near, IN, osg::Vec3 &, far,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__computeNearFarPoints__float__float__unsigned_int__osg_Vec3_R1__osg_Vec3_R1,
|
||||
"Compute, from normalized mouse coords, for sepecified Camera, the near and far points in worlds coords. ",
|
||||
"");
|
||||
I_MethodWithDefaults6(bool, computeIntersections, IN, float, x, , IN, float, y, , IN, unsigned int, cameraNum, , IN, osg::Node *, node, , IN, osgUtil::IntersectVisitor::HitList &, hits, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__computeIntersections__float__float__unsigned_int__osg_Node_P1__osgUtil_IntersectVisitor_HitList_R1__osg_Node_NodeMask,
|
||||
"Compute, from normalized mouse coords, for all Cameras, intersections with the specified subgraph. ",
|
||||
"");
|
||||
I_MethodWithDefaults5(bool, computeIntersections, IN, float, x, , IN, float, y, , IN, unsigned int, cameraNum, , IN, osgUtil::IntersectVisitor::HitList &, hits, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__computeIntersections__float__float__unsigned_int__osgUtil_IntersectVisitor_HitList_R1__osg_Node_NodeMask,
|
||||
"Compute, from normalized mouse coords, for sepecified Camera, intersections with the scene. ",
|
||||
"");
|
||||
I_MethodWithDefaults5(bool, computeIntersections, IN, float, x, , IN, float, y, , IN, osg::Node *, node, , IN, osgUtil::IntersectVisitor::HitList &, hits, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__computeIntersections__float__float__osg_Node_P1__osgUtil_IntersectVisitor_HitList_R1__osg_Node_NodeMask,
|
||||
"Compute, from normalized mouse coords, for all Cameras, intersections with specified subgraph. ",
|
||||
"");
|
||||
I_MethodWithDefaults4(bool, computeIntersections, IN, float, x, , IN, float, y, , IN, osgUtil::IntersectVisitor::HitList &, hits, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__computeIntersections__float__float__osgUtil_IntersectVisitor_HitList_R1__osg_Node_NodeMask,
|
||||
"Compute, from normalized mouse coords, for all Cameras, intersections with the scene. ",
|
||||
"");
|
||||
I_Method1(void, setEventQueue, IN, osgGA::EventQueue *, eventQueue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEventQueue__osgGA_EventQueue_P1,
|
||||
"Set the EventQueue - a thread safe queue for registering events. ",
|
||||
"");
|
||||
I_Method0(osgGA::EventQueue *, getEventQueue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgGA_EventQueue_P1__getEventQueue,
|
||||
"Get the EventQueue. ",
|
||||
"");
|
||||
I_Method1(void, setKeyboardMouse, IN, Producer::KeyboardMouse *, kbm,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setKeyboardMouse__Producer_KeyboardMouse_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Producer::KeyboardMouse *, getKeyboardMouse,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Producer_KeyboardMouse_P1__getKeyboardMouse,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const Producer::KeyboardMouse *, getKeyboardMouse,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Producer_KeyboardMouse_P1__getKeyboardMouse,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setKeyboardMouseCallback, IN, osgProducer::KeyboardMouseCallback *, kbmcb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setKeyboardMouseCallback__osgProducer_KeyboardMouseCallback_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgProducer::KeyboardMouseCallback *, getKeyboardMouseCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgProducer_KeyboardMouseCallback_P1__getKeyboardMouseCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgProducer::KeyboardMouseCallback *, getKeyboardMouseCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgProducer_KeyboardMouseCallback_P1__getKeyboardMouseCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgProducer::Viewer::EventHandlerList &, getEventHandlerList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__EventHandlerList_R1__getEventHandlerList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgProducer::Viewer::EventHandlerList &, getEventHandlerList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_EventHandlerList_R1__getEventHandlerList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::KeySwitchMatrixManipulator *, getKeySwitchMatrixManipulator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgGA_KeySwitchMatrixManipulator_P1__getKeySwitchMatrixManipulator,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgGA::KeySwitchMatrixManipulator *, getKeySwitchMatrixManipulator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgGA_KeySwitchMatrixManipulator_P1__getKeySwitchMatrixManipulator,
|
||||
"",
|
||||
"");
|
||||
I_Method1(unsigned int, addCameraManipulator, IN, osgGA::MatrixManipulator *, cm,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__addCameraManipulator__osgGA_MatrixManipulator_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, selectCameraManipulator, IN, unsigned int, no,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__selectCameraManipulator__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getCameraManipulatorNameList, IN, std::list< std::string > &, nameList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getCameraManipulatorNameList__std_listT1_std_string__R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, selectCameraManipulatorByName, IN, const std::string &, name,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__selectCameraManipulatorByName__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osgGA::MatrixManipulator *, getCameraManipulatorByName, IN, const std::string &, name,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgGA_MatrixManipulator_P1__getCameraManipulatorByName__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRecordingAnimationPath, IN, bool, on,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRecordingAnimationPath__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getRecordingAnimationPath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getRecordingAnimationPath,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAnimationPath, IN, osg::AnimationPath *, path,
|
||||
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(const double *, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_double_P1__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getSpeed,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getSpeed,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat, getOrientation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Quat__getOrientation,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this viewer. ",
|
||||
"");
|
||||
I_Method0(void, updatedSceneData,
|
||||
Properties::VIRTUAL,
|
||||
__void__updatedSceneData,
|
||||
"Update internal structures w.r.t updated scene data. ",
|
||||
"");
|
||||
I_Method0(void, cleanup_frame,
|
||||
Properties::VIRTUAL,
|
||||
__void__cleanup_frame,
|
||||
"Dispatch a clean up frame that should be called before closing a OsgCameraGroup, i.e. ",
|
||||
"on exit from an app. The clean up frame first release all GL objects associated with all the graphics context associated with the camera group, then runs a special frame that does the actual OpenGL deletion of GL objects for each graphics context. ");
|
||||
I_StaticMethod0(const char *, getDefaultImageFileName,
|
||||
__C5_char_P1__getDefaultImageFileName_S,
|
||||
"Get the default filename for writing an image snapshot. ",
|
||||
"");
|
||||
I_SimpleProperty(osg::AnimationPath *, AnimationPath,
|
||||
__osg_AnimationPath_P1__getAnimationPath,
|
||||
__void__setAnimationPath__osg_AnimationPath_P1);
|
||||
I_SimpleProperty(osg::NodePath, CoordinateSystemNodePath,
|
||||
__osg_NodePath__getCoordinateSystemNodePath,
|
||||
__void__setCoordinateSystemNodePath__C5_osg_NodePath_R1);
|
||||
I_SimpleProperty(bool, Done,
|
||||
__bool__getDone,
|
||||
__void__setDone__bool);
|
||||
I_SimpleProperty(double, DoneAtElapsedTime,
|
||||
__double__getDoneAtElapsedTime,
|
||||
__void__setDoneAtElapsedTime__double);
|
||||
I_SimpleProperty(bool, DoneAtElapsedTimeEnabled,
|
||||
__bool__getDoneAtElapsedTimeEnabled,
|
||||
__void__setDoneAtElapsedTimeEnabled__bool);
|
||||
I_SimpleProperty(unsigned int, DoneAtFrameNumber,
|
||||
__unsigned_int__getDoneAtFrameNumber,
|
||||
__void__setDoneAtFrameNumber__unsigned_int);
|
||||
I_SimpleProperty(bool, DoneAtFrameNumberEnabled,
|
||||
__bool__getDoneAtFrameNumberEnabled,
|
||||
__void__setDoneAtFrameNumberEnabled__bool);
|
||||
I_SimpleProperty(osgProducer::Viewer::EventHandlerList &, EventHandlerList,
|
||||
__EventHandlerList_R1__getEventHandlerList,
|
||||
0);
|
||||
I_SimpleProperty(osgGA::EventQueue *, EventQueue,
|
||||
__osgGA_EventQueue_P1__getEventQueue,
|
||||
__void__setEventQueue__osgGA_EventQueue_P1);
|
||||
I_SimpleProperty(osgGA::EventVisitor *, EventVisitor,
|
||||
__osgGA_EventVisitor_P1__getEventVisitor,
|
||||
__void__setEventVisitor__osgGA_EventVisitor_P1);
|
||||
I_SimpleProperty(osgGA::KeySwitchMatrixManipulator *, KeySwitchMatrixManipulator,
|
||||
__osgGA_KeySwitchMatrixManipulator_P1__getKeySwitchMatrixManipulator,
|
||||
0);
|
||||
I_SimpleProperty(Producer::KeyboardMouse *, KeyboardMouse,
|
||||
__Producer_KeyboardMouse_P1__getKeyboardMouse,
|
||||
__void__setKeyboardMouse__Producer_KeyboardMouse_P1);
|
||||
I_SimpleProperty(osgProducer::KeyboardMouseCallback *, KeyboardMouseCallback,
|
||||
__osgProducer_KeyboardMouseCallback_P1__getKeyboardMouseCallback,
|
||||
__void__setKeyboardMouseCallback__osgProducer_KeyboardMouseCallback_P1);
|
||||
I_SimpleProperty(osg::Quat, Orientation,
|
||||
__osg_Quat__getOrientation,
|
||||
0);
|
||||
I_SimpleProperty(const double *, Position,
|
||||
__C5_double_P1__getPosition,
|
||||
0);
|
||||
I_SimpleProperty(bool, RecordingAnimationPath,
|
||||
__bool__getRecordingAnimationPath,
|
||||
__void__setRecordingAnimationPath__bool);
|
||||
I_SimpleProperty(double, Speed,
|
||||
__double__getSpeed,
|
||||
0);
|
||||
I_SimpleProperty(unsigned int, UpViewer,
|
||||
0,
|
||||
__void__setUpViewer__unsigned_int);
|
||||
I_SimpleProperty(osg::NodeVisitor *, UpdateVisitor,
|
||||
__osg_NodeVisitor_P1__getUpdateVisitor,
|
||||
__void__setUpdateVisitor__osg_NodeVisitor_P1);
|
||||
I_SimpleProperty(const Producer::Matrix &, ViewByMatrix,
|
||||
0,
|
||||
__void__setViewByMatrix__C5_Producer_Matrix_R1);
|
||||
I_SimpleProperty(const std::string &, WriteImageFileName,
|
||||
__C5_std_string_R1__getWriteImageFileName,
|
||||
__void__setWriteImageFileName__C5_std_string_R1);
|
||||
I_SimpleProperty(bool, WriteImageWhenDone,
|
||||
__bool__getWriteImageWhenDone,
|
||||
__void__setWriteImageWhenDone__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgGA::GUIEventHandler >)
|
||||
I_Constructor0(____ref_ptr,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osgGA::GUIEventHandler *, ptr,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__T_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ref_ptr< osgGA::GUIEventHandler > &, rp,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__C5_ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::GUIEventHandler *, get,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__get,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::GUIEventHandler *, release,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__release,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osgGA::GUIEventHandler > &, rp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__swap__ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgGA::GUIEventHandler *, ,
|
||||
__T_P1__get,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osgGA::GUIEventHandler > >);
|
||||
|
||||
STD_LIST_REFLECTOR(std::list< std::string >);
|
||||
|
||||
@@ -1,131 +0,0 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/ApplicationUsage>
|
||||
#include <osg/State>
|
||||
#include <osgGA/GUIActionAdapter>
|
||||
#include <osgGA/GUIEventAdapter>
|
||||
#include <osgProducer/OsgCameraGroup>
|
||||
#include <osgProducer/ViewerEventHandler>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgProducer::ViewerEventHandler::FrameStatsMode)
|
||||
I_EnumLabel(osgProducer::ViewerEventHandler::NO_STATS);
|
||||
I_EnumLabel(osgProducer::ViewerEventHandler::FRAME_RATE);
|
||||
I_EnumLabel(osgProducer::ViewerEventHandler::CAMERA_STATS);
|
||||
I_EnumLabel(osgProducer::ViewerEventHandler::SCENE_STATS);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgProducer::ViewerEventHandler)
|
||||
I_BaseType(osgGA::GUIEventHandler);
|
||||
I_Constructor1(IN, osgProducer::OsgCameraGroup *, cg,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ViewerEventHandler__OsgCameraGroup_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"deprecated, 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_Method0(osgProducer::OsgCameraGroup *, getOsgCameraGroup,
|
||||
Properties::NON_VIRTUAL,
|
||||
__OsgCameraGroup_P1__getOsgCameraGroup,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgProducer::OsgCameraGroup *, getOsgCameraGroup,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_OsgCameraGroup_P1__getOsgCameraGroup,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWriteNodeFileName, IN, const std::string &, filename,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWriteNodeFileName__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getWriteNodeFileName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getWriteNodeFileName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDisplayHelp, IN, bool, displayHelp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDisplayHelp__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getDisplayHelp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getDisplayHelp,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFrameStatsMode, IN, osgProducer::ViewerEventHandler::FrameStatsMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFrameStatsMode__FrameStatsMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgProducer::ViewerEventHandler::FrameStatsMode, getFrameStatsMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__FrameStatsMode__getFrameStatsMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWriteImageOnNextFrame, IN, bool, writeImageOnNextFrame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWriteImageOnNextFrame__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWriteImageFileName, IN, const std::string &, filename,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWriteImageFileName__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getWriteImageFileName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getWriteImageFileName,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0,
|
||||
Properties::VIRTUAL,
|
||||
__void__releaseGLObjects__osg_State_P1,
|
||||
"release OpenGL objects in specified graphics context if State object is passed, otherwise release OpenGL objexts for all graphics context if State object pointer NULL. ",
|
||||
"");
|
||||
I_SimpleProperty(bool, DisplayHelp,
|
||||
__bool__getDisplayHelp,
|
||||
__void__setDisplayHelp__bool);
|
||||
I_SimpleProperty(osgProducer::ViewerEventHandler::FrameStatsMode, FrameStatsMode,
|
||||
__FrameStatsMode__getFrameStatsMode,
|
||||
__void__setFrameStatsMode__FrameStatsMode);
|
||||
I_SimpleProperty(osgProducer::OsgCameraGroup *, OsgCameraGroup,
|
||||
__OsgCameraGroup_P1__getOsgCameraGroup,
|
||||
0);
|
||||
I_SimpleProperty(const std::string &, WriteImageFileName,
|
||||
__C5_std_string_R1__getWriteImageFileName,
|
||||
__void__setWriteImageFileName__C5_std_string_R1);
|
||||
I_SimpleProperty(bool, WriteImageOnNextFrame,
|
||||
0,
|
||||
__void__setWriteImageOnNextFrame__bool);
|
||||
I_SimpleProperty(const std::string &, WriteNodeFileName,
|
||||
__C5_std_string_R1__getWriteNodeFileName,
|
||||
__void__setWriteNodeFileName__C5_std_string_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
@@ -173,3 +173,44 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgViewer::SimpleViewer)
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgGA::GUIEventHandler >)
|
||||
I_Constructor0(____ref_ptr,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osgGA::GUIEventHandler *, ptr,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__T_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ref_ptr< osgGA::GUIEventHandler > &, rp,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__C5_ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::GUIEventHandler *, get,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__get,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::GUIEventHandler *, release,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__release,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osgGA::GUIEventHandler > &, rp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__swap__ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgGA::GUIEventHandler *, ,
|
||||
__T_P1__get,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osgGA::GUIEventHandler > >);
|
||||
|
||||
|
||||
@@ -11,8 +11,10 @@
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/Camera>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/DisplaySettings>
|
||||
#include <osg/Node>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osgGA/EventQueue>
|
||||
#include <osgGA/GUIEventHandler>
|
||||
@@ -74,6 +76,35 @@ BEGIN_OBJECT_REFLECTOR(osgViewer::View)
|
||||
I_Constructor0(____View,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgViewer::View &, view, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____View__C5_osgViewer_View_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
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,
|
||||
"",
|
||||
"");
|
||||
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,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method0(osgViewer::Scene *, getScene,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Scene_P1__getScene,
|
||||
|
||||
Reference in New Issue
Block a user