Various additions to better support view dependent overlay node, and updated wrappers
This commit is contained in:
@@ -178,6 +178,11 @@ BEGIN_VALUE_REFLECTOR(osg::Plane)
|
||||
__int__intersect__C5_std_vectorT1_Vec3__R1,
|
||||
"intersection test between plane and vertex list return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane. ",
|
||||
"");
|
||||
I_Method1(int, intersect, IN, const std::vector< osg::Vec3d > &, vertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__intersect__C5_std_vectorT1_Vec3d__R1,
|
||||
"intersection test between plane and vertex list return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane. ",
|
||||
"");
|
||||
I_Method1(int, intersect, IN, const osg::BoundingSphere &, bs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__intersect__C5_BoundingSphere_R1,
|
||||
@@ -203,3 +208,5 @@ BEGIN_VALUE_REFLECTOR(osg::Plane)
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::Vec3d >)
|
||||
|
||||
|
||||
@@ -57,6 +57,11 @@ BEGIN_VALUE_REFLECTOR(osg::Polytope)
|
||||
__void__setToUnitFrustum__bool__bool,
|
||||
"Create a Polytope which is a cube, centered at 0,0,0, with sides of 2 units. ",
|
||||
"");
|
||||
I_Method1(void, setToBoundingBox, IN, const osg::BoundingBox &, bb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setToBoundingBox__C5_BoundingBox_R1,
|
||||
"Create a Polytope which is a equivilant to BoundingBox. ",
|
||||
"");
|
||||
I_Method2(void, setAndTransformProvidingInverse, IN, const osg::Polytope &, pt, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAndTransformProvidingInverse__C5_Polytope_R1__C5_osg_Matrix_R1,
|
||||
@@ -207,6 +212,9 @@ BEGIN_VALUE_REFLECTOR(osg::Polytope)
|
||||
I_SimpleProperty(osg::Polytope::ClippingMask, ResultMask,
|
||||
__ClippingMask__getResultMask,
|
||||
__void__setResultMask__ClippingMask);
|
||||
I_SimpleProperty(const osg::BoundingBox &, ToBoundingBox,
|
||||
0,
|
||||
__void__setToBoundingBox__C5_BoundingBox_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::fast_back_stack< osg::Polytope::ClippingMask >)
|
||||
|
||||
Reference in New Issue
Block a user