2006-11-29 00:49:31 +08:00
|
|
|
// ***************************************************************************
|
|
|
|
//
|
|
|
|
// Generated automatically by genwrapper.
|
|
|
|
// Please DO NOT EDIT this file!
|
|
|
|
//
|
|
|
|
// ***************************************************************************
|
|
|
|
|
|
|
|
#include <osgIntrospection/ReflectionMacros>
|
|
|
|
#include <osgIntrospection/TypedMethodInfo>
|
|
|
|
#include <osgIntrospection/StaticMethodInfo>
|
|
|
|
#include <osgIntrospection/Attributes>
|
|
|
|
|
2006-12-05 21:06:02 +08:00
|
|
|
#include <osg/CoordinateSystemNode>
|
2006-11-29 00:49:31 +08:00
|
|
|
#include <osg/Drawable>
|
|
|
|
#include <osg/Node>
|
|
|
|
#include <osg/Plane>
|
|
|
|
#include <osg/Polytope>
|
|
|
|
#include <osgUtil/IntersectionVisitor>
|
|
|
|
#include <osgUtil/PlaneIntersector>
|
|
|
|
|
|
|
|
// Must undefine IN and OUT macros defined in Windows headers
|
|
|
|
#ifdef IN
|
|
|
|
#undef IN
|
|
|
|
#endif
|
|
|
|
#ifdef OUT
|
|
|
|
#undef OUT
|
|
|
|
#endif
|
|
|
|
|
2006-12-03 19:44:12 +08:00
|
|
|
TYPE_NAME_ALIAS(std::vector< osgUtil::PlaneIntersector::Intersection >, osgUtil::PlaneIntersector::Intersections);
|
2006-11-29 00:49:31 +08:00
|
|
|
|
2007-02-14 19:24:42 +08:00
|
|
|
BEGIN_OBJECT_REFLECTOR(osgUtil::PlaneIntersector)
|
2006-11-29 00:49:31 +08:00
|
|
|
I_BaseType(osgUtil::Intersector);
|
|
|
|
I_ConstructorWithDefaults2(IN, const osg::Plane &, plane, , IN, const osg::Polytope &, boundingPolytope, osg::Polytope(),
|
|
|
|
____PlaneIntersector__C5_osg_Plane_R1__C5_osg_Polytope_R1,
|
|
|
|
"Construct a PolytopeIntersector using speified polytope in MODEL coordinates. ",
|
|
|
|
"");
|
|
|
|
I_ConstructorWithDefaults3(IN, osgUtil::Intersector::CoordinateFrame, cf, , IN, const osg::Plane &, plane, , IN, const osg::Polytope &, boundingPolytope, osg::Polytope(),
|
|
|
|
____PlaneIntersector__CoordinateFrame__C5_osg_Plane_R1__C5_osg_Polytope_R1,
|
|
|
|
"Construct a PolytopeIntersector using speified polytope in specified coordinate frame. ",
|
|
|
|
"");
|
|
|
|
I_Method1(void, insertIntersection, IN, const osgUtil::PlaneIntersector::Intersection &, intersection,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-11-29 00:49:31 +08:00
|
|
|
__void__insertIntersection__C5_Intersection_R1,
|
|
|
|
"",
|
|
|
|
"");
|
|
|
|
I_Method0(osgUtil::PlaneIntersector::Intersections &, getIntersections,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-11-29 00:49:31 +08:00
|
|
|
__Intersections_R1__getIntersections,
|
|
|
|
"",
|
|
|
|
"");
|
2006-12-05 21:06:02 +08:00
|
|
|
I_Method1(void, setRecordHeightsAsAttributes, IN, bool, flag,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-12-05 21:06:02 +08:00
|
|
|
__void__setRecordHeightsAsAttributes__bool,
|
|
|
|
"",
|
|
|
|
"");
|
|
|
|
I_Method0(bool, getRecordHeightsAsAttributes,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-12-05 21:06:02 +08:00
|
|
|
__bool__getRecordHeightsAsAttributes,
|
|
|
|
"",
|
|
|
|
"");
|
|
|
|
I_Method1(void, setEllipsoidModel, IN, osg::EllipsoidModel *, em,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-12-05 21:06:02 +08:00
|
|
|
__void__setEllipsoidModel__osg_EllipsoidModel_P1,
|
|
|
|
"",
|
|
|
|
"");
|
|
|
|
I_Method0(const osg::EllipsoidModel *, getEllipsoidModel,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-12-05 21:06:02 +08:00
|
|
|
__C5_osg_EllipsoidModel_P1__getEllipsoidModel,
|
|
|
|
"",
|
|
|
|
"");
|
2006-11-29 00:49:31 +08:00
|
|
|
I_Method1(osgUtil::Intersector *, clone, IN, osgUtil::IntersectionVisitor &, iv,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::VIRTUAL,
|
2006-11-29 00:49:31 +08:00
|
|
|
__Intersector_P1__clone__osgUtil_IntersectionVisitor_R1,
|
|
|
|
"",
|
|
|
|
"");
|
|
|
|
I_Method1(bool, enter, IN, const osg::Node &, node,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::VIRTUAL,
|
2006-11-29 00:49:31 +08:00
|
|
|
__bool__enter__C5_osg_Node_R1,
|
|
|
|
"",
|
|
|
|
"");
|
|
|
|
I_Method0(void, leave,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::VIRTUAL,
|
2006-11-29 00:49:31 +08:00
|
|
|
__void__leave,
|
|
|
|
"",
|
|
|
|
"");
|
|
|
|
I_Method2(void, intersect, IN, osgUtil::IntersectionVisitor &, iv, IN, osg::Drawable *, drawable,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::VIRTUAL,
|
2006-11-29 00:49:31 +08:00
|
|
|
__void__intersect__osgUtil_IntersectionVisitor_R1__osg_Drawable_P1,
|
|
|
|
"",
|
|
|
|
"");
|
|
|
|
I_Method0(void, reset,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::VIRTUAL,
|
2006-11-29 00:49:31 +08:00
|
|
|
__void__reset,
|
|
|
|
"",
|
|
|
|
"");
|
|
|
|
I_Method0(bool, containsIntersections,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::VIRTUAL,
|
2006-11-29 00:49:31 +08:00
|
|
|
__bool__containsIntersections,
|
|
|
|
"",
|
|
|
|
"");
|
2006-12-05 21:06:02 +08:00
|
|
|
I_SimpleProperty(osg::EllipsoidModel *, EllipsoidModel,
|
|
|
|
0,
|
|
|
|
__void__setEllipsoidModel__osg_EllipsoidModel_P1);
|
2006-11-29 00:49:31 +08:00
|
|
|
I_SimpleProperty(osgUtil::PlaneIntersector::Intersections &, Intersections,
|
|
|
|
__Intersections_R1__getIntersections,
|
|
|
|
0);
|
2006-12-05 21:06:02 +08:00
|
|
|
I_SimpleProperty(bool, RecordHeightsAsAttributes,
|
|
|
|
__bool__getRecordHeightsAsAttributes,
|
|
|
|
__void__setRecordHeightsAsAttributes__bool);
|
2006-11-29 00:49:31 +08:00
|
|
|
END_REFLECTOR
|
|
|
|
|
2006-11-29 22:33:17 +08:00
|
|
|
TYPE_NAME_ALIAS(std::vector< osg::Vec3d >, osgUtil::PlaneIntersector::Intersection::Polyline);
|
|
|
|
|
2006-12-05 21:06:02 +08:00
|
|
|
TYPE_NAME_ALIAS(std::vector< double >, osgUtil::PlaneIntersector::Intersection::Attributes);
|
|
|
|
|
2006-11-29 00:49:31 +08:00
|
|
|
BEGIN_VALUE_REFLECTOR(osgUtil::PlaneIntersector::Intersection)
|
|
|
|
I_Constructor0(____Intersection,
|
|
|
|
"",
|
|
|
|
"");
|
|
|
|
I_PublicMemberProperty(osg::NodePath, nodePath);
|
2006-11-29 22:33:17 +08:00
|
|
|
I_PublicMemberProperty(osg::ref_ptr< osg::RefMatrix >, matrix);
|
2006-11-29 00:49:31 +08:00
|
|
|
I_PublicMemberProperty(osg::ref_ptr< osg::Drawable >, drawable);
|
2006-11-29 22:33:17 +08:00
|
|
|
I_PublicMemberProperty(osgUtil::PlaneIntersector::Intersection::Polyline, polyline);
|
2006-12-05 21:06:02 +08:00
|
|
|
I_PublicMemberProperty(osgUtil::PlaneIntersector::Intersection::Attributes, attributes);
|
2006-11-29 00:49:31 +08:00
|
|
|
END_REFLECTOR
|
|
|
|
|
2006-12-03 19:44:12 +08:00
|
|
|
STD_VECTOR_REFLECTOR(std::vector< osgUtil::PlaneIntersector::Intersection >);
|
2006-11-29 00:49:31 +08:00
|
|
|
|