Updated wrappers

This commit is contained in:
Robert Osfield
2007-08-10 17:44:54 +00:00
parent ece6c2f672
commit 0e475106dc
134 changed files with 355 additions and 312 deletions

View File

@@ -119,7 +119,7 @@ BEGIN_OBJECT_REFLECTOR(osg::AlphaFunc)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_SimpleProperty(osg::AlphaFunc::ComparisonFunction, Function,
__ComparisonFunction__getFunction,
__void__setFunction__ComparisonFunction);

View File

@@ -173,7 +173,7 @@ BEGIN_OBJECT_REFLECTOR(osg::AutoTransform)
Properties::VIRTUAL,
__BoundingSphere__computeBound,
"Overrides Group's computeBound. ",
"There is no need to override in subclasses from osg::Transform since this computeBound() uses the underlying matrix (calling computeMatrix if required).");
"There is no need to override in subclasses from osg::Transform since this computeBound() uses the underlying matrix (calling computeMatrix if required). ");
I_ProtectedMethod0(void, computeMatrix,
Properties::NON_VIRTUAL,
Properties::CONST,

View File

@@ -99,7 +99,7 @@ BEGIN_OBJECT_REFLECTOR(osg::BlendColor)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_StaticMethod2(osg::BlendColor::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
__Extensions_P1__getExtensions__unsigned_int__bool_S,
"Returns the Extensions object for the given context. ",

View File

@@ -105,7 +105,7 @@ BEGIN_OBJECT_REFLECTOR(osg::BlendEquation)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_StaticMethod2(osg::BlendEquation::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
__Extensions_P1__getExtensions__unsigned_int__bool_S,
"Returns the Extensions object for the given context. ",

View File

@@ -175,7 +175,7 @@ BEGIN_OBJECT_REFLECTOR(osg::BlendFunc)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_StaticMethod2(osg::BlendFunc::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
__Extensions_P1__getExtensions__unsigned_int__bool_S,
"Returns the Extensions object for the given context. ",

View File

@@ -55,7 +55,7 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::BufferObject)
Properties::NON_VIRTUAL,
__void__setUsage__GLenum,
"Set what type of usage the buffer object will have. ",
"Options are: GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.");
"Options are: GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. ");
I_Method0(GLenum, getUsage,
Properties::NON_VIRTUAL,
__GLenum__getUsage,

View File

@@ -107,7 +107,7 @@ BEGIN_OBJECT_REFLECTOR(osg::ClampColor)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_StaticMethod2(osg::ClampColor::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
__Extensions_P1__getExtensions__unsigned_int__bool_S,
"Returns the Extensions object for the given context. ",

View File

@@ -122,7 +122,7 @@ BEGIN_OBJECT_REFLECTOR(osg::ColorMask)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_SimpleProperty(bool, AlphaMask,
__bool__getAlphaMask,
__void__setAlphaMask__bool);

View File

@@ -97,7 +97,7 @@ BEGIN_OBJECT_REFLECTOR(osg::CullFace)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_SimpleProperty(osg::CullFace::Mode, Mode,
__Mode__getMode,
__void__setMode__Mode);

View File

@@ -39,6 +39,11 @@ BEGIN_OBJECT_REFLECTOR(osg::CullStack)
I_Constructor0(____CullStack,
"",
"");
I_Constructor1(IN, const osg::CullStack &, cs,
Properties::NON_EXPLICIT,
____CullStack__C5_CullStack_R1,
"",
"");
I_Method0(void, reset,
Properties::NON_VIRTUAL,
__void__reset,

View File

@@ -136,7 +136,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Depth)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_SimpleProperty(osg::Depth::Function, Function,
__Function__getFunction,
__void__setFunction__Function);

View File

@@ -114,17 +114,17 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Drawable)
Properties::NON_VIRTUAL,
__Node_P1__getParent__unsigned_int,
"Get a single parent of Drawable. ",
" param i index of the parent to get. return the parent i.");
" param i index of the parent to get. return the parent i. ");
I_Method1(const osg::Node *, getParent, IN, unsigned int, i,
Properties::NON_VIRTUAL,
__C5_Node_P1__getParent__unsigned_int,
"Get a single const parent of Drawable. ",
" param i index of the parent to get. return the parent i.");
" param i index of the parent to get. return the parent i. ");
I_Method0(unsigned int, getNumParents,
Properties::NON_VIRTUAL,
__unsigned_int__getNumParents,
"Get the number of parents of node. ",
"the number of parents of this node. ");
"the number of parents of this node. ");
I_Method1(void, setStateSet, IN, osg::StateSet *, stateset,
Properties::NON_VIRTUAL,
__void__setStateSet__StateSet_P1,
@@ -164,7 +164,7 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Drawable)
Properties::NON_VIRTUAL,
__C5_BoundingBox_R1__getBound,
"Get BoundingBox of Drawable. ",
"If the BoundingBox is not up to date then its updated via an internal call to computeBond().");
"If the BoundingBox is not up to date then its updated via an internal call to computeBond(). ");
I_Method0(osg::BoundingBox, computeBound,
Properties::VIRTUAL,
__BoundingBox__computeBound,
@@ -189,7 +189,7 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Drawable)
Properties::NON_VIRTUAL,
__void__setShape__Shape_P1,
"Set the Shape of the Drawable. ",
"The shape can be used to speed up collision detection or as a guide for procedural geometry generation. osg::Shape. ");
"The shape can be used to speed up collision detection or as a guide for procedural geometry generation. osg::Shape. ");
I_Method0(osg::Shape *, getShape,
Properties::NON_VIRTUAL,
__Shape_P1__getShape,
@@ -249,12 +249,12 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Drawable)
Properties::NON_VIRTUAL,
__void__draw__RenderInfo_R1,
"Draw OpenGL primitives. ",
"If the Drawable has _useDisplayList set to true, then use an OpenGL display list, automatically compiling one if required. Otherwise, call drawImplementation(). This method should not be overridden in subclasses, as it manages the optional display list (notice this is not even virtual). Subclasses should override drawImplementation() instead. ");
"If the Drawable has _useDisplayList set to true, then use an OpenGL display list, automatically compiling one if required. Otherwise, call drawImplementation(). This method should not be overridden in subclasses, as it manages the optional display list (notice this is not even virtual). Subclasses should override drawImplementation() instead. ");
I_Method1(void, compileGLObjects, IN, osg::RenderInfo &, renderInfo,
Properties::VIRTUAL,
__void__compileGLObjects__RenderInfo_R1,
"Immediately compile this Drawable into an OpenGL Display List. ",
"Operation is ignored if _useDisplayList is false. ");
"Operation is ignored if _useDisplayList is false. ");
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
Properties::VIRTUAL,
__void__setThreadSafeRefUnref__bool,

View File

@@ -152,7 +152,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Fog)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_SimpleProperty(const osg::Vec4 &, Color,
__C5_Vec4_R1__getColor,
__void__setColor__C5_Vec4_R1);

View File

@@ -149,7 +149,7 @@ BEGIN_OBJECT_REFLECTOR(osg::FragmentProgram)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_Method1(void, compileGLObjects, IN, osg::State &, state,
Properties::VIRTUAL,
__void__compileGLObjects__State_R1,

View File

@@ -217,7 +217,7 @@ BEGIN_OBJECT_REFLECTOR(osg::FrameBufferObject)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_StaticMethod2(void, deleteFrameBufferObject, IN, unsigned int, contextID, IN, GLuint, program,
__void__deleteFrameBufferObject__unsigned_int__GLuint_S,
"Mark internal FBO for deletion. ",

View File

@@ -91,7 +91,7 @@ BEGIN_OBJECT_REFLECTOR(osg::FrontFace)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_SimpleProperty(osg::FrontFace::Mode, Mode,
__Mode__getMode,
__void__setMode__Mode);

View File

@@ -74,27 +74,27 @@ BEGIN_OBJECT_REFLECTOR(osg::Geode)
Properties::VIRTUAL,
__bool__addDrawable__Drawable_P1,
"Add a Drawable to the Geode. ",
" param drawable The Drawable to be added to the Geode. return true for success; false otherwise.");
" param drawable The Drawable to be added to the Geode. return true for success; false otherwise. ");
I_Method1(bool, removeDrawable, IN, osg::Drawable *, drawable,
Properties::VIRTUAL,
__bool__removeDrawable__Drawable_P1,
"Remove a Drawable from the Geode. ",
" param drawable The drawable to be removed. return true if at least one Drawable was removed. false otherwise.");
" param drawable The drawable to be removed. return true if at least one Drawable was removed. false otherwise. ");
I_MethodWithDefaults2(bool, removeDrawables, IN, unsigned int, i, , IN, unsigned int, numDrawablesToRemove, 1,
Properties::VIRTUAL,
__bool__removeDrawables__unsigned_int__unsigned_int,
"Remove Drawable(s) from the specified position in Geode's drawable list. ",
" param i The index of the first Drawable to remove. numDrawablesToRemove The number of Drawable to remove. return true if at least one Drawable was removed. false otherwise.");
" param i The index of the first Drawable to remove. numDrawablesToRemove The number of Drawable to remove. return true if at least one Drawable was removed. false otherwise. ");
I_Method2(bool, replaceDrawable, IN, osg::Drawable *, origDraw, IN, osg::Drawable *, newDraw,
Properties::VIRTUAL,
__bool__replaceDrawable__Drawable_P1__Drawable_P1,
"Replace specified Drawable with another Drawable. ",
"Equivalent to setDrawable(getDrawableIndex(origDraw),newDraw), see docs for setDrawable() for further details on implementation.");
"Equivalent to setDrawable(getDrawableIndex(origDraw),newDraw), see docs for setDrawable() for further details on implementation. ");
I_Method2(bool, setDrawable, IN, unsigned int, i, IN, osg::Drawable *, drawable,
Properties::VIRTUAL,
__bool__setDrawable__unsigned_int__Drawable_P1,
"Set Drawable at position i. ",
"Decrement the reference count origGSet and increments the reference count of newGset, and dirty the bounding sphere to force it to recompute on next getBound() and returns true. If origDrawable is not found then return false and do not add newGset. If newGset is NULL then return false and do not remove origGset. true if set correctly, false on failure (if node==NULL || i is out of range). ");
"Decrement the reference count origGSet and increments the reference count of newGset, and dirty the bounding sphere to force it to recompute on next getBound() and returns true. If origDrawable is not found then return false and do not add newGset. If newGset is NULL then return false and do not remove origGset. true if set correctly, false on failure (if node==NULL || i is out of range). ");
I_Method0(unsigned int, getNumDrawables,
Properties::NON_VIRTUAL,
__unsigned_int__getNumDrawables,
@@ -119,7 +119,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Geode)
Properties::NON_VIRTUAL,
__unsigned_int__getDrawableIndex__C5_Drawable_P1,
"Get the index number of drawable. ",
"A value between 0 and getNumDrawables()-1 if drawable is found; if not found, then getNumDrawables() is returned. ");
"A value between 0 and getNumDrawables()-1 if drawable is found; if not found, then getNumDrawables() is returned. ");
I_Method0(const osg::Geode::DrawableList &, getDrawableList,
Properties::NON_VIRTUAL,
__C5_DrawableList_R1__getDrawableList,

View File

@@ -554,7 +554,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Geometry)
Properties::NON_VIRTUAL,
__unsigned_int__getPrimitiveSetIndex__C5_PrimitiveSet_P1,
"Get the index number of a primitive set, return a value between 0 and getNumPrimitiveSet()-1 if found, if not found then return getNumPrimitiveSet(). ",
"When checking for a valid find value use if ((value=geometry->getPrimitiveSetIndex(primitive))!=geometry.getNumPrimitiveSet())");
"When checking for a valid find value use if ((value=geometry->getPrimitiveSetIndex(primitive))!=geometry.getNumPrimitiveSet()) ");
I_Method1(void, setUseVertexBufferObjects, IN, bool, flag,
Properties::VIRTUAL,
__void__setUseVertexBufferObjects__bool,
@@ -609,7 +609,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Geometry)
Properties::NON_VIRTUAL,
__bool__areFastPathsUsed,
"Return true if OpenGL fast paths will be used with drawing this Geometry. ",
"Fast paths use vertex arrays, and glDrawArrays/glDrawElements. Slow paths use glBegin()/glVertex.../glEnd(). Use of per primitive bindings or per vertex indexed arrays will drop the rendering path off the fast path.");
"Fast paths use vertex arrays, and glDrawArrays/glDrawElements. Slow paths use glBegin()/glVertex.../glEnd(). Use of per primitive bindings or per vertex indexed arrays will drop the rendering path off the fast path. ");
I_Method0(bool, computeFastPathsUsed,
Properties::NON_VIRTUAL,
__bool__computeFastPathsUsed,
@@ -669,7 +669,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Geometry)
Properties::VIRTUAL,
__void__drawImplementation__RenderInfo_R1,
"Draw Geometry directly ignoring an OpenGL display list which could be attached. ",
"This is the internal draw method which does the drawing itself, and is the method to override when deriving from Geometry for user-drawn objects.");
"This is the internal draw method which does the drawing itself, and is the method to override when deriving from Geometry for user-drawn objects. ");
I_Method1(bool, supports, IN, const osg::Drawable::AttributeFunctor &, x,
Properties::VIRTUAL,
__bool__supports__C5_Drawable_AttributeFunctor_R1,

View File

@@ -85,22 +85,22 @@ BEGIN_OBJECT_REFLECTOR(osg::Group)
Properties::VIRTUAL,
__bool__addChild__Node_P1,
"Add Node to Group. ",
"If node is not NULL and is not contained in Group then increment its reference count, add it to the child list and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. Otherwise return false. Scene nodes can't be added as child nodes.");
"If node is not NULL and is not contained in Group then increment its reference count, add it to the child list and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. Otherwise return false. Scene nodes can't be added as child nodes. ");
I_Method2(bool, insertChild, IN, unsigned int, index, IN, osg::Node *, child,
Properties::VIRTUAL,
__bool__insertChild__unsigned_int__Node_P1,
"Insert Node to Group at specific location. ",
"The new child node is inserted into the child list before the node at the specified index. No nodes are removed from the group with this operation.");
"The new child node is inserted into the child list before the node at the specified index. No nodes are removed from the group with this operation. ");
I_Method1(bool, removeChild, IN, osg::Node *, child,
Properties::NON_VIRTUAL,
__bool__removeChild__Node_P1,
"Remove Node from Group. ",
"If Node is contained in Group then remove it from the child list, decrement its reference count, and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. If Node is not found then return false and do not change the reference count of the Node. Note, do not override, only override removeChildren(,) is required.");
"If Node is contained in Group then remove it from the child list, decrement its reference count, and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. If Node is not found then return false and do not change the reference count of the Node. Note, do not override, only override removeChildren(,) is required. ");
I_MethodWithDefaults2(bool, removeChild, IN, unsigned int, pos, , IN, unsigned int, numChildrenToRemove, 1,
Properties::NON_VIRTUAL,
__bool__removeChild__unsigned_int__unsigned_int,
"Remove Node from Group. ",
"If Node is contained in Group then remove it from the child list, decrement its reference count, and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. If Node is not found then return false and do not change the reference count of the Node. Note, do not override, only override removeChildren(,) is required.");
"If Node is contained in Group then remove it from the child list, decrement its reference count, and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. If Node is not found then return false and do not change the reference count of the Node. Note, do not override, only override removeChildren(,) is required. ");
I_Method2(bool, removeChildren, IN, unsigned int, pos, IN, unsigned int, numChildrenToRemove,
Properties::VIRTUAL,
__bool__removeChildren__unsigned_int__unsigned_int,
@@ -110,7 +110,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Group)
Properties::VIRTUAL,
__bool__replaceChild__Node_P1__Node_P1,
"Replace specified Node with another Node. ",
"Equivalent to setChild(getChildIndex(orignChild),node) See docs for setChild for futher details on implementation.");
"Equivalent to setChild(getChildIndex(orignChild),node) See docs for setChild for futher details on implementation. ");
I_Method0(unsigned int, getNumChildren,
Properties::NON_VIRTUAL,
__unsigned_int__getNumChildren,
@@ -120,7 +120,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Group)
Properties::VIRTUAL,
__bool__setChild__unsigned_int__Node_P1,
"Set child node at position i. ",
"Return true if set correctly, false on failure (if node==NULL || i is out of range). When Set can be successful applied, the algorithm is : decrement the reference count origNode and increment the reference count of newNode, and dirty the bounding sphere to force it to recompute on next getBound() and return true. If origNode is not found then return false and do not add newNode. If newNode is NULL then return false and do not remove origNode. Also returns false if newChild is a Scene node.");
"Return true if set correctly, false on failure (if node==NULL || i is out of range). When Set can be successful applied, the algorithm is : decrement the reference count origNode and increment the reference count of newNode, and dirty the bounding sphere to force it to recompute on next getBound() and return true. If origNode is not found then return false and do not add newNode. If newNode is NULL then return false and do not remove origNode. Also returns false if newChild is a Scene node. ");
I_Method1(osg::Node *, getChild, IN, unsigned int, i,
Properties::NON_VIRTUAL,
__Node_P1__getChild__unsigned_int,

View File

@@ -102,7 +102,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Hint)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_SimpleProperty(unsigned int, Member,
__unsigned_int__getMember,
0);

View File

@@ -112,12 +112,12 @@ BEGIN_OBJECT_REFLECTOR(osg::Image)
Properties::NON_VIRTUAL,
__void__readPixels__int__int__int__int__GLenum__GLenum,
"Read pixels from current frame buffer at specified position and size, using glReadPixels. ",
"Create memory for storage if required, reuse existing pixel coords if possible.");
"Create memory for storage if required, reuse existing pixel coords if possible. ");
I_MethodWithDefaults3(void, readImageFromCurrentTexture, IN, unsigned int, contextID, , IN, bool, copyMipMapsIfAvailable, , IN, GLenum, type, GL_UNSIGNED_BYTE,
Properties::NON_VIRTUAL,
__void__readImageFromCurrentTexture__unsigned_int__bool__GLenum,
"Read the contents of the current bound texture, handling compressed pixelFormats if present. ",
"Create memory for storage if required, reuse existing pixel coords if possible.");
"Create memory for storage if required, reuse existing pixel coords if possible. ");
I_Method3(void, scaleImage, IN, int, s, IN, int, t, IN, int, r,
Properties::NON_VIRTUAL,
__void__scaleImage__int__int__int,
@@ -132,7 +132,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Image)
Properties::NON_VIRTUAL,
__void__copySubImage__int__int__int__osg_Image_P1,
"Copy a source Image into a subpart of this Image at specified position. ",
"Typically used to copy to an already allocated image, such as creating a 3D image from a stack 2D images. If this Image is empty then image data is created to accomodate the source image in its offset position. If source is NULL then no operation happens, this Image is left unchanged.");
"Typically used to copy to an already allocated image, such as creating a 3D image from a stack 2D images. If this Image is empty then image data is created to accomodate the source image in its offset position. If source is NULL then no operation happens, this Image is left unchanged. ");
I_Method1(void, setOrigin, IN, osg::Image::Origin, origin,
Properties::NON_VIRTUAL,
__void__setOrigin__Origin,
@@ -262,7 +262,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Image)
Properties::NON_VIRTUAL,
__void__ensureValidSizeForTexturing__GLint,
"Ensure image dimensions are a power of two. ",
"Mipmapped textures require the image dimensions to be power of two and are within the maxiumum texture size for the host machine.");
"Mipmapped textures require the image dimensions to be power of two and are within the maxiumum texture size for the host machine. ");
I_Method0(void, dirty,
Properties::NON_VIRTUAL,
__void__dirty,

View File

@@ -91,7 +91,7 @@ BEGIN_OBJECT_REFLECTOR(osg::LOD)
Properties::VIRTUAL,
__bool__addChild__Node_P1,
"Add Node to Group. ",
"If node is not NULL and is not contained in Group then increment its reference count, add it to the child list and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. Otherwise return false. Scene nodes can't be added as child nodes.");
"If node is not NULL and is not contained in Group then increment its reference count, add it to the child list and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. Otherwise return false. Scene nodes can't be added as child nodes. ");
I_Method3(bool, addChild, IN, osg::Node *, child, IN, float, min, IN, float, max,
Properties::VIRTUAL,
__bool__addChild__Node_P1__float__float,

View File

@@ -120,7 +120,7 @@ BEGIN_OBJECT_REFLECTOR(osg::LightModel)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_SimpleProperty(const osg::Vec4 &, AmbientIntensity,
__C5_osg_Vec4_R1__getAmbientIntensity,
__void__setAmbientIntensity__C5_osg_Vec4_R1);

View File

@@ -77,7 +77,7 @@ BEGIN_OBJECT_REFLECTOR(osg::LightSource)
Properties::NON_VIRTUAL,
__void__setReferenceFrame__ReferenceFrame,
"Set the light sources's ReferenceFrame, either to be relative to its parent reference frame, or relative to an absolute coordinate frame. ",
"RELATIVE_RF is the default. Note: setting the ReferenceFrame to be ABSOLUTE_RF will also set the CullingActive flag on the light source, and hence all of its parents, to false, thereby disabling culling of it and all its parents. This is necessary to prevent inappropriate culling, but may impact cull times if the absolute light source is deep in the scene graph. It is therefore recommended to only use absolute light source at the top of the scene.");
"RELATIVE_RF is the default. Note: setting the ReferenceFrame to be ABSOLUTE_RF will also set the CullingActive flag on the light source, and hence all of its parents, to false, thereby disabling culling of it and all its parents. This is necessary to prevent inappropriate culling, but may impact cull times if the absolute light source is deep in the scene graph. It is therefore recommended to only use absolute light source at the top of the scene. ");
I_Method0(osg::LightSource::ReferenceFrame, getReferenceFrame,
Properties::NON_VIRTUAL,
__ReferenceFrame__getReferenceFrame,

View File

@@ -98,7 +98,7 @@ BEGIN_OBJECT_REFLECTOR(osg::LineStipple)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_SimpleProperty(GLint, Factor,
__GLint__getFactor,
__void__setFactor__GLint);

View File

@@ -85,7 +85,7 @@ BEGIN_OBJECT_REFLECTOR(osg::LineWidth)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_SimpleProperty(osg::StateAttribute::Type, Type,
__Type__getType,
0);

View File

@@ -113,7 +113,7 @@ BEGIN_OBJECT_REFLECTOR(osg::LogicOp)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_SimpleProperty(osg::LogicOp::Opcode, Opcode,
__Opcode__getOpcode,
__void__setOpcode__Opcode);

View File

@@ -96,7 +96,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Material)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_Method1(void, setColorMode, IN, osg::Material::ColorMode, mode,
Properties::NON_VIRTUAL,
__void__setColorMode__ColorMode,
@@ -141,7 +141,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Material)
Properties::NON_VIRTUAL,
__void__setSpecular__Face__C5_Vec4_R1,
"Set specular value of specified face(s) of the material, valid specular[0. ",
".3] range is 0.0 to 1.0.");
".3] range is 0.0 to 1.0. ");
I_Method1(const osg::Vec4 &, getSpecular, IN, osg::Material::Face, face,
Properties::NON_VIRTUAL,
__C5_Vec4_R1__getSpecular__Face,
@@ -156,7 +156,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Material)
Properties::NON_VIRTUAL,
__void__setEmission__Face__C5_Vec4_R1,
"Set emission value of specified face(s) of the material, valid emission[0. ",
".3] range is 0.0 to 1.0.");
".3] range is 0.0 to 1.0. ");
I_Method1(const osg::Vec4 &, getEmission, IN, osg::Material::Face, face,
Properties::NON_VIRTUAL,
__C5_Vec4_R1__getEmission__Face,
@@ -171,7 +171,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Material)
Properties::NON_VIRTUAL,
__void__setShininess__Face__float,
"Set shininess of specified face(s) of the material. ",
"valid shininess range is 0.0 to 128.0.");
"valid shininess range is 0.0 to 128.0. ");
I_Method1(float, getShininess, IN, osg::Material::Face, face,
Properties::NON_VIRTUAL,
__float__getShininess__Face,
@@ -186,12 +186,12 @@ BEGIN_OBJECT_REFLECTOR(osg::Material)
Properties::NON_VIRTUAL,
__void__setTransparency__Face__float,
"Set the alpha value of ambient, diffuse, specular and emission colors of specified face, to 1-transparency. ",
"Valid transparency range is 0.0 to 1.0.");
"Valid transparency range is 0.0 to 1.0. ");
I_Method2(void, setAlpha, IN, osg::Material::Face, face, IN, float, alpha,
Properties::NON_VIRTUAL,
__void__setAlpha__Face__float,
"Set the alpha value of ambient, diffuse, specular and emission colors. ",
"Valid transparency range is 0.0 to 1.0.");
"Valid transparency range is 0.0 to 1.0. ");
I_IndexedProperty(const osg::Vec4 &, Ambient,
__C5_Vec4_R1__getAmbient__Face,
__void__setAmbient__Face__C5_Vec4_R1,

View File

@@ -208,37 +208,37 @@ BEGIN_VALUE_REFLECTOR(osg::Matrixd)
Properties::NON_VIRTUAL,
__void__makeOrtho__double__double__double__double__double__double,
"Set to an orthographic projection. ",
"See glOrtho for further details.");
"See glOrtho for further details. ");
I_Method6(bool, getOrtho, IN, double &, left, IN, double &, right, IN, double &, bottom, IN, double &, top, IN, double &, zNear, IN, double &, zFar,
Properties::NON_VIRTUAL,
__bool__getOrtho__double_R1__double_R1__double_R1__double_R1__double_R1__double_R1,
"Get the othogrraphic settings of the orthographic projection matrix. ",
"Note, if matrix is not an orthographic matrix then invalid values will be returned.");
"Note, if matrix is not an orthographic matrix then invalid values will be returned. ");
I_Method4(void, makeOrtho2D, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top,
Properties::NON_VIRTUAL,
__void__makeOrtho2D__double__double__double__double,
"Set to a 2D orthographic projection. ",
"See glOrtho2D for further details.");
"See glOrtho2D for further details. ");
I_Method6(void, makeFrustum, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar,
Properties::NON_VIRTUAL,
__void__makeFrustum__double__double__double__double__double__double,
"Set to a perspective projection. ",
"See glFrustum for further details.");
"See glFrustum for further details. ");
I_Method6(bool, getFrustum, IN, double &, left, IN, double &, right, IN, double &, bottom, IN, double &, top, IN, double &, zNear, IN, double &, zFar,
Properties::NON_VIRTUAL,
__bool__getFrustum__double_R1__double_R1__double_R1__double_R1__double_R1__double_R1,
"Get the frustum settings of a perspective projection matrix. ",
"Note, if matrix is not a perspective matrix then invalid values will be returned.");
"Note, if matrix is not a perspective matrix then invalid values will be returned. ");
I_Method4(void, makePerspective, IN, double, fovy, IN, double, aspectRatio, IN, double, zNear, IN, double, zFar,
Properties::NON_VIRTUAL,
__void__makePerspective__double__double__double__double,
"Set to a symmetrical perspective projection. ",
"See gluPerspective for further details. Aspect ratio is defined as width/height.");
"See gluPerspective for further details. Aspect ratio is defined as width/height. ");
I_Method4(bool, getPerspective, IN, double &, fovy, IN, double &, aspectRatio, IN, double &, zNear, IN, double &, zFar,
Properties::NON_VIRTUAL,
__bool__getPerspective__double_R1__double_R1__double_R1__double_R1,
"Get the frustum settings of a symmetric perspective projection matrix. ",
"Return false if matrix is not a perspective matrix, where parameter values are undefined. Note, if matrix is not a symmetric perspective matrix then the shear will be lost. Asymmetric matrices occur when stereo, power walls, caves and reality center display are used. In these configuration one should use the AsFrustum method instead.");
"Return false if matrix is not a perspective matrix, where parameter values are undefined. Note, if matrix is not a symmetric perspective matrix then the shear will be lost. Asymmetric matrices occur when stereo, power walls, caves and reality center display are used. In these configuration one should use the AsFrustum method instead. ");
I_Method3(void, makeLookAt, IN, const osg::Vec3d &, eye, IN, const osg::Vec3d &, center, IN, const osg::Vec3d &, up,
Properties::NON_VIRTUAL,
__void__makeLookAt__C5_Vec3d_R1__C5_Vec3d_R1__C5_Vec3d_R1,
@@ -445,19 +445,19 @@ BEGIN_VALUE_REFLECTOR(osg::Matrixd)
I_StaticMethod6(osg::Matrixd, ortho, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar,
__Matrixd__ortho__double__double__double__double__double__double_S,
"Create an orthographic projection matrix. ",
"See glOrtho for further details.");
"See glOrtho for further details. ");
I_StaticMethod4(osg::Matrixd, ortho2D, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top,
__Matrixd__ortho2D__double__double__double__double_S,
"Create a 2D orthographic projection. ",
"See glOrtho for further details.");
"See glOrtho for further details. ");
I_StaticMethod6(osg::Matrixd, frustum, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar,
__Matrixd__frustum__double__double__double__double__double__double_S,
"Create a perspective projection. ",
"See glFrustum for further details.");
"See glFrustum for further details. ");
I_StaticMethod4(osg::Matrixd, perspective, IN, double, fovy, IN, double, aspectRatio, IN, double, zNear, IN, double, zFar,
__Matrixd__perspective__double__double__double__double_S,
"Create a symmetrical perspective projection. ",
"See gluPerspective for further details. Aspect ratio is defined as width/height.");
"See gluPerspective for further details. Aspect ratio is defined as width/height. ");
I_StaticMethod3(osg::Matrixd, lookAt, IN, const osg::Vec3f &, eye, IN, const osg::Vec3f &, center, IN, const osg::Vec3f &, up,
__Matrixd__lookAt__C5_Vec3f_R1__C5_Vec3f_R1__C5_Vec3f_R1_S,
"Create the position and orientation as per a camera, using the same convention as gluLookAt. ",

View File

@@ -208,37 +208,37 @@ BEGIN_VALUE_REFLECTOR(osg::Matrixf)
Properties::NON_VIRTUAL,
__void__makeOrtho__double__double__double__double__double__double,
"Set to an orthographic projection. ",
"See glOrtho for further details.");
"See glOrtho for further details. ");
I_Method6(bool, getOrtho, IN, double &, left, IN, double &, right, IN, double &, bottom, IN, double &, top, IN, double &, zNear, IN, double &, zFar,
Properties::NON_VIRTUAL,
__bool__getOrtho__double_R1__double_R1__double_R1__double_R1__double_R1__double_R1,
"Get the othogrraphic settings of the orthographic projection matrix. ",
"Note, if matrix is not an orthographic matrix then invalid values will be returned.");
"Note, if matrix is not an orthographic matrix then invalid values will be returned. ");
I_Method4(void, makeOrtho2D, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top,
Properties::NON_VIRTUAL,
__void__makeOrtho2D__double__double__double__double,
"Set to a 2D orthographic projection. ",
"See glOrtho2D for further details.");
"See glOrtho2D for further details. ");
I_Method6(void, makeFrustum, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar,
Properties::NON_VIRTUAL,
__void__makeFrustum__double__double__double__double__double__double,
"Set to a perspective projection. ",
"See glFrustum for further details.");
"See glFrustum for further details. ");
I_Method6(bool, getFrustum, IN, double &, left, IN, double &, right, IN, double &, bottom, IN, double &, top, IN, double &, zNear, IN, double &, zFar,
Properties::NON_VIRTUAL,
__bool__getFrustum__double_R1__double_R1__double_R1__double_R1__double_R1__double_R1,
"Get the frustum settings of a perspective projection matrix. ",
"Note, if matrix is not a perspective matrix then invalid values will be returned.");
"Note, if matrix is not a perspective matrix then invalid values will be returned. ");
I_Method4(void, makePerspective, IN, double, fovy, IN, double, aspectRatio, IN, double, zNear, IN, double, zFar,
Properties::NON_VIRTUAL,
__void__makePerspective__double__double__double__double,
"Set to a symmetrical perspective projection. ",
"See gluPerspective for further details. Aspect ratio is defined as width/height.");
"See gluPerspective for further details. Aspect ratio is defined as width/height. ");
I_Method4(bool, getPerspective, IN, double &, fovy, IN, double &, aspectRatio, IN, double &, zNear, IN, double &, zFar,
Properties::NON_VIRTUAL,
__bool__getPerspective__double_R1__double_R1__double_R1__double_R1,
"Get the frustum settings of a symmetric perspective projection matrix. ",
"Return false if matrix is not a perspective matrix, where parameter values are undefined. Note, if matrix is not a symmetric perspective matrix then the shear will be lost. Asymmetric matrices occur when stereo, power walls, caves and reality center display are used. In these configuration one should use the AsFrustum method instead.");
"Return false if matrix is not a perspective matrix, where parameter values are undefined. Note, if matrix is not a symmetric perspective matrix then the shear will be lost. Asymmetric matrices occur when stereo, power walls, caves and reality center display are used. In these configuration one should use the AsFrustum method instead. ");
I_Method3(void, makeLookAt, IN, const osg::Vec3d &, eye, IN, const osg::Vec3d &, center, IN, const osg::Vec3d &, up,
Properties::NON_VIRTUAL,
__void__makeLookAt__C5_Vec3d_R1__C5_Vec3d_R1__C5_Vec3d_R1,
@@ -445,19 +445,19 @@ BEGIN_VALUE_REFLECTOR(osg::Matrixf)
I_StaticMethod6(osg::Matrixf, ortho, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar,
__Matrixf__ortho__double__double__double__double__double__double_S,
"Create an orthographic projection matrix. ",
"See glOrtho for further details.");
"See glOrtho for further details. ");
I_StaticMethod4(osg::Matrixf, ortho2D, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top,
__Matrixf__ortho2D__double__double__double__double_S,
"Create a 2D orthographic projection. ",
"See glOrtho for further details.");
"See glOrtho for further details. ");
I_StaticMethod6(osg::Matrixf, frustum, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar,
__Matrixf__frustum__double__double__double__double__double__double_S,
"Create a perspective projection. ",
"See glFrustum for further details.");
"See glFrustum for further details. ");
I_StaticMethod4(osg::Matrixf, perspective, IN, double, fovy, IN, double, aspectRatio, IN, double, zNear, IN, double, zFar,
__Matrixf__perspective__double__double__double__double_S,
"Create a symmetrical perspective projection. ",
"See gluPerspective for further details. Aspect ratio is defined as width/height.");
"See gluPerspective for further details. Aspect ratio is defined as width/height. ");
I_StaticMethod3(osg::Matrixf, lookAt, IN, const osg::Vec3f &, eye, IN, const osg::Vec3f &, center, IN, const osg::Vec3f &, up,
__Matrixf__lookAt__C5_Vec3f_R1__C5_Vec3f_R1__C5_Vec3f_R1_S,
"Create the position and orientation as per a camera, using the same convention as gluLookAt. ",

View File

@@ -115,7 +115,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Multisample)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_StaticMethod2(osg::Multisample::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
__Extensions_P1__getExtensions__unsigned_int__bool_S,
"Function to call to get the extension of a specified context. ",

View File

@@ -124,12 +124,12 @@ BEGIN_OBJECT_REFLECTOR(osg::Node)
Properties::NON_VIRTUAL,
__C5_Group_P1__getParent__unsigned_int,
"Get a single const parent of node. ",
" param i index of the parent to get. return the parent i.");
" param i index of the parent to get. return the parent i. ");
I_Method0(unsigned int, getNumParents,
Properties::NON_VIRTUAL,
__unsigned_int__getNumParents,
"Get the number of parents of node. ",
"the number of parents of this node. ");
"the number of parents of this node. ");
I_MethodWithDefaults1(osg::NodePathList, getParentalNodePaths, IN, osg::Node *, haltTraversalAtNode, 0,
Properties::NON_VIRTUAL,
__NodePathList__getParentalNodePaths__osg_Node_P1,

View File

@@ -156,7 +156,7 @@ BEGIN_OBJECT_REFLECTOR(osg::NodeVisitor)
Properties::NON_VIRTUAL,
__void__setUserData__Referenced_P1,
"Set user data, data must be subclased from Referenced to allow automatic memory handling. ",
"If your own data isn't directly subclassed from Referenced then create an adapter object which points to your own objects and handles the memory addressing.");
"If your own data isn't directly subclassed from Referenced then create an adapter object which points to your own objects and handles the memory addressing. ");
I_Method0(osg::Referenced *, getUserData,
Properties::NON_VIRTUAL,
__Referenced_P1__getUserData,

View File

@@ -104,7 +104,7 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Object)
Properties::NON_VIRTUAL,
__void__setUserData__Referenced_P1,
"Set user data, data must be subclassed from Referenced to allow automatic memory handling. ",
"If your own data isn't directly subclassed from Referenced then create an adapter object which points to your own object and handles the memory addressing.");
"If your own data isn't directly subclassed from Referenced then create an adapter object which points to your own object and handles the memory addressing. ");
I_Method0(osg::Referenced *, getUserData,
Properties::NON_VIRTUAL,
__Referenced_P1__getUserData,

View File

@@ -76,7 +76,7 @@ BEGIN_OBJECT_REFLECTOR(osg::PagedLOD)
Properties::VIRTUAL,
__bool__addChild__Node_P1,
"Add Node to Group. ",
"If node is not NULL and is not contained in Group then increment its reference count, add it to the child list and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. Otherwise return false. Scene nodes can't be added as child nodes.");
"If node is not NULL and is not contained in Group then increment its reference count, add it to the child list and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. Otherwise return false. Scene nodes can't be added as child nodes. ");
I_Method3(bool, addChild, IN, osg::Node *, child, IN, float, min, IN, float, max,
Properties::VIRTUAL,
__bool__addChild__Node_P1__float__float,
@@ -166,7 +166,7 @@ BEGIN_OBJECT_REFLECTOR(osg::PagedLOD)
Properties::NON_VIRTUAL,
__void__setFrameNumberOfLastTraversal__int,
"Set the frame number of the last time that this PageLOD node was traversed. ",
"Note, this frame number is automatically set by the traverse() method for all traversals (update, cull etc.).");
"Note, this frame number is automatically set by the traverse() method for all traversals (update, cull etc.). ");
I_Method0(int, getFrameNumberOfLastTraversal,
Properties::NON_VIRTUAL,
__int__getFrameNumberOfLastTraversal,

View File

@@ -129,7 +129,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Point)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_StaticMethod2(osg::Point::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
__Extensions_P1__getExtensions__unsigned_int__bool_S,
"Returns the Extensions object for the given context. ",

View File

@@ -94,7 +94,7 @@ BEGIN_OBJECT_REFLECTOR(osg::PointSprite)
Properties::VIRTUAL,
__void__apply__osg_State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_Method1(void, setCoordOriginMode, IN, osg::PointSprite::CoordOriginMode, mode,
Properties::NON_VIRTUAL,
__void__setCoordOriginMode__CoordOriginMode,

View File

@@ -106,7 +106,7 @@ BEGIN_OBJECT_REFLECTOR(osg::PolygonMode)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_SimpleProperty(bool, FrontAndBack,
__bool__getFrontAndBack,
0);

View File

@@ -102,7 +102,7 @@ BEGIN_OBJECT_REFLECTOR(osg::PolygonOffset)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_StaticMethod1(void, setFactorMultiplier, IN, float, multiplier,
__void__setFactorMultiplier__float_S,
"",

View File

@@ -88,7 +88,7 @@ BEGIN_OBJECT_REFLECTOR(osg::PolygonStipple)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_SimpleProperty(const GLubyte *, Mask,
__C5_GLubyte_P1__getMask,
__void__setMask__C5_GLubyte_P1);

View File

@@ -632,17 +632,17 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::PrimitiveFunctor)
Properties::PURE_VIRTUAL,
__void__setVertexArray__unsigned_int__C5_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::Vec3 *, vertices,
Properties::PURE_VIRTUAL,
__void__setVertexArray__unsigned_int__C5_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::Vec4 *, vertices,
Properties::PURE_VIRTUAL,
__void__setVertexArray__unsigned_int__C5_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, first, IN, GLsizei, count,
Properties::PURE_VIRTUAL,
__void__drawArrays__GLenum__GLint__GLsizei,

View File

@@ -83,7 +83,7 @@ BEGIN_OBJECT_REFLECTOR(osg::ProxyNode)
Properties::VIRTUAL,
__bool__addChild__Node_P1,
"Add Node to Group. ",
"If node is not NULL and is not contained in Group then increment its reference count, add it to the child list and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. Otherwise return false. Scene nodes can't be added as child nodes.");
"If node is not NULL and is not contained in Group then increment its reference count, add it to the child list and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. Otherwise return false. Scene nodes can't be added as child nodes. ");
I_Method2(bool, addChild, IN, osg::Node *, child, IN, const std::string &, filename,
Properties::VIRTUAL,
__bool__addChild__Node_P1__C5_std_string_R1,

View File

@@ -132,7 +132,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Scissor)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_SimpleProperty(osg::StateAttribute::Type, Type,
__Type__getType,
0);

View File

@@ -87,7 +87,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Sequence)
Properties::VIRTUAL,
__bool__addChild__Node_P1,
"Add Node to Group. ",
"If node is not NULL and is not contained in Group then increment its reference count, add it to the child list and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. Otherwise return false. Scene nodes can't be added as child nodes.");
"If node is not NULL and is not contained in Group then increment its reference count, add it to the child list and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. Otherwise return false. Scene nodes can't be added as child nodes. ");
I_Method2(bool, addChild, IN, osg::Node *, child, IN, double, t,
Properties::VIRTUAL,
__bool__addChild__Node_P1__double,
@@ -97,7 +97,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Sequence)
Properties::VIRTUAL,
__bool__insertChild__unsigned_int__Node_P1,
"Insert Node to Group at specific location. ",
"The new child node is inserted into the child list before the node at the specified index. No nodes are removed from the group with this operation.");
"The new child node is inserted into the child list before the node at the specified index. No nodes are removed from the group with this operation. ");
I_Method3(bool, insertChild, IN, unsigned int, index, IN, osg::Node *, child, IN, double, t,
Properties::VIRTUAL,
__bool__insertChild__unsigned_int__Node_P1__double,
@@ -107,7 +107,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Sequence)
Properties::VIRTUAL,
__bool__removeChild__Node_P1,
"Remove Node from Group. ",
"If Node is contained in Group then remove it from the child list, decrement its reference count, and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. If Node is not found then return false and do not change the reference count of the Node. Note, do not override, only override removeChildren(,) is required.");
"If Node is contained in Group then remove it from the child list, decrement its reference count, and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. If Node is not found then return false and do not change the reference count of the Node. Note, do not override, only override removeChildren(,) is required. ");
I_Method2(bool, removeChildren, IN, unsigned int, pos, IN, unsigned int, numChildrenToRemove,
Properties::VIRTUAL,
__bool__removeChildren__unsigned_int__unsigned_int,

View File

@@ -91,7 +91,7 @@ BEGIN_OBJECT_REFLECTOR(osg::ShadeModel)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_SimpleProperty(osg::ShadeModel::Mode, Mode,
__Mode__getMode,
__void__setMode__Mode);

View File

@@ -96,7 +96,7 @@ BEGIN_OBJECT_REFLECTOR(osg::ShapeDrawable)
Properties::VIRTUAL,
__void__drawImplementation__RenderInfo_R1,
"Draw ShapeDrawable directly ignoring an OpenGL display list which could be attached. ",
"This is the internal draw method which does the drawing itself, and is the method to override when deriving from ShapeDrawable for user-drawn objects.");
"This is the internal draw method which does the drawing itself, and is the method to override when deriving from ShapeDrawable for user-drawn objects. ");
I_Method1(bool, supports, IN, const osg::Drawable::AttributeFunctor &, x,
Properties::VIRTUAL,
__bool__supports__C5_AttributeFunctor_R1,

View File

@@ -200,7 +200,7 @@ BEGIN_OBJECT_REFLECTOR(osg::State)
Properties::NON_VIRTUAL,
__bool__applyMode__StateAttribute_GLMode__bool,
"Apply an OpenGL mode if required. ",
"This is a wrapper around glEnable() and glDisable(), that just actually calls these functions if the enabled flag is different than the current state. true if the state was actually changed. false otherwise. Notice that a false return does not indicate an error, it just means that the mode was already set to the same value as the enabled parameter. ");
"This is a wrapper around glEnable() and glDisable(), that just actually calls these functions if the enabled flag is different than the current state. true if the state was actually changed. false otherwise. Notice that a false return does not indicate an error, it just means that the mode was already set to the same value as the enabled parameter. ");
I_Method3(void, setGlobalDefaultTextureModeValue, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode, IN, bool, enabled,
Properties::NON_VIRTUAL,
__void__setGlobalDefaultTextureModeValue__unsigned_int__StateAttribute_GLMode__bool,

View File

@@ -170,12 +170,12 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::StateAttribute)
Properties::NON_VIRTUAL,
__C5_StateSet_P1__getParent__unsigned_int,
"Get a single const parent of this StateAttribute. ",
" param i index of the parent to get. return the parent i.");
" param i index of the parent to get. return the parent i. ");
I_Method0(unsigned int, getNumParents,
Properties::NON_VIRTUAL,
__unsigned_int__getNumParents,
"Get the number of parents of this StateAttribute. ",
"the number of parents of this StateAttribute. ");
"the number of parents of this StateAttribute. ");
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
Properties::VIRTUAL,
__bool__getModeUsage__ModeUsage_R1,
@@ -220,7 +220,7 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::StateAttribute)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_Method1(void, compileGLObjects, IN, osg::State &, x,
Properties::VIRTUAL,
__void__compileGLObjects__State_R1,

View File

@@ -115,12 +115,12 @@ BEGIN_OBJECT_REFLECTOR(osg::StateSet)
Properties::NON_VIRTUAL,
__C5_Object_P1__getParent__unsigned_int,
"Get a single const parent of this StateSet. ",
" param i index of the parent to get. return the parent i.");
" param i index of the parent to get. return the parent i. ");
I_Method0(unsigned int, getNumParents,
Properties::NON_VIRTUAL,
__unsigned_int__getNumParents,
"Get the number of parents of this StateSet. ",
"the number of parents of this StateSet. ");
"the number of parents of this StateSet. ");
I_Method0(void, computeDataVariance,
Properties::VIRTUAL,
__void__computeDataVariance,
@@ -140,22 +140,22 @@ BEGIN_OBJECT_REFLECTOR(osg::StateSet)
Properties::NON_VIRTUAL,
__void__merge__C5_StateSet_R1,
"Merge this StateSet with the StateSet passed as parameter. ",
"Every mode and attribute in this StateSet that is marked with StateAttribute::OVERRIDE is replaced with the equivalent mode or attribute from rhs.");
"Every mode and attribute in this StateSet that is marked with StateAttribute::OVERRIDE is replaced with the equivalent mode or attribute from rhs. ");
I_Method2(void, setMode, IN, osg::StateAttribute::GLMode, mode, IN, osg::StateAttribute::GLModeValue, value,
Properties::NON_VIRTUAL,
__void__setMode__StateAttribute_GLMode__StateAttribute_GLModeValue,
"Set this StateSet to contain the specified GLMode with a given value. ",
"Don't use this method to set modes related to textures. For this purpose, use setTextureMode(), that accepts an extra parameter specifying which texture unit shall be affected by the call. ");
"Don't use this method to set modes related to textures. For this purpose, use setTextureMode(), that accepts an extra parameter specifying which texture unit shall be affected by the call. ");
I_Method1(void, removeMode, IN, osg::StateAttribute::GLMode, mode,
Properties::NON_VIRTUAL,
__void__removeMode__StateAttribute_GLMode,
"Remove mode from this StateSet. ",
"Don't use this method to remove modes related to textures. For this purpose, use removeTextureMode(), that accepts an extra parameter specifying which texture unit shall be affected by the call. ");
"Don't use this method to remove modes related to textures. For this purpose, use removeTextureMode(), that accepts an extra parameter specifying which texture unit shall be affected by the call. ");
I_Method1(osg::StateAttribute::GLModeValue, getMode, IN, osg::StateAttribute::GLMode, mode,
Properties::NON_VIRTUAL,
__StateAttribute_GLModeValue__getMode__StateAttribute_GLMode,
"Get the value for a given GLMode. ",
" param mode The GLMode whose value is desired. return If mode is contained within this StateSet, returns the value associated with it. Otherwise, returns StateAttribute::INHERIT. note Don't use this method to get the value of modes related to textures. For this purpose, use removeTextureMode(), that accepts an extra parameter specifying which texture unit shall be affected by the call.");
" param mode The GLMode whose value is desired. return If mode is contained within this StateSet, returns the value associated with it. Otherwise, returns StateAttribute::INHERIT. note Don't use this method to get the value of modes related to textures. For this purpose, use removeTextureMode(), that accepts an extra parameter specifying which texture unit shall be affected by the call. ");
I_Method1(void, setModeList, IN, osg::StateSet::ModeList &, ml,
Properties::NON_VIRTUAL,
__void__setModeList__ModeList_R1,
@@ -225,7 +225,7 @@ BEGIN_OBJECT_REFLECTOR(osg::StateSet)
Properties::NON_VIRTUAL,
__void__setTextureMode__unsigned_int__StateAttribute_GLMode__StateAttribute_GLModeValue,
"Set this StateSet to contain specified GLMode with a given value. ",
" param unit The texture unit to be affected (used with multi-texturing). mode The OpenGL mode to be added to the StateSet. value The value to be assigned to mode. ");
" param unit The texture unit to be affected (used with multi-texturing). mode The OpenGL mode to be added to the StateSet. value The value to be assigned to mode. ");
I_Method2(void, removeTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode,
Properties::NON_VIRTUAL,
__void__removeTextureMode__unsigned_int__StateAttribute_GLMode,
@@ -365,7 +365,7 @@ BEGIN_OBJECT_REFLECTOR(osg::StateSet)
Properties::NON_VIRTUAL,
__void__setRenderingHint__int,
"Set the RenderingHint of this StateSet. ",
"RenderingHint is used by the renderer to determine which draw bin to drop associated osg::Drawables in. Typically, users will set this to either StateSet::OPAQUE_BIN or StateSet::TRANSPARENT_BIN. Drawables in the opaque bin are sorted by their StateSet, so that the number of expensive changes in the OpenGL state is minimized. Drawables in the transparent bin are sorted by depth, so that objects farther from the viewer are rendered first (and hence alpha blending works nicely for translucent objects).");
"RenderingHint is used by the renderer to determine which draw bin to drop associated osg::Drawables in. Typically, users will set this to either StateSet::OPAQUE_BIN or StateSet::TRANSPARENT_BIN. Drawables in the opaque bin are sorted by their StateSet, so that the number of expensive changes in the OpenGL state is minimized. Drawables in the transparent bin are sorted by depth, so that objects farther from the viewer are rendered first (and hence alpha blending works nicely for translucent objects). ");
I_Method0(int, getRenderingHint,
Properties::NON_VIRTUAL,
__int__getRenderingHint,

View File

@@ -182,7 +182,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Stencil)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_SimpleProperty(osg::Stencil::Function, Function,
__Function__getFunction,
__void__setFunction__Function);

View File

@@ -188,15 +188,15 @@ BEGIN_OBJECT_REFLECTOR(osg::StencilTwoSided)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_StaticMethod2(osg::StencilTwoSided::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
__Extensions_P1__getExtensions__unsigned_int__bool_S,
"Function to call to get the extension of a specified context. ",
"If the Exentsion object for that context has not yet been created and the 'createIfNotInitalized' flag been set to false then returns NULL. If 'createIfNotInitalized' is true then the Extensions object is automatically created. However, in this case the extension object will only be created with the graphics context associated with ContextID.");
"If the Exentsion object for that context has not yet been created and the 'createIfNotInitalized' flag been set to false then returns NULL. If 'createIfNotInitalized' is true then the Extensions object is automatically created. However, in this case the extension object will only be created with the graphics context associated with ContextID. ");
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::StencilTwoSided::Extensions *, extensions,
__void__setExtensions__unsigned_int__Extensions_P1_S,
"The setExtensions method allows users to override the extensions across graphics contexts. ",
"Typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions.");
"Typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions. ");
I_IndexedProperty(osg::StencilTwoSided::Function, Function,
__Function__getFunction__Face,
__void__setFunction__Face__Function,

View File

@@ -86,7 +86,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Switch)
Properties::VIRTUAL,
__bool__addChild__Node_P1,
"Add Node to Group. ",
"If node is not NULL and is not contained in Group then increment its reference count, add it to the child list and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. Otherwise return false. Scene nodes can't be added as child nodes.");
"If node is not NULL and is not contained in Group then increment its reference count, add it to the child list and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. Otherwise return false. Scene nodes can't be added as child nodes. ");
I_Method2(bool, addChild, IN, osg::Node *, child, IN, bool, value,
Properties::VIRTUAL,
__bool__addChild__Node_P1__bool,
@@ -96,7 +96,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Switch)
Properties::VIRTUAL,
__bool__insertChild__unsigned_int__Node_P1,
"Insert Node to Group at specific location. ",
"The new child node is inserted into the child list before the node at the specified index. No nodes are removed from the group with this operation.");
"The new child node is inserted into the child list before the node at the specified index. No nodes are removed from the group with this operation. ");
I_Method3(bool, insertChild, IN, unsigned int, index, IN, osg::Node *, child, IN, bool, value,
Properties::VIRTUAL,
__bool__insertChild__unsigned_int__Node_P1__bool,

View File

@@ -115,7 +115,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TexEnv)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_SimpleProperty(const osg::Vec4 &, Color,
__C5_Vec4_R1__getColor,
__void__setColor__C5_Vec4_R1);

View File

@@ -296,7 +296,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TexEnvCombine)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_ProtectedMethod1(bool, needsTexEnvCombiner, IN, GLint, value,
Properties::NON_VIRTUAL,
Properties::CONST,

View File

@@ -90,7 +90,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TexEnvFilter)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_SimpleProperty(float, LodBias,
__float__getLodBias,
__void__setLodBias__float);

View File

@@ -102,7 +102,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TexGen)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_Method1(void, setMode, IN, osg::TexGen::Mode, mode,
Properties::NON_VIRTUAL,
__void__setMode__Mode,
@@ -132,7 +132,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TexGen)
Properties::NON_VIRTUAL,
__void__setPlanesFromMatrix__C5_Matrixd_R1,
"Set the tex gen planes from specified matrix. ",
"Typical usage would be to pass in a projection matrix to set up projective texturing.");
"Typical usage would be to pass in a projection matrix to set up projective texturing. ");
I_SimpleProperty(osg::TexGen::Mode, Mode,
__Mode__getMode,
__void__setMode__Mode);

View File

@@ -114,7 +114,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TextureCubeMap)
Properties::NON_VIRTUAL,
__void__setTextureSize__int__int,
"Set the texture width and height. ",
"If width or height are zero then the repsective size value is calculated from the source image sizes.");
"If width or height are zero then the repsective size value is calculated from the source image sizes. ");
I_Method1(void, setTextureWidth, IN, int, width,
Properties::NON_VIRTUAL,
__void__setTextureWidth__int,
@@ -159,7 +159,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TextureCubeMap)
Properties::NON_VIRTUAL,
__void__setNumMipmapLevels__unsigned_int,
"Set the number of mip map levels the the texture has been created with. ",
"Should only be called within an osg::Texuture::apply() and custom OpenGL texture load.");
"Should only be called within an osg::Texuture::apply() and custom OpenGL texture load. ");
I_Method0(unsigned int, getNumMipmapLevels,
Properties::NON_VIRTUAL,
__unsigned_int__getNumMipmapLevels,
@@ -174,15 +174,15 @@ BEGIN_OBJECT_REFLECTOR(osg::TextureCubeMap)
Properties::VIRTUAL,
__void__apply__State_R1,
"On first apply (unless already compiled), create the mipmapped texture and bind it. ",
"Subsequent apply will simple bind to texture.");
"Subsequent apply will simple bind to texture. ");
I_StaticMethod2(osg::TextureCubeMap::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
__Extensions_P1__getExtensions__unsigned_int__bool_S,
"Function to call to get the extension of a specified context. ",
"If the Exentsion object for that context has not yet been created and the 'createIfNotInitalized' flag been set to false then returns NULL. If 'createIfNotInitalized' is true then the Extensions object is automatically created. However, in this case the extension object will only be created with the graphics context associated with ContextID.");
"If the Exentsion object for that context has not yet been created and the 'createIfNotInitalized' flag been set to false then returns NULL. If 'createIfNotInitalized' is true then the Extensions object is automatically created. However, in this case the extension object will only be created with the graphics context associated with ContextID. ");
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::TextureCubeMap::Extensions *, extensions,
__void__setExtensions__unsigned_int__Extensions_P1_S,
"The setExtensions method allows users to override the extensions across graphics contexts. ",
"Typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions.");
"Typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions. ");
I_ProtectedMethod0(bool, imagesValid,
Properties::NON_VIRTUAL,
Properties::CONST,

View File

@@ -124,7 +124,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TextureRectangle)
Properties::NON_VIRTUAL,
__void__setTextureSize__int__int,
"Set the texture width and height. ",
"If width or height are zero then the repsective size value is calculated from the source image sizes.");
"If width or height are zero then the repsective size value is calculated from the source image sizes. ");
I_Method1(void, setTextureWidth, IN, int, width,
Properties::NON_VIRTUAL,
__void__setTextureWidth__int,

View File

@@ -108,7 +108,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Transform)
Properties::NON_VIRTUAL,
__void__setReferenceFrame__ReferenceFrame,
"Set the transform's ReferenceFrame, either to be relative to its parent reference frame, or relative to an absolute coordinate frame. ",
"RELATIVE_RF is the default. Note: Setting the ReferenceFrame to be ABSOLUTE_RF will also set the CullingActive flag on the transform, and hence all of its parents, to false, thereby disabling culling of it and all its parents. This is neccessary to prevent inappropriate culling, but may impact cull times if the absolute transform is deep in the scene graph. It is therefore recommended to only use absolute Transforms at the top of the scene, for such things as heads up displays. ABSOLUTE_RF_INHERIT_VIEWPOINT is the same as ABSOLUTE_RF except it adds the ability to use the parents view points position in world coordinates as its local viewpoint in the new coordinates frame. This is useful for Render to texture Cameras that wish to use the main views LOD range computation (which uses the viewpoint rather than the eye point) rather than use the local eye point defined by the this Transforms' abosolute view matrix.");
"RELATIVE_RF is the default. Note: Setting the ReferenceFrame to be ABSOLUTE_RF will also set the CullingActive flag on the transform, and hence all of its parents, to false, thereby disabling culling of it and all its parents. This is neccessary to prevent inappropriate culling, but may impact cull times if the absolute transform is deep in the scene graph. It is therefore recommended to only use absolute Transforms at the top of the scene, for such things as heads up displays. ABSOLUTE_RF_INHERIT_VIEWPOINT is the same as ABSOLUTE_RF except it adds the ability to use the parents view points position in world coordinates as its local viewpoint in the new coordinates frame. This is useful for Render to texture Cameras that wish to use the main views LOD range computation (which uses the viewpoint rather than the eye point) rather than use the local eye point defined by the this Transforms' abosolute view matrix. ");
I_Method0(osg::Transform::ReferenceFrame, getReferenceFrame,
Properties::NON_VIRTUAL,
__ReferenceFrame__getReferenceFrame,
@@ -128,7 +128,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Transform)
Properties::VIRTUAL,
__BoundingSphere__computeBound,
"Overrides Group's computeBound. ",
"There is no need to override in subclasses from osg::Transform since this computeBound() uses the underlying matrix (calling computeMatrix if required).");
"There is no need to override in subclasses from osg::Transform since this computeBound() uses the underlying matrix (calling computeMatrix if required). ");
I_SimpleProperty(osg::Transform::ReferenceFrame, ReferenceFrame,
__ReferenceFrame__getReferenceFrame,
__void__setReferenceFrame__ReferenceFrame);

View File

@@ -318,12 +318,12 @@ BEGIN_OBJECT_REFLECTOR(osg::Uniform)
Properties::NON_VIRTUAL,
__C5_StateSet_P1__getParent__unsigned_int,
"Get a single const parent of this Uniform. ",
" param i index of the parent to get. return the parent i.");
" param i index of the parent to get. return the parent i. ");
I_Method0(unsigned int, getNumParents,
Properties::NON_VIRTUAL,
__unsigned_int__getNumParents,
"Get the number of parents of this Uniform. ",
"the number of parents of this Uniform. ");
"the number of parents of this Uniform. ");
I_Method1(bool, set, IN, float, f,
Properties::NON_VIRTUAL,
__bool__set__float,

View File

@@ -100,6 +100,6 @@ BEGIN_VALUE_REFLECTOR(osg::Vec2d)
Properties::NON_VIRTUAL,
__value_type__normalize,
"Normalize the vector so that it has length unity. ",
"Returns the previous length of the vector.");
"Returns the previous length of the vector. ");
END_REFLECTOR

View File

@@ -94,6 +94,6 @@ BEGIN_VALUE_REFLECTOR(osg::Vec2f)
Properties::NON_VIRTUAL,
__value_type__normalize,
"Normalize the vector so that it has length unity. ",
"Returns the previous length of the vector.");
"Returns the previous length of the vector. ");
END_REFLECTOR

View File

@@ -120,6 +120,6 @@ BEGIN_VALUE_REFLECTOR(osg::Vec3d)
Properties::NON_VIRTUAL,
__value_type__normalize,
"Normalize the vector so that it has length unity. ",
"Returns the previous length of the vector.");
"Returns the previous length of the vector. ");
END_REFLECTOR

View File

@@ -114,6 +114,6 @@ BEGIN_VALUE_REFLECTOR(osg::Vec3f)
Properties::NON_VIRTUAL,
__value_type__normalize,
"Normalize the vector so that it has length unity. ",
"Returns the previous length of the vector.");
"Returns the previous length of the vector. ");
END_REFLECTOR

View File

@@ -175,6 +175,6 @@ BEGIN_VALUE_REFLECTOR(osg::Vec4d)
Properties::NON_VIRTUAL,
__value_type__normalize,
"Normalize the vector so that it has length unity. ",
"Returns the previous length of the vector.");
"Returns the previous length of the vector. ");
END_REFLECTOR

View File

@@ -169,6 +169,6 @@ BEGIN_VALUE_REFLECTOR(osg::Vec4f)
Properties::NON_VIRTUAL,
__value_type__normalize,
"Normalize the vector so that it has length unity. ",
"Returns the previous length of the vector.");
"Returns the previous length of the vector. ");
END_REFLECTOR

View File

@@ -149,7 +149,7 @@ BEGIN_OBJECT_REFLECTOR(osg::VertexProgram)
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_Method1(void, compileGLObjects, IN, osg::State &, state,
Properties::VIRTUAL,
__void__compileGLObjects__State_R1,
@@ -176,11 +176,11 @@ BEGIN_OBJECT_REFLECTOR(osg::VertexProgram)
I_StaticMethod2(osg::VertexProgram::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
__Extensions_P1__getExtensions__unsigned_int__bool_S,
"Function to call to get the extension of a specified context. ",
"If the Exentsion object for that context has not yet been created and the 'createIfNotInitalized' flag been set to false then returns NULL. If 'createIfNotInitalized' is true then the Extensions object is automatically created. However, in this case the extension object will only be created with the graphics context associated with ContextID.");
"If the Exentsion object for that context has not yet been created and the 'createIfNotInitalized' flag been set to false then returns NULL. If 'createIfNotInitalized' is true then the Extensions object is automatically created. However, in this case the extension object will only be created with the graphics context associated with ContextID. ");
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::VertexProgram::Extensions *, extensions,
__void__setExtensions__unsigned_int__Extensions_P1_S,
"The setExtensions method allows users to override the extensions across graphics contexts. ",
"Typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions.");
"Typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions. ");
I_SimpleProperty(const osg::VertexProgram::LocalParamList &, LocalParameters,
__C5_LocalParamList_R1__getLocalParameters,
__void__setLocalParameters__C5_LocalParamList_R1);

View File

@@ -130,17 +130,17 @@ BEGIN_OBJECT_REFLECTOR(osg::Viewport)
Properties::NON_VIRTUAL,
__double__aspectRatio,
"Return the aspectRatio of the viewport, which is equal to width/height. ",
"If height is zero, the potental division by zero is avoided by simply returning 1.0f.");
"If height is zero, the potental division by zero is avoided by simply returning 1.0f. ");
I_Method0(const osg::Matrix, computeWindowMatrix,
Properties::NON_VIRTUAL,
__C5_osg_Matrix__computeWindowMatrix,
"Compute the Window Matrix which takes projected coords into Window coordinates. ",
"To convert local coordinates into window coordinates use v_window = v_local * MVPW matrix, where the MVPW matrix is ModelViewMatrix * ProjectionMatrix * WindowMatrix, the latter supplied by Viewport::computeWindowMatrix(), the ModelView and Projection Matrix can either be sourced from the current osg::State object, via osgUtil::SceneView or CullVisitor.");
"To convert local coordinates into window coordinates use v_window = v_local * MVPW matrix, where the MVPW matrix is ModelViewMatrix * ProjectionMatrix * WindowMatrix, the latter supplied by Viewport::computeWindowMatrix(), the ModelView and Projection Matrix can either be sourced from the current osg::State object, via osgUtil::SceneView or CullVisitor. ");
I_Method1(void, apply, IN, osg::State &, state,
Properties::VIRTUAL,
__void__apply__State_R1,
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
I_SimpleProperty(osg::StateAttribute::Type, Type,
__Type__getType,
0);