Updated wrappers
This commit is contained in:
@@ -49,7 +49,7 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgUtil::CubeMapGenerator)
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__generateMap__bool,
|
||||
"Generate the six cube images. ",
|
||||
"If use_osg_system is true, then the OSG's coordinate system is used instead of the default OpenGL one.");
|
||||
"If use_osg_system is true, then the OSG's coordinate system is used instead of the default OpenGL one. ");
|
||||
I_ProtectedMethod4(void, set_pixel, IN, int, index, IN, int, c, IN, int, r, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
@@ -61,6 +61,6 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgUtil::CubeMapGenerator)
|
||||
Properties::CONST,
|
||||
__osg_Vec4__compute_color__C5_osg_Vec3_R1,
|
||||
"Override this method to define how colors are computed. ",
|
||||
"The parameter R is the reflection vector, pointing from the center of the cube. The return value should be the RGBA color associated with that reflection ray.");
|
||||
"The parameter R is the reflection vector, pointing from the center of the cube. The return value should be the RGBA color associated with that reflection ray. ");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -181,12 +181,12 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::CullVisitor)
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__pushStateSet__C5_osg_StateSet_P1,
|
||||
"Push state set on the current state group. ",
|
||||
"If the state exists in a child state group of the current state group then move the current state group to that child. Otherwise, create a new state group for the state set, add it to the current state group then move the current state group pointer to the new state group.");
|
||||
"If the state exists in a child state group of the current state group then move the current state group to that child. Otherwise, create a new state group for the state set, add it to the current state group then move the current state group pointer to the new state group. ");
|
||||
I_Method0(void, popStateSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__popStateSet,
|
||||
"Pop the top state set and hence associated state group. ",
|
||||
"Move the current state group to the parent of the popped state group.");
|
||||
"Move the current state group to the parent of the popped state group. ");
|
||||
I_Method1(void, setStateGraph, IN, osgUtil::StateGraph *, rg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStateGraph__StateGraph_P1,
|
||||
|
||||
@@ -63,7 +63,7 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::GLObjectsVisitor)
|
||||
Properties::NON_EXPLICIT,
|
||||
____GLObjectsVisitor__Mode,
|
||||
"Construct a GLObjectsVisitor to traverse all children, operating on node according to specified mode, such as to compile or release display list/texture objects etc. ",
|
||||
"Default mode is to compile GL objects.");
|
||||
"Default mode is to compile GL objects. ");
|
||||
I_Method0(void, reset,
|
||||
Properties::VIRTUAL,
|
||||
__void__reset,
|
||||
|
||||
@@ -38,6 +38,6 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::HalfWayMapGenerator)
|
||||
Properties::CONST,
|
||||
__osg_Vec4__compute_color__C5_osg_Vec3_R1,
|
||||
"Override this method to define how colors are computed. ",
|
||||
"The parameter R is the reflection vector, pointing from the center of the cube. The return value should be the RGBA color associated with that reflection ray.");
|
||||
"The parameter R is the reflection vector, pointing from the center of the cube. The return value should be the RGBA color associated with that reflection ray. ");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -39,6 +39,6 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::HighlightMapGenerator)
|
||||
Properties::CONST,
|
||||
__osg_Vec4__compute_color__C5_osg_Vec3_R1,
|
||||
"Override this method to define how colors are computed. ",
|
||||
"The parameter R is the reflection vector, pointing from the center of the cube. The return value should be the RGBA color associated with that reflection ray.");
|
||||
"The parameter R is the reflection vector, pointing from the center of the cube. The return value should be the RGBA color associated with that reflection ray. ");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ BEGIN_VALUE_REFLECTOR(osgUtil::Hit)
|
||||
I_DeclaringFile("osgUtil/IntersectVisitor");
|
||||
I_Constructor0(____Hit,
|
||||
"Describes a point in space produced by an intersection of a line with a scene. ",
|
||||
"A Hit is always on a surface as rendered by the Open Scene Graph scene (usually a triangle or other primitive, but a special hit handler could return a different value perhaps: a sphere shape might return a Hit on the true sphere rather than the approximate tessellated sphere rendered.");
|
||||
"A Hit is always on a surface as rendered by the Open Scene Graph scene (usually a triangle or other primitive, but a special hit handler could return a different value perhaps: a sphere shape might return a Hit on the true sphere rather than the approximate tessellated sphere rendered. ");
|
||||
I_Constructor1(IN, const osgUtil::Hit &, hit,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Hit__C5_Hit_R1,
|
||||
|
||||
@@ -38,6 +38,6 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::ReflectionMapGenerator)
|
||||
Properties::CONST,
|
||||
__osg_Vec4__compute_color__C5_osg_Vec3_R1,
|
||||
"Override this method to define how colors are computed. ",
|
||||
"The parameter R is the reflection vector, pointing from the center of the cube. The return value should be the RGBA color associated with that reflection ray.");
|
||||
"The parameter R is the reflection vector, pointing from the center of the cube. The return value should be the RGBA color associated with that reflection ray. ");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -140,17 +140,17 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::SceneView)
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSceneData__osg_Node_P1,
|
||||
"Set the data to view. ",
|
||||
"The data will typically be an osg::Scene but can be any osg::Node type.");
|
||||
"The data will typically be an osg::Scene but can be any osg::Node type. ");
|
||||
I_MethodWithDefaults1(osg::Node *, getSceneData, IN, unsigned int, childNo, 0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_P1__getSceneData__unsigned_int,
|
||||
"Get the scene data to view. ",
|
||||
"The data will typically be an osg::Scene but can be any osg::Node type.");
|
||||
"The data will typically be an osg::Scene but can be any osg::Node type. ");
|
||||
I_MethodWithDefaults1(const osg::Node *, getSceneData, IN, unsigned int, childNo, 0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Node_P1__getSceneData__unsigned_int,
|
||||
"Get the const scene data which to view. ",
|
||||
"The data will typically be an osg::Scene but can be any osg::Node type.");
|
||||
"The data will typically be an osg::Scene but can be any osg::Node type. ");
|
||||
I_Method0(unsigned int, getNumSceneData,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumSceneData,
|
||||
@@ -645,17 +645,17 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::SceneView)
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__projectWindowIntoObject__C5_osg_Vec3_R1__osg_Vec3_R1,
|
||||
"Calculate the object coordinates of a point in window coordinates. ",
|
||||
"Note, current implementation requires that SceneView::draw() has been previously called for projectWindowIntoObject to produce valid values. Consistent with OpenGL windows coordinates are calculated relative to the bottom left of the window. Returns true on successful projection.");
|
||||
"Note, current implementation requires that SceneView::draw() has been previously called for projectWindowIntoObject to produce valid values. Consistent with OpenGL windows coordinates are calculated relative to the bottom left of the window. Returns true on successful projection. ");
|
||||
I_Method4(bool, projectWindowXYIntoObject, IN, int, x, IN, int, y, IN, osg::Vec3 &, near_point, IN, osg::Vec3 &, far_point,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__projectWindowXYIntoObject__int__int__osg_Vec3_R1__osg_Vec3_R1,
|
||||
"Calculate the object coordinates of a window x,y when projected onto the near and far planes. ",
|
||||
"Note, current implementation requires that SceneView::draw() has been previously called for projectWindowIntoObject to produce valid values. Consistent with OpenGL windows coordinates are calculated relative to the bottom left of the window. Returns true on successful projection.");
|
||||
"Note, current implementation requires that SceneView::draw() has been previously called for projectWindowIntoObject to produce valid values. Consistent with OpenGL windows coordinates are calculated relative to the bottom left of the window. Returns true on successful projection. ");
|
||||
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,
|
||||
"Calculate the window coordinates of a point in object coordinates. ",
|
||||
"Note, current implementation requires that SceneView::draw() has been previously called for projectWindowIntoObject to produce valid values. Consistent with OpenGL windows coordinates are calculated relative to the bottom left of the window, whereas window API's normally have the top left as the origin, so you may need to pass in (mouseX,window_height-mouseY,...). Returns true on successful projection.");
|
||||
"Note, current implementation requires that SceneView::draw() has been previously called for projectWindowIntoObject to produce valid values. Consistent with OpenGL windows coordinates are calculated relative to the bottom left of the window, whereas window API's normally have the top left as the origin, so you may need to pass in (mouseX,window_height-mouseY,...). Returns true on successful projection. ");
|
||||
I_Method1(void, setFrameStamp, IN, osg::FrameStamp *, fs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFrameStamp__osg_FrameStamp_P1,
|
||||
|
||||
@@ -68,17 +68,17 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::Statistics)
|
||||
Properties::VIRTUAL,
|
||||
__void__setVertexArray__unsigned_int__C5_osg_Vec3_P1,
|
||||
"Sets the array of vertices used to describe the primitives. ",
|
||||
"Somehow mimics the OpenGL glVertexPointer() function.");
|
||||
"Somehow mimics the OpenGL glVertexPointer() function. ");
|
||||
I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec2 *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setVertexArray__unsigned_int__C5_osg_Vec2_P1,
|
||||
"Sets the array of vertices used to describe the primitives. ",
|
||||
"Somehow mimics the OpenGL glVertexPointer() function.");
|
||||
"Somehow mimics the OpenGL glVertexPointer() function. ");
|
||||
I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec4 *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setVertexArray__unsigned_int__C5_osg_Vec4_P1,
|
||||
"Sets the array of vertices used to describe the primitives. ",
|
||||
"Somehow mimics the OpenGL glVertexPointer() function.");
|
||||
"Somehow mimics the OpenGL glVertexPointer() function. ");
|
||||
I_Method3(void, drawArrays, IN, GLenum, mode, IN, GLint, x, IN, GLsizei, count,
|
||||
Properties::VIRTUAL,
|
||||
__void__drawArrays__GLenum__GLint__GLsizei,
|
||||
|
||||
@@ -87,7 +87,7 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::Tessellator)
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTessellationNormal__C5_osg_Vec3,
|
||||
"Define the normal to the tessellated polygon - this provides a hint how to tessellate the contours; see gluTessNormal in red book or man pages. ",
|
||||
"GWM July 2005. Can improve teselation \"For example, if you know that all polygons lie in the x-y plane, call gluTessNormal(tess, 0.0, 0.0, 1.0) before rendering any polygons.\"");
|
||||
"GWM July 2005. Can improve teselation \"For example, if you know that all polygons lie in the x-y plane, call gluTessNormal(tess, 0.0, 0.0, 1.0) before rendering any polygons.\" ");
|
||||
I_Method0(osg::Geometry::PrimitiveSetList, getContours,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Geometry_PrimitiveSetList__getContours,
|
||||
|
||||
@@ -35,7 +35,7 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::TriStripVisitor)
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__stripify__osg_Geometry_R1,
|
||||
"Convert mesh primitives in Geometry into Tri Strips. ",
|
||||
"Converts all primitive types except points and lines, linestrips which it leaves unchanged.");
|
||||
"Converts all primitive types except points and lines, linestrips which it leaves unchanged. ");
|
||||
I_Method0(void, stripify,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__stripify,
|
||||
|
||||
Reference in New Issue
Block a user