OpenSceneGraph/src/osgWrappers/osgUtil/PlaneIntersector.cpp

98 lines
3.8 KiB
C++
Raw Normal View History

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>
#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
TYPE_NAME_ALIAS(std::set< osgUtil::PlaneIntersector::Intersection >, osgUtil::PlaneIntersector::Intersections);
BEGIN_OBJECT_REFLECTOR(osgUtil::PlaneIntersector)
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,
__void__insertIntersection__C5_Intersection_R1,
"",
"");
I_Method0(osgUtil::PlaneIntersector::Intersections &, getIntersections,
__Intersections_R1__getIntersections,
"",
"");
I_Method0(osgUtil::PlaneIntersector::Intersection, getFirstIntersection,
__Intersection__getFirstIntersection,
"",
"");
I_Method1(osgUtil::Intersector *, clone, IN, osgUtil::IntersectionVisitor &, iv,
__Intersector_P1__clone__osgUtil_IntersectionVisitor_R1,
"",
"");
I_Method1(bool, enter, IN, const osg::Node &, node,
__bool__enter__C5_osg_Node_R1,
"",
"");
I_Method0(void, leave,
__void__leave,
"",
"");
I_Method2(void, intersect, IN, osgUtil::IntersectionVisitor &, iv, IN, osg::Drawable *, drawable,
__void__intersect__osgUtil_IntersectionVisitor_R1__osg_Drawable_P1,
"",
"");
I_Method0(void, reset,
__void__reset,
"",
"");
I_Method0(bool, containsIntersections,
__bool__containsIntersections,
"",
"");
I_SimpleProperty(osgUtil::PlaneIntersector::Intersection, FirstIntersection,
__Intersection__getFirstIntersection,
0);
I_SimpleProperty(osgUtil::PlaneIntersector::Intersections &, Intersections,
__Intersections_R1__getIntersections,
0);
END_REFLECTOR
2006-11-29 22:33:17 +08:00
TYPE_NAME_ALIAS(std::vector< osg::Vec3d >, osgUtil::PlaneIntersector::Intersection::Polyline);
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-11-29 00:49:31 +08:00
END_REFLECTOR
STD_SET_REFLECTOR(std::set< osgUtil::PlaneIntersector::Intersection >);