From 3a964a6b934245077386e670c72793276d37da1a Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 16 Jul 2002 20:07:32 +0000 Subject: [PATCH] Updated docs and added osgGA --- AUTHORS | 3 + doc/doc++/osg/AlphaFunc.html | 26 +- doc/doc++/osg/AnimationPath.html | 12 +- doc/doc++/osg/AttributeFunctor.html | 32 +- doc/doc++/osg/Billboard.html | 162 ++-- doc/doc++/osg/BoundingBox.html | 129 +-- doc/doc++/osg/BoundingSphere.html | 105 ++- doc/doc++/osg/Camera.html | 372 +++++---- doc/doc++/osg/ClipPlane.html | 108 +-- doc/doc++/osg/ColorMask.html | 78 +- doc/doc++/osg/ColorMatrix.html | 58 +- doc/doc++/osg/CopyOp.html | 70 +- doc/doc++/osg/CullFace.html | 76 +- doc/doc++/osg/Depth.html | 120 +-- doc/doc++/osg/DisplaySettings.html | 288 +++---- doc/doc++/osg/DrawPixels.html | 164 ++-- doc/doc++/osg/Drawable.html | 380 +++++---- doc/doc++/osg/EarthSky.html | 44 +- doc/doc++/osg/Fog.html | 128 +-- doc/doc++/osg/FrameStamp.html | 86 +- doc/doc++/osg/FrontFace.html | 68 +- doc/doc++/osg/General.html | 40 +- doc/doc++/osg/GeoSet.html | 758 +++++++++--------- doc/doc++/osg/Geode.html | 68 +- doc/doc++/osg/Group.html | 68 +- doc/doc++/osg/HIER.html | 49 +- doc/doc++/osg/HIERjava.html | 85 +- doc/doc++/osg/Image.html | 244 +++--- doc/doc++/osg/Impostor.html | 76 +- doc/doc++/osg/ImpostorSprite.html | 222 ++--- doc/doc++/osg/ImpostorSpriteManager.html | 50 +- doc/doc++/osg/LOD.html | 96 +-- doc/doc++/osg/Light.html | 188 ++--- doc/doc++/osg/LightModel.html | 104 +-- doc/doc++/osg/LightSource.html | 60 +- doc/doc++/osg/LineSegment.html | 94 +-- doc/doc++/osg/LineStipple.html | 72 +- doc/doc++/osg/LineWidth.html | 56 +- doc/doc++/osg/META_Object.html | 2 +- doc/doc++/osg/META_StateAttribute.html | 2 +- doc/doc++/osg/Material.html | 244 +++--- doc/doc++/osg/Matrix.html | 414 +++++----- doc/doc++/osg/NodeAcceptOp.html | 16 +- doc/doc++/osg/NodeCallback.html | 36 +- doc/doc++/osg/NodeVisitor.html | 210 ++--- doc/doc++/osg/NotifySeverity.html | 28 +- doc/doc++/osg/Object.html | 79 +- doc/doc++/osg/Plane.html | 137 ++-- doc/doc++/osg/Point.html | 90 ++- doc/doc++/osg/PolygonMode.html | 94 +-- doc/doc++/osg/PolygonOffset.html | 72 +- doc/doc++/osg/PositionAttitudeTransform.html | 68 +- doc/doc++/osg/Projection.html | 44 +- doc/doc++/osg/Quat.html | 154 ++-- doc/doc++/osg/Referenced.html | 49 +- doc/doc++/osg/ShadeModel.html | 68 +- doc/doc++/osg/State.html | 381 +++++++-- doc/doc++/osg/StateAttribute.html | 232 +++--- doc/doc++/osg/StateSet.html | 456 ++++++++--- doc/doc++/osg/Statistics.html | 176 ++-- doc/doc++/osg/Stencil.html | 172 ++-- doc/doc++/osg/Switch.html | 46 +- doc/doc++/osg/TexEnv.html | 100 ++- doc/doc++/osg/TexGen.html | 124 +-- doc/doc++/osg/TexMat.html | 62 +- doc/doc++/osg/Texture.html | 399 +++++---- doc/doc++/osg/TextureCubeMap.html | 142 ++-- doc/doc++/osg/Timer.html | 32 +- doc/doc++/osg/Transform.html | 167 ++-- doc/doc++/osg/Vec2.html | 124 +-- doc/doc++/osg/Vec3.html | 136 ++-- doc/doc++/osg/Vec4.html | 162 ++-- doc/doc++/osg/Viewport.html | 98 +-- doc/doc++/osg/clampArray3BetweenRange.html | 2 +- doc/doc++/osg/clampArray3GEQUAL.html | 2 +- doc/doc++/osg/clampArray3LEQUAL.html | 2 +- doc/doc++/osg/clampArray4BetweenRange.html | 2 +- doc/doc++/osg/clampArray4GEQUAL.html | 2 +- doc/doc++/osg/clampArray4LEQUAL.html | 2 +- .../osg/clampArrayElementBetweenRange.html | 2 +- doc/doc++/osg/clampArrayElementGEQUAL.html | 2 +- doc/doc++/osg/clampArrayElementLEQUAL.html | 2 +- .../osg/clampArrayElementsBetweenRange.html | 2 +- doc/doc++/osg/clampArrayElementsGEQUAL.html | 2 +- doc/doc++/osg/clampArrayElementsLEQUAL.html | 2 +- doc/doc++/osg/clampBetweenRange.html | 2 +- doc/doc++/osg/clampGEQUAL.html | 2 +- doc/doc++/osg/clampLEQUAL.html | 2 +- doc/doc++/osg/createGeodeForImage.2.html | 2 +- doc/doc++/osg/for_each_triangle.html | 2 +- doc/doc++/osg/index.html | 12 +- doc/doc++/osg/notify.html | 4 +- doc/doc++/osg/osg.html | 157 ++-- doc/doc++/osg/ref_ptr.html | 121 +-- doc/doc++/osg/tag_au.html | 52 +- doc/doc++/osgDB/HIER.html | 1 + doc/doc++/osgDB/HIERjava.html | 7 + doc/doc++/osgDB/Input.html | 52 +- doc/doc++/osgDB/Options.html | 24 +- doc/doc++/osgDB/Output.html | 138 ++-- doc/doc++/osgDB/ReadResult.html | 106 +-- doc/doc++/osgDB/ReaderWriter.html | 36 +- .../osgDB/RegisterDotOsgWrapperProxy.html | 12 +- .../osgDB/RegisterReaderWriterProxy.html | 12 +- doc/doc++/osgDB/Registry.html | 227 ++++-- doc/doc++/osgDB/WriteResult.html | 62 +- doc/doc++/osgDB/findFileInPath.html | 6 +- doc/doc++/osgDB/osgDB.html | 84 +- doc/doc++/osgGA/CameraManipulator.html | 160 ++++ doc/doc++/osgGA/ClassGraph.class | Bin 0 -> 1237 bytes doc/doc++/osgGA/ClassGraphPanel.class | Bin 0 -> 4084 bytes doc/doc++/osgGA/ClassLayout.class | Bin 0 -> 2443 bytes doc/doc++/osgGA/CompositeGUIEventHandler.html | 112 +++ doc/doc++/osgGA/DriveManipulator.html | 143 ++++ doc/doc++/osgGA/FlightManipulator.html | 160 ++++ doc/doc++/osgGA/GUIActionAdapter.html | 77 ++ doc/doc++/osgGA/GUIEventAdapter.html | 215 +++++ doc/doc++/osgGA/GUIEventHandler.html | 92 +++ doc/doc++/osgGA/GUIEventHandlerVisitor.html | 98 +++ doc/doc++/osgGA/General.html | 61 ++ doc/doc++/osgGA/HIER.html | 34 + doc/doc++/osgGA/HIERjava.html | 44 + .../osgGA/KeySwitchCameraManipulator.html | 123 +++ doc/doc++/osgGA/NavigatorButton.class | Bin 0 -> 1816 bytes doc/doc++/osgGA/SetSceneViewVisitor.html | 78 ++ doc/doc++/osgGA/StateSetManipulator.html | 129 +++ doc/doc++/osgGA/TrackballManipulator.html | 133 +++ doc/doc++/osgGA/icon1.gif | Bin 0 -> 326 bytes doc/doc++/osgGA/icon2.gif | Bin 0 -> 326 bytes doc/doc++/osgGA/index.html | 49 ++ doc/doc++/osgGA/osgGA.html | 54 ++ doc/doc++/osgGA/osgGAGetLibraryName.html | 21 + doc/doc++/osgGA/osgGAGetVersion.html | 34 + doc/doc++/osgGA/spaceosgGA.html | 40 + doc/doc++/osgGLUT/GLUTEventAdapter.html | 6 +- doc/doc++/osgGLUT/HIERjava.html | 2 +- doc/doc++/osgGLUT/Viewer.html | 12 +- doc/doc++/osgGLUT/osgGLUT.html | 6 +- doc/doc++/osgParticle/AccelOperator.html | 6 +- doc/doc++/osgParticle/CenteredPlacer.html | 40 +- doc/doc++/osgParticle/Counter.html | 36 +- doc/doc++/osgParticle/Emitter.html | 52 +- .../osgParticle/FluidFrictionOperator.html | 6 +- doc/doc++/osgParticle/ForceOperator.html | 6 +- doc/doc++/osgParticle/Interpolator.html | 38 +- doc/doc++/osgParticle/LinearInterpolator.html | 6 +- doc/doc++/osgParticle/ModularEmitter.html | 8 +- doc/doc++/osgParticle/ModularProgram.html | 8 +- doc/doc++/osgParticle/MultiSegmentPlacer.html | 6 +- doc/doc++/osgParticle/Operator.html | 52 +- doc/doc++/osgParticle/Particle.html | 8 + doc/doc++/osgParticle/ParticleProcessor.html | 4 +- doc/doc++/osgParticle/ParticleSystem.html | 12 +- .../osgParticle/ParticleSystemUpdater.html | 4 +- doc/doc++/osgParticle/Placer.html | 36 +- doc/doc++/osgParticle/PointPlacer.html | 6 +- doc/doc++/osgParticle/Program.html | 36 +- doc/doc++/osgParticle/RadialShooter.html | 6 +- doc/doc++/osgParticle/RandomRateCounter.html | 9 +- doc/doc++/osgParticle/SectorPlacer.html | 6 +- doc/doc++/osgParticle/SegmentPlacer.html | 6 +- doc/doc++/osgParticle/Shooter.html | 36 +- .../osgParticle/VariableRateCounter.html | 2 + doc/doc++/osgText/BitmapFont.html | 10 +- doc/doc++/osgText/Font.html | 124 +-- doc/doc++/osgText/META_Font.html | 2 +- doc/doc++/osgText/OutlineFont.html | 10 +- doc/doc++/osgText/Paragraph.html | 10 +- doc/doc++/osgText/PixmapFont.html | 10 +- doc/doc++/osgText/PolygonFont.html | 10 +- doc/doc++/osgText/RasterFont.html | 14 +- doc/doc++/osgText/Text.html | 182 +++-- doc/doc++/osgText/TextureFont.html | 10 +- doc/doc++/osgText/VectorFont.html | 18 +- doc/doc++/osgText/osgText.html | 2 +- doc/doc++/osgUtil/AppVisitor.html | 26 +- doc/doc++/osgUtil/CombineLODsVisitor.html | 16 +- doc/doc++/osgUtil/CullVisitor.html | 658 +++++---------- doc/doc++/osgUtil/DepthSortedBin.html | 68 +- doc/doc++/osgUtil/DisplayListVisitor.html | 62 +- .../osgUtil/DisplayRequirementsVisitor.html | 32 +- .../FlattenStaticTransformsVisitor.html | 92 +-- doc/doc++/osgUtil/General.html | 28 +- doc/doc++/osgUtil/HIER.html | 16 +- doc/doc++/osgUtil/HIERjava.html | 52 +- doc/doc++/osgUtil/Hit.html | 90 +-- doc/doc++/osgUtil/InsertImpostorsVisitor.html | 64 +- doc/doc++/osgUtil/IntersectState.html | 36 +- doc/doc++/osgUtil/IntersectVisitor.html | 116 +-- doc/doc++/osgUtil/Optimizer.html | 33 +- doc/doc++/osgUtil/RegisterRenderBinProxy.html | 12 +- .../osgUtil/RemoveRedundentNodesVisitor.html | 22 +- doc/doc++/osgUtil/RenderBin.html | 110 +-- doc/doc++/osgUtil/RenderGraph.html | 102 +-- doc/doc++/osgUtil/RenderLeaf.html | 36 +- doc/doc++/osgUtil/RenderStage.html | 158 ++-- doc/doc++/osgUtil/RenderStageLighting.html | 46 +- doc/doc++/osgUtil/RenderToTextureStage.html | 73 +- doc/doc++/osgUtil/SceneView.html | 537 +++++++------ doc/doc++/osgUtil/SmoothingVisitor.html | 14 +- doc/doc++/osgUtil/StateVisitor.html | 28 +- doc/doc++/osgUtil/Tesselator.html | 318 +++++--- doc/doc++/osgUtil/TransformCallback.html | 28 +- doc/doc++/osgUtil/TriStripVisitor.html | 26 +- doc/doc++/osgUtil/index.html | 10 +- doc/doc++/osgUtil/osgUtil.html | 28 +- doc/documentation.html | 2 + include/osg/AlphaFunc | 2 +- include/osg/AnimationPath | 2 +- include/osg/Array | 2 +- include/osg/Billboard | 2 +- include/osg/BlendFunc | 2 +- include/osg/BoundingBox | 2 +- include/osg/BoundingSphere | 2 +- include/osg/BoundsChecking | 2 +- include/osg/Camera | 2 +- include/osg/ClipNode | 2 +- include/osg/ClipPlane | 2 +- include/osg/CollectOccludersVisitor | 2 +- include/osg/ColorMask | 2 +- include/osg/ColorMatrix | 2 +- include/osg/ConvexPlanerOccluder | 2 +- include/osg/ConvexPlanerPolygon | 2 +- include/osg/CopyOp | 2 +- include/osg/CullFace | 2 +- include/osg/CullStack | 2 +- include/osg/CullingSet | 2 +- include/osg/Depth | 2 +- include/osg/DisplaySettings | 2 +- include/osg/DrawPixels | 2 +- include/osg/Drawable | 2 +- include/osg/EarthSky | 2 +- include/osg/Export | 2 +- include/osg/Fog | 2 +- include/osg/FrameStamp | 2 +- include/osg/FrontFace | 2 +- include/osg/GL | 2 +- include/osg/GLExtensions | 2 +- include/osg/GLU | 2 +- include/osg/GeoSet | 2 +- include/osg/Geode | 2 +- include/osg/Geometry | 2 +- include/osg/Group | 2 +- include/osg/Image | 2 +- include/osg/Impostor | 2 +- include/osg/ImpostorSprite | 2 +- include/osg/LOD | 2 +- include/osg/Light | 2 +- include/osg/LightModel | 2 +- include/osg/LightSource | 2 +- include/osg/LineSegment | 2 +- include/osg/LineStipple | 2 +- include/osg/LineWidth | 2 +- include/osg/Material | 2 +- include/osg/Math | 2 +- include/osg/Matrix | 2 +- include/osg/MatrixTransform | 2 +- include/osg/Node | 2 +- include/osg/NodeCallback | 2 +- include/osg/NodeVisitor | 2 +- include/osg/Notify | 2 +- include/osg/Object | 2 +- include/osg/OccluderNode | 2 +- include/osg/Plane | 2 +- include/osg/Point | 2 +- include/osg/PolygonMode | 2 +- include/osg/PolygonOffset | 2 +- include/osg/Polytope | 2 +- include/osg/PositionAttitudeTransform | 2 +- include/osg/Primitive | 2 +- include/osg/Projection | 2 +- include/osg/Quat | 2 +- include/osg/Referenced | 2 +- include/osg/ShadeModel | 2 +- include/osg/ShadowVolumeOccluder | 2 +- include/osg/State | 2 +- include/osg/StateAttribute | 2 +- include/osg/StateSet | 2 +- include/osg/Statistics | 2 +- include/osg/Stencil | 2 +- include/osg/Switch | 2 +- include/osg/TexEnv | 2 +- include/osg/TexGen | 2 +- include/osg/TexMat | 2 +- include/osg/Texture | 2 +- include/osg/TextureCubeMap | 2 +- include/osg/Timer | 2 +- include/osg/Transform | 2 +- include/osg/Transparency | 2 +- include/osg/Types | 2 +- include/osg/UByte4 | 2 +- include/osg/Vec2 | 2 +- include/osg/Vec3 | 2 +- include/osg/Vec4 | 2 +- include/osg/Version | 2 +- include/osg/Viewport | 2 +- include/osg/fast_back_stack | 2 +- include/osg/ref_ptr | 2 +- include/osgDB/DotOsgWrapper | 2 +- include/osgDB/DynamicLibrary | 2 +- include/osgDB/Export | 2 +- include/osgDB/Field | 2 +- include/osgDB/FieldReader | 2 +- include/osgDB/FieldReaderIterator | 2 +- include/osgDB/FileNameUtils | 2 +- include/osgDB/FileUtils | 2 +- include/osgDB/Input | 2 +- include/osgDB/Output | 2 +- include/osgDB/ReadFile | 2 +- include/osgDB/ReaderWriter | 2 +- include/osgDB/Registry | 2 +- include/osgDB/Version | 2 +- include/osgDB/WriteFile | 2 +- include/osgGA/CameraManipulator | 2 +- include/osgGA/DriveManipulator | 2 +- include/osgGA/Export | 2 +- include/osgGA/FlightManipulator | 2 +- include/osgGA/GUIActionAdapter | 2 +- include/osgGA/GUIEventAdapter | 2 +- include/osgGA/GUIEventHandler | 2 +- include/osgGA/KeySwitchCameraManipulator | 4 + include/osgGA/SetSceneViewVisitor | 4 + include/osgGA/StateSetManipulator | 8 +- include/osgGA/TrackballManipulator | 2 +- include/osgGA/Version | 2 +- include/osgGLUT/Export | 2 +- include/osgGLUT/GLUTEventAdapter | 2 +- include/osgGLUT/Version | 2 +- include/osgGLUT/Viewer | 2 +- include/osgGLUT/Window | 2 +- include/osgGLUT/glut | 2 +- include/osgText/Export | 2 +- include/osgText/Font | 2 +- include/osgText/Paragraph | 2 +- include/osgText/Text | 2 +- include/osgText/Version | 2 +- include/osgUtil/AppVisitor | 2 +- include/osgUtil/CullVisitor | 2 +- include/osgUtil/DepthSortedBin | 2 +- include/osgUtil/DisplayListVisitor | 2 +- include/osgUtil/DisplayRequirementsVisitor | 2 +- include/osgUtil/Export | 2 +- include/osgUtil/InsertImpostorsVisitor | 2 +- include/osgUtil/IntersectVisitor | 2 +- include/osgUtil/Optimizer | 2 +- include/osgUtil/RenderBin | 2 +- include/osgUtil/RenderGraph | 2 +- include/osgUtil/RenderLeaf | 2 +- include/osgUtil/RenderStage | 2 +- include/osgUtil/RenderStageLighting | 2 +- include/osgUtil/RenderToTextureStage | 2 +- include/osgUtil/SceneView | 2 +- include/osgUtil/SmoothingVisitor | 2 +- include/osgUtil/Tesselator | 2 +- include/osgUtil/TriStripVisitor | 2 +- include/osgUtil/Version | 2 +- 356 files changed, 9894 insertions(+), 6875 deletions(-) create mode 100644 doc/doc++/osgGA/CameraManipulator.html create mode 100644 doc/doc++/osgGA/ClassGraph.class create mode 100644 doc/doc++/osgGA/ClassGraphPanel.class create mode 100644 doc/doc++/osgGA/ClassLayout.class create mode 100644 doc/doc++/osgGA/CompositeGUIEventHandler.html create mode 100644 doc/doc++/osgGA/DriveManipulator.html create mode 100644 doc/doc++/osgGA/FlightManipulator.html create mode 100644 doc/doc++/osgGA/GUIActionAdapter.html create mode 100644 doc/doc++/osgGA/GUIEventAdapter.html create mode 100644 doc/doc++/osgGA/GUIEventHandler.html create mode 100644 doc/doc++/osgGA/GUIEventHandlerVisitor.html create mode 100644 doc/doc++/osgGA/General.html create mode 100644 doc/doc++/osgGA/HIER.html create mode 100644 doc/doc++/osgGA/HIERjava.html create mode 100644 doc/doc++/osgGA/KeySwitchCameraManipulator.html create mode 100644 doc/doc++/osgGA/NavigatorButton.class create mode 100644 doc/doc++/osgGA/SetSceneViewVisitor.html create mode 100644 doc/doc++/osgGA/StateSetManipulator.html create mode 100644 doc/doc++/osgGA/TrackballManipulator.html create mode 100644 doc/doc++/osgGA/icon1.gif create mode 100644 doc/doc++/osgGA/icon2.gif create mode 100644 doc/doc++/osgGA/index.html create mode 100644 doc/doc++/osgGA/osgGA.html create mode 100644 doc/doc++/osgGA/osgGAGetLibraryName.html create mode 100644 doc/doc++/osgGA/osgGAGetVersion.html create mode 100644 doc/doc++/osgGA/spaceosgGA.html diff --git a/AUTHORS b/AUTHORS index 8a6c6b1ab..8b57df688 100644 --- a/AUTHORS +++ b/AUTHORS @@ -108,6 +108,9 @@ Norman Vine Bob Kuehne - assistance with MacOSX port. +Kristopher Bixler + - port to OSX's native dynamic library support. + Indirect Contributors --------------------- diff --git a/doc/doc++/osg/AlphaFunc.html b/doc/doc++/osg/AlphaFunc.html index cc9286ce5..9fc47a15f 100644 --- a/doc/doc++/osg/AlphaFunc.html +++ b/doc/doc++/osg/AlphaFunc.html @@ -28,14 +28,14 @@ [more] AlphaFunc(const AlphaFunc& af, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(AlphaFunc, ALPHAFUNC) +[more] META_StateAttribute(osg, AlphaFunc, ALPHAFUNC)
[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
-[more]inline void setFunction(const ComparisonFunction func, const float ref) +[more]inline void setFunction(const ComparisonFunction func, const float ref)
[more]inline const ComparisonFunction getFunction() const
@@ -72,9 +72,13 @@
ovirtual bool isSameKindAs(const Object* obj) const
+ovirtual const char* libraryName() const +
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const +
+ovirtual bool isTextureAttribute() const
obool operator < (const StateAttribute& rhs) const
@@ -105,9 +109,9 @@

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

@@ -117,7 +121,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance

@@ -160,16 +164,16 @@

-

o META_StateAttribute(AlphaFunc, ALPHAFUNC) +
o META_StateAttribute(osg, AlphaFunc, ALPHAFUNC)

ovirtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

- + -

ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const +
ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

@@ -211,7 +215,7 @@ -

oinline void setFunction(const ComparisonFunction func, const float ref) +
oinline void setFunction(const ComparisonFunction func, const float ref)

diff --git a/doc/doc++/osg/AnimationPath.html b/doc/doc++/osg/AnimationPath.html index 85a2085ca..b51b66e9b 100644 --- a/doc/doc++/osg/AnimationPath.html +++ b/doc/doc++/osg/AnimationPath.html @@ -31,10 +31,10 @@ [more]virtual bool getInverse(double time, Matrix& matrix) const

get the local inverse transformation matrix for a point in time
-[more]virtual const bool computeLocalToWorldMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const +[more]virtual const bool computeLocalToWorldMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const
Get the transformation matrix which moves from local coords to world coords
-[more]virtual const bool computeWorldToLocalMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const +[more]virtual const bool computeWorldToLocalMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const
Get the transformation matrix which moves from world coords to local coords
[more]void insert(double time, const Key& key) @@ -81,12 +81,12 @@ be attached directly to Transform nodes to move subgraphs around the scene.

-

ovirtual const bool computeLocalToWorldMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const +
ovirtual const bool computeLocalToWorldMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const
Get the transformation matrix which moves from local coords to world coords

-

ovirtual const bool computeWorldToLocalMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const +
ovirtual const bool computeWorldToLocalMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const
Get the transformation matrix which moves from world coords to local coords

@@ -100,7 +100,7 @@ be attached directly to Transform nodes to move subgraphs around the scene.

-

o Key(const osg::Vec3& position, const osg::Quat& rotation, const osg::Vec3& scale) +
o Key(const osg::Vec3& position, const osg::Quat& rotation, const osg::Vec3& scale)

@@ -116,7 +116,7 @@ be attached directly to Transform nodes to move subgraphs around the scene.

-

oinline void interpolate(const float ratio, const Key& first, const Key& second) +
oinline void interpolate(const float ratio, const Key& first, const Key& second)

diff --git a/doc/doc++/osg/AttributeFunctor.html b/doc/doc++/osg/AttributeFunctor.html index ba5d9770d..bf2d827b6 100644 --- a/doc/doc++/osg/AttributeFunctor.html +++ b/doc/doc++/osg/AttributeFunctor.html @@ -22,24 +22,24 @@

Public Methods

-[more] AttributeFunctor(AttributeBitMask abm) +[more] AttributeFunctor(AttributeBitMask abm)
-[more]virtual ~AttributeFunctor() +[more]virtual ~AttributeFunctor()
-[more]void setAttributeBitMask(AttributeBitMask abm) +[more]void setAttributeBitMask(AttributeBitMask abm)
-[more]AttributeBitMask getAttributeBitMask() const +[more]AttributeBitMask getAttributeBitMask() const
-[more]virtual bool apply(AttributeBitMask, Vec2*, Vec2*) +[more]virtual bool apply(AttributeBitMask, Vec2*, Vec2*)
-[more]virtual bool apply(AttributeBitMask, Vec3*, Vec3*) +[more]virtual bool apply(AttributeBitMask, Vec3*, Vec3*)
-[more]virtual bool apply(AttributeBitMask, Vec4*, Vec4*) +[more]virtual bool apply(AttributeBitMask, Vec4*, Vec4*)

Protected Fields

-[more]AttributeBitMask _abm +[more]AttributeBitMask _abm

@@ -50,35 +50,35 @@
- +
o AttributeFunctor(AttributeBitMask abm)

- +

ovirtual ~AttributeFunctor()

- +

ovoid setAttributeBitMask(AttributeBitMask abm)

- +

oAttributeBitMask getAttributeBitMask() const

- +

ovirtual bool apply(AttributeBitMask, Vec2*, Vec2*)

- +

ovirtual bool apply(AttributeBitMask, Vec3*, Vec3*)

- +

ovirtual bool apply(AttributeBitMask, Vec4*, Vec4*)

- +

oAttributeBitMask _abm


diff --git a/doc/doc++/osg/Billboard.html b/doc/doc++/osg/Billboard.html index 4a9364f16..d767be7f0 100644 --- a/doc/doc++/osg/Billboard.html +++ b/doc/doc++/osg/Billboard.html @@ -23,96 +23,96 @@

Public Methods

-[more] Billboard() +[more] Billboard()
-[more] Billboard(const Billboard&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Billboard(const Billboard&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_Node(Billboard) +[more] META_Node(osg, Billboard)
-[more]void setMode(const Mode mode) +[more]void setMode(const Mode mode)
Set the billboard rotation mode.
-[more]inline const Mode getMode() const +[more]inline const Mode getMode() const
Get the billboard rotation mode.
-[more]void setAxis(const Vec3& axis) +[more]void setAxis(const Vec3& axis)
Set the axis about which all the billboard's drawable rotate.
-[more]inline const Vec3& getAxis() const +[more]inline const Vec3& getAxis() const
Get the axis about which all the billboard's drawable rotate.
-[more]inline void setPos(int i, const Vec3& pos) +[more]inline void setPos(int i, const Vec3& pos)
Set the position of specified drawable.
-[more]inline const Vec3& getPos(int i) const +[more]inline const Vec3& getPos(int i) const
Get the position of specified drawable.
-[more]inline PositionList& getPositionList() +[more]inline PositionList& getPositionList()
Get the PositionList from the billboard
-[more]inline const PositionList& getPositionList() const +[more]inline const PositionList& getPositionList() const
Get a const PositionList from the billboard
-[more]virtual const bool addDrawable( Drawable* gset ) +[more]virtual const bool addDrawable( Drawable* gset )
Add Drawable to Billboard with default position(0,0,0); If gset not NULL and is not contained in Billboard then increment its reference count, and dirty the bounding box to cause it to recompute on next getBound() and return true for success.
-[more]virtual const bool addDrawable(Drawable* gset, const Vec3& pos) +[more]virtual const bool addDrawable(Drawable* gset, const Vec3& pos)
Add Drawable to Geode at position pos.
-[more]virtual const bool removeDrawable( Drawable* gset ) +[more]virtual const bool removeDrawable( Drawable* gset )
Remove Drawable and associated position from Billboard.
-[more]void setComputeBillboardCallback(ComputeBillboardCallback* ctc) +[more]void setComputeBillboardCallback(ComputeBillboardCallback* ctc)
Set the ComputeBillboardCallback which allows users to attach custom computation of the local transformation as seen by cull traversers and alike
-[more]ComputeBillboardCallback* getComputeBillboardCallback() +[more]ComputeBillboardCallback* getComputeBillboardCallback()
Get the non const ComputeBillboardCallback
-[more]const ComputeBillboardCallback* getComputeBillboardCallback() const +[more]const ComputeBillboardCallback* getComputeBillboardCallback() const
Get the const ComputeBillboardCallback
-[more]inline const bool getMatrix(Matrix& modelview, const Vec3& eye_local, const Vec3& pos_local) const +[more]inline const bool getMatrix(Matrix& modelview, const Vec3& eye_local, const Vec3& pos_local) const
-[more]virtual const bool computeMatrix(Matrix& modelview, const Vec3& eye_local, const Vec3& pos_local) const +[more]virtual const bool computeMatrix(Matrix& modelview, const Vec3& eye_local, const Vec3& pos_local) const

Public Members

-[more]enum Mode +[more]enum Mode
-[more]typedef std::vector<Vec3> PositionList +[more]typedef std::vector<Vec3> PositionList
PositionList represents a list of pivot points for each drawable
-[more]struct ComputeBillboardCallback: public osg::Referenced +[more]struct ComputeBillboardCallback: public osg::Referenced
Callback attached to an Billboard which allows the users to customize the billboard orientation calculation during cull traversal

Protected Fields

-[more]Mode _mode +[more]Mode _mode
-[more]Vec3 _axis +[more]Vec3 _axis
-[more]PositionList _positionList +[more]PositionList _positionList
-[more]ref_ptr<ComputeBillboardCallback> _computeBillboardCallback +[more]ref_ptr<ComputeBillboardCallback> _computeBillboardCallback
-[more]int _cachedMode +[more]int _cachedMode

Protected Methods

-[more]virtual ~Billboard() +[more]virtual ~Billboard()
-[more]virtual const bool computeBound() const +[more]virtual const bool computeBound() const
-[more]void setCachedMode() +[more]void setCachedMode()

Protected Members

-[more]enum AxisAligned +[more]enum AxisAligned

@@ -152,83 +152,83 @@ the eye point. Typical uses are for trees, or particle explosions.
- +
oenum Mode

- +
o POINT_ROT_EYE

- +

o POINT_ROT_WORLD

- +

o AXIAL_ROT

- +
o Billboard()

- -

o Billboard(const Billboard&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o Billboard(const Billboard&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy

- -

o META_Node(Billboard) + +
o META_Node(osg, Billboard)

- -

ovoid setMode(const Mode mode) + +
ovoid setMode(const Mode mode)
Set the billboard rotation mode.

- -

oinline const Mode getMode() const + +
oinline const Mode getMode() const
Get the billboard rotation mode.

- +

ovoid setAxis(const Vec3& axis)
Set the axis about which all the billboard's drawable rotate.

- +

oinline const Vec3& getAxis() const
Get the axis about which all the billboard's drawable rotate.

- +

oinline void setPos(int i, const Vec3& pos)
Set the position of specified drawable.

- +

oinline const Vec3& getPos(int i) const
Get the position of specified drawable.

- +

otypedef std::vector<Vec3> PositionList
PositionList represents a list of pivot points for each drawable

- -

oinline PositionList& getPositionList() + +
oinline PositionList& getPositionList()
Get the PositionList from the billboard

- -

oinline const PositionList& getPositionList() const + +
oinline const PositionList& getPositionList() const
Get a const PositionList from the billboard

- +

ovirtual const bool addDrawable( Drawable* gset )
Add Drawable to Billboard with default position(0,0,0); If gset not NULL and is not contained in Billboard then increment its @@ -236,7 +236,7 @@ reference count, and dirty the bounding box to cause it to recompute on next getBound() and return true for success. Otherwise return false.

- +

ovirtual const bool addDrawable(Drawable* gset, const Vec3& pos)
Add Drawable to Geode at position pos. If gset not NULL and is not contained in Billboard then increment its @@ -244,7 +244,7 @@ reference count, and dirty the bounding box to cause it to recompute on next getBound() and return true for success. Otherwise return false.

- +

ovirtual const bool removeDrawable( Drawable* gset )
Remove Drawable and associated position from Billboard. If gset is contained in Billboard then remove it from the geoset @@ -254,89 +254,89 @@ return true for success. If gset is not found then return false and do not the reference count of gset is left unchanged.

- +

ostruct ComputeBillboardCallback: public osg::Referenced
Callback attached to an Billboard which allows the users to customize the billboard orientation calculation during cull traversal

- +
ovirtual const bool computeMatrix(Matrix& modelview, const Billboard* billboard, const Vec3& eye_local, const Vec3& pos_local) const = 0
Get the transformation matrix which moves from local coords to world coords

- -
ovoid setComputeBillboardCallback(ComputeBillboardCallback* ctc) + +
ovoid setComputeBillboardCallback(ComputeBillboardCallback* ctc)
Set the ComputeBillboardCallback which allows users to attach custom computation of the local transformation as seen by cull traversers and alike

- -

oComputeBillboardCallback* getComputeBillboardCallback() + +
oComputeBillboardCallback* getComputeBillboardCallback()
Get the non const ComputeBillboardCallback

- -

oconst ComputeBillboardCallback* getComputeBillboardCallback() const + +
oconst ComputeBillboardCallback* getComputeBillboardCallback() const
Get the const ComputeBillboardCallback

- +

oinline const bool getMatrix(Matrix& modelview, const Vec3& eye_local, const Vec3& pos_local) const

- +

ovirtual const bool computeMatrix(Matrix& modelview, const Vec3& eye_local, const Vec3& pos_local) const

- +

ovirtual ~Billboard()

- +

ovirtual const bool computeBound() const

- +

oenum AxisAligned

- +
o AXIAL_ROT_X_AXIS

- +

o AXIAL_ROT_Y_AXIS

- +

o AXIAL_ROT_Z_AXIS

- -
oMode _mode + +
oMode _mode

- +

oVec3 _axis

- -

oPositionList _positionList + +
oPositionList _positionList

- -

oref_ptr<ComputeBillboardCallback> _computeBillboardCallback + +
oref_ptr<ComputeBillboardCallback> _computeBillboardCallback

- +

oint _cachedMode

- +

ovoid setCachedMode()

diff --git a/doc/doc++/osg/BoundingBox.html b/doc/doc++/osg/BoundingBox.html index 4797377bc..dcaf35bd5 100644 --- a/doc/doc++/osg/BoundingBox.html +++ b/doc/doc++/osg/BoundingBox.html @@ -13,81 +13,83 @@

Public Fields

-[more]Vec3 _min +[more]Vec3 _min
The corner with the smallest values for each coordinate of the bounding box
-[more]Vec3 _max +[more]Vec3 _max
The corner with the largest values for each coordinate of the bounding box

Public Methods

-[more]inline BoundingBox() +[more]inline BoundingBox()
construct to invalid values to represent an unset bounding box
-[more]inline BoundingBox(float xmin, float ymin, float zmin, float xmax, float ymax, float zmax) +[more]inline BoundingBox(float xmin, float ymin, float zmin, float xmax, float ymax, float zmax)
construct to with specified min and max values
-[more]inline BoundingBox(const Vec3& min, const Vec3& max) +[more]inline BoundingBox(const Vec3& min, const Vec3& max)
construct to with specified min and max values
-[more]inline void init() +[more]inline void init()
initialize to invalid values to represent an unset bounding box
-[more]inline const bool isValid() const -
return true if the bounding box contains valid values, false if the bounding box is effectively unset/empty +[more]inline const bool isValid() const +
deprecated, use valid() instead
-[more]inline void set(float xmin, float ymin, float zmin, float xmax, float ymax, float zmax) +[more]inline const bool valid() const
-[more]inline void set(const Vec3& min, const Vec3& max) +[more]inline void set(float xmin, float ymin, float zmin, float xmax, float ymax, float zmax) +
+[more]inline void set(const Vec3& min, const Vec3& max)
construct to with specified min and max values
-[more]inline float& xMin() +[more]inline float& xMin()
-[more]inline const float xMin() const +[more]inline const float xMin() const
-[more]inline float& yMin() +[more]inline float& yMin()
-[more]inline const float yMin() const +[more]inline const float yMin() const
-[more]inline float& zMin() +[more]inline float& zMin()
-[more]inline const float zMin() const +[more]inline const float zMin() const
-[more]inline float& xMax() +[more]inline float& xMax()
-[more]inline const float xMax() const +[more]inline const float xMax() const
-[more]inline float& yMax() +[more]inline float& yMax()
-[more]inline const float yMax() const +[more]inline const float yMax() const
-[more]inline float& zMax() +[more]inline float& zMax()
-[more]inline const float zMax() const +[more]inline const float zMax() const
-[more]inline const Vec3 center() const +[more]inline const Vec3 center() const
Calculate and return the center of the bounding box
-[more]inline const float radius() const +[more]inline const float radius() const
Calculate and return the radius of the bounding box
-[more]inline const float radius2() const +[more]inline const float radius2() const
Calculate and return the radius squared of the bounding box.
-[more]inline const Vec3 corner(unsigned int pos) const +[more]inline const Vec3 corner(unsigned int pos) const
return the corner of the bounding box.
-[more]void expandBy(const Vec3& v) +[more]void expandBy(const Vec3& v)
If the vertex is out-with the box expand to encompass vertex.
-[more]void expandBy(const BoundingBox& bb) +[more]void expandBy(const BoundingBox& bb)
If incoming box is out-with the box expand to encompass incoming box.
-[more]void expandBy(const BoundingSphere& sh) +[more]void expandBy(const BoundingSphere& sh)
If incoming sphere is out-with the box expand to encompass incoming sphere.
-[more]inline const bool contains(const Vec3& v) const +[more]inline const bool contains(const Vec3& v) const
return true is vertex v is within the box

@@ -98,122 +100,125 @@

Documentation

General purpose axis-aligned bounding box class for enclosing objects/vertices. Used to bounding the leaf objects in the scene, -i.e. osg::GeoSet's to assist in view frustum culling etc.
+i.e. osg::Drawable's to assist in view frustum culling etc.
- +
oVec3 _min
The corner with the smallest values for each coordinate of the bounding box

- +

oVec3 _max
The corner with the largest values for each coordinate of the bounding box

- +

oinline BoundingBox()
construct to invalid values to represent an unset bounding box

- +

oinline BoundingBox(float xmin, float ymin, float zmin, float xmax, float ymax, float zmax)
construct to with specified min and max values

- +

oinline BoundingBox(const Vec3& min, const Vec3& max)
construct to with specified min and max values

- +

oinline void init()
initialize to invalid values to represent an unset bounding box

- +

oinline const bool isValid() const -
return true if the bounding box contains valid values, -false if the bounding box is effectively unset/empty +
deprecated, use valid() instead +

+ + +

oinline const bool valid() const

- +

oinline void set(float xmin, float ymin, float zmin, float xmax, float ymax, float zmax)

- +

oinline void set(const Vec3& min, const Vec3& max)
construct to with specified min and max values

- +

oinline float& xMin()

- +

oinline const float xMin() const

- +

oinline float& yMin()

- +

oinline const float yMin() const

- +

oinline float& zMin()

- +

oinline const float zMin() const

- +

oinline float& xMax()

- +

oinline const float xMax() const

- +

oinline float& yMax()

- +

oinline const float yMax() const

- +

oinline float& zMax()

- +

oinline const float zMax() const

- +

oinline const Vec3 center() const
Calculate and return the center of the bounding box

- +

oinline const float radius() const
Calculate and return the radius of the bounding box

- +

oinline const float radius2() const
Calculate and return the radius squared of the bounding box. Note, radius2() is faster to calculate than radius().

- +

oinline const Vec3 corner(unsigned int pos) const
return the corner of the bounding box. Position (pos) is specified by a number between 0 and 7, @@ -222,25 +227,25 @@ bit toggles between y min and y max, third bit toggles between z min and z max.

- +

ovoid expandBy(const Vec3& v)
If the vertex is out-with the box expand to encompass vertex. If this box is empty then move set this box's min max to vertex.

- +

ovoid expandBy(const BoundingBox& bb)
If incoming box is out-with the box expand to encompass incoming box. If this box is empty then move set this box to incoming box.

- +

ovoid expandBy(const BoundingSphere& sh)
If incoming sphere is out-with the box expand to encompass incoming sphere. If this box is empty then move set this box to encompass the sphere.

- +

oinline const bool contains(const Vec3& v) const
return true is vertex v is within the box

diff --git a/doc/doc++/osg/BoundingSphere.html b/doc/doc++/osg/BoundingSphere.html index ec135ccc4..50d41d559 100644 --- a/doc/doc++/osg/BoundingSphere.html +++ b/doc/doc++/osg/BoundingSphere.html @@ -13,59 +13,68 @@

Public Fields

-[more]Vec3 _center +[more]Vec3 _center
-[more]float _radius +[more]float _radius

Public Methods

-[more] BoundingSphere() +[more] BoundingSphere()
construct to invalid values to represent an unset bounding sphere
-[more] BoundingSphere(const Vec3& center, float radius) +[more] BoundingSphere(const Vec3& center, float radius)
construct to specified bounding sphere
-[more]inline void init() +[more]inline void init()
initialize to invalid values to represent an unset bounding sphere
-[more]inline const bool isValid() const +[more]inline const bool isValid() const +
deprecated, use valid() instead +
+[more]inline const bool valid() const
return true if the bounding sphere contains valid values, false if the bounding sphere is effectively unset
-[more]inline void set(const Vec3& center, float radius) +[more]inline void set(const Vec3& center, float radius)
set bounding sphere
-[more]inline Vec3& center() +[more]inline Vec3& center()
return the center of the bounding sphere
-[more]inline const Vec3& center() const +[more]inline const Vec3& center() const
return the const center of the bounding sphere
-[more]inline float& radius() +[more]inline float& radius()
return the radius of the bounding sphere
-[more]inline const float radius() const +[more]inline const float radius() const
return the const radius of the bounding sphere
-[more]inline const float radius2() const +[more]inline const float radius2() const
return the radius squared.
-[more]void expandBy(const Vec3& v) +[more]void expandBy(const Vec3& v)
If the vertex is out-with the sphere expand to encompass vertex.
-[more]void expandRadiusBy(const Vec3& v) +[more]void expandRadiusBy(const Vec3& v)
If the vertex is outwith the sphere expand radius to ecompass vertex.
-[more]void expandBy(const BoundingSphere& sh) +[more]void expandBy(const BoundingSphere& sh)
If incomming sphere is outwith the sphere expand to ecompass incomming sphere.
-[more]void expandRadiusBy(const BoundingSphere& sh) +[more]void expandRadiusBy(const BoundingSphere& sh)
If incomming sphere is outwith the sphere expand radius to ecompass incomming sphere.
-[more]inline const bool contains(const Vec3& v) const +[more]void expandBy(const BoundingBox& bb) +
If incomming box is outwith the sphere expand to ecompass incomming box. +
+[more]void expandRadiusBy(const BoundingBox& bb) +
If incomming box is outwith the sphere expand radius to ecompass incomming box. +
+[more]inline const bool contains(const Vec3& v) const
return true is vertex v is within the sphere
-[more]inline const bool intersects( const BoundingSphere& bs ) const +[more]inline const bool intersects( const BoundingSphere& bs ) const
return true if bounding sphere's intersect each other

@@ -82,61 +91,66 @@ than a BoundingBox so will not cull so aggressively.
- +
oVec3 _center

- +

ofloat _radius

- +

o BoundingSphere()
construct to invalid values to represent an unset bounding sphere

- -

o BoundingSphere(const Vec3& center, float radius) + +
o BoundingSphere(const Vec3& center, float radius)
construct to specified bounding sphere

- +

oinline void init()
initialize to invalid values to represent an unset bounding sphere

- +

oinline const bool isValid() const +
deprecated, use valid() instead +

+ + +

oinline const bool valid() const
return true if the bounding sphere contains valid values, false if the bounding sphere is effectively unset

- -

oinline void set(const Vec3& center, float radius) + +
oinline void set(const Vec3& center, float radius)
set bounding sphere

- +

oinline Vec3& center()
return the center of the bounding sphere

- +

oinline const Vec3& center() const
return the const center of the bounding sphere

- +

oinline float& radius()
return the radius of the bounding sphere

- +

oinline const float radius() const
return the const radius of the bounding sphere

- +

oinline const float radius2() const
return the radius squared. Note, for performance reasons, assumes the calling method has ensured @@ -144,7 +158,7 @@ that the sphere is valid before calling radius2(), i.e. has _radius>=0.0, as it does not check th validity of sphere and will erroneously return a positive value.

- +

ovoid expandBy(const Vec3& v)
If the vertex is out-with the sphere expand to encompass vertex. Calculates the combination of movement of center and radius which @@ -152,14 +166,14 @@ minimizes the radius increase. If this sphere is empty then move the center to v and set radius to 0.

- +

ovoid expandRadiusBy(const Vec3& v)
If the vertex is outwith the sphere expand radius to ecompass vertex. Unlike update, does not move the center, just increasing the radius. If this sphere is empty then move the centrer to v and set radius to 0

- +

ovoid expandBy(const BoundingSphere& sh)
If incomming sphere is outwith the sphere expand to ecompass incomming sphere. calculates the combination of movement of center and radius which @@ -167,19 +181,34 @@ minimizes the radius increase. If this sphere is empty then move the centrer to v and set radius to 0.

- +

ovoid expandRadiusBy(const BoundingSphere& sh)
If incomming sphere is outwith the sphere expand radius to ecompass incomming sphere. Unlike update, does not move the center, just increasing the radius. If this sphere is empty then move the centrer to v and set radius to 0.

+ + +

ovoid expandBy(const BoundingBox& bb) +
If incomming box is outwith the sphere expand to ecompass incomming box. +calculates the combination of movement of center and radius which +minimizes the radius increase. If this boz is empty then +move the centrer to v and set radius to 0. +

+ + +

ovoid expandRadiusBy(const BoundingBox& bb) +
If incomming box is outwith the sphere expand radius to ecompass incomming box. +Unlike update, does not move the center, just increasing the radius. +If this sphere is empty then move the centrer to v and set radius to 0. +

- +

oinline const bool contains(const Vec3& v) const
return true is vertex v is within the sphere

- +

oinline const bool intersects( const BoundingSphere& bs ) const
return true if bounding sphere's intersect each other

diff --git a/doc/doc++/osg/Camera.html b/doc/doc++/osg/Camera.html index 3636786a3..6d2e9f589 100644 --- a/doc/doc++/osg/Camera.html +++ b/doc/doc++/osg/Camera.html @@ -23,197 +23,197 @@

Public Methods

-[more] Camera(DisplaySettings* ds=NULL) +[more] Camera(DisplaySettings* ds=NULL)
-[more] Camera(const Camera&) +[more] Camera(const Camera&)
-[more]Camera& operator=(const Camera&) +[more]Camera& operator=(const Camera&)
-[more]virtual ~Camera() +[more]virtual ~Camera()
-[more]const ProjectionType getProjectionType() const +[more]const ProjectionType getProjectionType() const
Get the projection type set by setOtho,setOtho2D,setFrustum, and set perspective methods
-[more]void setOrtho(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar) +[more]void setOrtho(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
Set a orthographic projection.
-[more]void setOrtho2D(const double left, const double right, const double bottom, const double top) +[more]void setOrtho2D(const double left, const double right, const double bottom, const double top)
Set a 2D orthographic projection.
-[more]void setFrustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar) +[more]void setFrustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
Set a perspective projection.
-[more]void setPerspective(const double fovy, const double aspectRatio, const double zNear, const double zFar) +[more]void setPerspective(const double fovy, const double aspectRatio, const double zNear, const double zFar)
Set a symmetrical perspective projection, See gluPerspective for further details.
-[more]void setFOV(const double fovx, const double fovy, const double zNear, const double zFar) +[more]void setFOV(const double fovx, const double fovy, const double zNear, const double zFar)
Set a sysmmetical perspective projection using field of view
-[more]void setNearFar(const double zNear, const double zFar) +[more]void setNearFar(const double zNear, const double zFar)
Set the near and far clipping planes
-[more]void setAdjustAspectRatioMode(const AdjustAspectRatioMode aam) +[more]void setAdjustAspectRatioMode(const AdjustAspectRatioMode aam)
Set the way that the vertical or horizontal dimensions of the window are adjusted on a resize.
-[more]const AdjustAspectRatioMode getAdjustAspectRatioMode() const +[more]const AdjustAspectRatioMode getAdjustAspectRatioMode() const
Get the way that the vertical or horizontal dimensions of the window are adjusted on a resize.
-[more]void adjustAspectRatio(const double newAspectRatio) +[more]void adjustAspectRatio(const double newAspectRatio)
Adjust the clipping planes to account for a new window aspect ratio.
-[more]void adjustAspectRatio(const double newAspectRatio, const AdjustAspectRatioMode aa) +[more]void adjustAspectRatio(const double newAspectRatio, const AdjustAspectRatioMode aa)
Adjust the clipping planes to account for a new window aspect ratio.
-[more]const double left() const +[more]const double left() const
-[more]const double right() const +[more]const double right() const
-[more]const double bottom() const +[more]const double bottom() const
-[more]const double top() const +[more]const double top() const
-[more]const double zNear() const +[more]const double zNear() const
-[more]const double zFar() const +[more]const double zFar() const
-[more]const double calc_fovy() const +[more]const double calc_fovy() const
Calculate and return the equivalent fovx for the current project setting.
-[more]const double calc_fovx() const +[more]const double calc_fovx() const
Calculate and return the equivalent fovy for the current project setting.
-[more]const double calc_aspectRatio() const +[more]const double calc_aspectRatio() const
Calculate and return the projection aspect ratio.
-[more]const LookAtType getLookAtType() const +[more]const LookAtType getLookAtType() const
-[more]void home() +[more]void home()
hardwired home view for now, looking straight down the Z axis at the origin, with 'up' being the y axis
-[more]void setView(const Vec3& eyePoint, const Vec3& lookPoint, const Vec3& upVector) +[more]void setView(const Vec3& eyePoint, const Vec3& lookPoint, const Vec3& upVector)
Set the View, the up vector should be orthogonal to the look vector.
-[more]void setLookAt(const Vec3& eye, const Vec3& center, const Vec3& up) +[more]void setLookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
set the position and orientation of the camera, using the same convention as gluLookAt
-[more]void setLookAt(const double eyeX, const double eyeY, const double eyeZ, const double centerX, const double centerY, const double centerZ, const double upX, const double upY, const double upZ) +[more]void setLookAt(const double eyeX, const double eyeY, const double eyeZ, const double centerX, const double centerY, const double centerZ, const double upX, const double upY, const double upZ)
set the position and orientation of the camera, using the same convention as gluLookAt
-[more]void transformLookAt(const Matrix& matrix) +[more]void transformLookAt(const Matrix& matrix)
post multiple the existing eye point and orientation by matrix.
-[more]void ensureOrthogonalUpVector() +[more]void ensureOrthogonalUpVector()
-[more]inline const Vec3& getEyePoint() const +[more]inline const Vec3& getEyePoint() const
get the eye point.
-[more]inline const Vec3& getCenterPoint() const +[more]inline const Vec3& getCenterPoint() const
get the center point.
-[more]inline const Vec3& getUpVector() const +[more]inline const Vec3& getUpVector() const
get the up vector
-[more]const Vec3 getLookVector() const +[more]const Vec3 getLookVector() const
calculate look vector
-[more]const Vec3 getSideVector() const +[more]const Vec3 getSideVector() const
calculate side vector
-[more]inline float getLookDistance() const +[more]inline float getLookDistance() const
calculate the look distance which is the distance between the eye and the center
-[more]void attachTransform(const TransformMode mode, Matrix* modelTransform=0) +[more]void attachTransform(const TransformMode mode, Matrix* modelTransform=0)
Attach a transform matrix which is applied after the camera look at.
-[more]Matrix* getTransform(const TransformMode mode) +[more]Matrix* getTransform(const TransformMode mode)
-[more]const Matrix* getTransform(const TransformMode mode) const +[more]const Matrix* getTransform(const TransformMode mode) const
-[more]void setFusionDistanceMode(FusionDistanceMode mode) +[more]void setFusionDistanceMode(FusionDistanceMode mode)
Set the mode of the fusion distance function which in use to calculate the fusion distance used in stereo rendering.
-[more]FusionDistanceMode getFusionDistanceMode() const +[more]FusionDistanceMode getFusionDistanceMode() const
Get the mode of the fusion distance function
-[more]void setFusionDistanceRatio(float ratio) +[more]void setFusionDistanceRatio(float ratio)
Set the ratio of the fusion distance function which in use to calculate the fusion distance used in stereo rendering.
-[more]float getFusionDistanceRatio() const +[more]float getFusionDistanceRatio() const
Get the ratio of the fusion distance function
-[more]const float getFusionDistance() const +[more]const float getFusionDistance() const
Calculate and return the fusion distance, using the FusionDistanceFunction
-[more]void setScreenDistance(float screenDistance) +[more]void setScreenDistance(float screenDistance)
Set the physical distance between the viewers eyes and the display system.
-[more]const float getScreenDistance() const +[more]const float getScreenDistance() const
Get the physical distance between the viewers eyes and the display system
-[more]const Matrix getProjectionMatrix() const +[more]const Matrix getProjectionMatrix() const
Get the Projection Matrix
-[more]const Matrix getModelViewMatrix() const +[more]const Matrix getModelViewMatrix() const
Get the ModelView matrix.

Public Members

-[more]enum ProjectionType +[more]enum ProjectionType
Range of projection types.
-[more]enum AdjustAspectRatioMode +[more]enum AdjustAspectRatioMode
Use in combination with adjustAspectRatio, to control the change in frustum clipping planes to account for changes in windows aspect ratio,
-[more]enum LookAtType +[more]enum LookAtType
-[more]enum TransformMode +[more]enum TransformMode
-[more]enum FusionDistanceMode +[more]enum FusionDistanceMode

Protected Fields

-[more]ProjectionType _projectionType +[more]ProjectionType _projectionType
-[more]AdjustAspectRatioMode _adjustAspectRatioMode +[more]AdjustAspectRatioMode _adjustAspectRatioMode
-[more]double _left +[more]double _left
-[more]double _right +[more]double _right
-[more]double _bottom +[more]double _bottom
-[more]double _top +[more]double _top
-[more]double _zNear +[more]double _zNear
-[more]double _zFar +[more]double _zFar
-[more]LookAtType _lookAtType +[more]LookAtType _lookAtType
-[more]Vec3 _eye +[more]Vec3 _eye
-[more]Vec3 _center +[more]Vec3 _center
-[more]Vec3 _up +[more]Vec3 _up
-[more]TransformMode _attachedTransformMode +[more]TransformMode _attachedTransformMode
-[more]ref_ptr<Matrix> _eyeToModelTransform +[more]ref_ptr<Matrix> _eyeToModelTransform
-[more]ref_ptr<Matrix> _modelToEyeTransform +[more]ref_ptr<Matrix> _modelToEyeTransform
-[more]float _screenDistance +[more]float _screenDistance
-[more]FusionDistanceMode _fusionDistanceMode +[more]FusionDistanceMode _fusionDistanceMode
-[more]float _fusionDistanceRatio +[more]float _fusionDistanceRatio

Protected Methods

-[more]void copy(const Camera&) +[more]void copy(const Camera&)

@@ -249,23 +249,23 @@ respectively.
- +
o Camera(DisplaySettings* ds=NULL)

- -

o Camera(const Camera&) + +
o Camera(const Camera&)

- +

oCamera& operator=(const Camera&)

- +

ovirtual ~Camera()

- +

oenum ProjectionType
Range of projection types. ORTHO2D is a special case of ORTHO where the near and far planes @@ -275,61 +275,61 @@ and bottom and top and symmetrical.

- +
o ORTHO

- +

o ORTHO2D

- +

o FRUSTUM

- +

o PERSPECTIVE

- -
oconst ProjectionType getProjectionType() const + +
oconst ProjectionType getProjectionType() const
Get the projection type set by setOtho,setOtho2D,setFrustum, and set perspective methods

- -

ovoid setOrtho(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar) + +
ovoid setOrtho(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
Set a orthographic projection. See glOrtho for further details.

- -

ovoid setOrtho2D(const double left, const double right, const double bottom, const double top) + +
ovoid setOrtho2D(const double left, const double right, const double bottom, const double top)
Set a 2D orthographic projection. See gluOrtho2D for further details.

- -

ovoid setFrustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar) + +
ovoid setFrustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
Set a perspective projection. See glFrustum for further details.

- -

ovoid setPerspective(const double fovy, const double aspectRatio, const double zNear, const double zFar) + +
ovoid setPerspective(const double fovy, const double aspectRatio, const double zNear, const double zFar)
Set a symmetrical perspective projection, See gluPerspective for further details. Aspect ratio is defined as width/height.

- -

ovoid setFOV(const double fovx, const double fovy, const double zNear, const double zFar) + +
ovoid setFOV(const double fovx, const double fovy, const double zNear, const double zFar)
Set a sysmmetical perspective projection using field of view

- -

ovoid setNearFar(const double zNear, const double zFar) + +
ovoid setNearFar(const double zNear, const double zFar)
Set the near and far clipping planes

- +

oenum AdjustAspectRatioMode
Use in combination with adjustAspectRatio, to control the change in frustum clipping planes to account for @@ -337,119 +337,119 @@ changes in windows aspect ratio,

- +
o ADJUST_VERTICAL

- +

o ADJUST_HORIZONTAL

- +

o ADJUST_NONE

- -
ovoid setAdjustAspectRatioMode(const AdjustAspectRatioMode aam) + +
ovoid setAdjustAspectRatioMode(const AdjustAspectRatioMode aam)
Set the way that the vertical or horizontal dimensions of the window are adjusted on a resize.

- -

oconst AdjustAspectRatioMode getAdjustAspectRatioMode() const + +
oconst AdjustAspectRatioMode getAdjustAspectRatioMode() const
Get the way that the vertical or horizontal dimensions of the window are adjusted on a resize.

- +

ovoid adjustAspectRatio(const double newAspectRatio)
Adjust the clipping planes to account for a new window aspect ratio. Typically used after resizing a window. Aspect ratio is defined as width/height.

- -

ovoid adjustAspectRatio(const double newAspectRatio, const AdjustAspectRatioMode aa) + +
ovoid adjustAspectRatio(const double newAspectRatio, const AdjustAspectRatioMode aa)
Adjust the clipping planes to account for a new window aspect ratio. Typicall used after resizeing a window. Aspect ratio is defined as width/height.

- +

oconst double left() const

- +

oconst double right() const

- +

oconst double bottom() const

- +

oconst double top() const

- +

oconst double zNear() const

- +

oconst double zFar() const

- +

oconst double calc_fovy() const
Calculate and return the equivalent fovx for the current project setting. This value is only valid for when a symmetric perspective projection exists. i.e. getProjectionType()==PERSPECTIVE.

- +

oconst double calc_fovx() const
Calculate and return the equivalent fovy for the current project setting. This value is only valid for when a symmetric perspective projection exists. i.e. getProjectionType()==PERSPECTIVE.

- +

oconst double calc_aspectRatio() const
Calculate and return the projection aspect ratio. Aspect ratio is defined as width/height.

- +

oenum LookAtType

- +
o USE_HOME_POSITON

- +

o USE_EYE_AND_QUATERNION

- +

o USE_EYE_CENTER_AND_UP

- -
oconst LookAtType getLookAtType() const + +
oconst LookAtType getLookAtType() const

- +

ovoid home()
hardwired home view for now, looking straight down the Z axis at the origin, with 'up' being the y axis

- +

ovoid setView(const Vec3& eyePoint, const Vec3& lookPoint, const Vec3& upVector)
Set the View, the up vector should be orthogonal to the look vector. @@ -457,78 +457,78 @@ setView is now mapped to setLookAt(eye,center,up), and is only kept for backwards compatibility.

- -

ovoid setLookAt(const Vec3& eye, const Vec3& center, const Vec3& up) + +
ovoid setLookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
set the position and orientation of the camera, using the same convention as gluLookAt

- +

ovoid setLookAt(const double eyeX, const double eyeY, const double eyeZ, const double centerX, const double centerY, const double centerZ, const double upX, const double upY, const double upZ)
set the position and orientation of the camera, using the same convention as gluLookAt

- +

ovoid transformLookAt(const Matrix& matrix)
post multiple the existing eye point and orientation by matrix. note, does not affect any ModelTransforms that are applied.

- +

ovoid ensureOrthogonalUpVector()

- +

oinline const Vec3& getEyePoint() const
get the eye point.

- +

oinline const Vec3& getCenterPoint() const
get the center point.

- +

oinline const Vec3& getUpVector() const
get the up vector

- +

oconst Vec3 getLookVector() const
calculate look vector

- +

oconst Vec3 getSideVector() const
calculate side vector

- +

oinline float getLookDistance() const
calculate the look distance which is the distance between the eye and the center

- +

oenum TransformMode

- +
o EYE_TO_MODEL

- +

o MODEL_TO_EYE

- +

o NO_ATTACHED_TRANSFORM

- -
ovoid attachTransform(const TransformMode mode, Matrix* modelTransform=0) + +
ovoid attachTransform(const TransformMode mode, Matrix* modelTransform=0)
Attach a transform matrix which is applied after the camera look at. The attached matrix can work in two ways, either as transform of the eye into the model coordinates - EYE_TO_MODEL, or as a transform of the @@ -543,79 +543,77 @@ default direction is along the y axis, unlike OpenGL and the default OSG. If modelTransfor is NULL then do not use any model transform - just use the basic LookAt values. note: Camera internals maintains the both EYE_TO_MODEL and MODEL_TO_EYE -internally and ensures that they are the inverse of one another. However, -if you modify the attached transform then you must call dirtyTransform, to -allow the OSG to update matrices accordingly. +internally and ensures that they are the inverse of one another.

- -

oMatrix* getTransform(const TransformMode mode) + +
oMatrix* getTransform(const TransformMode mode)

- -

oconst Matrix* getTransform(const TransformMode mode) const + +
oconst Matrix* getTransform(const TransformMode mode) const

- +

oenum FusionDistanceMode

- +
o PROPORTIONAL_TO_LOOK_DISTANCE

- +

o PROPORTIONAL_TO_SCREEN_DISTANCE

- -
ovoid setFusionDistanceMode(FusionDistanceMode mode) + +
ovoid setFusionDistanceMode(FusionDistanceMode mode)
Set the mode of the fusion distance function which in use to calculate the fusion distance used in stereo rendering. Default value is PROPORTIONAL_TO_LOOK_DISTANCE. Use in conjunction with setFusionDistanceRatio(float).

- -

oFusionDistanceMode getFusionDistanceMode() const + +
oFusionDistanceMode getFusionDistanceMode() const
Get the mode of the fusion distance function

- +

ovoid setFusionDistanceRatio(float ratio)
Set the ratio of the fusion distance function which in use to calculate the fusion distance used in stereo rendering. Default value is 1.0f Use in conjunction with setFusionDistanceMode(..).

- +

ofloat getFusionDistanceRatio() const
Get the ratio of the fusion distance function

- +

oconst float getFusionDistance() const
Calculate and return the fusion distance, using the FusionDistanceFunction

- +

ovoid setScreenDistance(float screenDistance)
Set the physical distance between the viewers eyes and the display system. Note, only used when rendering in stereo.

- +

oconst float getScreenDistance() const
Get the physical distance between the viewers eyes and the display system

- +

oconst Matrix getProjectionMatrix() const
Get the Projection Matrix

- +

oconst Matrix getModelViewMatrix() const
Get the ModelView matrix. If a ModelTransform is supplied then the ModelView matrix is @@ -624,79 +622,79 @@ Otherwise it is simply created by using the current LookAt, equivalent to using gluLookAt.

- +

ovoid copy(const Camera&)

- -

oProjectionType _projectionType + +
oProjectionType _projectionType

- -

oAdjustAspectRatioMode _adjustAspectRatioMode + +
oAdjustAspectRatioMode _adjustAspectRatioMode

- +

odouble _left

- +

odouble _right

- +

odouble _bottom

- +

odouble _top

- +

odouble _zNear

- +

odouble _zFar

- -

oLookAtType _lookAtType + +
oLookAtType _lookAtType

- +

oVec3 _eye

- +

oVec3 _center

- +

oVec3 _up

- -

oTransformMode _attachedTransformMode + +
oTransformMode _attachedTransformMode

- +

oref_ptr<Matrix> _eyeToModelTransform

- +

oref_ptr<Matrix> _modelToEyeTransform

- +

ofloat _screenDistance

- -

oFusionDistanceMode _fusionDistanceMode + +
oFusionDistanceMode _fusionDistanceMode

- +

ofloat _fusionDistanceRatio

diff --git a/doc/doc++/osg/ClipPlane.html b/doc/doc++/osg/ClipPlane.html index 2817d6b8f..c2de5e646 100644 --- a/doc/doc++/osg/ClipPlane.html +++ b/doc/doc++/osg/ClipPlane.html @@ -23,65 +23,65 @@

Public Methods

-[more] ClipPlane() +[more] ClipPlane()
-[more]inline ClipPlane(unsigned int no, const Vec4& plane) +[more]inline ClipPlane(unsigned int no, const Vec4& plane)
-[more]inline ClipPlane(unsigned int no, const Plane& plane) +[more]inline ClipPlane(unsigned int no, const Plane& plane)
-[more]inline ClipPlane(unsigned int no, const double a, const double b, const double c, const double d) +[more]inline ClipPlane(unsigned int no, const double a, const double b, const double c, const double d)
-[more] ClipPlane(const ClipPlane& cp, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] ClipPlane(const ClipPlane& cp, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(ClipPlane, (Type)(CLIPPLANE+_clipPlaneNum)) +[more] META_StateAttribute(osg, ClipPlane, (Type)(CLIPPLANE+_clipPlaneNum))
-[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
-[more]void setClipPlane(const Vec4& plane) +[more]void setClipPlane(const Vec4& plane)
Set the clip plane, using a Vec4 to define plane.
-[more]void setClipPlane(const Plane& plane) +[more]void setClipPlane(const Plane& plane)
Set the clip plane, using a Plane to define plane.
-[more]void setClipPlane(const double* plane) +[more]void setClipPlane(const double* plane)
Set the clip plane, using a double[4] to define plane.
-[more]void setClipPlane(const double a, const double b, const double c, const double d) +[more]void setClipPlane(const double a, const double b, const double c, const double d)
Set the clip plane, using a a to define plane.
-[more]void getClipPlane(Vec4& plane) const +[more]void getClipPlane(Vec4& plane) const
Get the clip plane, values entered into a Vec4 passed to the getClipPlane.
-[more]void getClipPlane(Plane& plane) const +[more]void getClipPlane(Plane& plane) const
Get the clip plane, values entered into a Plane passed to the getClipPlane.
-[more]void getClipPlane(double* plane) const +[more]void getClipPlane(double* plane) const
Get the clip plane, values entered into a double[4] passed to the getClipPlane.
-[more]void setClipPlaneNum(const unsigned int num) +[more]void setClipPlaneNum(const unsigned int num)
Set the clip plane number.
-[more]const unsigned int getClipPlaneNum() const +[more]const unsigned int getClipPlaneNum() const
Get the clip plane number.
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
Apply the clip plane's state to the OpenGL state machine.

Protected Fields

-[more]double _clipPlane[4] +[more]double _clipPlane[4]
-[more]unsigned int _clipPlaneNum +[more]unsigned int _clipPlaneNum

Protected Methods

-[more]virtual ~ClipPlane() +[more]virtual ~ClipPlane()

@@ -95,9 +95,13 @@
ovirtual bool isSameKindAs(const Object* obj) const
+ovirtual const char* libraryName() const +
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const +
+ovirtual bool isTextureAttribute() const
obool operator < (const StateAttribute& rhs) const
@@ -128,9 +132,9 @@

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

@@ -140,7 +144,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance

@@ -173,99 +177,99 @@
- +
o ClipPlane()

- +

oinline ClipPlane(unsigned int no, const Vec4& plane)

- +

oinline ClipPlane(unsigned int no, const Plane& plane)

- -

oinline ClipPlane(unsigned int no, const double a, const double b, const double c, const double d) + +
oinline ClipPlane(unsigned int no, const double a, const double b, const double c, const double d)

- -

o ClipPlane(const ClipPlane& cp, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o ClipPlane(const ClipPlane& cp, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy

- -

o META_StateAttribute(ClipPlane, (Type)(CLIPPLANE+_clipPlaneNum)) + +
o META_StateAttribute(osg, ClipPlane, (Type)(CLIPPLANE+_clipPlaneNum))

- +

ovirtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

- - -

ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const + + +
ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

- +

ovoid setClipPlane(const Vec4& plane)
Set the clip plane, using a Vec4 to define plane.

- +

ovoid setClipPlane(const Plane& plane)
Set the clip plane, using a Plane to define plane.

- +

ovoid setClipPlane(const double* plane)
Set the clip plane, using a double[4] to define plane.

- -

ovoid setClipPlane(const double a, const double b, const double c, const double d) + +
ovoid setClipPlane(const double a, const double b, const double c, const double d)
Set the clip plane, using a a to define plane.

- +

ovoid getClipPlane(Vec4& plane) const
Get the clip plane, values entered into a Vec4 passed to the getClipPlane.

- +

ovoid getClipPlane(Plane& plane) const
Get the clip plane, values entered into a Plane passed to the getClipPlane.

- +

ovoid getClipPlane(double* plane) const
Get the clip plane, values entered into a double[4] passed to the getClipPlane.

- +

ovoid setClipPlaneNum(const unsigned int num)
Set the clip plane number.

- +

oconst unsigned int getClipPlaneNum() const
Get the clip plane number.

- +

ovirtual void apply(State& state) const
Apply the clip plane's state to the OpenGL state machine.

- +

ovirtual ~ClipPlane()

- +

odouble _clipPlane[4]

- +

ounsigned int _clipPlaneNum

diff --git a/doc/doc++/osg/ColorMask.html b/doc/doc++/osg/ColorMask.html index bbdfa834d..af2f73753 100644 --- a/doc/doc++/osg/ColorMask.html +++ b/doc/doc++/osg/ColorMask.html @@ -23,43 +23,43 @@

Public Methods

-[more] ColorMask() +[more] ColorMask()
-[more] ColorMask(const ColorMask& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] ColorMask(const ColorMask& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(ColorMask, COLORMASK) +[more] META_StateAttribute(osg, ColorMask, COLORMASK)
-[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]inline void setMask(bool red, bool green, bool blue, bool alpha) +[more]inline void setMask(bool red, bool green, bool blue, bool alpha)
-[more]inline const bool getRedMask() const +[more]inline const bool getRedMask() const
-[more]inline const bool getGreenMask() const +[more]inline const bool getGreenMask() const
-[more]inline const bool getBlueMask() const +[more]inline const bool getBlueMask() const
-[more]inline const bool getAlphaMask() const +[more]inline const bool getAlphaMask() const
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

Protected Fields

-[more]bool _red +[more]bool _red
-[more]bool _green +[more]bool _green
-[more]bool _blue +[more]bool _blue
-[more]bool _alpha +[more]bool _alpha

Protected Methods

-[more]virtual ~ColorMask() +[more]virtual ~ColorMask()

@@ -73,9 +73,13 @@
ovirtual bool isSameKindAs(const Object* obj) const
+ovirtual const char* libraryName() const +
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const +
+ovirtual bool isTextureAttribute() const
obool operator < (const StateAttribute& rhs) const
@@ -83,7 +87,7 @@
obool operator != (const StateAttribute& rhs) const
-ovirtual void setStateSetModes(StateSet&, const GLModeValue) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
ovirtual void compile(State&) const

@@ -108,9 +112,9 @@

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

@@ -120,7 +124,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance

@@ -153,65 +157,65 @@
- +
o ColorMask()

- -

o ColorMask(const ColorMask& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o ColorMask(const ColorMask& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy

- -

o META_StateAttribute(ColorMask, COLORMASK) + +
o META_StateAttribute(osg, ColorMask, COLORMASK)

- +

ovirtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

- +

oinline void setMask(bool red, bool green, bool blue, bool alpha)

- +

oinline const bool getRedMask() const

- +

oinline const bool getGreenMask() const

- +

oinline const bool getBlueMask() const

- +

oinline const bool getAlphaMask() const

- +

ovirtual void apply(State& state) const

- +

ovirtual ~ColorMask()

- +

obool _red

- +

obool _green

- +

obool _blue

- +

obool _alpha

diff --git a/doc/doc++/osg/ColorMatrix.html b/doc/doc++/osg/ColorMatrix.html index c0868e770..02a598edf 100644 --- a/doc/doc++/osg/ColorMatrix.html +++ b/doc/doc++/osg/ColorMatrix.html @@ -23,37 +23,37 @@

Public Methods

-[more] ColorMatrix() +[more] ColorMatrix()
-[more] ColorMatrix(const ColorMatrix& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] ColorMatrix(const ColorMatrix& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(ColorMatrix, COLORMATRIX) +[more] META_StateAttribute(osg, ColorMatrix, COLORMATRIX)
-[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]inline void setMatrix(const Matrix& matrix) +[more]inline void setMatrix(const Matrix& matrix)
Set the color matrix
-[more]inline Matrix& getMatrix() +[more]inline Matrix& getMatrix()
Get the color matrix
-[more]inline const Matrix& getMatrix() const +[more]inline const Matrix& getMatrix() const
Get the const color matrix
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
apply as OpenGL texture matrix

Protected Fields

-[more]Matrix _matrix +[more]Matrix _matrix

Protected Methods

-[more]virtual ~ColorMatrix( void ) +[more]virtual ~ColorMatrix( void )

@@ -67,9 +67,13 @@
ovirtual bool isSameKindAs(const Object* obj) const
+ovirtual const char* libraryName() const +
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const +
+ovirtual bool isTextureAttribute() const
obool operator < (const StateAttribute& rhs) const
@@ -77,7 +81,7 @@
obool operator != (const StateAttribute& rhs) const
-ovirtual void setStateSetModes(StateSet&, const GLModeValue) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
ovirtual void compile(State&) const

@@ -102,9 +106,9 @@

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

@@ -114,7 +118,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance

@@ -147,49 +151,49 @@
- +
o ColorMatrix()

- -

o ColorMatrix(const ColorMatrix& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o ColorMatrix(const ColorMatrix& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy

- -

o META_StateAttribute(ColorMatrix, COLORMATRIX) + +
o META_StateAttribute(osg, ColorMatrix, COLORMATRIX)

- +

ovirtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

- +

oinline void setMatrix(const Matrix& matrix)
Set the color matrix

- +

oinline Matrix& getMatrix()
Get the color matrix

- +

oinline const Matrix& getMatrix() const
Get the const color matrix

- +

ovirtual void apply(State& state) const
apply as OpenGL texture matrix

- +

ovirtual ~ColorMatrix( void )

- +

oMatrix _matrix

diff --git a/doc/doc++/osg/CopyOp.html b/doc/doc++/osg/CopyOp.html index 7e00c2031..bdf8d3f86 100644 --- a/doc/doc++/osg/CopyOp.html +++ b/doc/doc++/osg/CopyOp.html @@ -13,35 +13,35 @@

Public Methods

-[more]typedef unsigned intinline CopyFlags CopyOp(CopyFlags flags=SHALLOW_COPY) +[more]typedef unsigned intinline CopyFlags CopyOp(CopyFlags flags=SHALLOW_COPY)
-[more]virtual ~CopyOp() +[more]virtual ~CopyOp()
-[more]virtual Referenced* operator() (const Referenced* ref) const +[more]virtual Referenced* operator() (const Referenced* ref) const
-[more]virtual Object* operator() (const Object* obj) const +[more]virtual Object* operator() (const Object* obj) const
-[more]virtual Node* operator() (const Node* node) const +[more]virtual Node* operator() (const Node* node) const
-[more]virtual Drawable* operator() (const Drawable* drawable) const +[more]virtual Drawable* operator() (const Drawable* drawable) const
-[more]virtual StateSet* operator() (const StateSet* stateset) const +[more]virtual StateSet* operator() (const StateSet* stateset) const
-[more]virtual StateAttribute* operator() (const StateAttribute* attr) const +[more]virtual StateAttribute* operator() (const StateAttribute* attr) const
-[more]virtual Texture* operator() (const Texture* text) const +[more]virtual Texture* operator() (const Texture* text) const
-[more]virtual Image* operator() (const Image* image) const +[more]virtual Image* operator() (const Image* image) const

Public Members

-[more]enum Options +[more]enum Options

Protected Fields

-[more]CopyFlags _flags +[more]CopyFlags _flags

@@ -54,89 +54,89 @@ during copy construction and clone operation
- +
oenum Options

- +
o SHALLOW_COPY

- +

o DEEP_COPY_OBJECTS

- +

o DEEP_COPY_NODES

- +

o DEEP_COPY_DRAWABLES

- +

o DEEP_COPY_STATESETS

- +

o DEEP_COPY_STATEATTRIBUTES

- +

o DEEP_COPY_TEXTURES

- +

o DEEP_COPY_IMAGES

- +

o DEEP_COPY_ALL

- -
otypedef unsigned intinline CopyFlags CopyOp(CopyFlags flags=SHALLOW_COPY) + +
otypedef unsigned intinline CopyFlags CopyOp(CopyFlags flags=SHALLOW_COPY)

- +

ovirtual ~CopyOp()

- -

ovirtual Referenced* operator() (const Referenced* ref) const + +
ovirtual Referenced* operator() (const Referenced* ref) const

- +

ovirtual Object* operator() (const Object* obj) const

- +

ovirtual Node* operator() (const Node* node) const

- +

ovirtual Drawable* operator() (const Drawable* drawable) const

- +

ovirtual StateSet* operator() (const StateSet* stateset) const

- +

ovirtual StateAttribute* operator() (const StateAttribute* attr) const

- +

ovirtual Texture* operator() (const Texture* text) const

- +

ovirtual Image* operator() (const Image* image) const

- +

oCopyFlags _flags

diff --git a/doc/doc++/osg/CullFace.html b/doc/doc++/osg/CullFace.html index 5dce5d162..6a5a874f0 100644 --- a/doc/doc++/osg/CullFace.html +++ b/doc/doc++/osg/CullFace.html @@ -23,38 +23,38 @@

Public Methods

-[more] CullFace() +[more] CullFace()
-[more] CullFace(const CullFace& cf, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] CullFace(const CullFace& cf, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(CullFace, CULLFACE) +[more] META_StateAttribute(osg, CullFace, CULLFACE)
-[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
-[more]inline void setMode(const Mode mode) +[more]inline void setMode(const Mode mode)
-[more]inline const Mode getMode() const +[more]inline const Mode getMode() const
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

Public Members

-[more]enum Mode +[more]enum Mode

Protected Fields

-[more]Mode _mode +[more]Mode _mode

Protected Methods

-[more]virtual ~CullFace() +[more]virtual ~CullFace()

@@ -68,9 +68,13 @@
ovirtual bool isSameKindAs(const Object* obj) const
+ovirtual const char* libraryName() const +
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const +
+ovirtual bool isTextureAttribute() const
obool operator < (const StateAttribute& rhs) const
@@ -101,9 +105,9 @@

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

@@ -113,7 +117,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance

@@ -146,64 +150,64 @@
- +
o CullFace()

- -

o CullFace(const CullFace& cf, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o CullFace(const CullFace& cf, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy

- -

o META_StateAttribute(CullFace, CULLFACE) + +
o META_StateAttribute(osg, CullFace, CULLFACE)

- +

ovirtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

- - -

ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const + + +
ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

- +

oenum Mode

- +
o FRONT

- +

o BACK

- +

o FRONT_AND_BACK

- -
oinline void setMode(const Mode mode) + +
oinline void setMode(const Mode mode)

- -

oinline const Mode getMode() const + +
oinline const Mode getMode() const

- +

ovirtual void apply(State& state) const

- +

ovirtual ~CullFace()

- -

oMode _mode + +
oMode _mode


This class has no child classes.
diff --git a/doc/doc++/osg/Depth.html b/doc/doc++/osg/Depth.html index 9c8fcf461..8f7f193cf 100644 --- a/doc/doc++/osg/Depth.html +++ b/doc/doc++/osg/Depth.html @@ -23,54 +23,54 @@

Public Methods

-[more] Depth() +[more] Depth()
-[more] Depth(const Depth& dp, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Depth(const Depth& dp, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(Depth, DEPTH) +[more] META_StateAttribute(osg, Depth, DEPTH)
-[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
-[more]inline void setFunction(const Function func) +[more]inline void setFunction(const Function func)
-[more]inline const Function getFunction() const +[more]inline const Function getFunction() const
-[more]inline void setWriteMask(const bool mask) +[more]inline void setWriteMask(const bool mask)
-[more]inline const bool getWriteMask() const +[more]inline const bool getWriteMask() const
-[more]inline void setRange(const double zNear, const double zFar) +[more]inline void setRange(const double zNear, const double zFar)
-[more]inline const double getZNear() const +[more]inline const double getZNear() const
-[more]inline const double getZFar() const +[more]inline const double getZFar() const
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

Public Members

-[more]enum Function +[more]enum Function

Protected Fields

-[more]Function _func +[more]Function _func
-[more]bool _depthWriteMask +[more]bool _depthWriteMask
-[more]double _zNear +[more]double _zNear
-[more]double _zFar +[more]double _zFar

Protected Methods

-[more]virtual ~Depth() +[more]virtual ~Depth()

@@ -84,9 +84,13 @@
ovirtual bool isSameKindAs(const Object* obj) const
+ovirtual const char* libraryName() const +
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const +
+ovirtual bool isTextureAttribute() const
obool operator < (const StateAttribute& rhs) const
@@ -117,9 +121,9 @@

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

@@ -129,7 +133,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance

@@ -162,115 +166,115 @@
- +
o Depth()

- -

o Depth(const Depth& dp, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o Depth(const Depth& dp, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy

- -

o META_StateAttribute(Depth, DEPTH) + +
o META_StateAttribute(osg, Depth, DEPTH)

- +

ovirtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

- - -

ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const + + +
ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

- +

oenum Function

- +
o NEVER

- +

o LESS

- +

o EQUAL

- +

o LEQUAL

- +

o GREATER

- +

o NOTEQUAL

- +

o GEQUAL

- +

o ALWAYS

- -
oinline void setFunction(const Function func) + +
oinline void setFunction(const Function func)

- -

oinline const Function getFunction() const + +
oinline const Function getFunction() const

- +

oinline void setWriteMask(const bool mask)

- +

oinline const bool getWriteMask() const

- -

oinline void setRange(const double zNear, const double zFar) + +
oinline void setRange(const double zNear, const double zFar)

- +

oinline const double getZNear() const

- +

oinline const double getZFar() const

- +

ovirtual void apply(State& state) const

- +

ovirtual ~Depth()

- -

oFunction _func + +
oFunction _func

- +

obool _depthWriteMask

- +

odouble _zNear

- +

odouble _zFar

diff --git a/doc/doc++/osg/DisplaySettings.html b/doc/doc++/osg/DisplaySettings.html index 64b0839f5..309ac3060 100644 --- a/doc/doc++/osg/DisplaySettings.html +++ b/doc/doc++/osg/DisplaySettings.html @@ -23,138 +23,138 @@

Public Methods

-[more]static DisplaySettings* instance() +[more]static DisplaySettings* instance()
Maintain a DisplaySettings singleton for objects to querry at runtime
-[more] DisplaySettings() +[more] DisplaySettings()
-[more] DisplaySettings(std::vector<std::string>& commandLine) +[more] DisplaySettings(std::vector<std::string>& commandLine)
-[more] DisplaySettings(const DisplaySettings& vs) +[more] DisplaySettings(const DisplaySettings& vs)
-[more]virtual ~DisplaySettings() +[more]virtual ~DisplaySettings()
-[more]DisplaySettings& operator = (const DisplaySettings& vs) +[more]DisplaySettings& operator = (const DisplaySettings& vs)
-[more]void merge(const DisplaySettings& vs) +[more]void merge(const DisplaySettings& vs)
-[more]void setDefaults() +[more]void setDefaults()
-[more]void readEnvironmentalVariables() +[more]void readEnvironmentalVariables()
-[more]void readCommandLine(std::vector<std::string>& commandLine) +[more]void readCommandLine(std::vector<std::string>& commandLine)
read the command line string list, removing any matched control sequences
-[more]void setStereo(const bool on) +[more]void setStereo(const bool on)
-[more]const bool getStereo() const +[more]const bool getStereo() const
-[more]void setStereoMode(const StereoMode mode) +[more]void setStereoMode(const StereoMode mode)
-[more]const StereoMode getStereoMode() const +[more]const StereoMode getStereoMode() const
-[more]void setEyeSeperation(const float eyeSeperation) +[more]void setEyeSeperation(const float eyeSeperation)
-[more]const float getEyeSeperation() const +[more]const float getEyeSeperation() const
-[more]void setScreenDistance(const float distance) +[more]void setScreenDistance(const float distance)
-[more]const float getScreenDistance() const +[more]const float getScreenDistance() const
-[more]void setSplitStereoHorizontalEyeMapping(SplitStereoHorizontalEyeMapping m) +[more]void setSplitStereoHorizontalEyeMapping(SplitStereoHorizontalEyeMapping m)
-[more]SplitStereoHorizontalEyeMapping getSplitStereoHorizontalEyeMapping() const +[more]SplitStereoHorizontalEyeMapping getSplitStereoHorizontalEyeMapping() const
-[more]void setSplitStereoHorizontalSeperation(const int s) +[more]void setSplitStereoHorizontalSeperation(const int s)
-[more]const int getSplitStereoHorizontalSeperation() const +[more]const int getSplitStereoHorizontalSeperation() const
-[more]void setSplitStereoVerticalEyeMapping(SplitStereoVerticalEyeMapping m) +[more]void setSplitStereoVerticalEyeMapping(SplitStereoVerticalEyeMapping m)
-[more]SplitStereoVerticalEyeMapping getSplitStereoVerticalEyeMapping() const +[more]SplitStereoVerticalEyeMapping getSplitStereoVerticalEyeMapping() const
-[more]void setSplitStereoVerticalSeperation(const int s) +[more]void setSplitStereoVerticalSeperation(const int s)
-[more]const int getSplitStereoVerticalSeperation() const +[more]const int getSplitStereoVerticalSeperation() const
-[more]void setScreenHeight(const float height) +[more]void setScreenHeight(const float height)
-[more]const float getScreenHeight() const +[more]const float getScreenHeight() const
-[more]void setDoubleBuffer(const bool flag) +[more]void setDoubleBuffer(const bool flag)
-[more]const bool getDoubleBuffer() const +[more]const bool getDoubleBuffer() const
-[more]void setRGB(const bool flag) +[more]void setRGB(const bool flag)
-[more]const bool getRGB() const +[more]const bool getRGB() const
-[more]void setDepthBuffer(const bool flag) +[more]void setDepthBuffer(const bool flag)
-[more]const bool getDepthBuffer() const +[more]const bool getDepthBuffer() const
-[more]void setMinimumNumAlphaBits(const unsigned int bits) +[more]void setMinimumNumAlphaBits(const unsigned int bits)
-[more]const unsigned int getMinimumNumAlphaBits() const +[more]const unsigned int getMinimumNumAlphaBits() const
-[more]const bool getAlphaBuffer() const +[more]const bool getAlphaBuffer() const
-[more]void setMinimumNumStencilBits(const unsigned int bits) +[more]void setMinimumNumStencilBits(const unsigned int bits)
-[more]const unsigned int getMinimumNumStencilBits() const +[more]const unsigned int getMinimumNumStencilBits() const
-[more]const bool getStencilBuffer() const +[more]const bool getStencilBuffer() const
-[more]void setMaxNumberOfGraphicsContexts(const int num) +[more]void setMaxNumberOfGraphicsContexts(const int num)
-[more]const int getMaxNumberOfGraphicsContexts() const +[more]const int getMaxNumberOfGraphicsContexts() const

Public Members

-[more]enum StereoMode +[more]enum StereoMode
-[more]enum SplitStereoHorizontalEyeMapping +[more]enum SplitStereoHorizontalEyeMapping
-[more]enum SplitStereoVerticalEyeMapping +[more]enum SplitStereoVerticalEyeMapping

Protected Fields

-[more]bool _stereo +[more]bool _stereo
-[more]StereoMode _stereoMode +[more]StereoMode _stereoMode
-[more]float _eyeSeperation +[more]float _eyeSeperation
-[more]float _screenDistance +[more]float _screenDistance
-[more]float _screenHeight +[more]float _screenHeight
-[more]SplitStereoHorizontalEyeMapping _splitStereoHorizontalEyeMapping +[more]SplitStereoHorizontalEyeMapping _splitStereoHorizontalEyeMapping
-[more]int _splitStereoHorizontalSeperation +[more]int _splitStereoHorizontalSeperation
-[more]SplitStereoVerticalEyeMapping _splitStereoVerticalEyeMapping +[more]SplitStereoVerticalEyeMapping _splitStereoVerticalEyeMapping
-[more]int _splitStereoVerticalSeperation +[more]int _splitStereoVerticalSeperation
-[more]bool _doubleBuffer +[more]bool _doubleBuffer
-[more]bool _RGB +[more]bool _RGB
-[more]bool _depthBuffer +[more]bool _depthBuffer
-[more]unsigned int _minimumNumberAlphaBits +[more]unsigned int _minimumNumberAlphaBits
-[more]unsigned int _minimumNumberStencilBits +[more]unsigned int _minimumNumberStencilBits
-[more]int _maxNumOfGraphicsContexts +[more]int _maxNumOfGraphicsContexts

Protected Methods

-[more]void copy(const DisplaySettings& vs) +[more]void copy(const DisplaySettings& vs)

@@ -186,287 +186,287 @@ have been set up, and the status of stereo viewing
- +
ostatic DisplaySettings* instance()
Maintain a DisplaySettings singleton for objects to querry at runtime

- +

o DisplaySettings()

- +

o DisplaySettings(std::vector<std::string>& commandLine)

- -

o DisplaySettings(const DisplaySettings& vs) + +
o DisplaySettings(const DisplaySettings& vs)

- +

ovirtual ~DisplaySettings()

- +

oDisplaySettings& operator = (const DisplaySettings& vs)

- +

ovoid merge(const DisplaySettings& vs)

- +

ovoid setDefaults()

- +

ovoid readEnvironmentalVariables()

- +

ovoid readCommandLine(std::vector<std::string>& commandLine)
read the command line string list, removing any matched control sequences

- +

ovoid setStereo(const bool on)

- +

oconst bool getStereo() const

- +

oenum StereoMode

- +
o QUAD_BUFFER

- +

o ANAGLYPHIC

- +

o HORIZONTAL_SPLIT

- +

o VERTICAL_SPLIT

- -
ovoid setStereoMode(const StereoMode mode) + +
ovoid setStereoMode(const StereoMode mode)

- -

oconst StereoMode getStereoMode() const + +
oconst StereoMode getStereoMode() const

- +

ovoid setEyeSeperation(const float eyeSeperation)

- +

oconst float getEyeSeperation() const

- -

ovoid setScreenDistance(const float distance) + +
ovoid setScreenDistance(const float distance)

- +

oconst float getScreenDistance() const

- +

oenum SplitStereoHorizontalEyeMapping

- +
o LEFT_EYE_LEFT_VIEWPORT

- +

o LEFT_EYE_RIGHT_VIEWPORT

- -
ovoid setSplitStereoHorizontalEyeMapping(SplitStereoHorizontalEyeMapping m) + +
ovoid setSplitStereoHorizontalEyeMapping(SplitStereoHorizontalEyeMapping m)

- -

oSplitStereoHorizontalEyeMapping getSplitStereoHorizontalEyeMapping() const + +
oSplitStereoHorizontalEyeMapping getSplitStereoHorizontalEyeMapping() const

- -

ovoid setSplitStereoHorizontalSeperation(const int s) + +
ovoid setSplitStereoHorizontalSeperation(const int s)

- +

oconst int getSplitStereoHorizontalSeperation() const

- +

oenum SplitStereoVerticalEyeMapping

- +
o LEFT_EYE_TOP_VIEWPORT

- +

o LEFT_EYE_BOTTOM_VIEWPORT

- -
ovoid setSplitStereoVerticalEyeMapping(SplitStereoVerticalEyeMapping m) + +
ovoid setSplitStereoVerticalEyeMapping(SplitStereoVerticalEyeMapping m)

- -

oSplitStereoVerticalEyeMapping getSplitStereoVerticalEyeMapping() const + +
oSplitStereoVerticalEyeMapping getSplitStereoVerticalEyeMapping() const

- -

ovoid setSplitStereoVerticalSeperation(const int s) + +
ovoid setSplitStereoVerticalSeperation(const int s)

- +

oconst int getSplitStereoVerticalSeperation() const

- -

ovoid setScreenHeight(const float height) + +
ovoid setScreenHeight(const float height)

- +

oconst float getScreenHeight() const

- +

ovoid setDoubleBuffer(const bool flag)

- +

oconst bool getDoubleBuffer() const

- +

ovoid setRGB(const bool flag)

- +

oconst bool getRGB() const

- +

ovoid setDepthBuffer(const bool flag)

- +

oconst bool getDepthBuffer() const

- +

ovoid setMinimumNumAlphaBits(const unsigned int bits)

- +

oconst unsigned int getMinimumNumAlphaBits() const

- +

oconst bool getAlphaBuffer() const

- +

ovoid setMinimumNumStencilBits(const unsigned int bits)

- +

oconst unsigned int getMinimumNumStencilBits() const

- +

oconst bool getStencilBuffer() const

- +

ovoid setMaxNumberOfGraphicsContexts(const int num)

- +

oconst int getMaxNumberOfGraphicsContexts() const

- +

ovoid copy(const DisplaySettings& vs)

- +

obool _stereo

- -

oStereoMode _stereoMode + +
oStereoMode _stereoMode

- +

ofloat _eyeSeperation

- +

ofloat _screenDistance

- +

ofloat _screenHeight

- -

oSplitStereoHorizontalEyeMapping _splitStereoHorizontalEyeMapping + +
oSplitStereoHorizontalEyeMapping _splitStereoHorizontalEyeMapping

- +

oint _splitStereoHorizontalSeperation

- -

oSplitStereoVerticalEyeMapping _splitStereoVerticalEyeMapping + +
oSplitStereoVerticalEyeMapping _splitStereoVerticalEyeMapping

- +

oint _splitStereoVerticalSeperation

- +

obool _doubleBuffer

- +

obool _RGB

- +

obool _depthBuffer

- +

ounsigned int _minimumNumberAlphaBits

- +

ounsigned int _minimumNumberStencilBits

- +

oint _maxNumOfGraphicsContexts

diff --git a/doc/doc++/osg/DrawPixels.html b/doc/doc++/osg/DrawPixels.html index 1b9723d09..a2661e79b 100644 --- a/doc/doc++/osg/DrawPixels.html +++ b/doc/doc++/osg/DrawPixels.html @@ -23,66 +23,68 @@

Public Methods

-[more] DrawPixels() +[more] DrawPixels()
-[more] DrawPixels(const DrawPixels& drawimage, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] DrawPixels(const DrawPixels& drawimage, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more]virtual Object* cloneType() const +[more]virtual Object* cloneType() const
-[more]virtual Object* clone(const CopyOp& copyop) const +[more]virtual Object* clone(const CopyOp& copyop) const
-[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
-[more]virtual const char* className() const +[more]virtual const char* libraryName() const
-[more]void setPosition(const osg::Vec3& position) +[more]virtual const char* className() const
-[more]osg::Vec3& getPosition() +[more]void setPosition(const osg::Vec3& position)
-[more]const osg::Vec3& getPosition() const +[more]osg::Vec3& getPosition()
-[more]void setImage(osg::Image* image) +[more]const osg::Vec3& getPosition() const
-[more]osg::Image* getImage() +[more]void setImage(osg::Image* image)
-[more]const osg::Image* getImage() const +[more]osg::Image* getImage()
-[more]void setUseCompleteImage() +[more]const osg::Image* getImage() const
-[more]void setSubImageDimensions(unsigned int offsetX, unsigned int offsetY, unsigned int width, unsigned int height) +[more]void setUseCompleteImage()
-[more]void getSubImageDimensions(unsigned int& offsetX, unsigned int& offsetY, unsigned int& width, unsigned int& height) const +[more]void setSubImageDimensions(unsigned int offsetX, unsigned int offsetY, unsigned int width, unsigned int height)
-[more]const bool getUseSubImage() const +[more]void getSubImageDimensions(unsigned int& offsetX, unsigned int& offsetY, unsigned int& width, unsigned int& height) const
-[more]virtual void drawImmediateMode(State& state) +[more]const bool getUseSubImage() const +
+[more]virtual void drawImmediateMode(State& state)

Protected Fields

-[more]Vec3 _position +[more]Vec3 _position
-[more]ref_ptr<Image> _image +[more]ref_ptr<Image> _image
-[more]bool _useSubImage +[more]bool _useSubImage
-[more]unsigned int _offsetX +[more]unsigned int _offsetX
-[more]unsigned int _offsetY +[more]unsigned int _offsetY
-[more]unsigned int _width +[more]unsigned int _width
-[more]unsigned int _height +[more]unsigned int _height

Protected Methods

-[more]DrawPixels& operator = (const DrawPixels&) +[more]DrawPixels& operator = (const DrawPixels&)
-[more]virtual ~DrawPixels() +[more]virtual ~DrawPixels()
-[more]virtual const bool computeBound() const +[more]virtual const bool computeBound() const

@@ -90,9 +92,9 @@

Public Methods

-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
-oinline ParentList getParents() +oinline ParentList getParents()
oinline Node* getParent(const unsigned int i)
@@ -122,17 +124,23 @@
ovoid compile(State& state)
-ovoid setDrawCallback(DrawCallback* dc) +ovoid setAppCallback(AppCallback* ac)
-oDrawCallback* getDrawCallback() +oAppCallback* getAppCallback()
-oconst DrawCallback* getDrawCallback() const +oconst AppCallback* getAppCallback() const
-ovoid setCullCallback(CullCallback* cc) +ovoid setCullCallback(CullCallback* cc)
-oCullCallback* getCullCallback() +oCullCallback* getCullCallback()
-oconst CullCallback* getCullCallback() const +oconst CullCallback* getCullCallback() const +
+ovoid setDrawCallback(DrawCallback* dc) +
+oDrawCallback* getDrawCallback() +
+oconst DrawCallback* getDrawCallback() const
ostatic void deleteDisplayList(uint contextID, uint globj)
@@ -144,6 +152,8 @@
ovirtual AttributeBitMask applyAttributeOperation(AttributeFunctor&)
+ovirtual void applyPrimitiveOperation(PrimitiveFunctor&) +
oinline void draw(State& state)

@@ -151,18 +161,22 @@

Public Members

otypedef std::vector<Node*> ParentList
-ostruct DrawCallback: public osg::Referenced +ostruct AppCallback: public osg::Referenced
ostruct CullCallback: public osg::Referenced
+ostruct DrawCallback: public osg::Referenced +
otypedef uint AttributeBitMaskenum AttributeBitMaskValues
class AttributeFunctor +
+class PrimitiveFunctor

Protected Fields

-oParentList _parents +oParentList _parents
oref_ptr<StateSet> _dstate
@@ -174,9 +188,11 @@ class AttributeFunctor
omutable bool _bbox_computed
-oref_ptr<DrawCallback> _drawCallback +oref_ptr<AppCallback> _appCallback
-oref_ptr<CullCallback> _cullCallback +oref_ptr<DrawCallback> _drawCallback +
+oref_ptr<CullCallback> _cullCallback

@@ -198,9 +214,9 @@ class AttributeFunctor

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

@@ -210,7 +226,7 @@ class AttributeFunctor

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance

@@ -242,112 +258,116 @@ images using glDrawPixels
- +
o DrawPixels()

- -

o DrawPixels(const DrawPixels& drawimage, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o DrawPixels(const DrawPixels& drawimage, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy

- +

ovirtual Object* cloneType() const

- +

ovirtual Object* clone(const CopyOp& copyop) const

- +

ovirtual bool isSameKindAs(const Object* obj) const

+ + +

ovirtual const char* libraryName() const +

- +

ovirtual const char* className() const

- +

ovoid setPosition(const osg::Vec3& position)

- +

oosg::Vec3& getPosition()

- +

oconst osg::Vec3& getPosition() const

- +

ovoid setImage(osg::Image* image)

- +

oosg::Image* getImage()

- +

oconst osg::Image* getImage() const

- +

ovoid setUseCompleteImage()

- -

ovoid setSubImageDimensions(unsigned int offsetX, unsigned int offsetY, unsigned int width, unsigned int height) + +
ovoid setSubImageDimensions(unsigned int offsetX, unsigned int offsetY, unsigned int width, unsigned int height)

- -

ovoid getSubImageDimensions(unsigned int& offsetX, unsigned int& offsetY, unsigned int& width, unsigned int& height) const + +
ovoid getSubImageDimensions(unsigned int& offsetX, unsigned int& offsetY, unsigned int& width, unsigned int& height) const

- +

oconst bool getUseSubImage() const

- +

ovirtual void drawImmediateMode(State& state)

- +

oDrawPixels& operator = (const DrawPixels&)

- +

ovirtual ~DrawPixels()

- +

ovirtual const bool computeBound() const

- +

oVec3 _position

- +

oref_ptr<Image> _image

- +

obool _useSubImage

- +

ounsigned int _offsetX

- +

ounsigned int _offsetY

- +

ounsigned int _width

- +

ounsigned int _height

diff --git a/doc/doc++/osg/Drawable.html b/doc/doc++/osg/Drawable.html index 5ad78560b..4ea1bde13 100644 --- a/doc/doc++/osg/Drawable.html +++ b/doc/doc++/osg/Drawable.html @@ -11,11 +11,11 @@

Inheritance:

- - - - - + + + + +
@@ -23,156 +23,176 @@

Public Methods

-[more] Drawable() +[more] Drawable()
-[more] Drawable(const Drawable& drawable, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Drawable(const Drawable& drawable, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
-[more]virtual const char* className() const +[more]virtual const char* libraryName() const
-[more]inline const ParentList& getParents() const +[more]virtual const char* className() const +
+[more]inline const ParentList& getParents() const
Get the parent list of drawable.
-[more]inline ParentList getParents() +[more]inline ParentList getParents()
Get the a copy of parent list of node.
-[more]inline Node* getParent(const unsigned int i) +[more]inline Node* getParent(const unsigned int i)
Get a single parent of Drawable.
-[more]inline const Node* getParent(const unsigned int i) const +[more]inline const Node* getParent(const unsigned int i) const
Get a single const parent of Drawable.
-[more]inline const unsigned int getNumParents() const +[more]inline const unsigned int getNumParents() const
Get the number of parents of node.
-[more]inline void setStateSet(StateSet* state) +[more]inline void setStateSet(StateSet* state)
Set the StateSet attached to the Drawable.
-[more]inline StateSet* getStateSet() +[more]inline StateSet* getStateSet()
Get the attached StateSet
-[more]inline const StateSet* getStateSet() const +[more]inline const StateSet* getStateSet() const
Get the attached const StateSet
-[more]void setSupportsDisplayList(const bool flag) +[more]void setSupportsDisplayList(const bool flag)
Set the drawable to it can or cannot be used in conjunction with OpenGL display lists.
-[more]inline const bool getSupportsDisplayList() const +[more]inline const bool getSupportsDisplayList() const
Get whether display lists are supported for this drawable instance
-[more]void setUseDisplayList(const bool flag) +[more]void setUseDisplayList(const bool flag)
When set to true, force the draw method to use OpenGL Display List for rendering.
-[more]inline const bool getUseDisplayList() const +[more]inline const bool getUseDisplayList() const
Return whether OpenGL display lists are being used for rendering
-[more]void dirtyDisplayList() +[more]void dirtyDisplayList()
Force a recompile on next draw() of any OpenGL display list associated with this geoset
-[more]void dirtyBound() +[more]void dirtyBound()
Dirty the bounding box, forcing a computeBound() on the next call to getBound().
-[more]inline const BoundingBox& getBound() const +[more]inline const BoundingBox& getBound() const
get bounding box of geoset.
-[more]void compile(State& state) +[more]void compile(State& state)
Immediately compile this drawable into an OpenGL Display List.
-[more]void setDrawCallback(DrawCallback* dc) -
Set the DrawCallback which allows users to attach customize the drawing of existing Drawable object +[more]void setAppCallback(AppCallback* ac) +
Set the AppCallback which allows users to attach customize the undating of an object during the app traversal
-[more]DrawCallback* getDrawCallback() -
Get the non const DrawCallback +[more]AppCallback* getAppCallback() +
Get the non const AppCallback
-[more]const DrawCallback* getDrawCallback() const -
Get the const DrawCallback +[more]const AppCallback* getAppCallback() const +
Get the const AppCallback
-[more]void setCullCallback(CullCallback* cc) -
Set the CullCallback which allows users to attach customize the drawing of existing Drawable object +[more]void setCullCallback(CullCallback* cc) +
Set the CullCallback which allows users to attach customize the culling of Drawable during the cull traversal
-[more]CullCallback* getCullCallback() +[more]CullCallback* getCullCallback()
Get the non const CullCallback
-[more]const CullCallback* getCullCallback() const -
Get the const CullCallback +[more]const CullCallback* getCullCallback() const +
Get the const CullCallback
-[more]virtual void drawImmediateMode(State& state) = 0 +[more]void setDrawCallback(DrawCallback* dc) +
Set the DrawCallback which allows users to attach customize the drawing of existing Drawable object +
+[more]DrawCallback* getDrawCallback() +
Get the non const DrawCallback +
+[more]const DrawCallback* getDrawCallback() const +
Get the const DrawCallback +
+[more]virtual void drawImmediateMode(State& state) = 0
draw directly ignoring an OpenGL display list which could be attached.
-[more]static void deleteDisplayList(uint contextID, uint globj) +[more]static void deleteDisplayList(uint contextID, uint globj)
use deleteDisplayList instead of glDeleteList to allow OpenGL display list to cached until they can be deleted by the OpenGL context in which they were created, specified by contextID
-[more]static void flushDeletedDisplayLists(uint contextID) +[more]static void flushDeletedDisplayLists(uint contextID)
flush all the cached display list which need to be deleted in the OpenGL context related to contextID
-[more]virtual bool getStats(Statistics&) +[more]virtual bool getStats(Statistics&)
Collect Stistics count from Drawable
-[more]virtual AttributeBitMask suppportsAttributeOperation() const +[more]virtual AttributeBitMask suppportsAttributeOperation() const
return the attributes supported by applyAttrbuteOperation() as an AttributeBitMask
-[more]virtual AttributeBitMask applyAttributeOperation(AttributeFunctor&) +[more]virtual AttributeBitMask applyAttributeOperation(AttributeFunctor&)
return the attributes successully applied in applyAttributeUpdate
-[more]inline void draw(State& state) +[more]virtual void applyPrimitiveOperation(PrimitiveFunctor&) +
apply the internal geometry as basic primitives to a PrimitiveFunctor +
+[more]inline void draw(State& state)
draw OpenGL primitives.

Public Members

-[more]typedef std::vector<Node*> ParentList +[more]typedef std::vector<Node*> ParentList
A vector of osg::Node pointers which is used to store the parent(s) of drawable
-[more]struct DrawCallback: public osg::Referenced +[more]struct AppCallback: public osg::Referenced +
+[more]struct CullCallback: public osg::Referenced +
+[more]struct DrawCallback: public osg::Referenced
Callback attached to an Drawable which allows the users to customize the drawing of an exist Drawable object.
-[more]struct CullCallback: public osg::Referenced -
-[more]typedef uint AttributeBitMaskenum AttributeBitMaskValues +[more]typedef uint AttributeBitMaskenum AttributeBitMaskValues
class AttributeFunctor +
+class PrimitiveFunctor

Protected Fields

-[more]ParentList _parents +[more]ParentList _parents
-[more]ref_ptr<StateSet> _dstate +[more]ref_ptr<StateSet> _dstate
-[more]bool _supportsDisplayList +[more]bool _supportsDisplayList
-[more]bool _useDisplayList +[more]bool _useDisplayList
-[more]mutable BoundingBox _bbox +[more]mutable BoundingBox _bbox
-[more]mutable bool _bbox_computed +[more]mutable bool _bbox_computed
-[more]ref_ptr<DrawCallback> _drawCallback +[more]ref_ptr<AppCallback> _appCallback
-[more]ref_ptr<CullCallback> _cullCallback +[more]ref_ptr<DrawCallback> _drawCallback +
+[more]ref_ptr<CullCallback> _cullCallback

Protected Methods

-[more]Drawable& operator = (const Drawable&) +[more]Drawable& operator = (const Drawable&)
-[more]virtual ~Drawable() +[more]virtual ~Drawable()
-[more]virtual const bool computeBound() const = 0 +[more]virtual const bool computeBound() const = 0
compute the bounding box of the drawable.
-[more]void addParent(osg::Node* node) +[more]void addParent(osg::Node* node)
-[more]void removeParent(osg::Node* node) +[more]void removeParent(osg::Node* node)

Protected Members

-[more]typedef std::vector<uint> GLObjectList mutable GLObjectList _globjList +[more]typedef std::vector<uint> GLObjectList mutable GLObjectList _globjList
-[more]typedef std::map<uint,std::set<uint> >static DeletedDisplayListCache DeletedDisplayListCache s_deletedDisplayListCache +[more]typedef std::map<uint,std::set<uint> >static DeletedDisplayListCache DeletedDisplayListCache s_deletedDisplayListCache

@@ -184,9 +204,9 @@ class AttributeFunctor
ovirtual Object* clone(const CopyOp&) const
-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

@@ -196,7 +216,7 @@ class AttributeFunctor

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance

@@ -224,7 +244,7 @@ class AttributeFunctor

Documentation

Pure virtual base class for drawable Geometry. Contains no drawing primitives -directly, these are provided by subclasses such as GeoSet. State attributes +directly, these are provided by subclasses such as osg::Geometry. State attributes for a Drawable are maintained in StateSet which the Drawable maintains a referenced counted pointer to. Both Drawable's and StateSet's can be shared for optimal memory usage and graphics performance. @@ -232,7 +252,7 @@ be shared for optimal memory usage and graphics performance.

Subclasses should provide an instance of getStats(Statistics *st) if the subclass contains drawing primitives. This member function should add the primitives it draws into the Statistics class; for example add the number of quads, triangles etc -created. For an example see GeoSet.cpp: +created. For an example see Geometry.cpp: getStats(osgUtil::Statistics *stat). Failure to implement this routine will only result in the stats displayed for your drawable being wrong. @@ -244,78 +264,82 @@ quads are in the display list).

- +
o Drawable()

- -

o Drawable(const Drawable& drawable, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o Drawable(const Drawable& drawable, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy

- +

ovirtual bool isSameKindAs(const Object* obj) const

+ + +

ovirtual const char* libraryName() const +

- +

ovirtual const char* className() const

- +

otypedef std::vector<Node*> ParentList
A vector of osg::Node pointers which is used to store the parent(s) of drawable

- -

oinline const ParentList& getParents() const + +
oinline const ParentList& getParents() const
Get the parent list of drawable.

- -

oinline ParentList getParents() + +
oinline ParentList getParents()
Get the a copy of parent list of node. A copy is returned to prevent modification of the parent list.

- +

oinline Node* getParent(const unsigned int i)
Get a single parent of Drawable.
Parameters:
i - index of the parent to get.
Returns:
the parent i.

- +

oinline const Node* getParent(const unsigned int i) const
Get a single const parent of Drawable.
Parameters:
i - index of the parent to get.
Returns:
the parent i.

- +

oinline const unsigned int getNumParents() const
Get the number of parents of node.
Returns:
the number of parents of this node.

- +

oinline void setStateSet(StateSet* state)
Set the StateSet attached to the Drawable. Previously attached StateSet are automatically unreferenced on assignment of a new drawstate.

- +

oinline StateSet* getStateSet()
Get the attached StateSet

- +

oinline const StateSet* getStateSet() const
Get the attached const StateSet

- +

ovoid setSupportsDisplayList(const bool flag)
Set the drawable to it can or cannot be used in conjunction with OpenGL display lists. With set to true, calls to Drawable::setUseDisplayList, @@ -326,50 +350,102 @@ on objects with dynamic internal data such as continuous Level of Detail algorithms.

- +

oinline const bool getSupportsDisplayList() const
Get whether display lists are supported for this drawable instance

- +

ovoid setUseDisplayList(const bool flag)
When set to true, force the draw method to use OpenGL Display List for rendering. If false rendering directly. If the display list has not been already compile the next call to draw will automatically create the display list.

- +

oinline const bool getUseDisplayList() const
Return whether OpenGL display lists are being used for rendering

- +

ovoid dirtyDisplayList()
Force a recompile on next draw() of any OpenGL display list associated with this geoset

- +

ovoid dirtyBound()
Dirty the bounding box, forcing a computeBound() on the next call to getBound(). Should be called in the internal geometry of the Drawable is modified.

- +

oinline const BoundingBox& getBound() const
get bounding box of geoset. Note, now made virtual to make it possible to implement user-drawn objects albeit so what crudely, to be improved later.

- +

ovoid compile(State& state)
Immediately compile this drawable into an OpenGL Display List. Note I, operation is ignored if _useDisplayList to false. Note II, compile is not intended to be overridden in subclasses.

+ + +

ostruct AppCallback: public osg::Referenced +

+ + + +
ovirtual void app(osg::NodeVisitor* visitor, osg::Drawable* drawable) = 0 +
do customized app code +

+ + + +
ovoid setAppCallback(AppCallback* ac) +
Set the AppCallback which allows users to attach customize the undating of an object during the app traversal +

+ + +

oAppCallback* getAppCallback() +
Get the non const AppCallback +

+ + +

oconst AppCallback* getAppCallback() const +
Get the const AppCallback +

+ + +

ostruct CullCallback: public osg::Referenced +

+ + + +
ovirtual bool cull(osg::NodeVisitor* visitor, osg::Drawable* drawable, osg::State* state=NULL) const = 0 +
do customized cull code +

+ + + +
ovoid setCullCallback(CullCallback* cc) +
Set the CullCallback which allows users to attach customize the culling of Drawable during the cull traversal +

+ + +

oCullCallback* getCullCallback() +
Get the non const CullCallback +

+ + +

oconst CullCallback* getCullCallback() const +
Get the const CullCallback +

- +

ostruct DrawCallback: public osg::Referenced
Callback attached to an Drawable which allows the users to customize the drawing of an exist Drawable object. The draw callback is implement as a replacement to the Drawable's own drawImmediateMode() method, if the @@ -379,61 +455,35 @@ without fuss and can even diable the inner draw in required.

- +
ovirtual void drawImmediateMode(State& state, osg::Drawable* drawable) const = 0
do customized draw code

- -
ovoid setDrawCallback(DrawCallback* dc) + +
ovoid setDrawCallback(DrawCallback* dc)
Set the DrawCallback which allows users to attach customize the drawing of existing Drawable object

- -

oDrawCallback* getDrawCallback() + +
oDrawCallback* getDrawCallback()
Get the non const DrawCallback

- -

oconst DrawCallback* getDrawCallback() const + +
oconst DrawCallback* getDrawCallback() const
Get the const DrawCallback

- - -

ostruct CullCallback: public osg::Referenced -

- - - -
ovirtual bool cull(osg::NodeVisitor* visitor, osg::Drawable* drawable) const = 0 -
do customized cull code -

- - - -
ovoid setCullCallback(CullCallback* cc) -
Set the CullCallback which allows users to attach customize the drawing of existing Drawable object -

- - -

oCullCallback* getCullCallback() -
Get the non const CullCallback -

- - -

oconst CullCallback* getCullCallback() const -
Get the const CullCallback -

- +

ovirtual void drawImmediateMode(State& state) = 0
draw 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 Drawable.

- +

ostatic void deleteDisplayList(uint contextID, uint globj)
use deleteDisplayList instead of glDeleteList to allow OpenGL display list to cached until they can be deleted @@ -441,128 +491,137 @@ by the OpenGL context in which they were created, specified by contextID

- +

ostatic void flushDeletedDisplayLists(uint contextID)
flush all the cached display list which need to be deleted in the OpenGL context related to contextID

- +

ovirtual bool getStats(Statistics&)
Collect Stistics count from Drawable

- +

otypedef uint AttributeBitMaskenum AttributeBitMaskValues

- +
o COORDS

- +

o NORMALS

- +

o COLORS

- +

o TEXTURE_COORDS

- +

o TEXTURE_COORDS_0

- +

o TEXTURE_COORDS_1

- +

o TEXTURE_COORDS_2

- +

o TEXTURE_COORDS_3

- +
ovirtual AttributeBitMask suppportsAttributeOperation() const
return the attributes supported by applyAttrbuteOperation() as an AttributeBitMask

- +

ovirtual AttributeBitMask applyAttributeOperation(AttributeFunctor&)
return the attributes successully applied in applyAttributeUpdate

+ + +

ovirtual void applyPrimitiveOperation(PrimitiveFunctor&) +
apply the internal geometry as basic primitives to a PrimitiveFunctor +

- +

oDrawable& operator = (const Drawable&)

- +

ovirtual ~Drawable()

- +

ovirtual const bool computeBound() const = 0
compute the bounding box of the drawable. Method must be implemented by subclasses.

- +

ovoid addParent(osg::Node* node)

- +

ovoid removeParent(osg::Node* node)

- -

oParentList _parents + +
oParentList _parents

- +

oref_ptr<StateSet> _dstate

- +

obool _supportsDisplayList

- +

obool _useDisplayList

- +

otypedef std::vector<uint> GLObjectList mutable GLObjectList _globjList

- +

omutable BoundingBox _bbox

- +

omutable bool _bbox_computed

+ + +

oref_ptr<AppCallback> _appCallback +

- -

oref_ptr<DrawCallback> _drawCallback + +
oref_ptr<DrawCallback> _drawCallback

- -

oref_ptr<CullCallback> _cullCallback + +
oref_ptr<CullCallback> _cullCallback

- +

otypedef std::map<uint,std::set<uint> >static DeletedDisplayListCache DeletedDisplayListCache s_deletedDisplayListCache

- +

oinline void draw(State& state)
draw OpenGL primitives. If the drawable has _useDisplayList set to true then use an OpenGL display @@ -574,6 +633,7 @@ manages the optional display list.
Direct child classes:
ImpostorSprite
+Geometry
GeoSet
DrawPixels
diff --git a/doc/doc++/osg/EarthSky.html b/doc/doc++/osg/EarthSky.html index 06f3b2f6f..b2068e734 100644 --- a/doc/doc++/osg/EarthSky.html +++ b/doc/doc++/osg/EarthSky.html @@ -23,35 +23,35 @@

Public Methods

-[more] EarthSky() +[more] EarthSky()
-[more] EarthSky(const EarthSky& es, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] EarthSky(const EarthSky& es, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more] META_Node(EarthSky) +[more] META_Node(osg, EarthSky)
-[more]inline void setRequiresClear(const bool requiresClear) +[more]inline void setRequiresClear(const bool requiresClear)
Sets the flag which control whether a glClear is required at the beginning of each frame.
-[more]inline const bool getRequiresClear() const +[more]inline const bool getRequiresClear() const
Gets the flag which control whether a glClear is required at the beginning of each frame.
-[more]inline void setClearColor(const Vec4& color) +[more]inline void setClearColor(const Vec4& color)
Sets the clear color.
-[more]inline const Vec4& getClearColor() const +[more]inline const Vec4& getClearColor() const
Returns the clear color.

Protected Fields

-[more]bool _requiresClear +[more]bool _requiresClear
-[more]Vec4 _clearColor +[more]Vec4 _clearColor

Protected Methods

-[more]virtual ~EarthSky() +[more]virtual ~EarthSky()

@@ -107,47 +107,47 @@ are rendered prior to standard opaque and transparent drawables.
- +
o EarthSky()

- -

o EarthSky(const EarthSky& es, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o EarthSky(const EarthSky& es, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

- -

o META_Node(EarthSky) + +
o META_Node(osg, EarthSky)

- +

oinline void setRequiresClear(const bool requiresClear)
Sets the flag which control whether a glClear is required at the beginning of each frame.

- +

oinline const bool getRequiresClear() const
Gets the flag which control whether a glClear is required at the beginning of each frame.

- +

oinline void setClearColor(const Vec4& color)
Sets the clear color.

- +

oinline const Vec4& getClearColor() const
Returns the clear color.

- +

ovirtual ~EarthSky()

- +

obool _requiresClear

- +

oVec4 _clearColor

diff --git a/doc/doc++/osg/Fog.html b/doc/doc++/osg/Fog.html index 2f3c4a3fa..97b97ce5f 100644 --- a/doc/doc++/osg/Fog.html +++ b/doc/doc++/osg/Fog.html @@ -23,62 +23,62 @@

Public Methods

-[more] Fog() +[more] Fog()
-[more] Fog(const Fog& fog, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Fog(const Fog& fog, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(Fog, FOG) +[more] META_StateAttribute(osg, Fog, FOG)
-[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
-[more]inline void setMode( const Mode mode ) +[more]inline void setMode( const Mode mode )
-[more]inline Mode getMode() const +[more]inline Mode getMode() const
-[more]inline void setDensity( const float density ) +[more]inline void setDensity( const float density )
-[more]inline const float getDensity() const +[more]inline const float getDensity() const
-[more]inline void setStart( const float start ) +[more]inline void setStart( const float start )
-[more]inline const float getStart() const +[more]inline const float getStart() const
-[more]inline void setEnd( const float end ) +[more]inline void setEnd( const float end )
-[more]inline const float getEnd() const +[more]inline const float getEnd() const
-[more]inline void setColor( const Vec4 &color ) +[more]inline void setColor( const Vec4 &color )
-[more]inline const Vec4& getColor() const +[more]inline const Vec4& getColor() const
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

Public Members

-[more]enum Mode +[more]enum Mode

Protected Fields

-[more]Mode _mode +[more]Mode _mode
-[more]float _density +[more]float _density
-[more]float _start +[more]float _start
-[more]float _end +[more]float _end
-[more]Vec4 _color +[more]Vec4 _color

Protected Methods

-[more]virtual ~Fog() +[more]virtual ~Fog()

@@ -92,9 +92,13 @@
ovirtual bool isSameKindAs(const Object* obj) const
+ovirtual const char* libraryName() const +
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const +
+ovirtual bool isTextureAttribute() const
obool operator < (const StateAttribute& rhs) const
@@ -125,9 +129,9 @@

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

@@ -137,7 +141,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance

@@ -170,111 +174,111 @@
- +
o Fog()

- -

o Fog(const Fog& fog, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o Fog(const Fog& fog, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy

- -

o META_StateAttribute(Fog, FOG) + +
o META_StateAttribute(osg, Fog, FOG)

- +

ovirtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

- - -

ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const + + +
ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

- +

oenum Mode

- +
o LINEAR

- +

o EXP

- +

o EXP2

- -
oinline void setMode( const Mode mode ) + +
oinline void setMode( const Mode mode )

- -

oinline Mode getMode() const + +
oinline Mode getMode() const

- +

oinline void setDensity( const float density )

- +

oinline const float getDensity() const

- -

oinline void setStart( const float start ) + +
oinline void setStart( const float start )

- +

oinline const float getStart() const

- -

oinline void setEnd( const float end ) + +
oinline void setEnd( const float end )

- +

oinline const float getEnd() const

- +

oinline void setColor( const Vec4 &color )

- +

oinline const Vec4& getColor() const

- +

ovirtual void apply(State& state) const

- +

ovirtual ~Fog()

- -

oMode _mode + +
oMode _mode

- +

ofloat _density

- +

ofloat _start

- +

ofloat _end

- +

oVec4 _color

diff --git a/doc/doc++/osg/FrameStamp.html b/doc/doc++/osg/FrameStamp.html index b52508de7..5af9e2ffc 100644 --- a/doc/doc++/osg/FrameStamp.html +++ b/doc/doc++/osg/FrameStamp.html @@ -23,50 +23,50 @@

Public Methods

-[more] FrameStamp() +[more] FrameStamp()
-[more] FrameStamp(const FrameStamp& fs) +[more] FrameStamp(const FrameStamp& fs)
-[more] ~FrameStamp() +[more] ~FrameStamp()
-[more]FrameStamp& operator = (const FrameStamp& fs) +[more]FrameStamp& operator = (const FrameStamp& fs)
-[more]void setFrameNumber(int fnum) +[more]void setFrameNumber(int fnum)
-[more]int getFrameNumber() const +[more]int getFrameNumber() const
-[more]void setReferenceTime(double refTime) +[more]void setReferenceTime(double refTime)
-[more]double getReferenceTime() const +[more]double getReferenceTime() const
-[more]void setCalendarTime(const tm& calendarTime) +[more]void setCalendarTime(const tm& calendarTime)
-[more]void getCalendarTime(tm& calendarTime) const +[more]void getCalendarTime(tm& calendarTime) const

Protected Fields

-[more]int _frameNumber +[more]int _frameNumber
-[more]double _referenceTime +[more]double _referenceTime
-[more]int tm_sec +[more]int tm_sec
-[more]int tm_min +[more]int tm_min
-[more]int tm_hour +[more]int tm_hour
-[more]int tm_mday +[more]int tm_mday
-[more]int tm_mon +[more]int tm_mon
-[more]int tm_year +[more]int tm_year
-[more]int tm_wday +[more]int tm_wday
-[more]int tm_yday +[more]int tm_yday
-[more]int tm_isdst +[more]int tm_isdst

@@ -101,87 +101,87 @@ of day etc.
- +
o FrameStamp()

- -

o FrameStamp(const FrameStamp& fs) + +
o FrameStamp(const FrameStamp& fs)

- +

o ~FrameStamp()

- +

oFrameStamp& operator = (const FrameStamp& fs)

- +

ovoid setFrameNumber(int fnum)

- +

oint getFrameNumber() const

- +

ovoid setReferenceTime(double refTime)

- +

odouble getReferenceTime() const

- +

ovoid setCalendarTime(const tm& calendarTime)

- +

ovoid getCalendarTime(tm& calendarTime) const

- +

oint _frameNumber

- +

odouble _referenceTime

- +

oint tm_sec

- +

oint tm_min

- +

oint tm_hour

- +

oint tm_mday

- +

oint tm_mon

- +

oint tm_year

- +

oint tm_wday

- +

oint tm_yday

- +

oint tm_isdst

diff --git a/doc/doc++/osg/FrontFace.html b/doc/doc++/osg/FrontFace.html index d1f4fe756..273c1bd8e 100644 --- a/doc/doc++/osg/FrontFace.html +++ b/doc/doc++/osg/FrontFace.html @@ -23,36 +23,36 @@

Public Methods

-[more] FrontFace() +[more] FrontFace()
-[more] FrontFace(const FrontFace& ff, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] FrontFace(const FrontFace& ff, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(FrontFace, FRONTFACE) +[more] META_StateAttribute(osg, FrontFace, FRONTFACE)
-[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]inline void setMode(const Mode mode) +[more]inline void setMode(const Mode mode)
-[more]inline const Mode getMode() const +[more]inline const Mode getMode() const
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

Public Members

-[more]enum Mode +[more]enum Mode

Protected Fields

-[more]Mode _mode +[more]Mode _mode

Protected Methods

-[more]virtual ~FrontFace() +[more]virtual ~FrontFace()

@@ -66,9 +66,13 @@
ovirtual bool isSameKindAs(const Object* obj) const
+ovirtual const char* libraryName() const +
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const +
+ovirtual bool isTextureAttribute() const
obool operator < (const StateAttribute& rhs) const
@@ -76,7 +80,7 @@
obool operator != (const StateAttribute& rhs) const
-ovirtual void setStateSetModes(StateSet&, const GLModeValue) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
ovirtual void compile(State&) const

@@ -101,9 +105,9 @@

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

@@ -113,7 +117,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance

@@ -146,56 +150,56 @@
- +
o FrontFace()

- -

o FrontFace(const FrontFace& ff, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o FrontFace(const FrontFace& ff, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy

- -

o META_StateAttribute(FrontFace, FRONTFACE) + +
o META_StateAttribute(osg, FrontFace, FRONTFACE)

- +

ovirtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

- +

oenum Mode

- +
o CLOCKWISE

- +

o COUNTER_CLOCKWISE

- -
oinline void setMode(const Mode mode) + +
oinline void setMode(const Mode mode)

- -

oinline const Mode getMode() const + +
oinline const Mode getMode() const

- +

ovirtual void apply(State& state) const

- +

ovirtual ~FrontFace()

- -

oMode _mode + +
oMode _mode


This class has no child classes.
diff --git a/doc/doc++/osg/General.html b/doc/doc++/osg/General.html index f68d9a7cf..c9823559c 100644 --- a/doc/doc++/osg/General.html +++ b/doc/doc++/osg/General.html @@ -16,9 +16,15 @@ o#define OSG_ANIMATIONPATH
+o#define +OSG_ARRAY
+ o#define OSG_BILLBOARD
+o#define +OSG_BLENDFUNC
+ o#define OSG_BOUNDINGBOX
@@ -37,6 +43,9 @@ o#define OSG_CLIPPLANE
+o#define +OSG_COLLECTOCCLUDERSVISITOR
+ o#define OSG_COLORMASK
@@ -58,6 +67,9 @@ o#define OSG_CullingSet
+o#define +OSG_CULLSTACK
+ o#define OSG_DEPTH
@@ -76,6 +88,9 @@ o#define OSG_EXPORT
+o#define +USE_DEPRECATED_API
+ o#define SG_EXPORT(dllexport)
@@ -85,6 +100,9 @@ o#define SG_EXPORT
+o#define +__STL_MEMBER_TEMPLATES
+ o#define NULL
@@ -109,6 +127,9 @@ o#define OSG_GEODE
+o#define +OSG_GEOMETRY
+ o#define OSG_GEOSET
@@ -184,6 +205,9 @@ oifndef acosf defineacosf(float)(float)(float)(float)(float)(float)(float)(float) (float)(float)
+o#define +OSG_MATRIXTRANSFORM
+ o#define _H_MMGR
@@ -235,13 +259,13 @@ oSG_EXPORT extern void m_deallocator(const char* sourceFile, const unsigned int sourceLine, const unsigned int deallocationType, const void* reportedAddress)
-obool +oSG_EXPORT extern bool m_validateAddress(const void* reportedAddress)
-obool +oSG_EXPORT extern bool m_validateAllocUnit(const sAllocUnit* allocUnit)
-obool +oSG_EXPORT extern bool m_validateAllAllocUnits()
oSG_EXPORT extern unsigned int @@ -292,6 +316,9 @@ o#define OSG_POSITIONATTITIDETRANSFORM
+o#define +OSG_PRIMTIVE
+ o#define OSG_PROJECTION
@@ -307,8 +334,8 @@ o#define OSG_SHADEMODEL
-o#define -OSG_SHADOWOCCLUDERVOLUME
+o#define +OSG_SHADOWVOLUMEOCCLUDER
o#define OSG_STATE
@@ -433,6 +460,9 @@ o#define OSG_TYPES
+o#define +OSG_UBUTE
+ o#define OSG_VEC2
diff --git a/doc/doc++/osg/GeoSet.html b/doc/doc++/osg/GeoSet.html index b3cf763d0..4e1e55104 100644 --- a/doc/doc++/osg/GeoSet.html +++ b/doc/doc++/osg/GeoSet.html @@ -7,7 +7,7 @@ -

class SG_EXPORT osg::GeoSet

Encapsulates OpenGL drawing primitives, geometry and optional binding of normal, color and texture coordinates.
+

class SG_EXPORT osg::GeoSet

Note, osg::GeoSet is now deprecated, please use osg::Geometry instead.

Inheritance:

@@ -23,310 +23,318 @@

Public Methods

-[more] GeoSet() +[more] GeoSet()
-[more] GeoSet(const GeoSet& geoset, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] GeoSet(const GeoSet& geoset, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more]virtual Object* cloneType() const +[more]virtual Object* cloneType() const
-[more]virtual Object* clone(const CopyOp& copyop) const +[more]virtual Object* clone(const CopyOp& copyop) const
-[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
-[more]virtual const char* className() const +[more]virtual const char* libraryName() const
-[more]inline void setNumPrims( const int n ) +[more]virtual const char* className() const
-[more]inline const int getNumPrims() const +[more]inline void setNumPrims( const int n )
-[more]void setPrimType( const PrimitiveType type ) +[more]inline const int getNumPrims() const
-[more]inline const PrimitiveType getPrimType() const +[more]void setPrimType( const PrimitiveType type )
-[more]inline void setPrimLengths( int* lens ) +[more]inline const PrimitiveType getPrimType() const
-[more]inline int* getPrimLengths() +[more]inline void setPrimLengths( int* lens )
-[more]inline const int* getPrimLengths() const +[more]inline int* getPrimLengths()
-[more]void computeNumVerts() const +[more]inline const int* getPrimLengths() const
-[more]inline const int getNumCoords() const +[more]void computeNumVerts() const +
+[more]inline const int getNumCoords() const
get the number of coords required by the defined primitives.
-[more]inline Vec3* getCoords() +[more]inline Vec3* getCoords()
get a pointer to Vec3 coord array.
-[more]inline const Vec3* getCoords() const +[more]inline const Vec3* getCoords() const
get a const pointer to Vec3 coord array.
-[more]inline const int getNumCoordIndices() const +[more]inline const int getNumCoordIndices() const
get the number of indices required by the defined primitives.
-[more]inline IndexPointer& getCoordIndices() +[more]inline IndexPointer& getCoordIndices()
get the coord index array.
-[more]inline const IndexPointer& getCoordIndices() const +[more]inline const IndexPointer& getCoordIndices() const
get the const coord index array.
-[more]void setCoords( Vec3* cp ) +[more]void setCoords( Vec3* cp )
set the coords (ie the geometry) of the geoset
-[more]void setCoords( Vec3* cp, ushort* ci ) +[more]void setCoords( Vec3* cp, GLushort* ci )
set the coords (ie the geometry) and ushort indices of the geoset.
-[more]void setCoords( Vec3* cp, uint* ci ) +[more]void setCoords( Vec3* cp, GLuint* ci )
set the coords (ie the geometry) and uint indices of the geoset.
-[more]void setCoords( Vec3* cp, IndexPointer& ip ) +[more]void setCoords( Vec3* cp, IndexPointer& ip )
set the coords (ie the geometry) and indices of the geoset
-[more]inline const int getNumNormals() const +[more]inline const int getNumNormals() const
get the number of normals required by the defined primitives and normals binding
-[more]inline Vec3* getNormals() +[more]inline Vec3* getNormals()
get a pointer to Vec3 normal array.
-[more]inline const Vec3* getNormals() const +[more]inline const Vec3* getNormals() const
get a const pointer to Vec3 normal array.
-[more]inline int getNumNormalIndices() const +[more]inline int getNumNormalIndices() const
get the number of normal indices required by the defined primitives and normals binding
-[more]inline IndexPointer& getNormalIndices() +[more]inline IndexPointer& getNormalIndices()
get the normal index array.
-[more]inline const IndexPointer& getNormalIndices() const +[more]inline const IndexPointer& getNormalIndices() const
get the const normal index array.
-[more]void setNormals( Vec3* np ) +[more]void setNormals( Vec3* np )
set the normals of the geoset
-[more]void setNormals( Vec3* np, ushort* ni ) +[more]void setNormals( Vec3* np, GLushort* ni )
set the normals and normal indices of the geoset
-[more]void setNormals( Vec3* np, uint* ni ) +[more]void setNormals( Vec3* np, GLuint* ni )
set the normals and normal indices of the geoset
-[more]void setNormals( Vec3* np, IndexPointer& ip ) +[more]void setNormals( Vec3* np, IndexPointer& ip )
set the normals and normal indices of the geoset
-[more]void setNormalBinding( const BindingType binding ) +[more]void setNormalBinding( const BindingType binding )
set the normals binding to the vertices/primitives/overall
-[more]inline const BindingType getNormalBinding() const +[more]inline const BindingType getNormalBinding() const
-[more]inline const int getNumColors() const +[more]inline const int getNumColors() const
get the number of colors required by the defined primitives and color binding
-[more]inline Vec4* getColors() +[more]inline Vec4* getColors()
get a pointer to Vec4 color array.
-[more]inline const Vec4* getColors() const +[more]inline const Vec4* getColors() const
get a pointer to Vec4 color array.
-[more]inline int getNumColorIndices() const +[more]inline int getNumColorIndices() const
get the number of colors indices required by the defined primitives and color binding
-[more]inline IndexPointer& getColorIndices() +[more]inline IndexPointer& getColorIndices()
get the color index array.
-[more]inline const IndexPointer& getColorIndices() const +[more]inline const IndexPointer& getColorIndices() const
get the const color index array.
-[more]void setColors( Vec4* cp ) +[more]void setColors( Vec4* cp )
set the colors of the geoset
-[more]void setColors( Vec4* cp, ushort* li ) +[more]void setColors( Vec4* cp, GLushort* li )
set the colors and color indices of the geoset
-[more]void setColors( Vec4* cp, uint* li ) +[more]void setColors( Vec4* cp, GLuint* li )
set the colors and color indices of the geoset
-[more]void setColors( Vec4* cp, IndexPointer& ip ) +[more]void setColors( Vec4* cp, IndexPointer& ip )
set the colors and color indices of the geoset
-[more]void setColorBinding( const BindingType binding ) +[more]void setColorBinding( const BindingType binding )
set the color binding to the vertices/primitives/overall
-[more]inline BindingType getColorBinding() const +[more]inline BindingType getColorBinding() const
-[more]inline const int getNumTextureCoords() const +[more]inline const int getNumTextureCoords() const
get the number of texture coords required by the defined primitives and textures binding
-[more]inline Vec2* getTextureCoords() +[more]inline Vec2* getTextureCoords()
get a pointer to Vec4 color array.
-[more]inline const Vec2* getTextureCoords() const +[more]inline const Vec2* getTextureCoords() const
get a pointer to Vec4 color array.
-[more]inline const int getNumTextureIndices() const +[more]inline const int getNumTextureIndices() const
get the number of texture coord indices required by the defined primitives and texture binding
-[more]inline IndexPointer& getTextureIndices() +[more]inline IndexPointer& getTextureIndices()
get the texture index array.
-[more]inline const IndexPointer& getTextureIndices() const +[more]inline const IndexPointer& getTextureIndices() const
get the texture index array.
-[more]void setTextureCoords( Vec2* tc ) +[more]void setTextureCoords( Vec2* tc )
set the texture coords of the geoset
-[more]void setTextureCoords( Vec2* tc, ushort* ti ) +[more]void setTextureCoords( Vec2* tc, GLushort* ti )
set the texture coords and texture coord indices of the geoset
-[more]void setTextureCoords( Vec2* tc, uint* ti ) +[more]void setTextureCoords( Vec2* tc, GLuint* ti )
set the texture coords and texture coord indices of the geoset
-[more]void setTextureCoords( Vec2* tc, IndexPointer& ip ) +[more]void setTextureCoords( Vec2* tc, IndexPointer& ip )
set the texture coords and texture indices of the geoset
-[more]void setTextureBinding( const BindingType binding ) +[more]void setTextureBinding( const BindingType binding )
set the texture coord binding to the vertices/primitives/overall
-[more]inline const BindingType getTextureBinding() const +[more]inline const BindingType getTextureBinding() const
-[more]inline const int getNumInterleavedCoords() const +[more]inline const int getNumInterleavedCoords() const
get the number of texture coords required by the defined primitives and textures binding
-[more]inline void* getInterleavedArray() +[more]inline void* getInterleavedArray()
get a pointer to interleaved float array.
-[more]inline const void* getInterleavedArray() const +[more]inline const void* getInterleavedArray() const
get a const pointer to interleaved float array.
-[more]inline const int getNumInterleavedIndices() const +[more]inline const int getNumInterleavedIndices() const
get the number of texture coord indices required by the defined primitives and texture binding
-[more]inline IndexPointer& getInterleavedIndices() +[more]inline IndexPointer& getInterleavedIndices()
get the texture index array.
-[more]inline const IndexPointer& getInterleavedIndices() const +[more]inline const IndexPointer& getInterleavedIndices() const
get the interleaved index array.
-[more]inline const InterleaveArrayType getInterleavedFormat() const +[more]inline const InterleaveArrayType getInterleavedFormat() const
get the interleaved array storage format.
-[more]void setInterleavedArray( const InterleaveArrayType format, float* ia ) +[more]void setInterleavedArray( const InterleaveArrayType format, float* ia )
set the interleaved arrays of the geoset
-[more]void setInterleavedArray( const InterleaveArrayType format, float* ia, ushort* iai ) +[more]void setInterleavedArray( const InterleaveArrayType format, float* ia, GLushort* iai )
-[more]void setInterleavedArray( const InterleaveArrayType format, float* ia, uint* iai ) +[more]void setInterleavedArray( const InterleaveArrayType format, float* ia, GLuint* iai )
-[more]void setInterleavedArray( const InterleaveArrayType format, float* ia, IndexPointer& iai ) +[more]void setInterleavedArray( const InterleaveArrayType format, float* ia, IndexPointer& iai )
-[more]virtual void drawImmediateMode(State& state) +[more]virtual void drawImmediateMode(State& state)
draw geoset directly ignoring an OpenGL display list which could be attached.
-[more]const bool check() const +[more]const bool check() const
-[more]void setAttributeDeleteFunctor(AttributeDeleteFunctor* adf) +[more]void setAttributeDeleteFunctor(AttributeDeleteFunctor* adf)
set an alternative AttributeDeleteFunction to handle attribute arrays attached to this Geoset
-[more]AttributeDeleteFunctor* getAttributeDeleteFunctor() +[more]AttributeDeleteFunctor* getAttributeDeleteFunctor()
get the current AttributeDeleteFunction to handle attribute arrays attached to this Geoset
-[more]const AttributeDeleteFunctor* getAttributeDeleteFunctor() const +[more]const AttributeDeleteFunctor* getAttributeDeleteFunctor() const
get the current AttributeDeleteFunction to handle attribute arrays attached to this Geoset
-[more]bool getStats(Statistics &) +[more]bool getStats(Statistics &)
Statistics collection for each drawable- 260901
-[more]virtual AttributeBitMask suppportsAttributeOperation() const +[more]virtual AttributeBitMask suppportsAttributeOperation() const
return the attributes supported by applyAttrbuteUpdate() as an AttributeBitMask
-[more]virtual AttributeBitMask applyAttributeOperation(AttributeFunctor& auf) +[more]virtual AttributeBitMask applyAttributeOperation(AttributeFunctor& auf)
return the attributes successully applied in applyAttributeUpdate +
+[more]virtual void applyPrimitiveOperation(PrimitiveFunctor& functor) +
apply the internal geometry as basic primitives to a PrimitiveFunctor +
+[more]Geometry* convertToGeometry() +
convinience function for converting GeoSet's to equivilant Geometry nodes

Public Members

-[more]enum PrimitiveType +[more]enum PrimitiveType
-[more]enum BindingType +[more]enum BindingType
-[more]enum InterleaveArrayType +[more]enum InterleaveArrayType
-[more]struct IndexPointer +[more]struct IndexPointer
-[more]struct AttributeDeleteFunctor: public osg::Referenced +[more]struct AttributeDeleteFunctor: public osg::Referenced
function object which is used to handling the clean up of attribute arrays associated with GeoSet's.

Protected Fields

-[more]ref_ptr<AttributeDeleteFunctor> _adf +[more]ref_ptr<AttributeDeleteFunctor> _adf
-[more]int _numprims +[more]int _numprims
-[more]PrimitiveType _primtype +[more]PrimitiveType _primtype
-[more]int _needprimlen +[more]int _needprimlen
-[more]unsigned int _oglprimtype +[more]unsigned int _oglprimtype
-[more]int* _primLengths +[more]int* _primLengths
-[more]mutable unsigned char _primlength +[more]mutable unsigned char _primlength
-[more]unsigned char _flat_shaded_skip +[more]unsigned char _flat_shaded_skip
-[more]mutable int _numcoords +[more]mutable int _numcoords
-[more]Vec3* _coords +[more]Vec3* _coords
-[more]IndexPointer _cindex +[more]IndexPointer _cindex
-[more]BindingType _normal_binding +[more]BindingType _normal_binding
-[more]mutable int _numnormals +[more]mutable int _numnormals
-[more]Vec3* _normals +[more]Vec3* _normals
-[more]IndexPointer _nindex +[more]IndexPointer _nindex
-[more]BindingType _color_binding +[more]BindingType _color_binding
-[more]mutable int _numcolors +[more]mutable int _numcolors
-[more]Vec4* _colors +[more]Vec4* _colors
-[more]IndexPointer _colindex +[more]IndexPointer _colindex
-[more]BindingType _texture_binding +[more]BindingType _texture_binding
-[more]mutable int _numtcoords +[more]mutable int _numtcoords
-[more]Vec2* _tcoords +[more]Vec2* _tcoords
-[more]IndexPointer _tindex +[more]IndexPointer _tindex
-[more]void* _iarray +[more]void* _iarray
-[more]IndexPointer _iaindex +[more]IndexPointer _iaindex
-[more]InterleaveArrayType _iaformat +[more]InterleaveArrayType _iaformat
-[more]unsigned int _ogliaformat +[more]unsigned int _ogliaformat
-[more]int _fast_path +[more]int _fast_path

Protected Methods

-[more]GeoSet& operator = (const GeoSet&) +[more]GeoSet& operator = (const GeoSet&)
-[more]virtual ~GeoSet() +[more]virtual ~GeoSet()
-[more]virtual const bool computeBound() const +[more]virtual const bool computeBound() const
-[more]void set_fast_path( void ) +[more]void set_fast_path( void )
-[more]void draw_fast_path( void ) +[more]void draw_fast_path( State& state )
-[more]void draw_alternate_path( void ) +[more]void draw_alternate_path( State& state )

@@ -334,9 +342,9 @@

Public Methods

-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
-oinline ParentList getParents() +oinline ParentList getParents()
oinline Node* getParent(const unsigned int i)
@@ -366,17 +374,23 @@
ovoid compile(State& state)
-ovoid setDrawCallback(DrawCallback* dc) +ovoid setAppCallback(AppCallback* ac)
-oDrawCallback* getDrawCallback() +oAppCallback* getAppCallback()
-oconst DrawCallback* getDrawCallback() const +oconst AppCallback* getAppCallback() const
-ovoid setCullCallback(CullCallback* cc) +ovoid setCullCallback(CullCallback* cc)
-oCullCallback* getCullCallback() +oCullCallback* getCullCallback()
-oconst CullCallback* getCullCallback() const +oconst CullCallback* getCullCallback() const +
+ovoid setDrawCallback(DrawCallback* dc) +
+oDrawCallback* getDrawCallback() +
+oconst DrawCallback* getDrawCallback() const
ostatic void deleteDisplayList(uint contextID, uint globj)
@@ -389,18 +403,22 @@

Public Members

otypedef std::vector<Node*> ParentList
-ostruct DrawCallback: public osg::Referenced +ostruct AppCallback: public osg::Referenced
ostruct CullCallback: public osg::Referenced
+ostruct DrawCallback: public osg::Referenced +
otypedef uint AttributeBitMaskenum AttributeBitMaskValues
class AttributeFunctor +
+class PrimitiveFunctor

Protected Fields

-oParentList _parents +oParentList _parents
oref_ptr<StateSet> _dstate
@@ -412,9 +430,11 @@ class AttributeFunctor
omutable bool _bbox_computed
-oref_ptr<DrawCallback> _drawCallback +oref_ptr<AppCallback> _appCallback
-oref_ptr<CullCallback> _cullCallback +oref_ptr<DrawCallback> _drawCallback +
+oref_ptr<CullCallback> _cullCallback

@@ -436,9 +456,9 @@ class AttributeFunctor

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

@@ -448,7 +468,7 @@ class AttributeFunctor

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance

@@ -475,7 +495,11 @@ class AttributeFunctor

Documentation

-
Encapsulates OpenGL drawing primitives, geometry and +
Note, osg::GeoSet is now deprecated, please use osg::Geometry instead. +osg::GeoSet will be kept through to the beta release for +backwards compatability only. + +

Encapsulates OpenGL drawing primitives, geometry and optional binding of normal, color and texture coordinates. Used for representing the visible objects in the scene. State attributes for a GeoSet are maintained in StateSet which the GeoSet maintains @@ -484,576 +508,580 @@ be shared for optimal memory usage and graphics performance.

- +
oenum PrimitiveType

- +
o NO_TYPE

- +

o POINTS

- +

o LINES

- +

o LINE_STRIP

- +

o FLAT_LINE_STRIP

- +

o LINE_LOOP

- +

o TRIANGLES

- +

o TRIANGLE_STRIP

- +

o FLAT_TRIANGLE_STRIP

- +

o TRIANGLE_FAN

- +

o FLAT_TRIANGLE_FAN

- +

o QUADS

- +

o QUAD_STRIP

- +

o POLYGON

- +
oenum BindingType

- +
o BIND_OFF

- +

o BIND_OVERALL

- +

o BIND_PERPRIM

- +

o BIND_PERVERTEX

- +

o BIND_DEFAULT

- +
oenum InterleaveArrayType

- +
o IA_OFF

- +

o IA_V2F

- +

o IA_V3F

- +

o IA_C4UB_V2F

- +

o IA_C4UB_V3F

- +

o IA_C3F_V3F

- +

o IA_N3F_V3F

- +

o IA_C4F_N3F_V3F

- +

o IA_T2F_V3F

- +

o IA_T4F_V4F

- +

o IA_T2F_C4UB_V3F

- +

o IA_T2F_C3F_V3F

- +

o IA_T2F_N3F_V3F

- +

o IA_T2F_C4F_N3F_V3F

- +

o IA_T4F_C4F_N3F_V4F

- +
ostruct IndexPointer

- +
omutable uint _size

- +

obool _is_ushort

- +

ounion

- -
oushort* _ushort + +
oGLushort* _ushort

- -

ouint* _uint + +
oGLuint* _uint

- +
o IndexPointer()

- -

oinline const bool operator == (const IndexPointer& ip) const + +
oinline const bool operator == (const IndexPointer& ip) const

- +

oinline const bool valid() const

- +

oinline const bool null() const

- +

oinline void setToNull()

- -

oinline void set(uint size, ushort* data) + +
oinline void set(uint size, GLushort* data)

- -

ovoid set(const uint size, uint* data) + +
ovoid set(const uint size, GLuint* data)

- +

oinline const uint maxIndex() const

- -

oinline const uint operator [] (const uint pos) const + +
oinline const GLint operator [] (const GLuint pos) const

- +
o GeoSet()

- -

o GeoSet(const GeoSet& geoset, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o GeoSet(const GeoSet& geoset, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy

- +

ovirtual Object* cloneType() const

- +

ovirtual Object* clone(const CopyOp& copyop) const

- +

ovirtual bool isSameKindAs(const Object* obj) const

+ + +

ovirtual const char* libraryName() const +

- +

ovirtual const char* className() const

- +

oinline void setNumPrims( const int n )

- +

oinline const int getNumPrims() const

- -

ovoid setPrimType( const PrimitiveType type ) + +
ovoid setPrimType( const PrimitiveType type )

- -

oinline const PrimitiveType getPrimType() const + +
oinline const PrimitiveType getPrimType() const

- +

oinline void setPrimLengths( int* lens )

- +

oinline int* getPrimLengths()

- +

oinline const int* getPrimLengths() const

- +

ovoid computeNumVerts() const

- +

oinline const int getNumCoords() const
get the number of coords required by the defined primitives.

- +

oinline Vec3* getCoords()
get a pointer to Vec3 coord array.

- +

oinline const Vec3* getCoords() const
get a const pointer to Vec3 coord array.

- +

oinline const int getNumCoordIndices() const
get the number of indices required by the defined primitives.

- -

oinline IndexPointer& getCoordIndices() + +
oinline IndexPointer& getCoordIndices()
get the coord index array.

- -

oinline const IndexPointer& getCoordIndices() const + +
oinline const IndexPointer& getCoordIndices() const
get the const coord index array.

- +

ovoid setCoords( Vec3* cp )
set the coords (ie the geometry) of the geoset

- -

ovoid setCoords( Vec3* cp, ushort* ci ) + +
ovoid setCoords( Vec3* cp, GLushort* ci )
set the coords (ie the geometry) and ushort indices of the geoset. To reduce memory footprint and bandwidth for small datasets it is recommended the ushort indices are used instead of unit indices.

- -

ovoid setCoords( Vec3* cp, uint* ci ) + +
ovoid setCoords( Vec3* cp, GLuint* ci )
set the coords (ie the geometry) and uint indices of the geoset. Unless your data set exceeds 65536 indices prefer ushort indices over uint indices, only use this unit indices version if necessary.

- -

ovoid setCoords( Vec3* cp, IndexPointer& ip ) + +
ovoid setCoords( Vec3* cp, IndexPointer& ip )
set the coords (ie the geometry) and indices of the geoset

- +

oinline const int getNumNormals() const
get the number of normals required by the defined primitives and normals binding

- +

oinline Vec3* getNormals()
get a pointer to Vec3 normal array.

- +

oinline const Vec3* getNormals() const
get a const pointer to Vec3 normal array.

- +

oinline int getNumNormalIndices() const
get the number of normal indices required by the defined primitives and normals binding

- -

oinline IndexPointer& getNormalIndices() + +
oinline IndexPointer& getNormalIndices()
get the normal index array.

- -

oinline const IndexPointer& getNormalIndices() const + +
oinline const IndexPointer& getNormalIndices() const
get the const normal index array.

- +

ovoid setNormals( Vec3* np )
set the normals of the geoset

- -

ovoid setNormals( Vec3* np, ushort* ni ) + +
ovoid setNormals( Vec3* np, GLushort* ni )
set the normals and normal indices of the geoset

- -

ovoid setNormals( Vec3* np, uint* ni ) + +
ovoid setNormals( Vec3* np, GLuint* ni )
set the normals and normal indices of the geoset

- -

ovoid setNormals( Vec3* np, IndexPointer& ip ) + +
ovoid setNormals( Vec3* np, IndexPointer& ip )
set the normals and normal indices of the geoset

- -

ovoid setNormalBinding( const BindingType binding ) + +
ovoid setNormalBinding( const BindingType binding )
set the normals binding to the vertices/primitives/overall

- -

oinline const BindingType getNormalBinding() const + +
oinline const BindingType getNormalBinding() const

- +

oinline const int getNumColors() const
get the number of colors required by the defined primitives and color binding

- +

oinline Vec4* getColors()
get a pointer to Vec4 color array.

- +

oinline const Vec4* getColors() const
get a pointer to Vec4 color array.

- +

oinline int getNumColorIndices() const
get the number of colors indices required by the defined primitives and color binding

- -

oinline IndexPointer& getColorIndices() + +
oinline IndexPointer& getColorIndices()
get the color index array.

- -

oinline const IndexPointer& getColorIndices() const + +
oinline const IndexPointer& getColorIndices() const
get the const color index array.

- +

ovoid setColors( Vec4* cp )
set the colors of the geoset

- -

ovoid setColors( Vec4* cp, ushort* li ) + +
ovoid setColors( Vec4* cp, GLushort* li )
set the colors and color indices of the geoset

- -

ovoid setColors( Vec4* cp, uint* li ) + +
ovoid setColors( Vec4* cp, GLuint* li )
set the colors and color indices of the geoset

- -

ovoid setColors( Vec4* cp, IndexPointer& ip ) + +
ovoid setColors( Vec4* cp, IndexPointer& ip )
set the colors and color indices of the geoset

- -

ovoid setColorBinding( const BindingType binding ) + +
ovoid setColorBinding( const BindingType binding )
set the color binding to the vertices/primitives/overall

- -

oinline BindingType getColorBinding() const + +
oinline BindingType getColorBinding() const

- +

oinline const int getNumTextureCoords() const
get the number of texture coords required by the defined primitives and textures binding

- +

oinline Vec2* getTextureCoords()
get a pointer to Vec4 color array.

- +

oinline const Vec2* getTextureCoords() const
get a pointer to Vec4 color array.

- +

oinline const int getNumTextureIndices() const
get the number of texture coord indices required by the defined primitives and texture binding

- -

oinline IndexPointer& getTextureIndices() + +
oinline IndexPointer& getTextureIndices()
get the texture index array.

- -

oinline const IndexPointer& getTextureIndices() const + +
oinline const IndexPointer& getTextureIndices() const
get the texture index array.

- +

ovoid setTextureCoords( Vec2* tc )
set the texture coords of the geoset

- -

ovoid setTextureCoords( Vec2* tc, ushort* ti ) + +
ovoid setTextureCoords( Vec2* tc, GLushort* ti )
set the texture coords and texture coord indices of the geoset

- -

ovoid setTextureCoords( Vec2* tc, uint* ti ) + +
ovoid setTextureCoords( Vec2* tc, GLuint* ti )
set the texture coords and texture coord indices of the geoset

- -

ovoid setTextureCoords( Vec2* tc, IndexPointer& ip ) + +
ovoid setTextureCoords( Vec2* tc, IndexPointer& ip )
set the texture coords and texture indices of the geoset

- -

ovoid setTextureBinding( const BindingType binding ) + +
ovoid setTextureBinding( const BindingType binding )
set the texture coord binding to the vertices/primitives/overall

- -

oinline const BindingType getTextureBinding() const + +
oinline const BindingType getTextureBinding() const

- +

oinline const int getNumInterleavedCoords() const
get the number of texture coords required by the defined primitives and textures binding

- +

oinline void* getInterleavedArray()
get a pointer to interleaved float array.

- +

oinline const void* getInterleavedArray() const
get a const pointer to interleaved float array.

- +

oinline const int getNumInterleavedIndices() const
get the number of texture coord indices required by the defined primitives and texture binding

- -

oinline IndexPointer& getInterleavedIndices() + +
oinline IndexPointer& getInterleavedIndices()
get the texture index array.

- -

oinline const IndexPointer& getInterleavedIndices() const + +
oinline const IndexPointer& getInterleavedIndices() const
get the interleaved index array.

- -

oinline const InterleaveArrayType getInterleavedFormat() const + +
oinline const InterleaveArrayType getInterleavedFormat() const
get the interleaved array storage format.

- -

ovoid setInterleavedArray( const InterleaveArrayType format, float* ia ) + +
ovoid setInterleavedArray( const InterleaveArrayType format, float* ia )
set the interleaved arrays of the geoset

- -

ovoid setInterleavedArray( const InterleaveArrayType format, float* ia, ushort* iai ) + +
ovoid setInterleavedArray( const InterleaveArrayType format, float* ia, GLushort* iai )

- -

ovoid setInterleavedArray( const InterleaveArrayType format, float* ia, uint* iai ) + +
ovoid setInterleavedArray( const InterleaveArrayType format, float* ia, GLuint* iai )

- -

ovoid setInterleavedArray( const InterleaveArrayType format, float* ia, IndexPointer& iai ) + +
ovoid setInterleavedArray( const InterleaveArrayType format, float* ia, IndexPointer& iai )

- +

ovirtual void drawImmediateMode(State& state)
draw geoset 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 GeoSet for user-drawn objects.

- +

oconst bool check() const

- +

ostruct AttributeDeleteFunctor: public osg::Referenced
function object which is used to handling the clean up of attribute arrays associated with GeoSet's. A default is provided which assumes that all @@ -1063,175 +1091,185 @@ a specify your own memory deletion operation.

- +
ovirtual void operator() (GeoSet* gset)

- -
ovoid setAttributeDeleteFunctor(AttributeDeleteFunctor* adf) + +
ovoid setAttributeDeleteFunctor(AttributeDeleteFunctor* adf)
set an alternative AttributeDeleteFunction to handle attribute arrays attached to this Geoset

- -

oAttributeDeleteFunctor* getAttributeDeleteFunctor() + +
oAttributeDeleteFunctor* getAttributeDeleteFunctor()
get the current AttributeDeleteFunction to handle attribute arrays attached to this Geoset

- -

oconst AttributeDeleteFunctor* getAttributeDeleteFunctor() const + +
oconst AttributeDeleteFunctor* getAttributeDeleteFunctor() const
get the current AttributeDeleteFunction to handle attribute arrays attached to this Geoset

- +

obool getStats(Statistics &)
Statistics collection for each drawable- 260901

- +

ovirtual AttributeBitMask suppportsAttributeOperation() const
return the attributes supported by applyAttrbuteUpdate() as an AttributeBitMask

- +

ovirtual AttributeBitMask applyAttributeOperation(AttributeFunctor& auf)
return the attributes successully applied in applyAttributeUpdate

+ + +

ovirtual void applyPrimitiveOperation(PrimitiveFunctor& functor) +
apply the internal geometry as basic primitives to a PrimitiveFunctor +

+ + +

oGeometry* convertToGeometry() +
convinience function for converting GeoSet's to equivilant Geometry nodes +

- +

oGeoSet& operator = (const GeoSet&)

- +

ovirtual ~GeoSet()

- +

ovirtual const bool computeBound() const

- -

oref_ptr<AttributeDeleteFunctor> _adf + +
oref_ptr<AttributeDeleteFunctor> _adf

- +

oint _numprims

- -

oPrimitiveType _primtype + +
oPrimitiveType _primtype

- +

oint _needprimlen

- +

ounsigned int _oglprimtype

- +

oint* _primLengths

- +

omutable unsigned char _primlength

- +

ounsigned char _flat_shaded_skip

- +

omutable int _numcoords

- +

oVec3* _coords

- -

oIndexPointer _cindex + +
oIndexPointer _cindex

- -

oBindingType _normal_binding + +
oBindingType _normal_binding

- +

omutable int _numnormals

- +

oVec3* _normals

- -

oIndexPointer _nindex + +
oIndexPointer _nindex

- -

oBindingType _color_binding + +
oBindingType _color_binding

- +

omutable int _numcolors

- +

oVec4* _colors

- -

oIndexPointer _colindex + +
oIndexPointer _colindex

- -

oBindingType _texture_binding + +
oBindingType _texture_binding

- +

omutable int _numtcoords

- +

oVec2* _tcoords

- -

oIndexPointer _tindex + +
oIndexPointer _tindex

- +

ovoid* _iarray

- -

oIndexPointer _iaindex + +
oIndexPointer _iaindex

- -

oInterleaveArrayType _iaformat + +
oInterleaveArrayType _iaformat

- +

ounsigned int _ogliaformat

- +

oint _fast_path

- +

ovoid set_fast_path( void )

- -

ovoid draw_fast_path( void ) + +
ovoid draw_fast_path( State& state )

- -

ovoid draw_alternate_path( void ) + +
ovoid draw_alternate_path( State& state )


This class has no child classes.
diff --git a/doc/doc++/osg/Geode.html b/doc/doc++/osg/Geode.html index b482ea4aa..dbd406840 100644 --- a/doc/doc++/osg/Geode.html +++ b/doc/doc++/osg/Geode.html @@ -23,54 +23,54 @@

Public Methods

-[more]typedef std::vector< ref_ptr<Drawable> > DrawableList Geode() +[more]typedef std::vector< ref_ptr<Drawable> > DrawableList Geode()
-[more] Geode(const Geode&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Geode(const Geode&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_Node(Geode) +[more] META_Node(osg, Geode)
-[more]virtual const bool addDrawable( Drawable* drawable ) +[more]virtual const bool addDrawable( Drawable* drawable )
Add Drawable to Geode.
-[more]virtual const bool removeDrawable( Drawable* drawable ) +[more]virtual const bool removeDrawable( Drawable* drawable )
Remove Drawable from Geode.
-[more]virtual const bool replaceDrawable( Drawable* origDraw, Drawable* newDraw ) +[more]virtual const bool replaceDrawable( Drawable* origDraw, Drawable* newDraw )
Replace specified Drawable with another Drawable.
-[more]inline const int getNumDrawables() const +[more]inline const int getNumDrawables() const
return the number of geoset's
-[more]inline Drawable* getDrawable( const int i ) +[more]inline Drawable* getDrawable( const int i )
return geoset at position i
-[more]inline const Drawable* getDrawable( const int i ) const +[more]inline const Drawable* getDrawable( const int i ) const
return geoset at position i
-[more]inline const bool containsDrawable(const Drawable* gset) const +[more]inline const bool containsDrawable(const Drawable* gset) const
return true if geoset is contained within Geode
-[more]inline DrawableList::iterator findDrawable(const Drawable* gset) +[more]inline DrawableList::iterator findDrawable(const Drawable* gset)
return the iterator position for specified Drawable.
-[more]inline DrawableList::const_iterator findDrawable(const Drawable* gset) const +[more]inline DrawableList::const_iterator findDrawable(const Drawable* gset) const
return the const_iterator position for specified Drawable.
-[more]void compileDrawables(State& state) +[more]void compileDrawables(State& state)
compile OpenGL Display List for each geoset

Protected Fields

-[more]DrawableList _drawables +[more]DrawableList _drawables

Protected Methods

-[more]virtual ~Geode() +[more]virtual ~Geode()
-[more]virtual const bool computeBound() const +[more]virtual const bool computeBound() const

@@ -82,20 +82,20 @@
- +
otypedef std::vector< ref_ptr<Drawable> > DrawableList Geode()

- -

o Geode(const Geode&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o Geode(const Geode&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy

- -

o META_Node(Geode) + +
o META_Node(osg, Geode)

- +

ovirtual const bool addDrawable( Drawable* drawable )
Add Drawable to Geode. If gset is not NULL and is not contained in Geode then increment its @@ -104,7 +104,7 @@ sphere to force it to recompute on next getBound() and return true for success. Otherwise return false.

- +

ovirtual const bool removeDrawable( Drawable* drawable )
Remove Drawable from Geode. If gset is contained in Geode then remove it from the geoset @@ -114,7 +114,7 @@ return true for success. If gset is not found then return false and do not change the reference count of gset.

- +

ovirtual const bool replaceDrawable( Drawable* origDraw, Drawable* newDraw )
Replace specified Drawable with another Drawable. Decrement the reference count origGSet and increments the @@ -125,52 +125,52 @@ add newGset. If newGset is NULL then return false and do not remove origGset.

- +

oinline const int getNumDrawables() const
return the number of geoset's

- +

oinline Drawable* getDrawable( const int i )
return geoset at position i

- +

oinline const Drawable* getDrawable( const int i ) const
return geoset at position i

- +

oinline const bool containsDrawable(const Drawable* gset) const
return true if geoset is contained within Geode

- +

oinline DrawableList::iterator findDrawable(const Drawable* gset)
return the iterator position for specified Drawable. return _geoset.end() if gset not is contained in Geode.

- +

oinline DrawableList::const_iterator findDrawable(const Drawable* gset) const
return the const_iterator position for specified Drawable. return _geoset.end() if gset not is contained in Geode.

- +

ovoid compileDrawables(State& state)
compile OpenGL Display List for each geoset

- +

ovirtual ~Geode()

- +

ovirtual const bool computeBound() const

- +

oDrawableList _drawables


diff --git a/doc/doc++/osg/Group.html b/doc/doc++/osg/Group.html index d23ab023b..f2b7312b3 100644 --- a/doc/doc++/osg/Group.html +++ b/doc/doc++/osg/Group.html @@ -23,53 +23,53 @@

Public Methods

-[more]typedef std::vector<ref_ptr<Node> > ChildList Group() +[more]typedef std::vector<ref_ptr<Node> > ChildList Group()
-[more] Group(const Group&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Group(const Group&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_Node(Group) +[more] META_Node(osg, Group)
-[more]virtual void traverse(NodeVisitor& nv) +[more]virtual void traverse(NodeVisitor& nv)
-[more]virtual bool addChild( Node* child ) +[more]virtual bool addChild( Node* child )
Add Node to Group.
-[more]virtual bool removeChild( Node* child ) +[more]virtual bool removeChild( Node* child )
Remove Node from Group.
-[more]virtual bool replaceChild( Node* origChild, Node* newChild ) +[more]virtual bool replaceChild( Node* origChild, Node* newChild )
Replace specified Node with another Node.
-[more]inline const unsigned int getNumChildren() const +[more]inline const unsigned int getNumChildren() const
return the number of chilren nodes
-[more]inline Node* getChild( const unsigned int i ) +[more]inline Node* getChild( const unsigned int i )
return child node at position i
-[more]inline const Node* getChild( const unsigned int i ) const +[more]inline const Node* getChild( const unsigned int i ) const
return child node at position i
-[more]inline bool containsNode( const Node* node ) const +[more]inline bool containsNode( const Node* node ) const
return true if node is contained within Group
-[more]inline ChildList::iterator findNode( const Node* node ) +[more]inline ChildList::iterator findNode( const Node* node )
return the iterator position for specified Node.
-[more]inline ChildList::const_iterator findNode( const Node* node ) const +[more]inline ChildList::const_iterator findNode( const Node* node ) const
return the const_iterator position for specified Node.

Protected Fields

-[more]ChildList _children +[more]ChildList _children

Protected Methods

-[more]virtual ~Group() +[more]virtual ~Group()
-[more]virtual const bool computeBound() const +[more]virtual const bool computeBound() const

@@ -83,24 +83,24 @@ with memory management handled automatically via osg::Referenced.
- +
otypedef std::vector<ref_ptr<Node> > ChildList Group()

- -

o Group(const Group&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o Group(const Group&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy

- -

o META_Node(Group) + +
o META_Node(osg, Group)

- +

ovirtual void traverse(NodeVisitor& nv)

- +

ovirtual bool addChild( Node* child )
Add Node to Group. If node is not NULL and is not contained in Group then increment its @@ -109,7 +109,7 @@ 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.

- +

ovirtual bool removeChild( Node* child )
Remove Node from Group. If Node is contained in Group then remove it from the child @@ -119,7 +119,7 @@ return true for success. If Node is not found then return false and do not change the reference count of the Node.

- +

ovirtual bool replaceChild( Node* origChild, Node* newChild )
Replace specified Node with another Node. Decrement the reference count origNode and increments the @@ -130,47 +130,47 @@ add newNode. If newNode is NULL then return false and do not remove origNode. Also returns false if newChild is a Scene node.

- +

oinline const unsigned int getNumChildren() const
return the number of chilren nodes

- +

oinline Node* getChild( const unsigned int i )
return child node at position i

- +

oinline const Node* getChild( const unsigned int i ) const
return child node at position i

- +

oinline bool containsNode( const Node* node ) const
return true if node is contained within Group

- +

oinline ChildList::iterator findNode( const Node* node )
return the iterator position for specified Node. return _children.end() if node is not contained in Group.

- +

oinline ChildList::const_iterator findNode( const Node* node ) const
return the const_iterator position for specified Node. return _children.end() if node is not contained in Group.

- +

ovirtual ~Group()

- +

ovirtual const bool computeBound() const

- +

oChildList _children


diff --git a/doc/doc++/osg/HIER.html b/doc/doc++/osg/HIER.html index 0ff2f13fa..fb276d602 100644 --- a/doc/doc++/osg/HIER.html +++ b/doc/doc++/osg/HIER.html @@ -10,6 +10,7 @@
  • osg::Plane
  • osg::Polytope +
  • osg::Drawable::PrimitiveFunctor
  • osg::Quat
  • osg::Referenced @@ -98,11 +121,29 @@
  • osg::State
  • osg::Statistics -
  • osg::ShadowOccluderVolume +
  • osg::ShadowVolumeOccluder
  • osg::Timer +
  • osg::TriangleFunctor +
  • osg::UByte4
  • osg::Vec2
  • osg::Vec3
  • osg::Vec4 +
  • osg::VectorSizei + +
  • osg::VectorUByte + +
  • osg::VectorUInt + +
  • osg::VectorUShort +
  • osg::fast_back_stack
  • osg::ref_ptr

    Alphabetic index


    diff --git a/doc/doc++/osg/HIERjava.html b/doc/doc++/osg/HIERjava.html index 78d62eb0d..436b5937a 100644 --- a/doc/doc++/osg/HIERjava.html +++ b/doc/doc++/osg/HIERjava.html @@ -16,6 +16,13 @@
  • + + + + + + + @@ -44,12 +51,26 @@ + + + + + + + + + + + + + + @@ -57,11 +78,11 @@ - - - - - + + + + + @@ -85,15 +106,15 @@ - - - - - + + + + + - + @@ -106,6 +127,20 @@ + + + + + + + + + + + + + + @@ -127,6 +162,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/doc++/osg/Image.html b/doc/doc++/osg/Image.html index 44ae0f483..4a8d030a5 100644 --- a/doc/doc++/osg/Image.html +++ b/doc/doc++/osg/Image.html @@ -23,140 +23,142 @@

    Public Methods

    -[more] Image() +[more] Image()
    -[more] Image(const Image& image, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Image(const Image& image, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more]virtual Object* cloneType() const +[more]virtual Object* cloneType() const
    -[more]virtual Object* clone(const CopyOp& copyop) const +[more]virtual Object* clone(const CopyOp& copyop) const
    -[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
    -[more]virtual const char* className() const +[more]virtual const char* libraryName() const
    -[more]void setFileName(const std::string& fileName) +[more]virtual const char* className() const
    -[more]inline const std::string& getFileName() const +[more]void setFileName(const std::string& fileName)
    -[more]void createImage(int s, int t, int r, GLenum format, GLenum type, int packing=1) +[more]inline const std::string& getFileName() const
    -[more]void setImage(int s, int t, int r, GLint internalTextureformat, GLenum format, GLenum type, unsigned char* data, int packing=1) +[more]void createImage(int s, int t, int r, GLenum format, GLenum type, int packing=1) +
    +[more]void setImage(int s, int t, int r, GLint internalTextureformat, GLenum format, GLenum type, unsigned char* data, int packing=1)
    set the image data and format.
    -[more]void readPixels(int x, int y, int width, int height, GLenum format, GLenum type) +[more]void readPixels(int x, int y, int width, int height, GLenum format, GLenum type)
    readPixels from screen at specified position and size, using glReadPixels.
    -[more]void scaleImage(const int s, const int t, const int r) +[more]void scaleImage(const int s, const int t, const int r)
    Scale image to specified size.
    -[more]inline const int s() const +[more]inline const int s() const
    Width of image
    -[more]inline const int t() const +[more]inline const int t() const
    Height of image
    -[more]inline const int r() const +[more]inline const int r() const
    Depth of image
    -[more]void setInternalTextureFormat(GLint internalFormat) +[more]void setInternalTextureFormat(GLint internalFormat)
    -[more]inline const GLint getInternalTextureFormat() const +[more]inline const GLint getInternalTextureFormat() const
    -[more]void setPixelFormat(const GLenum format) +[more]void setPixelFormat(const GLenum format)
    -[more]inline const GLenum getPixelFormat() const +[more]inline const GLenum getPixelFormat() const
    -[more]inline const GLenum getDataType() const +[more]inline const GLenum getDataType() const
    -[more]inline const unsigned int getPacking() const +[more]inline const unsigned int getPacking() const
    -[more]inline const unsigned int getPixelSizeInBits() const +[more]inline const unsigned int getPixelSizeInBits() const
    return the numbers of bits required for each pixel
    -[more]inline const unsigned int getRowSizeInBytes() const +[more]inline const unsigned int getRowSizeInBytes() const
    return the numbers of bytes each row of pixels occupies once it has been packed
    -[more]inline const unsigned int getImageSizeInBytes() const +[more]inline const unsigned int getImageSizeInBytes() const
    return the numbers of bytes each image (_s*_t) of pixels occupies
    -[more]inline const unsigned int getTotalSizeInBytes() const +[more]inline const unsigned int getTotalSizeInBytes() const
    return the numbers of bytes the whole row/image/volume of pixels occupies
    -[more]inline unsigned char* data() +[more]inline unsigned char* data()
    raw image data
    -[more]inline const unsigned char* data() const +[more]inline const unsigned char* data() const
    raw const image data
    -[more]unsigned char* data(int column, int row=0, int image=0) +[more]unsigned char* data(int column, int row=0, int image=0)
    -[more]void flipHorizontal(int image=0) +[more]void flipHorizontal(int image=0)
    Flip the image horizontally
    -[more]void flipVertical(int image=0) +[more]void flipVertical(int image=0)
    Flip the image vertically
    -[more]void ensureValidSizeForTexturing() +[more]void ensureValidSizeForTexturing()
    Ensure image dimensions are a power of two.
    -[more]inline void dirty() +[more]inline void dirty()
    Dirty the image, which increments the modified flag, to force osg::Texture to reload the image
    -[more]inline void setModifiedTag(const unsigned int value) +[more]inline void setModifiedTag(const unsigned int value)
    Set the modified tag value, only used by osg::Texture when using texture subloading.
    -[more]inline const unsigned int getModifiedTag() const +[more]inline const unsigned int getModifiedTag() const
    Get modified tag value, only used by osg::Texture when using texture subloading.
    -[more]static const bool isPackedType(GLenum type) +[more]static const bool isPackedType(GLenum type)
    -[more]static const unsigned int computeNumComponents(GLenum format) +[more]static const unsigned int computeNumComponents(GLenum format)
    -[more]static const unsigned int computePixelSizeInBits(GLenum format, GLenum type) +[more]static const unsigned int computePixelSizeInBits(GLenum format, GLenum type)
    -[more]static const unsigned int computeRowWidthInBytes(int width, GLenum format, GLenum type, int packing) +[more]static const unsigned int computeRowWidthInBytes(int width, GLenum format, GLenum type, int packing)
    -[more]typedef std::vector< unsigned int >inline MipmapDataType bool isMipmap() const +[more]typedef std::vector< unsigned int >inline MipmapDataType bool isMipmap() const
    -[more]unsigned int getNumMipmaps() const +[more]unsigned int getNumMipmaps() const
    -[more]inline void setMipmapData(const MipmapDataType& mipmapDataVector) +[more]inline void setMipmapData(const MipmapDataType& mipmapDataVector)
    -[more]inline unsigned char* getMipmapData(unsigned int mipmapNumber) const +[more]inline unsigned char* getMipmapData(unsigned int mipmapNumber) const

    Protected Fields

    -[more]std::string _fileName +[more]std::string _fileName
    -[more]int _s +[more]int _s
    -[more]int _t +[more]int _t
    -[more]int _r +[more]int _r
    -[more]GLint _internalTextureFormat +[more]GLint _internalTextureFormat
    -[more]GLenum _pixelFormat +[more]GLenum _pixelFormat
    -[more]GLenum _dataType +[more]GLenum _dataType
    -[more]unsigned int _packing +[more]unsigned int _packing
    -[more]unsigned char* _data +[more]unsigned char* _data
    -[more]unsigned int _modifiedTag +[more]unsigned int _modifiedTag
    -[more]MipmapDataType _mipmapData +[more]MipmapDataType _mipmapData

    Protected Methods

    -[more]virtual ~Image() +[more]virtual ~Image()
    -[more]Image& operator = (const Image&) +[more]Image& operator = (const Image&)

    @@ -164,9 +166,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -176,7 +178,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -207,45 +209,49 @@
    - +
    o Image()

    - -

    o Image(const Image& image, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o Image(const Image& image, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy

    - +

    ovirtual Object* cloneType() const

    - +

    ovirtual Object* clone(const CopyOp& copyop) const

    - +

    ovirtual bool isSameKindAs(const Object* obj) const

    + + +

    ovirtual const char* libraryName() const +

    - +

    ovirtual const char* className() const

    - +

    ovoid setFileName(const std::string& fileName)

    - +

    oinline const std::string& getFileName() const

    - -

    ovoid createImage(int s, int t, int r, GLenum format, GLenum type, int packing=1) + +
    ovoid createImage(int s, int t, int r, GLenum format, GLenum type, int packing=1)

    - -

    ovoid setImage(int s, int t, int r, GLint internalTextureformat, GLenum format, GLenum type, unsigned char* data, int packing=1) + +
    ovoid setImage(int s, int t, int r, GLint internalTextureformat, GLenum format, GLenum type, unsigned char* data, int packing=1)
    set the image data and format. note, when the packing value is negative (the default is -1) this method assumes a _packing width of 1 if the width is not a multiple of 4, @@ -253,102 +259,102 @@ otherwise automatically sets to _packing to 4. If a positive value of packing is supplied than _packing is simply set to that value.

    - -

    ovoid readPixels(int x, int y, int width, int height, GLenum format, GLenum type) + +
    ovoid readPixels(int x, int y, int width, int height, GLenum format, GLenum type)
    readPixels from screen at specified position and size, using glReadPixels. Create memory for storage if required, reuse existing pixel coords if possible. if pixelFormat or dataType

    - -

    ovoid scaleImage(const int s, const int t, const int r) + +
    ovoid scaleImage(const int s, const int t, const int r)
    Scale image to specified size.

    - +

    oinline const int s() const
    Width of image

    - +

    oinline const int t() const
    Height of image

    - +

    oinline const int r() const
    Depth of image

    - +

    ovoid setInternalTextureFormat(GLint internalFormat)

    - +

    oinline const GLint getInternalTextureFormat() const

    - +

    ovoid setPixelFormat(const GLenum format)

    - +

    oinline const GLenum getPixelFormat() const

    - +

    oinline const GLenum getDataType() const

    - +

    oinline const unsigned int getPacking() const

    - +

    oinline const unsigned int getPixelSizeInBits() const
    return the numbers of bits required for each pixel

    - +

    oinline const unsigned int getRowSizeInBytes() const
    return the numbers of bytes each row of pixels occupies once it has been packed

    - +

    oinline const unsigned int getImageSizeInBytes() const
    return the numbers of bytes each image (_s*_t) of pixels occupies

    - +

    oinline const unsigned int getTotalSizeInBytes() const
    return the numbers of bytes the whole row/image/volume of pixels occupies

    - +

    oinline unsigned char* data()
    raw image data

    - +

    oinline const unsigned char* data() const
    raw const image data

    - +

    ounsigned char* data(int column, int row=0, int image=0)

    - +

    ovoid flipHorizontal(int image=0)
    Flip the image horizontally

    - +

    ovoid flipVertical(int image=0)
    Flip the image vertically

    - +

    ovoid ensureValidSizeForTexturing()
    Ensure image dimensions are a power of two. Mip Mapped texture require the image dimensions to be @@ -356,102 +362,102 @@ power of two and are within the maxiumum texture size for the host machine.

    - +

    oinline void dirty()
    Dirty the image, which increments the modified flag, to force osg::Texture to reload the image

    - +

    oinline void setModifiedTag(const unsigned int value)
    Set the modified tag value, only used by osg::Texture when using texture subloading.

    - +

    oinline const unsigned int getModifiedTag() const
    Get modified tag value, only used by osg::Texture when using texture subloading.

    - +

    ostatic const bool isPackedType(GLenum type)

    - +

    ostatic const unsigned int computeNumComponents(GLenum format)

    - +

    ostatic const unsigned int computePixelSizeInBits(GLenum format, GLenum type)

    - -

    ostatic const unsigned int computeRowWidthInBytes(int width, GLenum format, GLenum type, int packing) + +
    ostatic const unsigned int computeRowWidthInBytes(int width, GLenum format, GLenum type, int packing)

    - +

    otypedef std::vector< unsigned int >inline MipmapDataType bool isMipmap() const

    - +

    ounsigned int getNumMipmaps() const

    - +

    oinline void setMipmapData(const MipmapDataType& mipmapDataVector)

    - +

    oinline unsigned char* getMipmapData(unsigned int mipmapNumber) const

    - +

    ovirtual ~Image()

    - +

    oImage& operator = (const Image&)

    - +

    ostd::string _fileName

    - +

    oint _s

    - +

    oint _t

    - +

    oint _r

    - +

    oGLint _internalTextureFormat

    - +

    oGLenum _pixelFormat

    - +

    oGLenum _dataType

    - +

    ounsigned int _packing

    - +

    ounsigned char* _data

    - +

    ounsigned int _modifiedTag

    - +

    oMipmapDataType _mipmapData

    diff --git a/doc/doc++/osg/Impostor.html b/doc/doc++/osg/Impostor.html index 59c250f1b..e3ce4478e 100644 --- a/doc/doc++/osg/Impostor.html +++ b/doc/doc++/osg/Impostor.html @@ -23,47 +23,47 @@

    Public Methods

    -[more] Impostor() +[more] Impostor()
    -[more] Impostor(const Impostor& es, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Impostor(const Impostor& es, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    -[more] META_Node(Impostor) +[more] META_Node(osg, Impostor)
    -[more]inline void setImpostorThreshold(float distance) +[more]inline void setImpostorThreshold(float distance)
    Set the Impostor threshold distance.
    -[more]inline void setImpostorThresholdToBound(float ratio=1.0f) +[more]inline void setImpostorThresholdToBound(float ratio=1.0f)
    Set the Impostor threshold distance relative to the node's bounding sphere's radius
    -[more]inline const float getImpostorThreshold() const +[more]inline const float getImpostorThreshold() const
    -[more]inline const float getImpostorThreshold2() const +[more]inline const float getImpostorThreshold2() const
    -[more]ImpostorSprite* findBestImpostorSprite(const osg::Vec3& currLocalEyePoint) +[more]ImpostorSprite* findBestImpostorSprite(const osg::Vec3& currLocalEyePoint)
    Find the ImposterSprite which fits the current eye point best
    -[more]void addImpostorSprite(ImpostorSprite* is) +[more]void addImpostorSprite(ImpostorSprite* is)
    Add an ImpostorSprite to the Impostor
    -[more]inline ImpostorSpriteList& getImpostorSpriteList() +[more]inline ImpostorSpriteList& getImpostorSpriteList()
    Get the list of ImpostorSprites attached to this Impostor
    -[more]inline const ImpostorSpriteList& getImpostorSpriteList() const +[more]inline const ImpostorSpriteList& getImpostorSpriteList() const
    Get a const list of ImpostorSprites attached to this const Impostor

    Protected Fields

    -[more]ImpostorSpriteList _impostorSpriteList +[more]ImpostorSpriteList _impostorSpriteList
    -[more]float _impostorThreshold +[more]float _impostorThreshold

    Protected Methods

    -[more]virtual ~Impostor() +[more]virtual ~Impostor()
    -[more]virtual const bool computeBound() const +[more]virtual const bool computeBound() const

    @@ -79,15 +79,15 @@
    oinline const unsigned int getNumRanges() const
    -oinline void setCenter(const Vec3 &center) +oinline void setCenter(const Vec3 &center)
    oinline const Vec3& getCenter() const
    -ovoid setEvaluateLODCallback(EvaluateLODCallback* cbc) +ovoid setEvaluateLODCallback(EvaluateLODCallback* cbc)
    -oEvaluateLODCallback* getEvaluateLODCallback() +oEvaluateLODCallback* getEvaluateLODCallback()
    -oconst EvaluateLODCallback* getEvaluateLODCallback() const +oconst EvaluateLODCallback* getEvaluateLODCallback() const
    oinline const int evaluate(const Vec3& eye_local, const float bias=1.0f) const
    @@ -103,7 +103,7 @@

    Protected Fields

    oRangeList _rangeList2
    -oref_ptr<EvaluateLODCallback> _evaluateLODCallback +oref_ptr<EvaluateLODCallback> _evaluateLODCallback
    oVec3 _center

    @@ -187,72 +187,72 @@ geometry.
    - +
    o Impostor()

    - -

    o Impostor(const Impostor& es, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o Impostor(const Impostor& es, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

    - -

    o META_Node(Impostor) + +
    o META_Node(osg, Impostor)

    - -

    oinline void setImpostorThreshold(float distance) + +
    oinline void setImpostorThreshold(float distance)
    Set the Impostor threshold distance. For eye points further than this threshold the Imposter is used if appropriate, otherwise the LOD children as chosen as per a standard LOD node.

    - +

    oinline void setImpostorThresholdToBound(float ratio=1.0f)
    Set the Impostor threshold distance relative to the node's bounding sphere's radius

    - +

    oinline const float getImpostorThreshold() const

    - +

    oinline const float getImpostorThreshold2() const

    - +

    oImpostorSprite* findBestImpostorSprite(const osg::Vec3& currLocalEyePoint)
    Find the ImposterSprite which fits the current eye point best

    - +

    ovoid addImpostorSprite(ImpostorSprite* is)
    Add an ImpostorSprite to the Impostor

    - +

    oinline ImpostorSpriteList& getImpostorSpriteList()
    Get the list of ImpostorSprites attached to this Impostor

    - +

    oinline const ImpostorSpriteList& getImpostorSpriteList() const
    Get a const list of ImpostorSprites attached to this const Impostor

    - +

    ovirtual ~Impostor()

    - +

    ovirtual const bool computeBound() const

    - +

    oImpostorSpriteList _impostorSpriteList

    - +

    ofloat _impostorThreshold

    diff --git a/doc/doc++/osg/ImpostorSprite.html b/doc/doc++/osg/ImpostorSprite.html index bc48b6b0f..ae782d50d 100644 --- a/doc/doc++/osg/ImpostorSprite.html +++ b/doc/doc++/osg/ImpostorSprite.html @@ -23,112 +23,114 @@

    Public Methods

    -[more] ImpostorSprite() +[more] ImpostorSprite()
    -[more]virtual Object* cloneType() const +[more]virtual Object* cloneType() const
    Clone an object of the same type as an ImpostorSprite
    -[more]virtual Object* clone(const CopyOp&) const +[more]virtual Object* clone(const CopyOp&) const
    Clone on ImpostorSprite just returns a clone of type, since it is not appropriate to share data of an ImpostorSprite
    -[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
    -[more]virtual const char* className() const +[more]virtual const char* libraryName() const
    -[more]void setParent(Impostor* parent) +[more]virtual const char* className() const +
    +[more]void setParent(Impostor* parent)
    Set the parent, which must be an Impostor.
    -[more]Impostor* getParent() +[more]Impostor* getParent()
    Get the parent, which is an Impostor.
    -[more]const Impostor* getParent() const +[more]const Impostor* getParent() const
    Get the const parent, which is an Impostor.
    -[more]inline void setStoredLocalEyePoint(const Vec3& v) +[more]inline void setStoredLocalEyePoint(const Vec3& v)
    Set the eye point for when the ImpsotorSprite was snapped
    -[more]inline const Vec3& getStoredLocalEyePoint() const +[more]inline const Vec3& getStoredLocalEyePoint() const
    Get the eye point for when the ImpsotorSprite was snapped
    -[more]inline void setLastFrameUsed(const int frameNumber) +[more]inline void setLastFrameUsed(const int frameNumber)
    Set the frame number for when the ImpostorSprite was last used in rendering
    -[more]inline int getLastFrameUsed() const +[more]inline int getLastFrameUsed() const
    Get the frame number for when the ImpostorSprite was last used in rendering
    -[more]inline Vec3* getCoords() +[more]inline Vec3* getCoords()
    Get the coordinates of the corners of the quad.
    -[more]inline const Vec3* getCoords() const +[more]inline const Vec3* getCoords() const
    Get the const coordinates of the corners of the quad
    -[more]inline Vec2* getTexCoords() +[more]inline Vec2* getTexCoords()
    Get the texture coordinates of the corners of the quad.
    -[more]inline const Vec2* getTexCoords() const +[more]inline const Vec2* getTexCoords() const
    Get the const texture coordinates of the corners of the quad
    -[more]inline Vec3* getControlCoords() +[more]inline Vec3* getControlCoords()
    Get the control coordinates of the corners of the quad.
    -[more]inline const Vec3* getControlCoords() const +[more]inline const Vec3* getControlCoords() const
    Get the const control coordinates of the corners of the quad
    -[more]const float calcPixelError(const Matrix& MVPW) const +[more]const float calcPixelError(const Matrix& MVPW) const
    calculate the pixel error value for passing in the ModelViewProjectionWindow transform, which transform local coords into screen space
    -[more]void setTexture(Texture* tex, int s, int t) +[more]void setTexture(Texture* tex, int s, int t)
    -[more]Texture* getTexture() +[more]Texture* getTexture()
    -[more]const Texture* getTexture() const +[more]const Texture* getTexture() const
    -[more]const int s() const +[more]const int s() const
    -[more]const int t() const +[more]const int t() const
    -[more]virtual void drawImmediateMode(State& state) +[more]virtual void drawImmediateMode(State& state)
    draw ImpostorSprite directly.
    -[more]bool getStats(Statistics &stat) +[more]bool getStats(Statistics &stat)

    Protected Fields

    -[more]Impostor* _parent +[more]Impostor* _parent
    -[more]ImpostorSpriteManager* _ism +[more]ImpostorSpriteManager* _ism
    -[more]ImpostorSprite* _previous +[more]ImpostorSprite* _previous
    -[more]ImpostorSprite* _next +[more]ImpostorSprite* _next
    -[more]int _lastFrameUsed +[more]int _lastFrameUsed
    -[more]Vec3 _storedLocalEyePoint +[more]Vec3 _storedLocalEyePoint
    -[more]Vec3 _coords[4] +[more]Vec3 _coords[4]
    -[more]Vec2 _texcoords[4] +[more]Vec2 _texcoords[4]
    -[more]Vec3 _controlcoords[4] +[more]Vec3 _controlcoords[4]
    -[more]Texture* _texture +[more]Texture* _texture
    -[more]int _s +[more]int _s
    -[more]int _t +[more]int _t

    Protected Methods

    -[more] ImpostorSprite(const ImpostorSprite&) +[more] ImpostorSprite(const ImpostorSprite&)
    -[more]ImpostorSprite& operator = (const ImpostorSprite&) +[more]ImpostorSprite& operator = (const ImpostorSprite&)
    -[more]virtual ~ImpostorSprite() +[more]virtual ~ImpostorSprite()
    -[more]virtual const bool computeBound() const +[more]virtual const bool computeBound() const

    @@ -136,9 +138,9 @@

    Public Methods

    -oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
    -oinline ParentList getParents() +oinline ParentList getParents()
    oinline const unsigned int getNumParents() const
    @@ -164,17 +166,23 @@
    ovoid compile(State& state)
    -ovoid setDrawCallback(DrawCallback* dc) +ovoid setAppCallback(AppCallback* ac)
    -oDrawCallback* getDrawCallback() +oAppCallback* getAppCallback()
    -oconst DrawCallback* getDrawCallback() const +oconst AppCallback* getAppCallback() const
    -ovoid setCullCallback(CullCallback* cc) +ovoid setCullCallback(CullCallback* cc)
    -oCullCallback* getCullCallback() +oCullCallback* getCullCallback()
    -oconst CullCallback* getCullCallback() const +oconst CullCallback* getCullCallback() const +
    +ovoid setDrawCallback(DrawCallback* dc) +
    +oDrawCallback* getDrawCallback() +
    +oconst DrawCallback* getDrawCallback() const
    ostatic void deleteDisplayList(uint contextID, uint globj)
    @@ -184,6 +192,8 @@
    ovirtual AttributeBitMask applyAttributeOperation(AttributeFunctor&)
    +ovirtual void applyPrimitiveOperation(PrimitiveFunctor&) +
    oinline void draw(State& state)

    @@ -191,18 +201,22 @@

    Public Members

    otypedef std::vector<Node*> ParentList
    -ostruct DrawCallback: public osg::Referenced +ostruct AppCallback: public osg::Referenced
    ostruct CullCallback: public osg::Referenced
    +ostruct DrawCallback: public osg::Referenced +
    otypedef uint AttributeBitMaskenum AttributeBitMaskValues
    class AttributeFunctor +
    +class PrimitiveFunctor

    Protected Fields

    -oParentList _parents +oParentList _parents
    oref_ptr<StateSet> _dstate
    @@ -214,9 +228,11 @@ class AttributeFunctor
    omutable bool _bbox_computed
    -oref_ptr<DrawCallback> _drawCallback +oref_ptr<AppCallback> _appCallback
    -oref_ptr<CullCallback> _cullCallback +oref_ptr<DrawCallback> _drawCallback +
    +oref_ptr<CullCallback> _cullCallback

    @@ -238,9 +254,9 @@ class AttributeFunctor

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -250,7 +266,7 @@ class AttributeFunctor

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -285,89 +301,93 @@ necessary to deal with it directly.
    - +
    o ImpostorSprite()

    - +

    ovirtual Object* cloneType() const
    Clone an object of the same type as an ImpostorSprite

    - +

    ovirtual Object* clone(const CopyOp&) const
    Clone on ImpostorSprite just returns a clone of type, since it is not appropriate to share data of an ImpostorSprite

    - +

    ovirtual bool isSameKindAs(const Object* obj) const

    + + +

    ovirtual const char* libraryName() const +

    - +

    ovirtual const char* className() const

    - +

    ovoid setParent(Impostor* parent)
    Set the parent, which must be an Impostor. Unlike conventional Drawables, ImpostorSprite's can only ever have one parent.

    - +

    oImpostor* getParent()
    Get the parent, which is an Impostor.

    - +

    oconst Impostor* getParent() const
    Get the const parent, which is an Impostor.

    - +

    oinline void setStoredLocalEyePoint(const Vec3& v)
    Set the eye point for when the ImpsotorSprite was snapped

    - +

    oinline const Vec3& getStoredLocalEyePoint() const
    Get the eye point for when the ImpsotorSprite was snapped

    - +

    oinline void setLastFrameUsed(const int frameNumber)
    Set the frame number for when the ImpostorSprite was last used in rendering

    - +

    oinline int getLastFrameUsed() const
    Get the frame number for when the ImpostorSprite was last used in rendering

    - +

    oinline Vec3* getCoords()
    Get the coordinates of the corners of the quad. Stored in the order, [0] - top_left, [1] - bottom_left, [2] - bottom_right, [3] - top_left.

    - +

    oinline const Vec3* getCoords() const
    Get the const coordinates of the corners of the quad

    - +

    oinline Vec2* getTexCoords()
    Get the texture coordinates of the corners of the quad. Stored in the order, [0] - top_left, [1] - bottom_left, [2] - bottom_right, [3] - top_left.

    - +

    oinline const Vec2* getTexCoords() const
    Get the const texture coordinates of the corners of the quad

    - +

    oinline Vec3* getControlCoords()
    Get the control coordinates of the corners of the quad. The control coordinates are the corners of the quad projected @@ -382,107 +402,107 @@ can then be used to determine whether the impostor needs to be updated. Stored in the order, [0] - top_left, [1] - bottom_left, [2] - bottom_right, [3] - top_left.

    - +

    oinline const Vec3* getControlCoords() const
    Get the const control coordinates of the corners of the quad

    - +

    oconst float calcPixelError(const Matrix& MVPW) const
    calculate the pixel error value for passing in the ModelViewProjectionWindow transform, which transform local coords into screen space

    - -

    ovoid setTexture(Texture* tex, int s, int t) + +
    ovoid setTexture(Texture* tex, int s, int t)

    - +

    oTexture* getTexture()

    - +

    oconst Texture* getTexture() const

    - +

    oconst int s() const

    - +

    oconst int t() const

    - +

    ovirtual void drawImmediateMode(State& state)
    draw ImpostorSprite directly.

    - +

    obool getStats(Statistics &stat)

    - -

    o ImpostorSprite(const ImpostorSprite&) + +
    o ImpostorSprite(const ImpostorSprite&)

    - +

    oImpostorSprite& operator = (const ImpostorSprite&)

    - +

    ovirtual ~ImpostorSprite()

    - +

    ovirtual const bool computeBound() const

    - +

    oImpostor* _parent

    - +

    oImpostorSpriteManager* _ism

    - +

    oImpostorSprite* _previous

    - +

    oImpostorSprite* _next

    - +

    oint _lastFrameUsed

    - +

    oVec3 _storedLocalEyePoint

    - +

    oVec3 _coords[4]

    - +

    oVec2 _texcoords[4]

    - +

    oVec3 _controlcoords[4]

    - +

    oTexture* _texture

    - +

    oint _s

    - +

    oint _t

    diff --git a/doc/doc++/osg/ImpostorSpriteManager.html b/doc/doc++/osg/ImpostorSpriteManager.html index 036053a32..2dfa31be5 100644 --- a/doc/doc++/osg/ImpostorSpriteManager.html +++ b/doc/doc++/osg/ImpostorSpriteManager.html @@ -23,35 +23,35 @@

    Public Methods

    -[more] ImpostorSpriteManager() +[more] ImpostorSpriteManager()
    -[more]const bool empty() const +[more]const bool empty() const
    -[more]ImpostorSprite* first() +[more]ImpostorSprite* first()
    -[more]ImpostorSprite* last() +[more]ImpostorSprite* last()
    -[more]void push_back(ImpostorSprite* is) +[more]void push_back(ImpostorSprite* is)
    -[more]void remove(ImpostorSprite* is) +[more]void remove(ImpostorSprite* is)
    -[more]ImpostorSprite* createOrReuseImpostorSprite(int s, int t, int frameNumber) +[more]ImpostorSprite* createOrReuseImpostorSprite(int s, int t, int frameNumber)

    Protected Fields

    -[more]ref_ptr<TexEnv> _texenv +[more]ref_ptr<TexEnv> _texenv
    -[more]ref_ptr<AlphaFunc> _alphafunc +[more]ref_ptr<AlphaFunc> _alphafunc
    -[more]ImpostorSprite* _first +[more]ImpostorSprite* _first
    -[more]ImpostorSprite* _last +[more]ImpostorSprite* _last

    Protected Methods

    -[more] ~ImpostorSpriteManager() +[more] ~ImpostorSpriteManager()

    @@ -84,51 +84,51 @@
    - +
    o ImpostorSpriteManager()

    - +

    oconst bool empty() const

    - +

    oImpostorSprite* first()

    - +

    oImpostorSprite* last()

    - +

    ovoid push_back(ImpostorSprite* is)

    - +

    ovoid remove(ImpostorSprite* is)

    - -

    oImpostorSprite* createOrReuseImpostorSprite(int s, int t, int frameNumber) + +
    oImpostorSprite* createOrReuseImpostorSprite(int s, int t, int frameNumber)

    - +

    o ~ImpostorSpriteManager()

    - +

    oref_ptr<TexEnv> _texenv

    - +

    oref_ptr<AlphaFunc> _alphafunc

    - +

    oImpostorSprite* _first

    - +

    oImpostorSprite* _last

    diff --git a/doc/doc++/osg/LOD.html b/doc/doc++/osg/LOD.html index 501613cb8..8e61cdaa4 100644 --- a/doc/doc++/osg/LOD.html +++ b/doc/doc++/osg/LOD.html @@ -23,68 +23,68 @@

    Public Methods

    -[more] LOD() +[more] LOD()
    -[more] LOD(const LOD&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] LOD(const LOD&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] META_Node(LOD) +[more] META_Node(osg, LOD)
    -[more]virtual void traverse(NodeVisitor& nv) +[more]virtual void traverse(NodeVisitor& nv)
    -[more]void setRange(const unsigned int index, const float range) +[more]void setRange(const unsigned int index, const float range)
    Sets the value of range list element index to range which is a floating point distance specified in world coordinates.
    -[more]inline const float getRange(const unsigned int index) const +[more]inline const float getRange(const unsigned int index) const
    returns the range for specified index
    -[more]inline const unsigned int getNumRanges() const +[more]inline const unsigned int getNumRanges() const
    returns the number of ranges currently set
    -[more]inline void setCenter(const Vec3 &center) +[more]inline void setCenter(const Vec3 &center)
    Sets the object-space point which defines the center of the osg::LOD.
    -[more]inline const Vec3& getCenter() const +[more]inline const Vec3& getCenter() const
    return the LOD center point.
    -[more]void setEvaluateLODCallback(EvaluateLODCallback* cbc) +[more]void setEvaluateLODCallback(EvaluateLODCallback* cbc)
    Set the EvaluateLODCallback which allows users to attach customize computation of the the selection of LOD children
    -[more]EvaluateLODCallback* getEvaluateLODCallback() +[more]EvaluateLODCallback* getEvaluateLODCallback()
    Get the non const ComputeBillboardCallback
    -[more]const EvaluateLODCallback* getEvaluateLODCallback() const +[more]const EvaluateLODCallback* getEvaluateLODCallback() const
    Get the const ComputeBillboardCallback
    -[more]inline const int evaluate(const Vec3& eye_local, const float bias=1.0f) const +[more]inline const int evaluate(const Vec3& eye_local, const float bias=1.0f) const
    return the child to traverse.
    -[more]virtual const int evaluateLODChild(const Vec3& eye_local, const float bias) const +[more]virtual const int evaluateLODChild(const Vec3& eye_local, const float bias) const

    Public Members

    -[more]struct EvaluateLODCallback: public osg::Referenced +[more]struct EvaluateLODCallback: public osg::Referenced
    Callback attached to an LOD which allows the users to customize the selection of LOD children

    Protected Fields

    -[more]RangeList _rangeList2 +[more]RangeList _rangeList2
    -[more]ref_ptr<EvaluateLODCallback> _evaluateLODCallback +[more]ref_ptr<EvaluateLODCallback> _evaluateLODCallback
    -[more]Vec3 _center +[more]Vec3 _center

    Protected Methods

    -[more]virtual ~LOD() +[more]virtual ~LOD()

    Protected Members

    -[more]typedef std::vector<float> RangeList RangeList _rangeList +[more]typedef std::vector<float> RangeList RangeList _rangeList

    @@ -142,24 +142,24 @@ during rendering.
    - +
    o LOD()

    - -

    o LOD(const LOD&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o LOD(const LOD&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy

    - -

    o META_Node(LOD) + +
    o META_Node(osg, LOD)

    - +

    ovirtual void traverse(NodeVisitor& nv)

    - +

    ovoid setRange(const unsigned int index, const float range)
    Sets the value of range list element index to range which is a floating point distance specified in world coordinates. @@ -167,82 +167,82 @@ Range list automatically expands to accommodate values beyond the current getNumRanges().

    - +

    oinline const float getRange(const unsigned int index) const
    returns the range for specified index

    - +

    oinline const unsigned int getNumRanges() const
    returns the number of ranges currently set

    - -

    oinline void setCenter(const Vec3 &center) + +
    oinline void setCenter(const Vec3 &center)
    Sets the object-space point which defines the center of the osg::LOD. center is affected by any transforms in the hierarchy above the osg::LOD.

    - +

    oinline const Vec3& getCenter() const
    return the LOD center point.

    - +

    ostruct EvaluateLODCallback: public osg::Referenced
    Callback attached to an LOD which allows the users to customize the selection of LOD children

    - +
    ovirtual const int evaluateLODChild(const osg::LOD* lod, const Vec3& eye_local, const float bias) const = 0
    Compute the child to select

    - -
    ovoid setEvaluateLODCallback(EvaluateLODCallback* cbc) + +
    ovoid setEvaluateLODCallback(EvaluateLODCallback* cbc)
    Set the EvaluateLODCallback which allows users to attach customize computation of the the selection of LOD children

    - -

    oEvaluateLODCallback* getEvaluateLODCallback() + +
    oEvaluateLODCallback* getEvaluateLODCallback()
    Get the non const ComputeBillboardCallback

    - -

    oconst EvaluateLODCallback* getEvaluateLODCallback() const + +
    oconst EvaluateLODCallback* getEvaluateLODCallback() const
    Get the const ComputeBillboardCallback

    - +

    oinline const int evaluate(const Vec3& eye_local, const float bias=1.0f) const
    return the child to traverse. Selected by the distance between the eye point in local coordinates and the LOD center, multiplied by the bias.

    - +

    ovirtual const int evaluateLODChild(const Vec3& eye_local, const float bias) const

    - +

    ovirtual ~LOD()

    - +

    otypedef std::vector<float> RangeList RangeList _rangeList

    - +

    oRangeList _rangeList2

    - -

    oref_ptr<EvaluateLODCallback> _evaluateLODCallback + +
    oref_ptr<EvaluateLODCallback> _evaluateLODCallback

    - +

    oVec3 _center


    diff --git a/doc/doc++/osg/Light.html b/doc/doc++/osg/Light.html index 7e7846c17..d14359d0f 100644 --- a/doc/doc++/osg/Light.html +++ b/doc/doc++/osg/Light.html @@ -23,121 +23,121 @@

    Public Methods

    -[more] Light() +[more] Light()
    -[more] Light(const Light& light, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Light(const Light& light, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] META_StateAttribute(Light, (Type)(LIGHT_0+_lightnum)) +[more] META_StateAttribute(osg, Light, (Type)(LIGHT_0+_lightnum))
    -[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
    -[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
    -[more]void setLightNum(const int num) +[more]void setLightNum(const int num)
    Set which OpenGL light to operate on
    -[more]const int getLightNum() const +[more]const int getLightNum() const
    Get which OpenGL light this osg::Light operates on
    -[more]inline void setAmbient( const Vec4& ambient ) +[more]inline void setAmbient( const Vec4& ambient )
    Set the ambient component of the light.
    -[more]inline const Vec4& getAmbient() const +[more]inline const Vec4& getAmbient() const
    Get the ambient component of the light.
    -[more]inline void setDiffuse( const Vec4& diffuse ) +[more]inline void setDiffuse( const Vec4& diffuse )
    Set the diffuse component of the light.
    -[more]inline const Vec4& getDiffuse() const +[more]inline const Vec4& getDiffuse() const
    Get the diffuse component of the light.
    -[more]inline void setSpecular( const Vec4& specular ) +[more]inline void setSpecular( const Vec4& specular )
    Set the specular component of the light.
    -[more]inline const Vec4& getSpecular() const +[more]inline const Vec4& getSpecular() const
    Get the specular component of the light.
    -[more]inline void setPosition( const Vec4& position ) +[more]inline void setPosition( const Vec4& position )
    Set the position of the light.
    -[more]inline const Vec4& getPosition() const +[more]inline const Vec4& getPosition() const
    Get the position of the light.
    -[more]inline void setDirection( const Vec3& direction ) +[more]inline void setDirection( const Vec3& direction )
    Set the direction of the light.
    -[more]inline const Vec3& getDirection() const +[more]inline const Vec3& getDirection() const
    Get the direction of the light.
    -[more]inline void setConstantAttenuation( const float constant_attenuation ) +[more]inline void setConstantAttenuation( const float constant_attenuation )
    Set the constant attenuation of the light.
    -[more]inline const float getConstantAttenuation() const +[more]inline const float getConstantAttenuation() const
    Get the constant attenuation of the light.
    -[more]inline void setLinearAttenuation( const float linear_attenuation ) +[more]inline void setLinearAttenuation( const float linear_attenuation )
    Set the linear attenuation of the light.
    -[more]inline const float getLinearAttenuation() const +[more]inline const float getLinearAttenuation() const
    Get the linear attenuation of the light.
    -[more]inline void setQuadraticAttenuation( const float quadratic_attenuation ) +[more]inline void setQuadraticAttenuation( const float quadratic_attenuation )
    Set the quadratic attenuation of the light.
    -[more]inline const float getQuadraticAttenuation() const +[more]inline const float getQuadraticAttenuation() const
    Get the quadratic attenuation of the light.
    -[more]inline void setSpotExponent( const float spot_exponent ) +[more]inline void setSpotExponent( const float spot_exponent )
    Set the spot exponent of the light.
    -[more]inline const float getSpotExponent() const +[more]inline const float getSpotExponent() const
    Get the spot exponent of the light.
    -[more]inline void setSpotCutoff( const float spot_cutoff ) +[more]inline void setSpotCutoff( const float spot_cutoff )
    Set the spot cutoff of the light.
    -[more]inline const float getSpotCutoff() const +[more]inline const float getSpotCutoff() const
    Get the spot cutoff of the light.
    -[more]void captureLightState() +[more]void captureLightState()
    Capture the lighting settings of the current OpenGL state and store them in this object
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
    Apply the light's state to the OpenGL state machine.

    Protected Fields

    -[more]int _lightnum +[more]int _lightnum
    -[more]Vec4 _ambient +[more]Vec4 _ambient
    -[more]Vec4 _diffuse +[more]Vec4 _diffuse
    -[more]Vec4 _specular +[more]Vec4 _specular
    -[more]Vec4 _position +[more]Vec4 _position
    -[more]Vec3 _direction +[more]Vec3 _direction
    -[more]float _constant_attenuation +[more]float _constant_attenuation
    -[more]float _linear_attenuation +[more]float _linear_attenuation
    -[more]float _quadratic_attenuation +[more]float _quadratic_attenuation
    -[more]float _spot_exponent +[more]float _spot_exponent
    -[more]float _spot_cutoff +[more]float _spot_cutoff

    Protected Methods

    -[more]virtual ~Light() +[more]virtual ~Light()
    -[more]void init() +[more]void init()
    Initialize the light's settings with some decent defaults.

    @@ -152,9 +152,13 @@
    ovirtual bool isSameKindAs(const Object* obj) const
    +ovirtual const char* libraryName() const +
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const +
    +ovirtual bool isTextureAttribute() const
    obool operator < (const StateAttribute& rhs) const
    @@ -185,9 +189,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -197,7 +201,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -230,200 +234,200 @@
    - +
    o Light()

    - -

    o Light(const Light& light, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o Light(const Light& light, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy

    - -

    o META_StateAttribute(Light, (Type)(LIGHT_0+_lightnum)) + +
    o META_StateAttribute(osg, Light, (Type)(LIGHT_0+_lightnum))

    - +

    ovirtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

    - - -

    ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const + + +
    ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

    - +

    ovoid setLightNum(const int num)
    Set which OpenGL light to operate on

    - +

    oconst int getLightNum() const
    Get which OpenGL light this osg::Light operates on

    - +

    oinline void setAmbient( const Vec4& ambient )
    Set the ambient component of the light.

    - +

    oinline const Vec4& getAmbient() const
    Get the ambient component of the light.

    - +

    oinline void setDiffuse( const Vec4& diffuse )
    Set the diffuse component of the light.

    - +

    oinline const Vec4& getDiffuse() const
    Get the diffuse component of the light.

    - +

    oinline void setSpecular( const Vec4& specular )
    Set the specular component of the light.

    - +

    oinline const Vec4& getSpecular() const
    Get the specular component of the light.

    - +

    oinline void setPosition( const Vec4& position )
    Set the position of the light.

    - +

    oinline const Vec4& getPosition() const
    Get the position of the light.

    - +

    oinline void setDirection( const Vec3& direction )
    Set the direction of the light.

    - +

    oinline const Vec3& getDirection() const
    Get the direction of the light.

    - +

    oinline void setConstantAttenuation( const float constant_attenuation )
    Set the constant attenuation of the light.

    - +

    oinline const float getConstantAttenuation() const
    Get the constant attenuation of the light.

    - +

    oinline void setLinearAttenuation( const float linear_attenuation )
    Set the linear attenuation of the light.

    - +

    oinline const float getLinearAttenuation() const
    Get the linear attenuation of the light.

    - +

    oinline void setQuadraticAttenuation( const float quadratic_attenuation )
    Set the quadratic attenuation of the light.

    - +

    oinline const float getQuadraticAttenuation() const
    Get the quadratic attenuation of the light.

    - +

    oinline void setSpotExponent( const float spot_exponent )
    Set the spot exponent of the light.

    - +

    oinline const float getSpotExponent() const
    Get the spot exponent of the light.

    - +

    oinline void setSpotCutoff( const float spot_cutoff )
    Set the spot cutoff of the light.

    - +

    oinline const float getSpotCutoff() const
    Get the spot cutoff of the light.

    - +

    ovoid captureLightState()
    Capture the lighting settings of the current OpenGL state and store them in this object

    - +

    ovirtual void apply(State& state) const
    Apply the light's state to the OpenGL state machine.

    - +

    ovirtual ~Light()

    - +

    ovoid init()
    Initialize the light's settings with some decent defaults.

    - +

    oint _lightnum

    - +

    oVec4 _ambient

    - +

    oVec4 _diffuse

    - +

    oVec4 _specular

    - +

    oVec4 _position

    - +

    oVec3 _direction

    - +

    ofloat _constant_attenuation

    - +

    ofloat _linear_attenuation

    - +

    ofloat _quadratic_attenuation

    - +

    ofloat _spot_exponent

    - +

    ofloat _spot_cutoff

    diff --git a/doc/doc++/osg/LightModel.html b/doc/doc++/osg/LightModel.html index 250ab34fb..7a4f4e839 100644 --- a/doc/doc++/osg/LightModel.html +++ b/doc/doc++/osg/LightModel.html @@ -22,54 +22,54 @@

    Public Methods

    -[more] LightModel() +[more] LightModel()
    -[more] LightModel(const LightModel& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] LightModel(const LightModel& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] META_StateAttribute(LightModel, LIGHTMODEL) +[more] META_StateAttribute(osg, LightModel, LIGHTMODEL)
    -[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
    -[more]void setAmbientIntensity(const osg::Vec4& ambient) +[more]void setAmbientIntensity(const osg::Vec4& ambient)
    -[more]const osg::Vec4& getAmbientIntensity() const +[more]const osg::Vec4& getAmbientIntensity() const
    -[more]void setColorControl(const ColorControl cc) +[more]void setColorControl(const ColorControl cc)
    -[more]inline const ColorControl getColorControl() const +[more]inline const ColorControl getColorControl() const
    -[more]void setLocalViewer(const bool localViewer) +[more]void setLocalViewer(const bool localViewer)
    -[more]inline const bool getLocalViewer() const +[more]inline const bool getLocalViewer() const
    -[more]void setTwoSided(const bool twoSided) +[more]void setTwoSided(const bool twoSided)
    -[more]inline const bool getTwoSided() const +[more]inline const bool getTwoSided() const
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

    Public Members

    -[more]enum ColorControl +[more]enum ColorControl

    Protected Fields

    -[more]osg::Vec4 _ambient +[more]osg::Vec4 _ambient
    -[more]ColorControl _colorControl +[more]ColorControl _colorControl
    -[more]bool _localViewer +[more]bool _localViewer
    -[more]bool _twoSided +[more]bool _twoSided

    Protected Methods

    -[more]virtual ~LightModel() +[more]virtual ~LightModel()

    @@ -83,9 +83,13 @@
    ovirtual bool isSameKindAs(const Object* obj) const
    +ovirtual const char* libraryName() const +
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const +
    +ovirtual bool isTextureAttribute() const
    obool operator < (const StateAttribute& rhs) const
    @@ -93,7 +97,7 @@
    obool operator != (const StateAttribute& rhs) const
    -ovirtual void setStateSetModes(StateSet&, const GLModeValue) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
    ovirtual void compile(State&) const

    @@ -118,9 +122,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -130,7 +134,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -162,91 +166,91 @@
    - +
    o LightModel()

    - -

    o LightModel(const LightModel& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o LightModel(const LightModel& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy

    - -

    o META_StateAttribute(LightModel, LIGHTMODEL) + +
    o META_StateAttribute(osg, LightModel, LIGHTMODEL)

    - +

    ovirtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

    - +

    ovoid setAmbientIntensity(const osg::Vec4& ambient)

    - +

    oconst osg::Vec4& getAmbientIntensity() const

    - +

    oenum ColorControl

    - +
    o SEPERATE_SPECULAR_COLOR

    - +

    o SINGLE_COLOR

    - -
    ovoid setColorControl(const ColorControl cc) + +
    ovoid setColorControl(const ColorControl cc)

    - -

    oinline const ColorControl getColorControl() const + +
    oinline const ColorControl getColorControl() const

    - +

    ovoid setLocalViewer(const bool localViewer)

    - +

    oinline const bool getLocalViewer() const

    - +

    ovoid setTwoSided(const bool twoSided)

    - +

    oinline const bool getTwoSided() const

    - +

    ovirtual void apply(State& state) const

    - +

    ovirtual ~LightModel()

    - +

    oosg::Vec4 _ambient

    - -

    oColorControl _colorControl + +
    oColorControl _colorControl

    - +

    obool _localViewer

    - +

    obool _twoSided

    diff --git a/doc/doc++/osg/LightSource.html b/doc/doc++/osg/LightSource.html index 48f9f356d..b5a0f0a39 100644 --- a/doc/doc++/osg/LightSource.html +++ b/doc/doc++/osg/LightSource.html @@ -23,40 +23,40 @@

    Public Methods

    -[more] LightSource() +[more] LightSource()
    -[more] LightSource(const LightSource& ls, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] LightSource(const LightSource& ls, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    -[more] META_Node(LightSource) +[more] META_Node(osg, LightSource)
    -[more]void setLight(Light* light) +[more]void setLight(StateAttribute* light)
    Set the attached light
    -[more]inline Light* getLight() +[more]inline StateAttribute* getLight()
    Get the attached light
    -[more]inline const Light* getLight() const +[more]inline const StateAttribute* getLight() const
    Get the const attached light
    -[more]void setStateSetModes(StateSet&, const StateAttribute::GLModeValue) const +[more]void setStateSetModes(StateSet&, const StateAttribute::GLModeValue) const
    Set the GLModes on StateSet associated with the LightSource
    -[more]void setLocalStateSetModes(const StateAttribute::GLModeValue=StateAttribute::ON) +[more]void setLocalStateSetModes(const StateAttribute::GLModeValue=StateAttribute::ON)
    Set up the local StateSet

    Protected Fields

    -[more]StateAttribute::GLModeValue _value +[more]StateAttribute::GLModeValue _value
    -[more]ref_ptr<Light> _light +[more]ref_ptr<StateAttribute> _light

    Protected Methods

    -[more]virtual ~LightSource() +[more]virtual ~LightSource()
    -[more]virtual const bool computeBound() const +[more]virtual const bool computeBound() const

    @@ -99,57 +99,57 @@
    - +
    o LightSource()

    - -

    o LightSource(const LightSource& ls, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o LightSource(const LightSource& ls, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

    - -

    o META_Node(LightSource) + +
    o META_Node(osg, LightSource)

    - -

    ovoid setLight(Light* light) + +
    ovoid setLight(StateAttribute* light)
    Set the attached light

    - -

    oinline Light* getLight() + +
    oinline StateAttribute* getLight()
    Get the attached light

    - -

    oinline const Light* getLight() const + +
    oinline const StateAttribute* getLight() const
    Get the const attached light

    - +

    ovoid setStateSetModes(StateSet&, const StateAttribute::GLModeValue) const
    Set the GLModes on StateSet associated with the LightSource

    - +

    ovoid setLocalStateSetModes(const StateAttribute::GLModeValue=StateAttribute::ON)
    Set up the local StateSet

    - +

    ovirtual ~LightSource()

    - +

    ovirtual const bool computeBound() const

    - +

    oStateAttribute::GLModeValue _value

    - -

    oref_ptr<Light> _light + +
    oref_ptr<StateAttribute> _light


    This class has no child classes.
    diff --git a/doc/doc++/osg/LineSegment.html b/doc/doc++/osg/LineSegment.html index 2dfe2d117..49aa9f0c2 100644 --- a/doc/doc++/osg/LineSegment.html +++ b/doc/doc++/osg/LineSegment.html @@ -23,60 +23,60 @@

    Public Methods

    -[more] LineSegment() +[more] LineSegment()
    -[more] LineSegment(const LineSegment& seg) +[more] LineSegment(const LineSegment& seg)
    -[more] LineSegment(const Vec3& s, const Vec3& e) +[more] LineSegment(const Vec3& s, const Vec3& e)
    -[more]LineSegment& operator = (const LineSegment& seg) +[more]LineSegment& operator = (const LineSegment& seg)
    -[more]inline void set(const Vec3& s, const Vec3& e) +[more]inline void set(const Vec3& s, const Vec3& e)
    -[more]inline Vec3& start() +[more]inline Vec3& start()
    -[more]inline const Vec3& start() const +[more]inline const Vec3& start() const
    -[more]inline Vec3& end() +[more]inline Vec3& end()
    -[more]inline const Vec3& end() const +[more]inline const Vec3& end() const
    -[more]inline const bool valid() const +[more]inline const bool valid() const
    -[more]const bool intersect(const BoundingBox& bb) const +[more]const bool intersect(const BoundingBox& bb) const
    return true if segment intersects BoundingBox
    -[more]const bool intersect(const BoundingBox& bb, float& r1, float& r2) const +[more]const bool intersect(const BoundingBox& bb, float& r1, float& r2) const
    return true if segment intersects BoundingBox and return the intersection ratio's
    -[more]const bool intersect(const BoundingSphere& bs) const +[more]const bool intersect(const BoundingSphere& bs) const
    return true if segment intersects BoundingSphere
    -[more]const bool intersect(const BoundingSphere& bs, float& r1, float& r2) const +[more]const bool intersect(const BoundingSphere& bs, float& r1, float& r2) const
    return true if segment intersects BoundingSphere and return the intersection ratio's
    -[more]const bool intersect(const Vec3& v1, const Vec3& v2, const Vec3& v3, float& r) +[more]const bool intersect(const Vec3& v1, const Vec3& v2, const Vec3& v3, float& r)
    return true if segment intersects triangle and set ratio long segment.
    -[more]inline void mult(const LineSegment& seg, const Matrix& m) +[more]inline void mult(const LineSegment& seg, const Matrix& m)
    post multiply a segment by matrix
    -[more]inline void mult(const Matrix& m, const LineSegment& seg) +[more]inline void mult(const Matrix& m, const LineSegment& seg)
    pre multiply a segment by matrix

    Protected Fields

    -[more]Vec3 _s +[more]Vec3 _s
    -[more]Vec3 _e +[more]Vec3 _e

    Protected Methods

    -[more]virtual ~LineSegment() +[more]virtual ~LineSegment()
    -[more]static const bool intersectAndClip(Vec3& s, Vec3& e, const BoundingBox& bb) +[more]static const bool intersectAndClip(Vec3& s, Vec3& e, const BoundingBox& bb)

    @@ -107,94 +107,94 @@
    - +
    o LineSegment()

    - -

    o LineSegment(const LineSegment& seg) + +
    o LineSegment(const LineSegment& seg)

    - -

    o LineSegment(const Vec3& s, const Vec3& e) + +
    o LineSegment(const Vec3& s, const Vec3& e)

    - +

    oLineSegment& operator = (const LineSegment& seg)

    - -

    oinline void set(const Vec3& s, const Vec3& e) + +
    oinline void set(const Vec3& s, const Vec3& e)

    - +

    oinline Vec3& start()

    - +

    oinline const Vec3& start() const

    - +

    oinline Vec3& end()

    - +

    oinline const Vec3& end() const

    - +

    oinline const bool valid() const

    - +

    oconst bool intersect(const BoundingBox& bb) const
    return true if segment intersects BoundingBox

    - +

    oconst bool intersect(const BoundingBox& bb, float& r1, float& r2) const
    return true if segment intersects BoundingBox and return the intersection ratio's

    - +

    oconst bool intersect(const BoundingSphere& bs) const
    return true if segment intersects BoundingSphere

    - +

    oconst bool intersect(const BoundingSphere& bs, float& r1, float& r2) const
    return true if segment intersects BoundingSphere and return the intersection ratio's

    - -

    oconst bool intersect(const Vec3& v1, const Vec3& v2, const Vec3& v3, float& r) + +
    oconst bool intersect(const Vec3& v1, const Vec3& v2, const Vec3& v3, float& r)
    return true if segment intersects triangle and set ratio long segment.

    - +

    oinline void mult(const LineSegment& seg, const Matrix& m)
    post multiply a segment by matrix

    - +

    oinline void mult(const Matrix& m, const LineSegment& seg)
    pre multiply a segment by matrix

    - +

    ovirtual ~LineSegment()

    - -

    ostatic const bool intersectAndClip(Vec3& s, Vec3& e, const BoundingBox& bb) + +
    ostatic const bool intersectAndClip(Vec3& s, Vec3& e, const BoundingBox& bb)

    - +

    oVec3 _s

    - +

    oVec3 _e

    diff --git a/doc/doc++/osg/LineStipple.html b/doc/doc++/osg/LineStipple.html index b49615e91..24d68a618 100644 --- a/doc/doc++/osg/LineStipple.html +++ b/doc/doc++/osg/LineStipple.html @@ -22,39 +22,39 @@

    Public Methods

    -[more] LineStipple() +[more] LineStipple()
    -[more] LineStipple(const LineStipple& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] LineStipple(const LineStipple& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] META_StateAttribute(LineStipple, LINESTIPPLE) +[more] META_StateAttribute(osg, LineStipple, LINESTIPPLE)
    -[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
    -[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
    -[more]void setFactor(const int factor) +[more]void setFactor(const int factor)
    -[more]inline const int getFactor() const +[more]inline const int getFactor() const
    -[more]void setPattern(const unsigned short pattern) +[more]void setPattern(const unsigned short pattern)
    -[more]inline const unsigned short getPattern() const +[more]inline const unsigned short getPattern() const
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

    Protected Fields

    -[more]int _factor +[more]int _factor
    -[more]unsigned short _pattern +[more]unsigned short _pattern

    Protected Methods

    -[more]virtual ~LineStipple() +[more]virtual ~LineStipple()

    @@ -68,9 +68,13 @@
    ovirtual bool isSameKindAs(const Object* obj) const
    +ovirtual const char* libraryName() const +
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const +
    +ovirtual bool isTextureAttribute() const
    obool operator < (const StateAttribute& rhs) const
    @@ -101,9 +105,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -113,7 +117,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -145,57 +149,57 @@
    - +
    o LineStipple()

    - -

    o LineStipple(const LineStipple& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o LineStipple(const LineStipple& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy

    - -

    o META_StateAttribute(LineStipple, LINESTIPPLE) + +
    o META_StateAttribute(osg, LineStipple, LINESTIPPLE)

    - +

    ovirtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

    - - -

    ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const + + +
    ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

    - +

    ovoid setFactor(const int factor)

    - +

    oinline const int getFactor() const

    - +

    ovoid setPattern(const unsigned short pattern)

    - +

    oinline const unsigned short getPattern() const

    - +

    ovirtual void apply(State& state) const

    - +

    ovirtual ~LineStipple()

    - +

    oint _factor

    - +

    ounsigned short _pattern

    diff --git a/doc/doc++/osg/LineWidth.html b/doc/doc++/osg/LineWidth.html index 690c61f3d..1429187ec 100644 --- a/doc/doc++/osg/LineWidth.html +++ b/doc/doc++/osg/LineWidth.html @@ -23,31 +23,31 @@

    Public Methods

    -[more] LineWidth() +[more] LineWidth()
    -[more] LineWidth(const LineWidth& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] LineWidth(const LineWidth& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] META_StateAttribute(LineWidth, LINEWIDTH) +[more] META_StateAttribute(osg, LineWidth, LINEWIDTH)
    -[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
    -[more]void setWidth(const float width) +[more]void setWidth(const float width)
    -[more]inline const float getWidth() const +[more]inline const float getWidth() const
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

    Protected Fields

    -[more]float _width +[more]float _width

    Protected Methods

    -[more]virtual ~LineWidth() +[more]virtual ~LineWidth()

    @@ -61,9 +61,13 @@
    ovirtual bool isSameKindAs(const Object* obj) const
    +ovirtual const char* libraryName() const +
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const +
    +ovirtual bool isTextureAttribute() const
    obool operator < (const StateAttribute& rhs) const
    @@ -71,7 +75,7 @@
    obool operator != (const StateAttribute& rhs) const
    -ovirtual void setStateSetModes(StateSet&, const GLModeValue) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
    ovirtual void compile(State&) const

    @@ -96,9 +100,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -108,7 +112,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -141,41 +145,41 @@
    - +
    o LineWidth()

    - -

    o LineWidth(const LineWidth& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o LineWidth(const LineWidth& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy

    - -

    o META_StateAttribute(LineWidth, LINEWIDTH) + +
    o META_StateAttribute(osg, LineWidth, LINEWIDTH)

    - +

    ovirtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

    - -

    ovoid setWidth(const float width) + +
    ovoid setWidth(const float width)

    - +

    oinline const float getWidth() const

    - +

    ovirtual void apply(State& state) const

    - +

    ovirtual ~LineWidth()

    - +

    ofloat _width

    diff --git a/doc/doc++/osg/META_Object.html b/doc/doc++/osg/META_Object.html index 5a8760eb8..39b69c175 100644 --- a/doc/doc++/osg/META_Object.html +++ b/doc/doc++/osg/META_Object.html @@ -7,7 +7,7 @@ -

    #define osg::META_Object

    (T)

    META_Object macro define the standard clone, isSameKindAs and className methods.
    +

    #define osg::META_Object

    (library, name)

    META_Object macro define the standard clone, isSameKindAs and className methods.

    diff --git a/doc/doc++/osg/META_StateAttribute.html b/doc/doc++/osg/META_StateAttribute.html index 73a11aed1..a31505f73 100644 --- a/doc/doc++/osg/META_StateAttribute.html +++ b/doc/doc++/osg/META_StateAttribute.html @@ -7,7 +7,7 @@ -

    #define osg::META_StateAttribute

    (name, type)

    META_StateAttribute macro define the standard clone, isSameKindAs, className and getType methods.
    +

    #define osg::META_StateAttribute

    (library, name, type)

    META_StateAttribute macro define the standard clone, isSameKindAs, className and getType methods.

    diff --git a/doc/doc++/osg/Material.html b/doc/doc++/osg/Material.html index 087dc4f8a..6b7516223 100644 --- a/doc/doc++/osg/Material.html +++ b/doc/doc++/osg/Material.html @@ -23,115 +23,115 @@

    Public Methods

    -[more] Material() +[more] Material()
    -[more] Material(const Material& mat, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Material(const Material& mat, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] META_StateAttribute(Material, MATERIAL) +[more] META_StateAttribute(osg, Material, MATERIAL)
    -[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
    -[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
    -[more]inline void setColorMode(const ColorMode mode) +[more]inline void setColorMode(const ColorMode mode)
    -[more]inline const ColorMode getColorMode() const +[more]inline const ColorMode getColorMode() const
    -[more]void setAmbient( const Face face, const Vec4& ambient ) +[more]void setAmbient( const Face face, const Vec4& ambient )
    -[more]const Vec4& getAmbient(const Face face) const +[more]const Vec4& getAmbient(const Face face) const
    -[more]inline const bool getAmbientFrontAndBack() const +[more]inline const bool getAmbientFrontAndBack() const
    -[more]void setDiffuse( const Face face, const Vec4& diffuse ) +[more]void setDiffuse( const Face face, const Vec4& diffuse )
    -[more]const Vec4& getDiffuse(const Face face) const +[more]const Vec4& getDiffuse(const Face face) const
    -[more]inline const bool getDiffuseFrontAndBack() const +[more]inline const bool getDiffuseFrontAndBack() const
    -[more]void setSpecular( const Face face, const Vec4& specular ) +[more]void setSpecular( const Face face, const Vec4& specular )
    Set specular value of specified face(s) of the material, valid specular[03] range is 00 to 10
    -[more]const Vec4& getSpecular(const Face face) const +[more]const Vec4& getSpecular(const Face face) const
    Get the specular value for specified face
    -[more]inline const bool getSpecularFrontAndBack() const +[more]inline const bool getSpecularFrontAndBack() const
    Get the whether specular values are equal for front and back faces
    -[more]void setEmission( const Face face, const Vec4& emission ) +[more]void setEmission( const Face face, const Vec4& emission )
    Set emission value of specified face(s) of the material, valid emmison[03] range is 00 to 10
    -[more]const Vec4& getEmission(const Face face) const +[more]const Vec4& getEmission(const Face face) const
    Get the emmsion value for specified face
    -[more]inline const bool getEmissionFrontAndBack() const +[more]inline const bool getEmissionFrontAndBack() const
    Get the whether emission values are equal for front and back faces
    -[more]void setShininess( const Face face, float shininess ) +[more]void setShininess( const Face face, float shininess )
    Set shininess of specified face(s) of the material, valid shininess range is 00 to 10
    -[more]const float getShininess(const Face face) const +[more]const float getShininess(const Face face) const
    Get the shininess value for specified face
    -[more]inline const bool getShininessFrontAndBack() const +[more]inline const bool getShininessFrontAndBack() const
    Get the whether shininess values are equal for front and back faces
    -[more]void setTransparency(const Face face, float trans) +[more]void setTransparency(const Face face, float trans)
    Set the alpha value of ambient,diffuse,specular and emission colors, of specified face, to 1-transparency.
    -[more]void setAlpha(const Face face, float alpha) +[more]void setAlpha(const Face face, float alpha)
    Set the alpha value of ambient,diffuse,specular and emission colors.

    Public Members

    -[more]enum Face +[more]enum Face
    -[more]enum ColorMode +[more]enum ColorMode

    Protected Fields

    -[more]ColorMode _colorMode +[more]ColorMode _colorMode
    -[more]bool _ambientFrontAndBack +[more]bool _ambientFrontAndBack
    -[more]Vec4 _ambientFront +[more]Vec4 _ambientFront
    -[more]Vec4 _ambientBack +[more]Vec4 _ambientBack
    -[more]bool _diffuseFrontAndBack +[more]bool _diffuseFrontAndBack
    -[more]Vec4 _diffuseFront +[more]Vec4 _diffuseFront
    -[more]Vec4 _diffuseBack +[more]Vec4 _diffuseBack
    -[more]bool _specularFrontAndBack +[more]bool _specularFrontAndBack
    -[more]Vec4 _specularFront +[more]Vec4 _specularFront
    -[more]Vec4 _specularBack +[more]Vec4 _specularBack
    -[more]bool _emissionFrontAndBack +[more]bool _emissionFrontAndBack
    -[more]Vec4 _emissionFront +[more]Vec4 _emissionFront
    -[more]Vec4 _emissionBack +[more]Vec4 _emissionBack
    -[more]bool _shininessFrontAndBack +[more]bool _shininessFrontAndBack
    -[more]float _shininessFront +[more]float _shininessFront
    -[more]float _shininessBack +[more]float _shininessBack

    Protected Methods

    -[more]virtual ~Material() +[more]virtual ~Material()

    @@ -145,9 +145,13 @@
    ovirtual bool isSameKindAs(const Object* obj) const
    +ovirtual const char* libraryName() const +
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const +
    +ovirtual bool isTextureAttribute() const
    obool operator < (const StateAttribute& rhs) const
    @@ -178,9 +182,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -190,7 +194,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -223,236 +227,236 @@
    - +
    o Material()

    - -

    o Material(const Material& mat, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o Material(const Material& mat, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy

    - -

    o META_StateAttribute(Material, MATERIAL) + +
    o META_StateAttribute(osg, Material, MATERIAL)

    - +

    ovirtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

    - - -

    ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const + + +
    ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

    - +

    ovirtual void apply(State& state) const

    - +

    oenum Face

    - +
    o FRONT

    - +

    o BACK

    - +

    o FRONT_AND_BACK

    - +
    oenum ColorMode

    - +
    o AMBIENT

    - +

    o DIFFUSE

    - +

    o SPECULAR

    - +

    o EMISSION

    - +

    o AMBIENT_AND_DIFFUSE

    - +

    o OFF

    - -
    oinline void setColorMode(const ColorMode mode) + +
    oinline void setColorMode(const ColorMode mode)

    - -

    oinline const ColorMode getColorMode() const + +
    oinline const ColorMode getColorMode() const

    - -

    ovoid setAmbient( const Face face, const Vec4& ambient ) + +
    ovoid setAmbient( const Face face, const Vec4& ambient )

    - -

    oconst Vec4& getAmbient(const Face face) const + +
    oconst Vec4& getAmbient(const Face face) const

    - +

    oinline const bool getAmbientFrontAndBack() const

    - -

    ovoid setDiffuse( const Face face, const Vec4& diffuse ) + +
    ovoid setDiffuse( const Face face, const Vec4& diffuse )

    - -

    oconst Vec4& getDiffuse(const Face face) const + +
    oconst Vec4& getDiffuse(const Face face) const

    - +

    oinline const bool getDiffuseFrontAndBack() const

    - -

    ovoid setSpecular( const Face face, const Vec4& specular ) + +
    ovoid setSpecular( const Face face, const Vec4& specular )
    Set specular value of specified face(s) of the material, valid specular[03] range is 00 to 10

    - -

    oconst Vec4& getSpecular(const Face face) const + +
    oconst Vec4& getSpecular(const Face face) const
    Get the specular value for specified face

    - +

    oinline const bool getSpecularFrontAndBack() const
    Get the whether specular values are equal for front and back faces

    - -

    ovoid setEmission( const Face face, const Vec4& emission ) + +
    ovoid setEmission( const Face face, const Vec4& emission )
    Set emission value of specified face(s) of the material, valid emmison[03] range is 00 to 10

    - -

    oconst Vec4& getEmission(const Face face) const + +
    oconst Vec4& getEmission(const Face face) const
    Get the emmsion value for specified face

    - +

    oinline const bool getEmissionFrontAndBack() const
    Get the whether emission values are equal for front and back faces

    - -

    ovoid setShininess( const Face face, float shininess ) + +
    ovoid setShininess( const Face face, float shininess )
    Set shininess of specified face(s) of the material, valid shininess range is 00 to 10

    - -

    oconst float getShininess(const Face face) const + +
    oconst float getShininess(const Face face) const
    Get the shininess value for specified face

    - +

    oinline const bool getShininessFrontAndBack() const
    Get the whether shininess values are equal for front and back faces

    - -

    ovoid setTransparency(const Face face, float trans) + +
    ovoid setTransparency(const Face face, float trans)
    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.

    - -

    ovoid setAlpha(const Face face, float alpha) + +
    ovoid setAlpha(const Face face, float alpha)
    Set the alpha value of ambient,diffuse,specular and emission colors. Valid transparency range is 0.0 to 1.0.

    - +

    ovirtual ~Material()

    - -

    oColorMode _colorMode + +
    oColorMode _colorMode

    - +

    obool _ambientFrontAndBack

    - +

    oVec4 _ambientFront

    - +

    oVec4 _ambientBack

    - +

    obool _diffuseFrontAndBack

    - +

    oVec4 _diffuseFront

    - +

    oVec4 _diffuseBack

    - +

    obool _specularFrontAndBack

    - +

    oVec4 _specularFront

    - +

    oVec4 _specularBack

    - +

    obool _emissionFrontAndBack

    - +

    oVec4 _emissionFront

    - +

    oVec4 _emissionBack

    - +

    obool _shininessFrontAndBack

    - +

    ofloat _shininessFront

    - +

    ofloat _shininessBack

    diff --git a/doc/doc++/osg/Matrix.html b/doc/doc++/osg/Matrix.html index c324b06f6..97ee0f4c7 100644 --- a/doc/doc++/osg/Matrix.html +++ b/doc/doc++/osg/Matrix.html @@ -22,199 +22,201 @@

    Public Methods

    -[more] Matrix() +[more] Matrix()
    -[more] Matrix( const Matrix& other) +[more] Matrix( const Matrix& other)
    -[more]explicit Matrix( float const* const def ) +[more]explicit Matrix( float const* const def )
    -[more] Matrix( float a00, float a01, float a02, float a03, float a10, float a11, float a12, float a13, float a20, float a21, float a22, float a23, float a30, float a31, float a32, float a33) +[more] Matrix( float a00, float a01, float a02, float a03, float a10, float a11, float a12, float a13, float a20, float a21, float a22, float a23, float a30, float a31, float a32, float a33)
    -[more]virtual Object* cloneType() const +[more]virtual Object* cloneType() const
    -[more]virtual Object* clone(const CopyOp&) const +[more]virtual Object* clone(const CopyOp&) const
    -[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
    -[more]virtual const char* className() const +[more]virtual const char* libraryName() const
    -[more]virtual ~Matrix() +[more]virtual const char* className() const
    -[more]int compare(const Matrix& m) const +[more]virtual ~Matrix()
    -[more]bool operator < (const Matrix& m) const +[more]int compare(const Matrix& m) const
    -[more]bool operator == (const Matrix& m) const +[more]bool operator < (const Matrix& m) const
    -[more]bool operator != (const Matrix& m) const +[more]bool operator == (const Matrix& m) const
    -[more]inline float& operator()(int row, int col) +[more]bool operator != (const Matrix& m) const
    -[more]inline float operator()(int row, int col) const +[more]inline float& operator()(int row, int col)
    -[more]inline const bool valid() const +[more]inline float operator()(int row, int col) const
    -[more]inline const bool isNaN() const +[more]inline const bool valid() const
    -[more]inline Matrix& operator = (const Matrix& other) +[more]inline const bool isNaN() const
    -[more]inline void set(const Matrix& other) +[more]inline Matrix& operator = (const Matrix& other)
    -[more]inline void set(float const* const ptr) +[more]inline void set(const Matrix& other)
    -[more]void set( float a00, float a01, float a02, float a03, float a10, float a11, float a12, float a13, float a20, float a21, float a22, float a23, float a30, float a31, float a32, float a33) +[more]inline void set(float const* const ptr)
    -[more]float* ptr() +[more]void set( float a00, float a01, float a02, float a03, float a10, float a11, float a12, float a13, float a20, float a21, float a22, float a23, float a30, float a31, float a32, float a33)
    -[more]const float* ptr() const +[more]float* ptr()
    -[more]void makeIdentity() +[more]const float* ptr() const
    -[more]void makeScale( const Vec3& ) +[more]void makeIdentity()
    -[more]void makeScale( float, float, float ) +[more]void makeScale( const Vec3& )
    -[more]void makeTranslate( const Vec3& ) +[more]void makeScale( float, float, float )
    -[more]void makeTranslate( float, float, float ) +[more]void makeTranslate( const Vec3& )
    -[more]void makeRotate( const Vec3& from, const Vec3& to ) +[more]void makeTranslate( float, float, float )
    -[more]void makeRotate( float angle, const Vec3& axis ) +[more]void makeRotate( const Vec3& from, const Vec3& to )
    -[more]void makeRotate( float angle, float x, float y, float z ) +[more]void makeRotate( float angle, const Vec3& axis )
    -[more]void makeRotate( const Quat& ) +[more]void makeRotate( float angle, float x, float y, float z )
    -[more]void makeRotate( float heading, float pitch, float roll) +[more]void makeRotate( const Quat& ) +
    +[more]void makeRotate( float heading, float pitch, float roll)
    make a rotation Matrix from euler angles.
    -[more]void makeOrtho(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar) +[more]void makeOrtho(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
    Set to a orthographic projection.
    -[more]inline void makeOrtho2D(const double left, const double right, const double bottom, const double top) +[more]inline void makeOrtho2D(const double left, const double right, const double bottom, const double top)
    Set to a 2D orthographic projection.
    -[more]void makeFrustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar) +[more]void makeFrustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
    Set to a perspective projection.
    -[more]void makePerspective(const double fovy, const double aspectRatio, const double zNear, const double zFar) +[more]void makePerspective(const double fovy, const double aspectRatio, const double zNear, const double zFar)
    Set to a symmetrical perspective projection, See gluPerspective for further details.
    -[more]void makeLookAt(const Vec3& eye, const Vec3& center, const Vec3& up) +[more]void makeLookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
    Set to the position and orientation as per a camera, using the same convention as gluLookAt.
    -[more]bool invert( const Matrix& ) +[more]bool invert( const Matrix& )
    -[more]inline static Matrix identity( void ) +[more]inline static Matrix identity( void )
    -[more]inline static Matrix scale( const Vec3& sv) +[more]inline static Matrix scale( const Vec3& sv)
    -[more]inline static Matrix scale( float sx, float sy, float sz) +[more]inline static Matrix scale( float sx, float sy, float sz)
    -[more]inline static Matrix translate( const Vec3& dv) +[more]inline static Matrix translate( const Vec3& dv)
    -[more]inline static Matrix translate( float x, float y, float z) +[more]inline static Matrix translate( float x, float y, float z)
    -[more]inline static Matrix rotate( const Vec3& from, const Vec3& to) +[more]inline static Matrix rotate( const Vec3& from, const Vec3& to)
    -[more]inline static Matrix rotate( float angle, float x, float y, float z) +[more]inline static Matrix rotate( float angle, float x, float y, float z)
    -[more]inline static Matrix rotate( float angle, const Vec3& axis) +[more]inline static Matrix rotate( float angle, const Vec3& axis)
    -[more]inline static Matrix rotate( float heading, float pitch, float roll) +[more]inline static Matrix rotate( float heading, float pitch, float roll)
    construct rotation matrix from euler angles, for conventions see makeRotate()
    -[more]inline static Matrix rotate( const Quat& quat) +[more]inline static Matrix rotate( const Quat& quat)
    -[more]inline static Matrix inverse( const Matrix& matrix) +[more]inline static Matrix inverse( const Matrix& matrix)
    -[more]inline static Matrix ortho(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar) +[more]inline static Matrix ortho(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
    Create a orthographic projection.
    -[more]inline static Matrix ortho2D(const double left, const double right, const double bottom, const double top) +[more]inline static Matrix ortho2D(const double left, const double right, const double bottom, const double top)
    Create a 2D orthographic projection.
    -[more]inline static Matrix frustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar) +[more]inline static Matrix frustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
    Create a perspective projection.
    -[more]inline static Matrix perspective(const double fovy, const double aspectRatio, const double zNear, const double zFar) +[more]inline static Matrix perspective(const double fovy, const double aspectRatio, const double zNear, const double zFar)
    Create a symmetrical perspective projection, See gluPerspective for further details.
    -[more]inline static Matrix lookAt(const Vec3& eye, const Vec3& center, const Vec3& up) +[more]inline static Matrix lookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
    Create the position and orientation as per a camera, using the same convention as gluLookAt.
    -[more]void setTrans( float tx, float ty, float tz ) +[more]void setTrans( float tx, float ty, float tz )
    -[more]void setTrans( const Vec3& v ) +[more]void setTrans( const Vec3& v )
    -[more]inline Vec3 getTrans() const +[more]inline Vec3 getTrans() const
    -[more]inline Vec3 getScale() const +[more]inline Vec3 getScale() const
    -[more]inline static Vec3 transform3x3(const Vec3& v, const Matrix& m) +[more]inline static Vec3 transform3x3(const Vec3& v, const Matrix& m)
    apply apply an 3x3 transform of v*M[02,02]
    -[more]inline static Vec3 transform3x3(const Matrix& m, const Vec3& v) +[more]inline static Vec3 transform3x3(const Matrix& m, const Vec3& v)
    apply apply an 3x3 transform of M[02,02]*v
    -[more]void mult( const Matrix&, const Matrix& ) +[more]void mult( const Matrix&, const Matrix& )
    -[more]void preMult( const Matrix& ) +[more]void preMult( const Matrix& )
    -[more]void postMult( const Matrix& ) +[more]void postMult( const Matrix& )
    -[more]inline void operator *= ( const Matrix& other ) +[more]inline void operator *= ( const Matrix& other )
    -[more]inline Matrix operator * ( const Matrix &m ) const +[more]inline Matrix operator * ( const Matrix &m ) const
    -[more]inline Matrix identity(void) +[more]inline Matrix identity(void)
    -[more]inline Matrix scale(float sx, float sy, float sz) +[more]inline Matrix scale(float sx, float sy, float sz)
    -[more]inline Matrix scale(const Vec3& v ) +[more]inline Matrix scale(const Vec3& v )
    -[more]inline Matrix translate(float tx, float ty, float tz) +[more]inline Matrix translate(float tx, float ty, float tz)
    -[more]inline Matrix translate(const Vec3& v ) +[more]inline Matrix translate(const Vec3& v )
    -[more]inline Matrix rotate( const Quat& q ) +[more]inline Matrix rotate( const Quat& q )
    -[more]inline Matrix rotate(float angle, float x, float y, float z ) +[more]inline Matrix rotate(float angle, float x, float y, float z )
    -[more]inline Matrix rotate(float angle, const Vec3& axis ) +[more]inline Matrix rotate(float angle, const Vec3& axis )
    -[more]inline Matrix rotate(float heading, float pitch, float roll) +[more]inline Matrix rotate(float heading, float pitch, float roll)
    -[more]inline Matrix rotate(const Vec3& from, const Vec3& to ) +[more]inline Matrix rotate(const Vec3& from, const Vec3& to )
    -[more]inline Matrix inverse( const Matrix& matrix) +[more]inline Matrix inverse( const Matrix& matrix)
    -[more]inline Matrix ortho(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar) +[more]inline Matrix ortho(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
    -[more]inline Matrix ortho2D(const double left, const double right, const double bottom, const double top) +[more]inline Matrix ortho2D(const double left, const double right, const double bottom, const double top)
    -[more]inline Matrix frustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar) +[more]inline Matrix frustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
    -[more]inline Matrix perspective(const double fovy, const double aspectRatio, const double zNear, const double zFar) +[more]inline Matrix perspective(const double fovy, const double aspectRatio, const double zNear, const double zFar)
    -[more]inline Matrix lookAt(const Vec3& eye, const Vec3& center, const Vec3& up) +[more]inline Matrix lookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
    -[more]inline Vec3 postMult( const Vec3& v ) const +[more]inline Vec3 postMult( const Vec3& v ) const
    -[more]inline Vec3 preMult( const Vec3& v ) const +[more]inline Vec3 preMult( const Vec3& v ) const
    -[more]inline Vec4 postMult( const Vec4& v ) const +[more]inline Vec4 postMult( const Vec4& v ) const
    -[more]inline Vec4 preMult( const Vec4& v ) const +[more]inline Vec4 preMult( const Vec4& v ) const
    -[more]inline Vec3 transform3x3(const Vec3& v, const Matrix& m) +[more]inline Vec3 transform3x3(const Vec3& v, const Matrix& m)
    -[more]inline Vec3 transform3x3(const Matrix& m, const Vec3& v) +[more]inline Vec3 transform3x3(const Matrix& m, const Vec3& v)
    -[more]inline Vec3 operator* (const Vec3& v) const +[more]inline Vec3 operator* (const Vec3& v) const
    -[more]inline Vec4 operator* (const Vec4& v) const +[more]inline Vec4 operator* (const Vec4& v) const

    @@ -222,9 +224,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -234,7 +236,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -264,135 +266,139 @@
    - +
    o Matrix()

    - -

    o Matrix( const Matrix& other) + +
    o Matrix( const Matrix& other)

    - +

    oexplicit Matrix( float const* const def )

    - +

    o Matrix( float a00, float a01, float a02, float a03, float a10, float a11, float a12, float a13, float a20, float a21, float a22, float a23, float a30, float a31, float a32, float a33)

    - +

    ovirtual Object* cloneType() const

    - +

    ovirtual Object* clone(const CopyOp&) const

    - +

    ovirtual bool isSameKindAs(const Object* obj) const

    + + +

    ovirtual const char* libraryName() const +

    - +

    ovirtual const char* className() const

    - +

    ovirtual ~Matrix()

    - +

    oint compare(const Matrix& m) const

    - +

    obool operator < (const Matrix& m) const

    - +

    obool operator == (const Matrix& m) const

    - +

    obool operator != (const Matrix& m) const

    - +

    oinline float& operator()(int row, int col)

    - +

    oinline float operator()(int row, int col) const

    - +

    oinline const bool valid() const

    - +

    oinline const bool isNaN() const

    - +

    oinline Matrix& operator = (const Matrix& other)

    - +

    oinline void set(const Matrix& other)

    - -

    oinline void set(float const* const ptr) + +
    oinline void set(float const* const ptr)

    - +

    ovoid set( float a00, float a01, float a02, float a03, float a10, float a11, float a12, float a13, float a20, float a21, float a22, float a23, float a30, float a31, float a32, float a33)

    - +

    ofloat* ptr()

    - +

    oconst float* ptr() const

    - +

    ovoid makeIdentity()

    - +

    ovoid makeScale( const Vec3& )

    - +

    ovoid makeScale( float, float, float )

    - +

    ovoid makeTranslate( const Vec3& )

    - +

    ovoid makeTranslate( float, float, float )

    - +

    ovoid makeRotate( const Vec3& from, const Vec3& to )

    - +

    ovoid makeRotate( float angle, const Vec3& axis )

    - -

    ovoid makeRotate( float angle, float x, float y, float z ) + +
    ovoid makeRotate( float angle, float x, float y, float z )

    - +

    ovoid makeRotate( const Quat& )

    - +

    ovoid makeRotate( float heading, float pitch, float roll)
    make a rotation Matrix from euler angles. assume Z up, Y north, X east and euler convention @@ -402,246 +408,246 @@ then applies a positive roation about X for pitch, and finally a negative rotation about the Z axis.

    - -

    ovoid makeOrtho(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar) + +
    ovoid makeOrtho(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
    Set to a orthographic projection. See glOrtho for further details.

    - -

    oinline void makeOrtho2D(const double left, const double right, const double bottom, const double top) + +
    oinline void makeOrtho2D(const double left, const double right, const double bottom, const double top)
    Set to a 2D orthographic projection. See glOrtho2D for further details.

    - -

    ovoid makeFrustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar) + +
    ovoid makeFrustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
    Set to a perspective projection. See glFrustum for further details.

    - -

    ovoid makePerspective(const double fovy, const double aspectRatio, const double zNear, const double zFar) + +
    ovoid makePerspective(const double fovy, const double aspectRatio, const double zNear, const double zFar)
    Set to a symmetrical perspective projection, See gluPerspective for further details. Aspect ratio is defined as width/height.

    - -

    ovoid makeLookAt(const Vec3& eye, const Vec3& center, const Vec3& up) + +
    ovoid makeLookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
    Set to the position and orientation as per a camera, using the same convention as gluLookAt.

    - +

    obool invert( const Matrix& )

    - +

    oinline static Matrix identity( void )

    - +

    oinline static Matrix scale( const Vec3& sv)

    - +

    oinline static Matrix scale( float sx, float sy, float sz)

    - +

    oinline static Matrix translate( const Vec3& dv)

    - -

    oinline static Matrix translate( float x, float y, float z) + +
    oinline static Matrix translate( float x, float y, float z)

    - +

    oinline static Matrix rotate( const Vec3& from, const Vec3& to)

    - -

    oinline static Matrix rotate( float angle, float x, float y, float z) + +
    oinline static Matrix rotate( float angle, float x, float y, float z)

    - +

    oinline static Matrix rotate( float angle, const Vec3& axis)

    - +

    oinline static Matrix rotate( float heading, float pitch, float roll)
    construct rotation matrix from euler angles, for conventions see makeRotate()

    - +

    oinline static Matrix rotate( const Quat& quat)

    - +

    oinline static Matrix inverse( const Matrix& matrix)

    - -

    oinline static Matrix ortho(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar) + +
    oinline static Matrix ortho(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
    Create a orthographic projection. See glOrtho for further details.

    - -

    oinline static Matrix ortho2D(const double left, const double right, const double bottom, const double top) + +
    oinline static Matrix ortho2D(const double left, const double right, const double bottom, const double top)
    Create a 2D orthographic projection. See glOrtho for further details.

    - -

    oinline static Matrix frustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar) + +
    oinline static Matrix frustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
    Create a perspective projection. See glFrustum for further details.

    - -

    oinline static Matrix perspective(const double fovy, const double aspectRatio, const double zNear, const double zFar) + +
    oinline static Matrix perspective(const double fovy, const double aspectRatio, const double zNear, const double zFar)
    Create a symmetrical perspective projection, See gluPerspective for further details. Aspect ratio is defined as width/height.

    - -

    oinline static Matrix lookAt(const Vec3& eye, const Vec3& center, const Vec3& up) + +
    oinline static Matrix lookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
    Create the position and orientation as per a camera, using the same convention as gluLookAt.

    - +

    ovoid setTrans( float tx, float ty, float tz )

    - +

    ovoid setTrans( const Vec3& v )

    - +

    oinline Vec3 getTrans() const

    - +

    oinline Vec3 getScale() const

    - +

    oinline static Vec3 transform3x3(const Vec3& v, const Matrix& m)
    apply apply an 3x3 transform of v*M[02,02]

    - +

    oinline static Vec3 transform3x3(const Matrix& m, const Vec3& v)
    apply apply an 3x3 transform of M[02,02]*v

    - +

    ovoid mult( const Matrix&, const Matrix& )

    - +

    ovoid preMult( const Matrix& )

    - +

    ovoid postMult( const Matrix& )

    - +

    oinline void operator *= ( const Matrix& other )

    - +

    oinline Matrix operator * ( const Matrix &m ) const

    - +

    oinline Matrix identity(void)

    - +

    oinline Matrix scale(float sx, float sy, float sz)

    - +

    oinline Matrix scale(const Vec3& v )

    - +

    oinline Matrix translate(float tx, float ty, float tz)

    - +

    oinline Matrix translate(const Vec3& v )

    - +

    oinline Matrix rotate( const Quat& q )

    - -

    oinline Matrix rotate(float angle, float x, float y, float z ) + +
    oinline Matrix rotate(float angle, float x, float y, float z )

    - +

    oinline Matrix rotate(float angle, const Vec3& axis )

    - +

    oinline Matrix rotate(float heading, float pitch, float roll)

    - +

    oinline Matrix rotate(const Vec3& from, const Vec3& to )

    - +

    oinline Matrix inverse( const Matrix& matrix)

    - -

    oinline Matrix ortho(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar) + +
    oinline Matrix ortho(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)

    - -

    oinline Matrix ortho2D(const double left, const double right, const double bottom, const double top) + +
    oinline Matrix ortho2D(const double left, const double right, const double bottom, const double top)

    - -

    oinline Matrix frustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar) + +
    oinline Matrix frustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)

    - -

    oinline Matrix perspective(const double fovy, const double aspectRatio, const double zNear, const double zFar) + +
    oinline Matrix perspective(const double fovy, const double aspectRatio, const double zNear, const double zFar)

    - -

    oinline Matrix lookAt(const Vec3& eye, const Vec3& center, const Vec3& up) + +
    oinline Matrix lookAt(const Vec3& eye, const Vec3& center, const Vec3& up)

    - +

    oinline Vec3 postMult( const Vec3& v ) const

    - +

    oinline Vec3 preMult( const Vec3& v ) const

    - +

    oinline Vec4 postMult( const Vec4& v ) const

    - +

    oinline Vec4 preMult( const Vec4& v ) const

    - +

    oinline Vec3 transform3x3(const Vec3& v, const Matrix& m)

    - +

    oinline Vec3 transform3x3(const Matrix& m, const Vec3& v)

    - +

    oinline Vec3 operator* (const Vec3& v) const

    - +

    oinline Vec4 operator* (const Vec4& v) const

    diff --git a/doc/doc++/osg/NodeAcceptOp.html b/doc/doc++/osg/NodeAcceptOp.html index 5fef234c5..ce6c3b674 100644 --- a/doc/doc++/osg/NodeAcceptOp.html +++ b/doc/doc++/osg/NodeAcceptOp.html @@ -12,13 +12,13 @@

    -[more]NodeVisitor& _nv +[more]NodeVisitor& _nv
    -[more] NodeAcceptOp(NodeVisitor& nv) +[more] NodeAcceptOp(NodeVisitor& nv)
    -[more]void operator () (Node* node) +[more]void operator () (Node* node)
    -[more]void operator () (ref_ptr<Node> node) +[more]void operator () (ref_ptr<Node> node)

    @@ -29,19 +29,19 @@
    - +
    oNodeVisitor& _nv

    - +

    o NodeAcceptOp(NodeVisitor& nv)

    - +

    ovoid operator () (Node* node)

    - +

    ovoid operator () (ref_ptr<Node> node)

    Alphabetic index HTML hierarchy of classes or Java


    diff --git a/doc/doc++/osg/NodeCallback.html b/doc/doc++/osg/NodeCallback.html index 002cd9a40..d62081458 100644 --- a/doc/doc++/osg/NodeCallback.html +++ b/doc/doc++/osg/NodeCallback.html @@ -22,28 +22,28 @@

    Public Fields

    -[more]ref_ptr<NodeCallback> _nestedCallback +[more]ref_ptr<NodeCallback> _nestedCallback

    Public Methods

    -[more] NodeCallback() +[more] NodeCallback()
    -[more]virtual ~NodeCallback() +[more]virtual ~NodeCallback()
    -[more]virtual void operator()(Node* node, NodeVisitor* nv) +[more]virtual void operator()(Node* node, NodeVisitor* nv)
    Callback method call by the NodeVisitor when visiting a node
    -[more]void traverse(Node* node, NodeVisitor* nv) +[more]void traverse(Node* node, NodeVisitor* nv)
    Call any nested callbacks and then traverse the scene graph.
    -[more]void setNestedCallback(NodeCallback* nc) +[more]void setNestedCallback(NodeCallback* nc)
    -[more]NodeCallback* getNestedCallback() +[more]NodeCallback* getNestedCallback()
    -[more]inline void addNestedCallback(NodeCallback* nc) +[more]inline void addNestedCallback(NodeCallback* nc)
    -[more]inline void removeNestedCallback(NodeCallback* nc) +[more]inline void removeNestedCallback(NodeCallback* nc)

    @@ -75,41 +75,41 @@
    - +
    o NodeCallback()

    - +

    ovirtual ~NodeCallback()

    - +

    ovirtual void operator()(Node* node, NodeVisitor* nv)
    Callback method call by the NodeVisitor when visiting a node

    - +

    ovoid traverse(Node* node, NodeVisitor* nv)
    Call any nested callbacks and then traverse the scene graph.

    - +

    ovoid setNestedCallback(NodeCallback* nc)

    - +

    oNodeCallback* getNestedCallback()

    - +

    oinline void addNestedCallback(NodeCallback* nc)

    - +

    oinline void removeNestedCallback(NodeCallback* nc)

    - +

    oref_ptr<NodeCallback> _nestedCallback

    diff --git a/doc/doc++/osg/NodeVisitor.html b/doc/doc++/osg/NodeVisitor.html index d30e44faa..d1b0c4848 100644 --- a/doc/doc++/osg/NodeVisitor.html +++ b/doc/doc++/osg/NodeVisitor.html @@ -11,11 +11,11 @@

    Inheritance:

    - - - - - + + + + +
    @@ -23,120 +23,120 @@

    Public Methods

    -[more] NodeVisitor(TraversalMode tm=TRAVERSE_NONE) +[more] NodeVisitor(TraversalMode tm=TRAVERSE_NONE)
    -[more]virtual ~NodeVisitor() +[more]virtual ~NodeVisitor()
    -[more]virtual void reset() +[more]virtual void reset()
    Method to call to reset visitor.
    -[more]inline void setTraversalNumber(const int fn) +[more]inline void setTraversalNumber(const int fn)
    Set the traversal number.
    -[more]inline const int getTraversalNumber() const +[more]inline const int getTraversalNumber() const
    Get the traversal number.
    -[more]inline void setFrameStamp(FrameStamp* fs) +[more]inline void setFrameStamp(FrameStamp* fs)
    Set the FrameStamp that this traversal is assoicated with
    -[more]inline const FrameStamp* getFrameStamp() const +[more]inline const FrameStamp* getFrameStamp() const
    Get the FrameStamp that this traversal is assoicated with
    -[more]inline void setTraversalMask(const Node::NodeMask mask) +[more]inline void setTraversalMask(const Node::NodeMask mask)
    Set the TraversalMask of this NodeVisitor.
    -[more]inline const Node::NodeMask getTraversalMask() const +[more]inline const Node::NodeMask getTraversalMask() const
    Get the TraversalMask
    -[more]inline void setNodeMaskOverride(const Node::NodeMask mask) +[more]inline void setNodeMaskOverride(const Node::NodeMask mask)
    Set the NodeMaskOverride mask.
    -[more]inline const Node::NodeMask getNodeMaskOverride() const +[more]inline const Node::NodeMask getNodeMaskOverride() const
    Get the NodeMaskOverride mask
    -[more]inline const bool validNodeMask(const osg::Node& node) const +[more]inline const bool validNodeMask(const osg::Node& node) const
    Method to called by Node and its subclass' Node::accept() method, if the result is true to be used to cull operations of nodes and their subgraphs.
    -[more]void setTraversalMode(const TraversalMode mode) +[more]void setTraversalMode(const TraversalMode mode)
    Set the traversal mode for Node::traverse() to use when deciding which children of a node to traverse.
    -[more]inline const TraversalMode getTraversalMode() const +[more]inline const TraversalMode getTraversalMode() const
    Get the traversal mode
    -[more]void setTraversalVisitor(NodeVisitor* nv) +[more]void setTraversalVisitor(NodeVisitor* nv)
    Set a visitor to handle traversal.
    -[more]inline NodeVisitor* getTraversalVisitor() +[more]inline NodeVisitor* getTraversalVisitor()
    Get the traversal visitor, returns NULL if none is attached
    -[more]inline void traverse(Node& node) +[more]inline void traverse(Node& node)
    Method for handling traversal of a nodes.
    -[more]inline void pushOntoNodePath(Node* node) +[more]inline void pushOntoNodePath(Node* node)
    Method called by osg::Node::accept() method before a call the NodeVisitor::apply().
    -[more]inline void popFromNodePath() +[more]inline void popFromNodePath()
    Method callby osg::Node::accept() method after a call the NodeVisitor::apply().
    -[more]NodePath& getNodePath() +[more]NodePath& getNodePath()
    Get the non const NodePath from the top most node applied down to the current Node being visited
    -[more]const NodePath& getNodePath() const +[more]const NodePath& getNodePath() const
    Get the const NodePath from the top most node applied down to the current Node being visited
    -[more]const bool getLocalToWorldMatrix(Matrix& matrix, Node* node) +[more]const bool getLocalToWorldMatrix(Matrix& matrix, Node* node)
    Get the Local To World Matrix from the NodePath for specified Transform::Mode, and u
    -[more]const bool getWorldToLocalMatrix(Matrix& matrix, Node* node) +[more]const bool getWorldToLocalMatrix(Matrix& matrix, Node* node)
    Get the World To Local Matrix from the NodePath for specified Transform::Mode
    -[more]virtual void apply(Node& node) +[more]virtual void apply(Node& node)
    -[more]virtual void apply(Geode& node) +[more]virtual void apply(Geode& node)
    -[more]virtual void apply(Billboard& node) +[more]virtual void apply(Billboard& node)
    -[more]virtual void apply(LightSource& node) +[more]virtual void apply(LightSource& node)
    -[more]virtual void apply(ClipNode& node) +[more]virtual void apply(ClipNode& node)
    -[more]virtual void apply(Group& node) +[more]virtual void apply(Group& node)
    -[more]virtual void apply(Projection& node) +[more]virtual void apply(Projection& node)
    -[more]virtual void apply(Transform& node) +[more]virtual void apply(Transform& node)
    -[more]virtual void apply(Switch& node) +[more]virtual void apply(Switch& node)
    -[more]virtual void apply(LOD& node) +[more]virtual void apply(LOD& node)
    -[more]virtual void apply(Impostor& node) +[more]virtual void apply(Impostor& node)
    -[more]virtual void apply(EarthSky& node) +[more]virtual void apply(EarthSky& node)
    -[more]virtual void apply(OccluderNode& node) +[more]virtual void apply(OccluderNode& node)

    Public Members

    -[more]enum TraversalMode +[more]enum TraversalMode

    Protected Fields

    -[more]int _traversalNumber +[more]int _traversalNumber
    -[more]ref_ptr<FrameStamp> _frameStamp +[more]ref_ptr<FrameStamp> _frameStamp
    -[more]ref_ptr<NodeVisitor> _traversalVisitor +[more]ref_ptr<NodeVisitor> _traversalVisitor
    -[more]TraversalMode _traversalMode +[more]TraversalMode _traversalMode
    -[more]Node::NodeMask _traversalMask +[more]Node::NodeMask _traversalMask
    -[more]Node::NodeMask _nodeMaskOverride +[more]Node::NodeMask _nodeMaskOverride
    -[more]NodePath _nodePath +[more]NodePath _nodePath

    @@ -182,41 +182,41 @@ not be called.
    - +
    oenum TraversalMode

    - +
    o TRAVERSE_NONE

    - +

    o TRAVERSE_PARENTS

    - +

    o TRAVERSE_ALL_CHILDREN

    - +

    o TRAVERSE_ACTIVE_CHILDREN

    - +

    o TRAVERSE_VISITOR

    - -
    o NodeVisitor(TraversalMode tm=TRAVERSE_NONE) + +
    o NodeVisitor(TraversalMode tm=TRAVERSE_NONE)

    - +

    ovirtual ~NodeVisitor()

    - +

    ovirtual void reset()
    Method to call to reset visitor. Useful for your visitor accumulates state during a traversal, and you plan to reuse the visitor. @@ -224,27 +224,27 @@ To flush that state for the next traversal than call reset() prior to each traversal.

    - +

    oinline void setTraversalNumber(const int fn)
    Set the traversal number. Typically used to denote the frame count.

    - +

    oinline const int getTraversalNumber() const
    Get the traversal number. Typically used to denote the frame count.

    - +

    oinline void setFrameStamp(FrameStamp* fs)
    Set the FrameStamp that this traversal is assoicated with

    - +

    oinline const FrameStamp* getFrameStamp() const
    Get the FrameStamp that this traversal is assoicated with

    - +

    oinline void setTraversalMask(const Node::NodeMask mask)
    Set the TraversalMask of this NodeVisitor. The TraversalMask is used by the NodeVisitor::validNodeMask() method @@ -257,12 +257,12 @@ _nodeMaskOverride to 0xffffffff will allow a visitor to work on all nodes regardless of their own Node::_nodeMask state.

    - +

    oinline const Node::NodeMask getTraversalMask() const
    Get the TraversalMask

    - +

    oinline void setNodeMaskOverride(const Node::NodeMask mask)
    Set the NodeMaskOverride mask. Used in validNodeMask() to determine whether to operate on a node or its @@ -271,12 +271,12 @@ Typically used to force on nodes which may have been switched off by their own Node::_nodeMask.

    - +

    oinline const Node::NodeMask getNodeMaskOverride() const
    Get the NodeMaskOverride mask

    - +

    oinline const bool validNodeMask(const osg::Node& node) const
    Method to called by Node and its subclass' Node::accept() method, if the result is true to be used to cull operations of nodes and their subgraphs. @@ -286,8 +286,8 @@ default values for _traversalMask is 0xffffffff, _nodeMaskOverride is 0x0, and osg::Node::_nodeMask is 0xffffffff.

    - -

    ovoid setTraversalMode(const TraversalMode mode) + +
    ovoid setTraversalMode(const TraversalMode mode)
    Set the traversal mode for Node::traverse() to use when deciding which children of a node to traverse. If a NodeVisitor has been attached via setTraverseVisitor() @@ -295,23 +295,23 @@ and the new mode is not TRAVERSE_VISITOR then the attached visitor is detached. Default mode is TRAVERSE_NONE.

    - -

    oinline const TraversalMode getTraversalMode() const + +
    oinline const TraversalMode getTraversalMode() const
    Get the traversal mode

    - +

    ovoid setTraversalVisitor(NodeVisitor* nv)
    Set a visitor to handle traversal. Overrides the traverse mode setting it to TRAVERSAL_VISITOR.

    - +

    oinline NodeVisitor* getTraversalVisitor()
    Get the traversal visitor, returns NULL if none is attached

    - +

    oinline void traverse(Node& node)
    Method for handling traversal of a nodes. If you intend to use the visitor for actively traversing @@ -319,7 +319,7 @@ the scene graph then make sure the accept() methods call this method unless they handle traversal directly.

    - +

    oinline void pushOntoNodePath(Node* node)
    Method called by osg::Node::accept() method before a call the NodeVisitor::apply(). The back of the list will, @@ -330,7 +330,7 @@ Note, the user does not typically call pushNodeOnPath() as it will be called automatically by the Node::accept() method.

    - +

    oinline void popFromNodePath()
    Method callby osg::Node::accept() method after a call the NodeVisitor::apply(). @@ -338,109 +338,111 @@ Note, the user does not typically call pushNodeOnPath() as it will be called automatically by the Node::accept() method.

    - +

    oNodePath& getNodePath()
    Get the non const NodePath from the top most node applied down to the current Node being visited

    - +

    oconst NodePath& getNodePath() const
    Get the const NodePath from the top most node applied down to the current Node being visited

    - +

    oconst bool getLocalToWorldMatrix(Matrix& matrix, Node* node)
    Get the Local To World Matrix from the NodePath for specified Transform::Mode, and u

    - +

    oconst bool getWorldToLocalMatrix(Matrix& matrix, Node* node)
    Get the World To Local Matrix from the NodePath for specified Transform::Mode

    - +

    ovirtual void apply(Node& node)

    - +

    ovirtual void apply(Geode& node)

    - +

    ovirtual void apply(Billboard& node)

    - +

    ovirtual void apply(LightSource& node)

    - +

    ovirtual void apply(ClipNode& node)

    - +

    ovirtual void apply(Group& node)

    - +

    ovirtual void apply(Projection& node)

    - +

    ovirtual void apply(Transform& node)

    - +

    ovirtual void apply(Switch& node)

    - +

    ovirtual void apply(LOD& node)

    - +

    ovirtual void apply(Impostor& node)

    - +

    ovirtual void apply(EarthSky& node)

    - +

    ovirtual void apply(OccluderNode& node)

    - +

    oint _traversalNumber

    - +

    oref_ptr<FrameStamp> _frameStamp

    - +

    oref_ptr<NodeVisitor> _traversalVisitor

    - -

    oTraversalMode _traversalMode + +
    oTraversalMode _traversalMode

    - +

    oNode::NodeMask _traversalMask

    - +

    oNode::NodeMask _nodeMaskOverride

    - +

    oNodePath _nodePath

    - -
    This class has no child classes.
    +
    +
    Direct child classes: +
    CollectOccludersVisitor
    +

    Alphabetic index HTML hierarchy of classes or Java



    diff --git a/doc/doc++/osg/NotifySeverity.html b/doc/doc++/osg/NotifySeverity.html index ce44f897d..73183336e 100644 --- a/doc/doc++/osg/NotifySeverity.html +++ b/doc/doc++/osg/NotifySeverity.html @@ -12,19 +12,19 @@

    -[more] ALWAYS +[more] ALWAYS
    -[more] FATAL +[more] FATAL
    -[more] WARN +[more] WARN
    -[more] NOTICE +[more] NOTICE
    -[more] INFO +[more] INFO
    -[more] DEBUG_INFO +[more] DEBUG_INFO
    -[more] DEBUG_FP +[more] DEBUG_FP

    @@ -39,31 +39,31 @@ further details.
    - +
    o ALWAYS

    - +

    o FATAL

    - +

    o WARN

    - +

    o NOTICE

    - +

    o INFO

    - +

    o DEBUG_INFO

    - +

    o DEBUG_FP

    Alphabetic index HTML hierarchy of classes or Java


    diff --git a/doc/doc++/osg/Object.html b/doc/doc++/osg/Object.html index 15a16d216..b5e722f85 100644 --- a/doc/doc++/osg/Object.html +++ b/doc/doc++/osg/Object.html @@ -11,11 +11,11 @@

    Inheritance:

    - - - - - + + + + +
    @@ -23,43 +23,46 @@

    Public Methods

    -[more]inline Object() +[more]inline Object()
    Construct an object.
    -[more] Object(const Object&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Object(const Object&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor, optional CopyOp object can be used to control shallow vs deep copying of dynamic data
    -[more]virtual Object* cloneType() const = 0 +[more]virtual Object* cloneType() const = 0
    Clone the type of an object, with Object* return type.
    -[more]virtual Object* clone(const CopyOp&) const = 0 +[more]virtual Object* clone(const CopyOp&) const = 0
    Clone the an object, with Object* return type.
    -[more]virtual bool isSameKindAs(const Object*) const +[more]virtual bool isSameKindAs(const Object*) const
    -[more]virtual const char* className() const = 0 +[more]virtual const char* libraryName() const = 0 +
    return the name of the object's library. +
    +[more]virtual const char* className() const = 0
    return the name of the object's class type.
    -[more]inline void setDataVariance(const DataVariance dv) +[more]inline void setDataVariance(const DataVariance dv)
    Set the data variance of this object.
    -[more]inline const DataVariance getDataVariance() const +[more]inline const DataVariance getDataVariance() const
    Get the data variance of this object

    Public Members

    -[more]enum DataVariance +[more]enum DataVariance

    Protected Fields

    -[more]DataVariance _dataVariance +[more]DataVariance _dataVariance

    Protected Methods

    -[more]virtual ~Object() +[more]virtual ~Object()
    Object destructor.

    @@ -95,7 +98,7 @@ Based on GOF Composite, Prototype and Template Method patterns.
    - +
    oinline Object()
    Construct an object. Note Object is a pure virtual base class and therefore cannot be constructed on its own, only derived @@ -103,62 +106,69 @@ classes which override the clone and className methods are concrete classes and can be constructed.

    - -

    o Object(const Object&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o Object(const Object&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor, optional CopyOp object can be used to control shallow vs deep copying of dynamic data

    - +

    ovirtual Object* cloneType() const = 0
    Clone the type of an object, with Object* return type. Must be defined by derived classes.

    - +

    ovirtual Object* clone(const CopyOp&) const = 0
    Clone the an object, with Object* return type. Must be defined by derived classes.

    - +

    ovirtual bool isSameKindAs(const Object*) const

    + + +

    ovirtual const char* libraryName() const = 0 +
    return the name of the object's library. Must be defined +by derived classes. The OpenSceneGraph convention the is +that the namspace of a library is the same as the library name. +

    - +

    ovirtual const char* className() const = 0
    return the name of the object's class type. Must be defined by derived classes.

    - +

    oenum DataVariance

    - +
    o DYNAMIC

    - +

    o STATIC

    - -
    oinline void setDataVariance(const DataVariance dv) + +
    oinline void setDataVariance(const DataVariance dv)
    Set the data variance of this object. Can be set to either STATIC for values that do not change over the lifetime of the object, or DYNAMIC for values that vary over the lifetime of the object. The DataVariance value can be used be routines such as optimzation codes that wish to share static data.

    - -

    oinline const DataVariance getDataVariance() const + +
    oinline const DataVariance getDataVariance() const
    Get the data variance of this object

    - +

    ovirtual ~Object()
    Object destructor. Note, is protected so that Objects cannot be deleted other than by being dereferenced and the reference @@ -169,16 +179,19 @@ forcing all nodes to be created on the heap i.e Node* node = new Node().

    - -

    oDataVariance _dataVariance + +
    oDataVariance _dataVariance


    Direct child classes:
    StateSet
    StateAttribute
    +Primitive
    Matrix
    Image
    Drawable
    +ConvexPlanerOccluder
    +Array

    Alphabetic index HTML hierarchy of classes or Java


    diff --git a/doc/doc++/osg/Plane.html b/doc/doc++/osg/Plane.html index 13e3f9886..60c5071c0 100644 --- a/doc/doc++/osg/Plane.html +++ b/doc/doc++/osg/Plane.html @@ -13,70 +13,76 @@

    Public Methods

    -[more]inline Plane() +[more]inline Plane()
    -[more]inline Plane(const Plane& pl) +[more]inline Plane(const Plane& pl)
    -[more]inline Plane(const float a, const float b, const float c, const float d) +[more]inline Plane(const float a, const float b, const float c, const float d)
    -[more]inline Plane(const Vec4& vec) +[more]inline Plane(const Vec4& vec)
    -[more]inline Plane(const Vec3& norm, const float d) +[more]inline Plane(const Vec3& norm, const float d)
    -[more]inline Plane(const Vec3& v1, const Vec3& v2, const Vec3& v3) +[more]inline Plane(const Vec3& v1, const Vec3& v2, const Vec3& v3)
    -[more]inline Plane& operator = (const Plane& pl) +[more]inline Plane& operator = (const Plane& pl)
    -[more]inline void set(const Plane& pl) +[more]inline void set(const Plane& pl)
    -[more]inline void set(const float a, const float b, const float c, const float d) +[more]inline void set(const float a, const float b, const float c, const float d)
    -[more]inline void set(const Vec4& vec) +[more]inline void set(const Vec4& vec)
    -[more]inline void set(const Vec3& norm, const float d) +[more]inline void set(const Vec3& norm, const float d)
    -[more]inline void set(const Vec3& v1, const Vec3& v2, const Vec3& v3) +[more]inline void set(const Vec3& v1, const Vec3& v2, const Vec3& v3)
    -[more]inline void makeUnitLength() +[more]inline void flip() +
    flip/reverse the orientation of the plane
    -[more]inline void calculateUpperLowerBBCorners() +[more]inline void makeUnitLength() +
    +[more]inline void calculateUpperLowerBBCorners()
    calculate the upper and lower bounding box corners to be used in the intersect(BoundingBox&) method for speeding calculations
    -[more]inline const bool valid() const +[more]inline const bool valid() const
    -[more]inline Vec4& asVec4() +[more]inline Vec4& asVec4()
    -[more]inline const Vec4& asVec4() const +[more]inline const Vec4& asVec4() const
    -[more]inline float& operator [] (const int i) +[more]inline float& operator [] (const int i)
    -[more]inline float operator [] (const int i) const +[more]inline float operator [] (const int i) const
    -[more]inline osg::Vec3 getNormal() +[more]inline osg::Vec3 getNormal()
    -[more]inline const float distance(const osg::Vec3& v) const +[more]inline const float distance(const osg::Vec3& v) const
    calculate the distance between a point and the plane
    -[more]inline const int intersect(const BoundingSphere& bs) const +[more]inline const int intersect(const std::vector<Vec3>& vertices) const +
    intersection test between plane and vertex list return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane +
    +[more]inline const int intersect(const BoundingSphere& bs) const
    intersection test between plane and bounding sphere.
    -[more]inline const int intersect(const BoundingBox& bb) const +[more]inline const int intersect(const BoundingBox& bb) const
    intersection test between plane and bounding sphere.
    -[more]inline void transform(const osg::Matrix& matrix) +[more]inline void transform(const osg::Matrix& matrix)
    Transform the plane by matrix.
    -[more]inline void transformProvidingInverse(const osg::Matrix& matrix) +[more]inline void transformProvidingInverse(const osg::Matrix& matrix)
    Transform the plane by provide a pre inverted matrix.

    Protected Fields

    -[more]Vec4 _fv +[more]Vec4 _fv
    -[more]unsigned int _upperBBCorner +[more]unsigned int _upperBBCorner
    -[more]unsigned int _lowerBBCorner +[more]unsigned int _lowerBBCorner

    @@ -88,94 +94,107 @@
    - +
    oinline Plane()

    - -

    oinline Plane(const Plane& pl) + +
    oinline Plane(const Plane& pl)

    - -

    oinline Plane(const float a, const float b, const float c, const float d) + +
    oinline Plane(const float a, const float b, const float c, const float d)

    - +

    oinline Plane(const Vec4& vec)

    - +

    oinline Plane(const Vec3& norm, const float d)

    - +

    oinline Plane(const Vec3& v1, const Vec3& v2, const Vec3& v3)

    - +

    oinline Plane& operator = (const Plane& pl)

    - +

    oinline void set(const Plane& pl)

    - -

    oinline void set(const float a, const float b, const float c, const float d) + +
    oinline void set(const float a, const float b, const float c, const float d)

    - +

    oinline void set(const Vec4& vec)

    - +

    oinline void set(const Vec3& norm, const float d)

    - +

    oinline void set(const Vec3& v1, const Vec3& v2, const Vec3& v3)

    + + +

    oinline void flip() +
    flip/reverse the orientation of the plane +

    - +

    oinline void makeUnitLength()

    - +

    oinline void calculateUpperLowerBBCorners()
    calculate the upper and lower bounding box corners to be used in the intersect(BoundingBox&) method for speeding calculations

    - +

    oinline const bool valid() const

    - +

    oinline Vec4& asVec4()

    - +

    oinline const Vec4& asVec4() const

    - +

    oinline float& operator [] (const int i)

    - +

    oinline float operator [] (const int i) const

    - +

    oinline osg::Vec3 getNormal()

    - +

    oinline const float distance(const osg::Vec3& v) const
    calculate the distance between a point and the plane

    - + +

    oinline const int intersect(const std::vector<Vec3>& vertices) const +
    intersection test between plane and vertex list +return 1 if the bs is completely above plane, +return 0 if the bs intersects the plane, +return -1 if the bs is completely below the plane +

    + +

    oinline const int intersect(const BoundingSphere& bs) const
    intersection test between plane and bounding sphere. return 1 if the bs is completely above plane, @@ -183,7 +202,7 @@ return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane.

    - +

    oinline const int intersect(const BoundingBox& bb) const
    intersection test between plane and bounding sphere. return 1 if the bs is completely above plane, @@ -191,7 +210,7 @@ return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane.

    - +

    oinline void transform(const osg::Matrix& matrix)
    Transform the plane by matrix. Note, this operations carries out the calculation of the inverse of the matrix since to transforms @@ -201,21 +220,21 @@ calculated elsewhere then use transformProvidingInverse() instead. See http://www.worldserver.com/turk/computergraphics/NormalTransformations.pdf

    - +

    oinline void transformProvidingInverse(const osg::Matrix& matrix)
    Transform the plane by provide a pre inverted matrix. see transform for details.

    - +

    oVec4 _fv

    - +

    ounsigned int _upperBBCorner

    - +

    ounsigned int _lowerBBCorner

    diff --git a/doc/doc++/osg/Point.html b/doc/doc++/osg/Point.html index 72f03526e..6e0f0e077 100644 --- a/doc/doc++/osg/Point.html +++ b/doc/doc++/osg/Point.html @@ -23,47 +23,47 @@

    Public Methods

    -[more] Point() +[more] Point()
    -[more] Point(const Point& point, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Point(const Point& point, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] META_StateAttribute(Point, POINT) +[more] META_StateAttribute(osg, Point, POINT)
    -[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
    -[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
    -[more]void setSize(const float size) +[more]void setSize(const float size)
    -[more]inline const float getSize() const +[more]inline const float getSize() const
    -[more]void setFadeThresholdSize(const float fadeThresholdSize) +[more]void setFadeThresholdSize(const float fadeThresholdSize)
    -[more]inline const float getFadeThresholdSize() const +[more]inline const float getFadeThresholdSize() const
    -[more]void setDistanceAttenuation(const Vec3& distanceAttenuation) +[more]void setDistanceAttenuation(const Vec3& distanceAttenuation)
    -[more]inline const Vec3& getDistanceAttenuation() const +[more]inline const Vec3& getDistanceAttenuation() const
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
    -[more]static void init_GL_EXT() +[more]static void init_GL_EXT()

    Protected Fields

    -[more]float _size +[more]float _size
    -[more]float _fadeThresholdSize +[more]float _fadeThresholdSize
    -[more]Vec3 _distanceAttenuation +[more]Vec3 _distanceAttenuation

    Protected Methods

    -[more]virtual ~Point() +[more]virtual ~Point()

    @@ -77,9 +77,13 @@
    ovirtual bool isSameKindAs(const Object* obj) const
    +ovirtual const char* libraryName() const +
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const +
    +ovirtual bool isTextureAttribute() const
    obool operator < (const StateAttribute& rhs) const
    @@ -110,9 +114,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -122,7 +126,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -155,73 +159,73 @@
    - +
    o Point()

    - -

    o Point(const Point& point, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o Point(const Point& point, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy

    - -

    o META_StateAttribute(Point, POINT) + +
    o META_StateAttribute(osg, Point, POINT)

    - +

    ovirtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

    - - -

    ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const + + +
    ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

    - -

    ovoid setSize(const float size) + +
    ovoid setSize(const float size)

    - +

    oinline const float getSize() const

    - +

    ovoid setFadeThresholdSize(const float fadeThresholdSize)

    - +

    oinline const float getFadeThresholdSize() const

    - +

    ovoid setDistanceAttenuation(const Vec3& distanceAttenuation)

    - +

    oinline const Vec3& getDistanceAttenuation() const

    - +

    ovirtual void apply(State& state) const

    - +

    ostatic void init_GL_EXT()

    - +

    ovirtual ~Point()

    - +

    ofloat _size

    - +

    ofloat _fadeThresholdSize

    - +

    oVec3 _distanceAttenuation

    diff --git a/doc/doc++/osg/PolygonMode.html b/doc/doc++/osg/PolygonMode.html index 5253a2244..d6f0684fb 100644 --- a/doc/doc++/osg/PolygonMode.html +++ b/doc/doc++/osg/PolygonMode.html @@ -23,44 +23,44 @@

    Public Methods

    -[more] PolygonMode() +[more] PolygonMode()
    -[more] PolygonMode(const PolygonMode& pm, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] PolygonMode(const PolygonMode& pm, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] META_StateAttribute(PolygonMode, POLYGONMODE) +[more] META_StateAttribute(osg, PolygonMode, POLYGONMODE)
    -[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
    -[more]void setMode(const Face face, const Mode mode) +[more]void setMode(const Face face, const Mode mode)
    -[more]const Mode getMode(const Face face) const +[more]const Mode getMode(const Face face) const
    -[more]inline const bool getFrontAndBack() const +[more]inline const bool getFrontAndBack() const
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

    Public Members

    -[more]enum Face +[more]enum Face
    -[more]enum Mode +[more]enum Mode

    Protected Fields

    -[more]bool _frontAndBack +[more]bool _frontAndBack
    -[more]Mode _modeFront +[more]Mode _modeFront
    -[more]Mode _modeBack +[more]Mode _modeBack

    Protected Methods

    -[more]virtual ~PolygonMode() +[more]virtual ~PolygonMode()

    @@ -74,9 +74,13 @@
    ovirtual bool isSameKindAs(const Object* obj) const
    +ovirtual const char* libraryName() const +
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const +
    +ovirtual bool isTextureAttribute() const
    obool operator < (const StateAttribute& rhs) const
    @@ -84,7 +88,7 @@
    obool operator != (const StateAttribute& rhs) const
    -ovirtual void setStateSetModes(StateSet&, const GLModeValue) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
    ovirtual void compile(State&) const

    @@ -109,9 +113,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -121,7 +125,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -154,90 +158,90 @@
    - +
    o PolygonMode()

    - -

    o PolygonMode(const PolygonMode& pm, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o PolygonMode(const PolygonMode& pm, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy

    - -

    o META_StateAttribute(PolygonMode, POLYGONMODE) + +
    o META_StateAttribute(osg, PolygonMode, POLYGONMODE)

    - +

    ovirtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

    - +

    oenum Face

    - +
    o FRONT

    - +

    o BACK

    - +

    o FRONT_AND_BACK

    - +
    oenum Mode

    - +
    o POINT

    - +

    o LINE

    - +

    o FILL

    - -
    ovoid setMode(const Face face, const Mode mode) + +
    ovoid setMode(const Face face, const Mode mode)

    - -

    oconst Mode getMode(const Face face) const + +
    oconst Mode getMode(const Face face) const

    - +

    oinline const bool getFrontAndBack() const

    - +

    ovirtual void apply(State& state) const

    - +

    ovirtual ~PolygonMode()

    - +

    obool _frontAndBack

    - -

    oMode _modeFront + +
    oMode _modeFront

    - -

    oMode _modeBack + +
    oMode _modeBack


    This class has no child classes.
    diff --git a/doc/doc++/osg/PolygonOffset.html b/doc/doc++/osg/PolygonOffset.html index 27b35678e..bd0ad92b0 100644 --- a/doc/doc++/osg/PolygonOffset.html +++ b/doc/doc++/osg/PolygonOffset.html @@ -23,39 +23,39 @@

    Public Methods

    -[more] PolygonOffset() +[more] PolygonOffset()
    -[more] PolygonOffset(const PolygonOffset& po, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] PolygonOffset(const PolygonOffset& po, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] META_StateAttribute(PolygonOffset, POLYGONOFFSET) +[more] META_StateAttribute(osg, PolygonOffset, POLYGONOFFSET)
    -[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
    -[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
    -[more]inline void setFactor(const float factor) +[more]inline void setFactor(const float factor)
    -[more]inline const float getFactor() const +[more]inline const float getFactor() const
    -[more]inline void setUnits(const float units) +[more]inline void setUnits(const float units)
    -[more]inline const float getUnits() const +[more]inline const float getUnits() const
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

    Protected Fields

    -[more]float _factor +[more]float _factor
    -[more]float _units +[more]float _units

    Protected Methods

    -[more]virtual ~PolygonOffset() +[more]virtual ~PolygonOffset()

    @@ -69,9 +69,13 @@
    ovirtual bool isSameKindAs(const Object* obj) const
    +ovirtual const char* libraryName() const +
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const +
    +ovirtual bool isTextureAttribute() const
    obool operator < (const StateAttribute& rhs) const
    @@ -102,9 +106,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -114,7 +118,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -147,57 +151,57 @@
    - +
    o PolygonOffset()

    - -

    o PolygonOffset(const PolygonOffset& po, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o PolygonOffset(const PolygonOffset& po, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy

    - -

    o META_StateAttribute(PolygonOffset, POLYGONOFFSET) + +
    o META_StateAttribute(osg, PolygonOffset, POLYGONOFFSET)

    - +

    ovirtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

    - - -

    ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const + + +
    ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

    - +

    oinline void setFactor(const float factor)

    - +

    oinline const float getFactor() const

    - +

    oinline void setUnits(const float units)

    - +

    oinline const float getUnits() const

    - +

    ovirtual void apply(State& state) const

    - +

    ovirtual ~PolygonOffset()

    - +

    ofloat _factor

    - +

    ofloat _units

    diff --git a/doc/doc++/osg/PositionAttitudeTransform.html b/doc/doc++/osg/PositionAttitudeTransform.html index 9ba7e419a..ea192f462 100644 --- a/doc/doc++/osg/PositionAttitudeTransform.html +++ b/doc/doc++/osg/PositionAttitudeTransform.html @@ -23,30 +23,30 @@

    Public Methods

    -[more] PositionAttitudeTransform() +[more] PositionAttitudeTransform()
    -[more] PositionAttitudeTransform(const PositionAttitudeTransform& pat, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] PositionAttitudeTransform(const PositionAttitudeTransform& pat, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    -[more] META_Node(PositionAttitudeTransform) +[more] META_Node(osg, PositionAttitudeTransform)
    -[more]void setPosition(const Vec3& pos) +[more]void setPosition(const Vec3& pos)
    -[more]const Vec3& getPosition() const +[more]const Vec3& getPosition() const
    -[more]void setAttitude(const Quat& quat) +[more]void setAttitude(const Quat& quat)
    -[more]const Quat& getAttitude() const +[more]const Quat& getAttitude() const
    -[more]virtual const bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const +[more]virtual const bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const
    -[more]virtual const bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const +[more]virtual const bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const

    Protected Fields

    -[more]Vec3 _position +[more]Vec3 _position
    -[more]Quat _attitude +[more]Quat _attitude

    @@ -54,15 +54,15 @@

    Public Methods

    -ovoid setReferenceFrame(ReferenceFrame rf) +ovoid setReferenceFrame(ReferenceFrame rf)
    -oconst ReferenceFrame getReferenceFrame() const +oconst ReferenceFrame getReferenceFrame() const
    -ovoid setComputeTransformCallback(ComputeTransformCallback* ctc) +ovoid setComputeTransformCallback(ComputeTransformCallback* ctc)
    -oComputeTransformCallback* getComputeTransformCallback() +oComputeTransformCallback* getComputeTransformCallback()
    -oconst ComputeTransformCallback* getComputeTransformCallback() const +oconst ComputeTransformCallback* getComputeTransformCallback() const
    oinline const bool getLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const
    @@ -86,15 +86,15 @@

    Protected Fields

    -oref_ptr<ComputeTransformCallback> _computeTransformCallback +oref_ptr<ComputeTransformCallback> _computeTransformCallback
    -oReferenceFrame _referenceFrame +oReferenceFrame _referenceFrame
    -oref_ptr<Matrix> _matrix +oref_ptr<Matrix> _deprecated_matrix
    -omutable ref_ptr<Matrix> _inverse +omutable ref_ptr<Matrix> _deprecated_inverse
    -omutable bool _inverseDirty +omutable bool _deprecated_inverseDirty

    @@ -145,47 +145,47 @@ up via a Vec3 position and Quat attitude
    - +
    o PositionAttitudeTransform()

    - -

    o PositionAttitudeTransform(const PositionAttitudeTransform& pat, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o PositionAttitudeTransform(const PositionAttitudeTransform& pat, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

    - -

    o META_Node(PositionAttitudeTransform) + +
    o META_Node(osg, PositionAttitudeTransform)

    - +

    ovoid setPosition(const Vec3& pos)

    - +

    oconst Vec3& getPosition() const

    - +

    ovoid setAttitude(const Quat& quat)

    - +

    oconst Quat& getAttitude() const

    - +

    ovirtual const bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const

    - +

    ovirtual const bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const

    - +

    oVec3 _position

    - +

    oQuat _attitude

    diff --git a/doc/doc++/osg/Projection.html b/doc/doc++/osg/Projection.html index c4fd663e5..6481042e3 100644 --- a/doc/doc++/osg/Projection.html +++ b/doc/doc++/osg/Projection.html @@ -23,36 +23,36 @@

    Public Methods

    -[more] Projection() +[more] Projection()
    -[more] Projection(const Projection&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Projection(const Projection&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] Projection(const Matrix& matix) +[more] Projection(const Matrix& matix)
    -[more] META_Node(Projection) +[more] META_Node(osg, Projection)
    -[more]void setMatrix(const Matrix& mat) +[more]void setMatrix(const Matrix& mat)
    Set the transform's matrix
    -[more]inline const Matrix& getMatrix() const +[more]inline const Matrix& getMatrix() const
    Get the transform's matrix.
    -[more]void preMult(const Matrix& mat) +[more]void preMult(const Matrix& mat)
    preMult transform
    -[more]void postMult(const Matrix& mat) +[more]void postMult(const Matrix& mat)
    postMult transform

    Protected Fields

    -[more]ref_ptr<Matrix> _matrix +[more]ref_ptr<Matrix> _matrix

    Protected Methods

    -[more]virtual ~Projection() +[more]virtual ~Projection()

    @@ -100,48 +100,48 @@
    - +
    o Projection()

    - -

    o Projection(const Projection&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o Projection(const Projection&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy

    - +

    o Projection(const Matrix& matix)

    - -

    o META_Node(Projection) + +
    o META_Node(osg, Projection)

    - +

    ovoid setMatrix(const Matrix& mat)
    Set the transform's matrix

    - +

    oinline const Matrix& getMatrix() const
    Get the transform's matrix.

    - +

    ovoid preMult(const Matrix& mat)
    preMult transform

    - +

    ovoid postMult(const Matrix& mat)
    postMult transform

    - +

    ovirtual ~Projection()

    - +

    oref_ptr<Matrix> _matrix

    diff --git a/doc/doc++/osg/Quat.html b/doc/doc++/osg/Quat.html index 471e13c0a..8baaa132c 100644 --- a/doc/doc++/osg/Quat.html +++ b/doc/doc++/osg/Quat.html @@ -13,104 +13,104 @@

    Public Fields

    -[more]Vec4 _fv +[more]Vec4 _fv

    Public Methods

    -[more] Quat() +[more] Quat()
    -[more] Quat( float x, float y, float z, float w ) +[more] Quat( float x, float y, float z, float w )
    -[more] Quat( const Vec4& v ) +[more] Quat( const Vec4& v )
    -[more]inline Vec4& asVec4() +[more]inline Vec4& asVec4()
    -[more]inline const Vec4& asVec4() const +[more]inline const Vec4& asVec4() const
    -[more]inline const Vec3 asVec3() const +[more]inline const Vec3 asVec3() const
    -[more]inline void set(const float x, const float y, const float z, const float w) +[more]inline void set(const float x, const float y, const float z, const float w)
    -[more]inline void set(const osg::Vec4& v) +[more]inline void set(const osg::Vec4& v)
    -[more]inline const Quat operator * (const float rhs) const +[more]inline const Quat operator * (const float rhs) const
    Multiply by scalar
    -[more]inline Quat& operator *= (const float rhs) +[more]inline Quat& operator *= (const float rhs)
    Unary multiply by scalar
    -[more]inline const Quat operator*(const Quat& rhs) const +[more]inline const Quat operator*(const Quat& rhs) const
    Binary multiply
    -[more]inline Quat& operator*=(const Quat& rhs) +[more]inline Quat& operator*=(const Quat& rhs)
    Unary multiply
    -[more]inline const Quat operator / (const float& rhs) const +[more]inline const Quat operator / (const float& rhs) const
    Divide by scalar
    -[more]inline Quat& operator /= (const float& rhs) +[more]inline Quat& operator /= (const float& rhs)
    Unary divide by scalar
    -[more]inline const Quat operator/(const Quat& denom) const +[more]inline const Quat operator/(const Quat& denom) const
    Binary divide
    -[more]inline Quat& operator/=(const Quat& denom) +[more]inline Quat& operator/=(const Quat& denom)
    Unary divide
    -[more]inline const Quat operator + (const Quat& rhs) const +[more]inline const Quat operator + (const Quat& rhs) const
    Binary addition
    -[more]inline Quat& operator += (const Quat& rhs) +[more]inline Quat& operator += (const Quat& rhs)
    Unary addition
    -[more]inline const Quat operator - (const Quat& rhs) const +[more]inline const Quat operator - (const Quat& rhs) const
    Binary subtraction
    -[more]inline Quat& operator -= (const Quat& rhs) +[more]inline Quat& operator -= (const Quat& rhs)
    Unary subtraction
    -[more]inline const Quat operator - () const +[more]inline const Quat operator - () const
    Negation operator - returns the negative of the quaternion.
    -[more]const float length() const +[more]const float length() const
    Length of the quaternion = sqrt( vec .
    -[more]const float length2() const +[more]const float length2() const
    Length of the quaternion = vec .
    -[more]inline const Quat conj() const +[more]inline const Quat conj() const
    Conjugate
    -[more]inline const Quat inverse() const +[more]inline const Quat inverse() const
    Multiplicative inverse method: q^(-1) = q^*/(qq^*)
    -[more]void makeRotate( const float angle, const float x, const float y, const float z ) +[more]void makeRotate( const float angle, const float x, const float y, const float z )
    -[more]void makeRotate( const float angle, const Vec3& vec ) +[more]void makeRotate( const float angle, const Vec3& vec )
    -[more]void makeRotate( const Vec3& vec1, const Vec3& vec2 ) +[more]void makeRotate( const Vec3& vec1, const Vec3& vec2 )
    Make a rotation Quat which will rotate vec1 to vec2.
    -[more]void makeRotate( float heading, float pitch, float roll) +[more]void makeRotate( float heading, float pitch, float roll)
    make a rotation Quat from euler angles.
    -[more]void getRotate( float& angle, float& x, float& y, float& z ) const +[more]void getRotate( float& angle, float& x, float& y, float& z ) const
    Return the angle and vector components represented by the quaternion
    -[more]void getRotate( float& angle, Vec3& vec ) const +[more]void getRotate( float& angle, Vec3& vec ) const
    Return the angle and vector represented by the quaternion
    -[more]void slerp( const float t, const Quat& from, const Quat& to) +[more]void slerp( const float t, const Quat& from, const Quat& to)
    Spherical Linear Interpolation.
    -[more]void set( const Matrix& m ) +[more]void set( const Matrix& m )
    Set quaternion to be equivalent to specified matrix
    -[more]void get( Matrix& m ) const +[more]void get( Matrix& m ) const
    Get the equivalent matrix for this quaternion
    -[more]Matrix getMatrix() const +[more]Matrix getMatrix() const
    Get the equivalent matrix for this quaternion

    @@ -123,137 +123,137 @@
    - +
    oVec4 _fv

    - +

    o Quat()

    - -

    o Quat( float x, float y, float z, float w ) + +
    o Quat( float x, float y, float z, float w )

    - +

    o Quat( const Vec4& v )

    - +

    oinline Vec4& asVec4()

    - +

    oinline const Vec4& asVec4() const

    - +

    oinline const Vec3 asVec3() const

    - -

    oinline void set(const float x, const float y, const float z, const float w) + +
    oinline void set(const float x, const float y, const float z, const float w)

    - +

    oinline void set(const osg::Vec4& v)

    - +

    oinline const Quat operator * (const float rhs) const
    Multiply by scalar

    - +

    oinline Quat& operator *= (const float rhs)
    Unary multiply by scalar

    - +

    oinline const Quat operator*(const Quat& rhs) const
    Binary multiply

    - +

    oinline Quat& operator*=(const Quat& rhs)
    Unary multiply

    - +

    oinline const Quat operator / (const float& rhs) const
    Divide by scalar

    - +

    oinline Quat& operator /= (const float& rhs)
    Unary divide by scalar

    - +

    oinline const Quat operator/(const Quat& denom) const
    Binary divide

    - +

    oinline Quat& operator/=(const Quat& denom)
    Unary divide

    - +

    oinline const Quat operator + (const Quat& rhs) const
    Binary addition

    - +

    oinline Quat& operator += (const Quat& rhs)
    Unary addition

    - +

    oinline const Quat operator - (const Quat& rhs) const
    Binary subtraction

    - +

    oinline Quat& operator -= (const Quat& rhs)
    Unary subtraction

    - +

    oinline const Quat operator - () const
    Negation operator - returns the negative of the quaternion. Basically just calls operator - () on the Vec4

    - +

    oconst float length() const
    Length of the quaternion = sqrt( vec . vec )

    - +

    oconst float length2() const
    Length of the quaternion = vec . vec

    - +

    oinline const Quat conj() const
    Conjugate

    - +

    oinline const Quat inverse() const
    Multiplicative inverse method: q^(-1) = q^*/(qq^*)

    - -

    ovoid makeRotate( const float angle, const float x, const float y, const float z ) + +
    ovoid makeRotate( const float angle, const float x, const float y, const float z )

    - +

    ovoid makeRotate( const float angle, const Vec3& vec )

    - +

    ovoid makeRotate( const Vec3& vec1, const Vec3& vec2 )
    Make a rotation Quat which will rotate vec1 to vec2. Generally take adot product to get the angle between these @@ -262,7 +262,7 @@ Watch out for the two special cases of when the vectors are co-incident or opposite in direction.

    - +

    ovoid makeRotate( float heading, float pitch, float roll)
    make a rotation Quat from euler angles. assume Z up, Y north, X east and euler convention @@ -272,33 +272,33 @@ then applies a positive roation about X for pitch, and finally a negative rotation about the Z axis.

    - -

    ovoid getRotate( float& angle, float& x, float& y, float& z ) const + +
    ovoid getRotate( float& angle, float& x, float& y, float& z ) const
    Return the angle and vector components represented by the quaternion

    - +

    ovoid getRotate( float& angle, Vec3& vec ) const
    Return the angle and vector represented by the quaternion

    - -

    ovoid slerp( const float t, const Quat& from, const Quat& to) + +
    ovoid slerp( const float t, const Quat& from, const Quat& to)
    Spherical Linear Interpolation. As t goes from 0 to 1, the Quat object goes from "from" to "to".

    - +

    ovoid set( const Matrix& m )
    Set quaternion to be equivalent to specified matrix

    - +

    ovoid get( Matrix& m ) const
    Get the equivalent matrix for this quaternion

    - +

    oMatrix getMatrix() const
    Get the equivalent matrix for this quaternion

    diff --git a/doc/doc++/osg/Referenced.html b/doc/doc++/osg/Referenced.html index 13fd20ca6..9303bc0c6 100644 --- a/doc/doc++/osg/Referenced.html +++ b/doc/doc++/osg/Referenced.html @@ -11,11 +11,11 @@

    Inheritance:

    - - - - - + + + + +
    @@ -23,33 +23,33 @@

    Public Methods

    -[more] Referenced() +[more] Referenced()
    -[more] Referenced(const Referenced&) +[more] Referenced(const Referenced&)
    -[more]inline Referenced& operator = (Referenced&) +[more]inline Referenced& operator = (Referenced&)
    -[more]inline void ref() const +[more]inline void ref() const
    increment the reference count by one, indicating that this object has another pointer which is referencing it
    -[more]inline void unref() const +[more]inline void unref() const
    decrement the reference count by one, indicating that a pointer to this object is referencing it.
    -[more]inline void unref_nodelete() const +[more]inline void unref_nodelete() const
    decrement the reference count by one, indicating that a pointer to this object is referencing it.
    -[more]inline const int referenceCount() const +[more]inline const int referenceCount() const
    return the number pointers currently referencing this object.

    Protected Fields

    -[more]mutable int _refCount +[more]mutable int _refCount

    Protected Methods

    -[more]virtual ~Referenced() +[more]virtual ~Referenced()

    @@ -61,25 +61,25 @@
    - +
    o Referenced()

    - -

    o Referenced(const Referenced&) + +
    o Referenced(const Referenced&)

    - +

    oinline Referenced& operator = (Referenced&)

    - +

    oinline void ref() const
    increment the reference count by one, indicating that this object has another pointer which is referencing it

    - +

    oinline void unref() const
    decrement the reference count by one, indicating that a pointer to this object is referencing it. If the @@ -87,7 +87,7 @@ reference count goes to zero, it is assumed that this object is no longer referenced and is automatically deleted.

    - +

    oinline void unref_nodelete() const
    decrement the reference count by one, indicating that a pointer to this object is referencing it. However, do @@ -97,16 +97,16 @@ be resonsible for, one should prefer unref() over unref_nodelete() as the later can lead to memory leaks.

    - +

    oinline const int referenceCount() const
    return the number pointers currently referencing this object.

    - +

    ovirtual ~Referenced()

    - +

    omutable int _refCount


    @@ -121,7 +121,6 @@ as the later can lead to memory leaks. FrameStamp
    DisplaySettings
    CullingSet
    -ConvexPlanerOccluder
    Camera
    diff --git a/doc/doc++/osg/ShadeModel.html b/doc/doc++/osg/ShadeModel.html index d9a1f8725..46c88860a 100644 --- a/doc/doc++/osg/ShadeModel.html +++ b/doc/doc++/osg/ShadeModel.html @@ -23,36 +23,36 @@

    Public Methods

    -[more] ShadeModel() +[more] ShadeModel()
    -[more] ShadeModel(const ShadeModel& sm, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] ShadeModel(const ShadeModel& sm, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] META_StateAttribute(ShadeModel, SHADEMODEL) +[more] META_StateAttribute(osg, ShadeModel, SHADEMODEL)
    -[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
    -[more]inline void setMode(const Mode mode) +[more]inline void setMode(const Mode mode)
    -[more]inline const Mode getMode() const +[more]inline const Mode getMode() const
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

    Public Members

    -[more]enum Mode +[more]enum Mode

    Protected Fields

    -[more]Mode _mode +[more]Mode _mode

    Protected Methods

    -[more]virtual ~ShadeModel() +[more]virtual ~ShadeModel()

    @@ -66,9 +66,13 @@
    ovirtual bool isSameKindAs(const Object* obj) const
    +ovirtual const char* libraryName() const +
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const +
    +ovirtual bool isTextureAttribute() const
    obool operator < (const StateAttribute& rhs) const
    @@ -76,7 +80,7 @@
    obool operator != (const StateAttribute& rhs) const
    -ovirtual void setStateSetModes(StateSet&, const GLModeValue) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
    ovirtual void compile(State&) const

    @@ -101,9 +105,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -113,7 +117,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -146,56 +150,56 @@
    - +
    o ShadeModel()

    - -

    o ShadeModel(const ShadeModel& sm, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o ShadeModel(const ShadeModel& sm, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy

    - -

    o META_StateAttribute(ShadeModel, SHADEMODEL) + +
    o META_StateAttribute(osg, ShadeModel, SHADEMODEL)

    - +

    ovirtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

    - +

    oenum Mode

    - +
    o FLAT

    - +

    o SMOOTH

    - -
    oinline void setMode(const Mode mode) + +
    oinline void setMode(const Mode mode)

    - -

    oinline const Mode getMode() const + +
    oinline const Mode getMode() const

    - +

    ovirtual void apply(State& state) const

    - +

    ovirtual ~ShadeModel()

    - -

    oMode _mode + +
    oMode _mode


    This class has no child classes.
    diff --git a/doc/doc++/osg/State.html b/doc/doc++/osg/State.html index dd6dca3bf..2076991e5 100644 --- a/doc/doc++/osg/State.html +++ b/doc/doc++/osg/State.html @@ -23,79 +23,155 @@

    Public Methods

    -[more] State() +[more] State()
    -[more]virtual ~State() +[more]virtual ~State()
    -[more]void pushStateSet(const StateSet* dstate) +[more]void pushStateSet(const StateSet* dstate)
    push stateset onto state stack
    -[more]void popStateSet() +[more]void popStateSet()
    pop drawstate off state stack
    -[more]void captureCurrentState(StateSet& stateset) const +[more]void captureCurrentState(StateSet& stateset) const
    copy the modes and attributes which captures the current state
    -[more]void reset() +[more]void reset()
    reset the state object to an empty stack
    -[more]inline void applyProjectionMatrix(const osg::Matrix* matrix) +[more]inline void applyProjectionMatrix(const osg::Matrix* matrix)
    -[more]const osg::Matrix& getProjectionMatrix() const +[more]const osg::Matrix& getProjectionMatrix() const
    -[more]inline void applyModelViewMatrix(const osg::Matrix* matrix) +[more]inline void applyModelViewMatrix(const osg::Matrix* matrix)
    -[more]const osg::Matrix& getModelViewMatrix() const +[more]const osg::Matrix& getModelViewMatrix() const
    -[more]Polytope getViewFrustum() const +[more]Polytope getViewFrustum() const
    -[more]void apply(const StateSet* dstate) +[more]void apply(const StateSet* dstate)
    Apply stateset
    -[more]void apply() +[more]void apply()
    Apply the state
    -[more]inline const bool applyMode(const StateAttribute::GLMode mode, const bool enabled) +[more]inline const bool applyMode(const StateAttribute::GLMode mode, const bool enabled)
    Apply an OpenGL mode if required.
    -[more]inline const bool applyAttribute(const StateAttribute* attribute) +[more]inline const bool applyTextureMode(unsigned int unit, const StateAttribute::GLMode mode, const bool enabled) +
    +[more]inline const bool applyAttribute(const StateAttribute* attribute)
    Apply an attribute if required.
    -[more]void haveAppliedMode(const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value) +[more]inline const bool applyTextureAttribute(unsigned int unit, const StateAttribute* attribute) +
    +[more]void haveAppliedMode(const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value)
    Mode has been set externally, update state to reflect this setting
    -[more]void haveAppliedMode(const StateAttribute::GLMode mode) +[more]void haveAppliedMode(const StateAttribute::GLMode mode)
    Mode has been set externally, therefore dirty the associated mode in osg::State so it is applied on next call to osg::State::apply()
    -[more]void haveAppliedAttribute(const StateAttribute* attribute) +[more]void haveAppliedAttribute(const StateAttribute* attribute)
    Attribute has been applied externally, update state to reflect this setting
    -[more]void haveAppliedAttribute(const StateAttribute::Type type) +[more]void haveAppliedAttribute(const StateAttribute::Type type)
    Attribute has been applied externally, and therefore this attribute type has been dirtied and will need to be re-appplied on next osg::Stateapply().
    -[more]const bool getLastAppliedMode(const StateAttribute::GLMode mode) const +[more]const bool getLastAppliedMode(const StateAttribute::GLMode mode) const
    Get whether the current specified mode is enabled (true) or disabled (false)
    -[more]const StateAttribute* getLastAppliedAttribute(const StateAttribute::Type type) const +[more]const StateAttribute* getLastAppliedAttribute(const StateAttribute::Type type) const
    Get the current specified attribute, return NULL is one has not yet been applied
    -[more]inline void setContextID(unsigned int contextID) +[more]void haveAppliedTextureMode(unsigned int unit, const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value) +
    texture Mode has been set externally, update state to reflect this setting +
    +[more]void haveAppliedTextureMode(unsigned int unit, const StateAttribute::GLMode mode) +
    texture Mode has been set externally, therefore dirty the associated mode in osg::State so it is applied on next call to osg::State::apply() +
    +[more]void haveAppliedTextureAttribute(unsigned int unit, const StateAttribute* attribute) +
    texture Attribute has been applied externally, update state to reflect this setting +
    +[more]void haveAppliedTextureAttribute(unsigned int unit, const StateAttribute::Type type) +
    texture Attribute has been applied externally, and therefore this attribute type has been dirtied and will need to be re-appplied on next osg::Stateapply(). +
    +[more]const bool getLastAppliedTextureMode(unsigned int unit, const StateAttribute::GLMode mode) const +
    Get whether the current specified texture mode is enabled (true) or disabled (false) +
    +[more]const StateAttribute* getLastAppliedTextureAttribute(unsigned int unit, const StateAttribute::Type type) const +
    Get the current specified texture attribute, return NULL is one has not yet been applied +
    +[more]inline void setVertexPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr ) +
    wrapper around glEnableClientState(GL_VERTEX_ARRAY);glVertexPointer(); note, only updates values that change +
    +[more]inline void disableVertexPointer() +
    wrapper glDisableClientState(GL_VERTEX_ARRAY). +
    +[more]inline void setNormalPointer( GLenum type, GLsizei stride, const GLvoid* ptr ) +
    wrapper around glEnableClientState(GL_NORMAL_ARRAY);glNormalPointer(); note, only updates values that change +
    +[more]inline void disableNormalPointer() +
    wrapper around glDisableClientState(GL_NORMAL_ARRAY); note, only updates values that change +
    +[more]inline void setColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr ) +
    wrapper around glEnableClientState(GL_COLOR_ARRAY);glColorPointer(); note, only updates values that change +
    +[more]inline void disableColorPointer() +
    wrapper around glDisableClientState(GL_COLOR_ARRAY); note, only updates values that change +
    +[more]inline void setIndexPointer( GLenum type, GLsizei stride, const GLvoid* ptr ) +
    wrapper around glEnableClientState(GL_INDEX_ARRAY);glIndexPointer(); note, only updates values that change +
    +[more]inline void disableIndexPointer() +
    wrapper around glDisableClientState(GL_INDEX_ARRAY); note, only updates values that change +
    +[more]inline void setTexCoordPointer( unsigned int unit, GLint size, GLenum type, GLsizei stride, const GLvoid* ptr ) +
    wrapper around glEnableClientState(GL_TEXTURE_COORD_ARRAY);glTexCoordPointer(); note, only updates values that change +
    +[more]inline void disableTexCoordPointer( unsigned int unit ) +
    wrapper around glDisableClientState(GL_TEXTURE_COORD_ARRAY); note, only updates values that change +
    +[more]inline void disableTexCoordPointersAboveAndIncluding( unsigned int unit ) +
    +[more]bool setClientActiveTextureUnit( unsigned int unit ) +
    set the current tex coord array texture unit, return true if selected, false if selection failed such as when multitexturing is not supported. +
    +[more]bool setActiveTextureUnit( unsigned int unit ) +
    set the current texture unit, return true if selected, false if selection failed such as when multitexturing is not supported. +
    +[more]inline void setContextID(unsigned int contextID)
    Set the current OpenGL context uniqueID.
    -[more]inline const unsigned int getContextID() const +[more]inline const unsigned int getContextID() const
    Get the current OpenGL context unique ID
    -[more]inline void setFrameStamp(FrameStamp* fs) +[more]inline void setFrameStamp(FrameStamp* fs)
    Set the frame stamp for the current frame
    -[more]inline const FrameStamp* getFrameStamp() const +[more]inline const FrameStamp* getFrameStamp() const
    Set the frame stamp for the current frame
    -[more]inline void setDisplaySettings(DisplaySettings* vs) +[more]inline void setDisplaySettings(DisplaySettings* vs)
    Set the DisplaySettings.
    -[more]inline const DisplaySettings* getDisplaySettings() const +[more]inline const DisplaySettings* getDisplaySettings() const
    Get the DisplaySettings +
    +[more]inline void pushModeList(ModeMap& modeMap, const StateSet::ModeList& modeList) +
    +[more]inline void pushAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList) +
    +[more]inline void popModeList(ModeMap& modeMap, const StateSet::ModeList& modeList) +
    +[more]inline void popAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList) +
    +[more]inline void applyModeList(ModeMap& modeMap, const StateSet::ModeList& modeList) +
    +[more]inline void applyAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList) +
    +[more]inline void applyModeMap(ModeMap& modeMap) +
    +[more]inline void applyAttributeMap(AttributeMap& attributeMap)

    @@ -129,91 +205,99 @@ Lazy state updating is used to minimize state changes.
    - +
    o State()

    - +

    ovirtual ~State()

    - +

    ovoid pushStateSet(const StateSet* dstate)
    push stateset onto state stack

    - +

    ovoid popStateSet()
    pop drawstate off state stack

    - +

    ovoid captureCurrentState(StateSet& stateset) const
    copy the modes and attributes which captures the current state

    - +

    ovoid reset()
    reset the state object to an empty stack

    - +

    oinline void applyProjectionMatrix(const osg::Matrix* matrix)

    - +

    oconst osg::Matrix& getProjectionMatrix() const

    - +

    oinline void applyModelViewMatrix(const osg::Matrix* matrix)

    - +

    oconst osg::Matrix& getModelViewMatrix() const

    - +

    oPolytope getViewFrustum() const

    - +

    ovoid apply(const StateSet* dstate)
    Apply stateset

    - +

    ovoid apply()
    Apply the state

    - +

    oinline const bool applyMode(const StateAttribute::GLMode mode, const bool enabled)
    Apply an OpenGL mode if required.

    + + +

    oinline const bool applyTextureMode(unsigned int unit, const StateAttribute::GLMode mode, const bool enabled) +

    - +

    oinline const bool applyAttribute(const StateAttribute* attribute)
    Apply an attribute if required.

    + + +

    oinline const bool applyTextureAttribute(unsigned int unit, const StateAttribute* attribute) +

    - +

    ovoid haveAppliedMode(const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value)
    Mode has been set externally, update state to reflect this setting

    - +

    ovoid haveAppliedMode(const StateAttribute::GLMode mode)
    Mode has been set externally, therefore dirty the associated mode in osg::State so it is applied on next call to osg::State::apply()

    - +

    ovoid haveAppliedAttribute(const StateAttribute* attribute)
    Attribute has been applied externally, update state to reflect this setting

    - +

    ovoid haveAppliedAttribute(const StateAttribute::Type type)
    Attribute has been applied externally, and therefore this attribute type has been dirtied @@ -224,17 +308,130 @@ track the current state more accuratly and enable lazy state updating such that only changed state will be applied.

    - +

    oconst bool getLastAppliedMode(const StateAttribute::GLMode mode) const
    Get whether the current specified mode is enabled (true) or disabled (false)

    - +

    oconst StateAttribute* getLastAppliedAttribute(const StateAttribute::Type type) const
    Get the current specified attribute, return NULL is one has not yet been applied

    + + +

    ovoid haveAppliedTextureMode(unsigned int unit, const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value) +
    texture Mode has been set externally, update state to reflect this setting +

    + + +

    ovoid haveAppliedTextureMode(unsigned int unit, const StateAttribute::GLMode mode) +
    texture Mode has been set externally, therefore dirty the associated mode in osg::State +so it is applied on next call to osg::State::apply() +

    + + +

    ovoid haveAppliedTextureAttribute(unsigned int unit, const StateAttribute* attribute) +
    texture Attribute has been applied externally, update state to reflect this setting +

    + + +

    ovoid haveAppliedTextureAttribute(unsigned int unit, const StateAttribute::Type type) +
    texture Attribute has been applied externally, +and therefore this attribute type has been dirtied +and will need to be re-appplied on next osg::Stateapply(). +note, if you have an osg::StateAttribute which you have applied externally +then use the have_applied(attribute) method as this will the osg::State to +track the current state more accuratly and enable lazy state updating such +that only changed state will be applied. +

    + + +

    oconst bool getLastAppliedTextureMode(unsigned int unit, const StateAttribute::GLMode mode) const +
    Get whether the current specified texture mode is enabled (true) or disabled (false) +

    + + +

    oconst StateAttribute* getLastAppliedTextureAttribute(unsigned int unit, const StateAttribute::Type type) const +
    Get the current specified texture attribute, return NULL is one has not yet been applied +

    + + +

    oinline void setVertexPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr ) +
    wrapper around glEnableClientState(GL_VERTEX_ARRAY);glVertexPointer(); +note, only updates values that change +

    + + +

    oinline void disableVertexPointer() +
    wrapper glDisableClientState(GL_VERTEX_ARRAY). +note, only updates values that change. +

    + + +

    oinline void setNormalPointer( GLenum type, GLsizei stride, const GLvoid* ptr ) +
    wrapper around glEnableClientState(GL_NORMAL_ARRAY);glNormalPointer(); +note, only updates values that change +

    + + +

    oinline void disableNormalPointer() +
    wrapper around glDisableClientState(GL_NORMAL_ARRAY); +note, only updates values that change +

    + + +

    oinline void setColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr ) +
    wrapper around glEnableClientState(GL_COLOR_ARRAY);glColorPointer(); +note, only updates values that change +

    + + +

    oinline void disableColorPointer() +
    wrapper around glDisableClientState(GL_COLOR_ARRAY); +note, only updates values that change +

    + + +

    oinline void setIndexPointer( GLenum type, GLsizei stride, const GLvoid* ptr ) +
    wrapper around glEnableClientState(GL_INDEX_ARRAY);glIndexPointer(); +note, only updates values that change +

    + + +

    oinline void disableIndexPointer() +
    wrapper around glDisableClientState(GL_INDEX_ARRAY); +note, only updates values that change +

    + + +

    oinline void setTexCoordPointer( unsigned int unit, GLint size, GLenum type, GLsizei stride, const GLvoid* ptr ) +
    wrapper around glEnableClientState(GL_TEXTURE_COORD_ARRAY);glTexCoordPointer(); +note, only updates values that change +

    + + +

    oinline void disableTexCoordPointer( unsigned int unit ) +
    wrapper around glDisableClientState(GL_TEXTURE_COORD_ARRAY); +note, only updates values that change +

    + + +

    oinline void disableTexCoordPointersAboveAndIncluding( unsigned int unit ) +

    + + +

    obool setClientActiveTextureUnit( unsigned int unit ) +
    set the current tex coord array texture unit, return true if selected, false if selection failed such as when multitexturing is not supported. +note, only updates values that change. +

    + + +

    obool setActiveTextureUnit( unsigned int unit ) +
    set the current texture unit, return true if selected, false if selection failed such as when multitexturing is not supported. +note, only updates values that change. +

    - +

    oinline void setContextID(unsigned int contextID)
    Set the current OpenGL context uniqueID. Note, it is the application developers responsibility to @@ -244,77 +441,131 @@ help manage OpenGL display list and texture binds appropriate for each context.

    - +

    oinline const unsigned int getContextID() const
    Get the current OpenGL context unique ID

    - +

    oinline void setFrameStamp(FrameStamp* fs)
    Set the frame stamp for the current frame

    - +

    oinline const FrameStamp* getFrameStamp() const
    Set the frame stamp for the current frame

    - +

    oinline void setDisplaySettings(DisplaySettings* vs)
    Set the DisplaySettings. Note, nothing is applied, the visual settings are just used used in the State object to pass the current visual settings to Drawables during rendering.

    - +

    oinline const DisplaySettings* getDisplaySettings() const
    Get the DisplaySettings

    - +
    o ModeStack()

    - +

    obool changed

    - +

    obool last_applied_value

    - +

    obool global_default_value

    - +

    oValueVec valueVec

    - +
    o AttributeStack()

    - +

    obool changed
    apply an attribute if required, passing in attribute and appropriate attribute stack

    - +

    oconst StateAttribute* last_applied_attribute

    - +

    oref_ptr<StateAttribute> global_default_attribute

    - +

    oAttributeVec attributeVec

    -
    +
    + + + +
    o EnabledArrayPair() +

    + + +

    o EnabledArrayPair(const EnabledArrayPair& eap) +

    + + +

    oEnabledArrayPair& operator = (const EnabledArrayPair& eap) +

    + + +

    obool _enabled +

    + + +

    oconst GLvoid* _pointer +

    + + + +
    oinline void pushModeList(ModeMap& modeMap, const StateSet::ModeList& modeList) +

    + + +

    oinline void pushAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList) +

    + + +

    oinline void popModeList(ModeMap& modeMap, const StateSet::ModeList& modeList) +

    + + +

    oinline void popAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList) +

    + + +

    oinline void applyModeList(ModeMap& modeMap, const StateSet::ModeList& modeList) +

    + + +

    oinline void applyAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList) +

    + + +

    oinline void applyModeMap(ModeMap& modeMap) +

    + + +

    oinline void applyAttributeMap(AttributeMap& attributeMap) +


    This class has no child classes.
    diff --git a/doc/doc++/osg/StateAttribute.html b/doc/doc++/osg/StateAttribute.html index 1e08c274b..07178b633 100644 --- a/doc/doc++/osg/StateAttribute.html +++ b/doc/doc++/osg/StateAttribute.html @@ -12,7 +12,7 @@

    Inheritance:

    - + @@ -23,67 +23,74 @@

    Public Methods

    -[more] StateAttribute() +[more] StateAttribute()
    -[more] StateAttribute(const StateAttribute& sa, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] StateAttribute(const StateAttribute& sa, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    -[more]virtual Object* cloneType() const = 0 +[more]virtual Object* cloneType() const = 0
    Clone the type of an attribute, with Object* return type.
    -[more]virtual Object* clone(const CopyOp&) const = 0 +[more]virtual Object* clone(const CopyOp&) const = 0
    Clone an attribute, with Object* return type.
    -[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
    return true if this and obj are of the same kind of object
    -[more]virtual const char* className() const +[more]virtual const char* libraryName() const +
    return the name of the attribute's library +
    +[more]virtual const char* className() const
    return the name of the attribute's class type
    -[more]virtual const Type getType() const = 0 +[more]virtual const Type getType() const = 0
    return the Type identifier of the attribute's class type
    -[more]virtual int compare(const StateAttribute& sa) const = 0 +[more]virtual bool isTextureAttribute() const +
    return true if StateAttribute is a type which controls texturing and needs to be issued wrt to specific texture unit +
    +[more]virtual int compare(const StateAttribute& sa) const = 0
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
    -[more]bool operator < (const StateAttribute& rhs) const +[more]bool operator < (const StateAttribute& rhs) const
    -[more]bool operator == (const StateAttribute& rhs) const +[more]bool operator == (const StateAttribute& rhs) const
    -[more]bool operator != (const StateAttribute& rhs) const +[more]bool operator != (const StateAttribute& rhs) const
    -[more]virtual void setStateSetModes(StateSet&, const GLModeValue) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& ) const +
    return the modes associated with this StateSet
    -[more]virtual void apply(State&) const = 0 +[more]virtual void apply(State&) const = 0
    apply the OpenGL state attributes.
    -[more]virtual void compile(State&) const +[more]virtual void compile(State&) const
    default to nothing to compile - all state is applied immediately.

    Public Members

    -[more]typedef GLenum GLMode +[more]typedef GLenum GLMode
    GLMode is the value used in glEnable/glDisable(mode)
    -[more]typedef unsigned int GLModeValue +[more]typedef unsigned int GLModeValue
    GLModeValue is used to specified whether an mode is enabled (ON) or disabled (OFF).
    -[more]typedef unsigned int OverrideValue +[more]typedef unsigned int OverrideValue
    Override is used to specified the override behavior of StateAttributes from from parent to children.
    -[more]enum Values +[more]enum Values
    list values which can be used in to set either GLModeValues or OverrideValues.
    -[more]typedef unsigned int Type +[more]typedef unsigned int Type
    Type identifier to differentiate between different state types.
    -[more]enum Types +[more]enum Types
    Values of StateAttribute::Type used to aid identification of different StateAttribute subclasses.

    Protected Methods

    -[more]virtual ~StateAttribute() +[more]virtual ~StateAttribute()

    @@ -91,9 +98,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -103,7 +110,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -136,26 +143,26 @@
    - +
    otypedef GLenum GLMode
    GLMode is the value used in glEnable/glDisable(mode)

    - +

    otypedef unsigned int GLModeValue
    GLModeValue is used to specified whether an mode is enabled (ON) or disabled (OFF). GLMoveValue is also used to specify the override behavior of modes from parent to children. See enum Value description for more details.

    - +

    otypedef unsigned int OverrideValue
    Override is used to specified the override behavior of StateAttributes from from parent to children. See enum Value description for more details.

    - +

    oenum Values
    list values which can be used in to set either GLModeValues or OverrideValues. When using in conjunction with GLModeValues @@ -167,43 +174,43 @@ StateSet::setAttributeAndModes(..).

    - +
    o OFF
    means that associated GLMode and Override is disabled

    - +

    o ON
    means that associated GLMode is enabled and Override is disabled

    - +

    o OVERRIDE
    Overriding of GLMode's or StateAttributes is enabled

    - +

    o OVERRIDE_OFF
    Equivilant to OFF | OVERRIDE

    - +

    o OVERRIDE_ON
    Equivilant to ON | OVERRIDE

    - +

    o INHERIT
    means that GLMode or StateAttribute should in inherited from above

    - +
    otypedef unsigned int Type
    Type identifier to differentiate between different state types.

    - +

    oenum Types
    Values of StateAttribute::Type used to aid identification of different StateAttribute subclasses. Each subclass defines @@ -216,240 +223,235 @@ that types value.

    - +
    o TEXTURE

    - - -

    o TEXTURE_0 -

    - - -

    o TEXTURE_1 -

    - - -

    o TEXTURE_2 -

    - - -

    o TEXTURE_3 -

    - +

    o POLYGONMODE

    - +

    o POLYGONOFFSET

    - +

    o MATERIAL

    - +

    o ALPHAFUNC

    - +

    o ANTIALIAS

    - +

    o COLORTABLE

    - +

    o CULLFACE

    - +

    o FOG

    - +

    o FRONTFACE

    - +

    o LIGHT

    - +

    o LIGHT_0

    - +

    o LIGHT_1

    - +

    o LIGHT_2

    - +

    o LIGHT_3

    - +

    o LIGHT_4

    - +

    o LIGHT_5

    - +

    o LIGHT_6

    - +

    o LIGHT_7

    - +

    o POINT

    - +

    o LINEWIDTH

    - +

    o LINESTIPPLE

    - +

    o SHADEMODEL

    - +

    o TEXENV

    - +

    o TEXGEN

    - +

    o TEXMAT

    - +

    o LIGHTMODEL

    - - -

    o TRANSPARENCY + + +
    o BLENDFUNC

    - +

    o STENCIL

    - +

    o COLORMASK

    - +

    o DEPTH

    - +

    o VIEWPORT

    - +

    o CLIPPLANE

    - +

    o CLIPPLANE_0

    - +

    o CLIPPLANE_1

    - +

    o CLIPPLANE_2

    - +

    o CLIPPLANE_3

    - +

    o CLIPPLANE_4

    - +

    o CLIPPLANE_5

    - +

    o COLORMATRIX

    - +
    o StateAttribute()

    - -

    o StateAttribute(const StateAttribute& sa, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o StateAttribute(const StateAttribute& sa, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

    - +

    ovirtual Object* cloneType() const = 0
    Clone the type of an attribute, with Object* return type. Must be defined by derived classes.

    - +

    ovirtual Object* clone(const CopyOp&) const = 0
    Clone an attribute, with Object* return type. Must be defined by derived classes.

    - +

    ovirtual bool isSameKindAs(const Object* obj) const
    return true if this and obj are of the same kind of object

    + + +

    ovirtual const char* libraryName() const +
    return the name of the attribute's library +

    - +

    ovirtual const char* className() const
    return the name of the attribute's class type

    - -

    ovirtual const Type getType() const = 0 + +
    ovirtual const Type getType() const = 0
    return the Type identifier of the attribute's class type

    + + +

    ovirtual bool isTextureAttribute() const +
    return true if StateAttribute is a type which controls texturing and needs to be issued wrt to specific texture unit +

    - +

    ovirtual int compare(const StateAttribute& sa) const = 0
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

    - +

    obool operator < (const StateAttribute& rhs) const

    - +

    obool operator == (const StateAttribute& rhs) const

    - +

    obool operator != (const StateAttribute& rhs) const

    - - -

    ovirtual void setStateSetModes(StateSet&, const GLModeValue) const + + +
    ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +
    return the modes associated with this StateSet

    - +

    ovirtual void apply(State&) const = 0
    apply the OpenGL state attributes. The global state for the current OpenGL context is passed @@ -457,18 +459,17 @@ in to allow the StateAttribute to obtain details on the the current context and state.

    - +

    ovirtual void compile(State&) const
    default to nothing to compile - all state is applied immediately.

    - +

    ovirtual ~StateAttribute()


    Direct child classes:
    Viewport
    -Transparency
    Texture
    TexMat
    TexGen
    @@ -490,6 +491,7 @@ the current context and state. ColorMatrix
    ColorMask
    ClipPlane
    +BlendFunc
    AlphaFunc
    diff --git a/doc/doc++/osg/StateSet.html b/doc/doc++/osg/StateSet.html index ac506b9d5..f25dae35a 100644 --- a/doc/doc++/osg/StateSet.html +++ b/doc/doc++/osg/StateSet.html @@ -23,139 +23,214 @@

    Public Methods

    -[more] StateSet() +[more] StateSet()
    -[more] StateSet(const StateSet&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] StateSet(const StateSet&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    -[more]virtual Object* cloneType() const +[more]virtual Object* cloneType() const
    -[more]virtual Object* clone(const CopyOp& copyop) const +[more]virtual Object* clone(const CopyOp& copyop) const
    -[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
    -[more]virtual const char* className() const +[more]virtual const char* libraryName() const
    -[more]int compare(const StateSet& rhs, bool compareAttributeContents=false) const +[more]virtual const char* className() const +
    +[more]int compare(const StateSet& rhs, bool compareAttributeContents=false) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
    -[more]bool operator < (const StateSet& rhs) const +[more]bool operator < (const StateSet& rhs) const
    -[more]bool operator == (const StateSet& rhs) const +[more]bool operator == (const StateSet& rhs) const
    -[more]bool operator != (const StateSet& rhs) const +[more]bool operator != (const StateSet& rhs) const
    -[more]void setGlobalDefaults() +[more]void setGlobalDefaults()
    set all the modes to on or off so that it defines a complete state, typically used for a default global state
    -[more]void setAllToInherit() +[more]void setAllToInherit()
    set all the modes to inherit, typically used to signify nodes which inherit all of their modes for the global state
    -[more]void merge(const StateSet& rhs) +[more]void merge(const StateSet& rhs)
    merge this stateset with stateset rhs, this overrides the rhs if OVERRIDE is specified, otherwise rhs takes precedence
    -[more]void setMode(const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value) +[more]void setMode(const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value)
    set this StateSet to contain specified GLMode and value
    -[more]void setModeToInherit(const StateAttribute::GLMode mode) +[more]void setModeToInherit(const StateAttribute::GLMode mode)
    set this StateSet to inherit specified GLMode type from parents.
    -[more]const StateAttribute::GLModeValue getMode(const StateAttribute::GLMode mode) const +[more]const StateAttribute::GLModeValue getMode(const StateAttribute::GLMode mode) const
    get specified GLModeValue for specified GLMode.
    -[more]inline ModeList& getModeList() +[more]inline ModeList& getModeList()
    return the list of all GLModes contained in this StateSet
    -[more]inline const ModeList& getModeList() const +[more]inline const ModeList& getModeList() const
    return the const list of all GLModes contained in this const StateSet
    -[more]void setAttribute(StateAttribute* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF) +[more]void setAttribute(StateAttribute* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF)
    set this StateSet to contain specified attribute and override flag
    -[more]void setAttributeAndModes(StateAttribute* attribute, const StateAttribute::GLModeValue value=StateAttribute::ON) +[more]void setAttributeAndModes(StateAttribute* attribute, const StateAttribute::GLModeValue value=StateAttribute::ON)
    set this StateSet to contain specified attribute and set the associated GLMode's to specified value
    -[more]void setAttributeToInherit(const StateAttribute::Type type) +[more]void setAttributeToInherit(const StateAttribute::Type type)
    set this StateSet to inherit specified attribute type from parents.
    -[more]StateAttribute* getAttribute(const StateAttribute::Type type) +[more]StateAttribute* getAttribute(const StateAttribute::Type type)
    get specified StateAttribute for specified type.
    -[more]const StateAttribute* getAttribute(const StateAttribute::Type type) const +[more]const StateAttribute* getAttribute(const StateAttribute::Type type) const
    get specified const StateAttribute for specified type.
    -[more]const RefAttributePair* getAttributePair(const StateAttribute::Type type) const +[more]const RefAttributePair* getAttributePair(const StateAttribute::Type type) const
    get specified RefAttributePair for specified type.
    -[more]inline AttributeList& getAttributeList() +[more]inline AttributeList& getAttributeList()
    return the list of all StateAttributes contained in this StateSet
    -[more]inline const AttributeList& getAttributeList() const +[more]inline const AttributeList& getAttributeList() const
    return the const list of all StateAttributes contained in this const StateSet
    -[more]void setRenderingHint(const int hint) +[more]void setTextureMode(unsigned int unit, const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value) +
    set this StateSet to contain specified GLMode and value +
    +[more]void setTextureModeToInherit(unsigned int unit, const StateAttribute::GLMode mode) +
    set this StateSet to inherit specified GLMode type from parents. +
    +[more]const StateAttribute::GLModeValue getTextureMode(unsigned int unit, const StateAttribute::GLMode mode) const +
    get specified GLModeValue for specified GLMode. +
    +[more]inline TextureModeList& getTextureModeList() +
    return the list of all Texture related GLModes contained in this StateSet +
    +[more]inline const TextureModeList& getTextureModeList() const +
    return the const list of all Texture related GLModes contained in this const StateSet +
    +[more]void setTextureAttribute(unsigned int unit, StateAttribute* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF) +
    set this StateSet to contain specified attribute and override flag +
    +[more]void setTextureAttributeAndModes(unsigned int unit, StateAttribute* attribute, const StateAttribute::GLModeValue value=StateAttribute::ON) +
    set this StateSet to contain specified attribute and set the associated GLMode's to specified value +
    +[more]void setTextureAttributeToInherit(unsigned int unit, const StateAttribute::Type type) +
    set this StateSet to inherit specified attribute type from parents. +
    +[more]StateAttribute* getTextureAttribute(unsigned int unit, const StateAttribute::Type type) +
    get specified Texture related StateAttribute for specified type. +
    +[more]const StateAttribute* getTextureAttribute(unsigned int unit, const StateAttribute::Type type) const +
    get specified Texture related const StateAttribute for specified type. +
    +[more]const RefAttributePair* getTextureAttributePair(unsigned int unit, const StateAttribute::Type type) const +
    get specified Texture related RefAttributePair for specified type. +
    +[more]inline TextureAttributeList& getTextureAttributeList() +
    return the list of all Texture related StateAttributes contained in this StateSet +
    +[more]inline const TextureAttributeList& getTextureAttributeList() const +
    return the const list of all Texture related StateAttributes contained in this const StateSet +
    +[more]void setAssociatedModes(const StateAttribute* attribute, const StateAttribute::GLModeValue value) +
    +[more]void setAssociatedTextureModes(unsigned int unit, const StateAttribute* attribute, const StateAttribute::GLModeValue value) +
    +[more]void setRenderingHint(const int hint)
    set the RenderingHint of the StateSet.
    -[more]inline const int getRenderingHint() const +[more]inline const int getRenderingHint() const
    get the RenderingHint of the StateSet
    -[more]void setRenderBinDetails(const int binNum, const std::string& binName, const RenderBinMode mode=USE_RENDERBIN_DETAILS) +[more]void setRenderBinDetails(const int binNum, const std::string& binName, const RenderBinMode mode=USE_RENDERBIN_DETAILS)
    set the render bin details
    -[more]void setRendingBinToInherit() +[more]void setRendingBinToInherit()
    set the render bin details to inherit
    -[more]inline const RenderBinMode getRenderBinMode() const +[more]inline const RenderBinMode getRenderBinMode() const
    get the render bin mode
    -[more]inline const bool useRenderBinDetails() const +[more]inline const bool useRenderBinDetails() const
    get whether the render bin details are set and should be used
    -[more]inline const int getBinNumber() const +[more]inline const int getBinNumber() const
    get the render bin number
    -[more]inline const std::string& getBinName() const +[more]inline const std::string& getBinName() const
    get the render bin name
    -[more]void compile(State& state) const +[more]void compile(State& state) const
    call compile on all StateAttributes contained within this StateSet

    Public Members

    -[more]typedef std::map<StateAttribute::GLMode,StateAttribute::GLModeValue> ModeList +[more]typedef std::map<StateAttribute::GLMode,StateAttribute::GLModeValue> ModeList
    a container to map GLModes to their respective GLModeValues
    -[more]typedef std::pair<ref_ptr<StateAttribute>,StateAttribute::OverrideValue> RefAttributePair +[more]typedef std::pair<ref_ptr<StateAttribute>,StateAttribute::OverrideValue> RefAttributePair
    simple pairing between an attribute and its override flag
    -[more]typedef std::map<StateAttribute::Type,RefAttributePair> AttributeList +[more]typedef std::map<StateAttribute::Type,RefAttributePair> AttributeList
    a container to map StateAttribyte::Types to their respective RefAttributePair
    -[more]enum RenderingHint +[more]enum RenderingHint
    -[more]enum RenderBinMode +[more]enum RenderBinMode

    Protected Fields

    -[more]ModeList _modeList +[more]ModeList _modeList
    -[more]AttributeList _attributeList +[more]AttributeList _attributeList
    -[more]int _renderingHint +[more]TextureModeList _textureModeList
    -[more]RenderBinMode _binMode +[more]TextureAttributeList _textureAttributeList
    -[more]int _binNum +[more]int _renderingHint
    -[more]std::string _binName +[more]RenderBinMode _binMode +
    +[more]int _binNum +
    +[more]std::string _binName

    Protected Methods

    -[more]virtual ~StateSet() +[more]virtual ~StateSet()
    -[more]StateSet& operator = (const StateSet&) +[more]StateSet& operator = (const StateSet&) +
    +[more]inline ModeList& getOrCreateTextureModeList(unsigned int unit) +
    +[more]inline AttributeList& getOrCreateTextureAttributeList(unsigned int unit) +
    +[more]int compareModes(const ModeList& lhs, const ModeList& rhs) +
    +[more]int compareAttributePtrs(const AttributeList& lhs, const AttributeList& rhs) +
    +[more]int compareAttributeContents(const AttributeList& lhs, const AttributeList& rhs) +
    +[more]void setMode(ModeList& modeList, const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value) +
    +[more]void setModeToInherit(ModeList& modeList, const StateAttribute::GLMode mode) +
    +[more]const StateAttribute::GLModeValue getMode(const ModeList& modeList, const StateAttribute::GLMode mode) const +
    +[more]void setAssociatedModes(ModeList& modeList, const StateAttribute* attribute, const StateAttribute::GLModeValue value) +
    +[more]void setAttribute(AttributeList& attributeList, StateAttribute* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF) +
    +[more]StateAttribute* getAttribute(AttributeList& attributeList, const StateAttribute::Type type) +
    +[more]const StateAttribute* getAttribute(const AttributeList& attributeList, const StateAttribute::Type type) const +
    +[more]const RefAttributePair* getAttributePair(const AttributeList& attributeList, const StateAttribute::Type type) const

    @@ -163,9 +238,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -175,7 +250,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -211,170 +286,253 @@ in the graphics pipeline.
    - +
    o StateSet()

    - -

    o StateSet(const StateSet&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o StateSet(const StateSet&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

    - +

    ovirtual Object* cloneType() const

    - +

    ovirtual Object* clone(const CopyOp& copyop) const

    - +

    ovirtual bool isSameKindAs(const Object* obj) const

    + + +

    ovirtual const char* libraryName() const +

    - +

    ovirtual const char* className() const

    - -

    oint compare(const StateSet& rhs, bool compareAttributeContents=false) const + +
    oint compare(const StateSet& rhs, bool compareAttributeContents=false) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

    - +

    obool operator < (const StateSet& rhs) const

    - +

    obool operator == (const StateSet& rhs) const

    - +

    obool operator != (const StateSet& rhs) const

    - +

    ovoid setGlobalDefaults()
    set all the modes to on or off so that it defines a complete state, typically used for a default global state

    - +

    ovoid setAllToInherit()
    set all the modes to inherit, typically used to signify nodes which inherit all of their modes for the global state

    - +

    ovoid merge(const StateSet& rhs)
    merge this stateset with stateset rhs, this overrides the rhs if OVERRIDE is specified, otherwise rhs takes precedence

    - +

    otypedef std::map<StateAttribute::GLMode,StateAttribute::GLModeValue> ModeList
    a container to map GLModes to their respective GLModeValues

    - +

    ovoid setMode(const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value)
    set this StateSet to contain specified GLMode and value

    - +

    ovoid setModeToInherit(const StateAttribute::GLMode mode)
    set this StateSet to inherit specified GLMode type from parents. has the effect of deleting any GlMode of specified type from StateSet.

    - +

    oconst StateAttribute::GLModeValue getMode(const StateAttribute::GLMode mode) const
    get specified GLModeValue for specified GLMode. returns INHERIT if no GLModeValue is contained within StateSet.

    - -

    oinline ModeList& getModeList() + +
    oinline ModeList& getModeList()
    return the list of all GLModes contained in this StateSet

    - -

    oinline const ModeList& getModeList() const + +
    oinline const ModeList& getModeList() const
    return the const list of all GLModes contained in this const StateSet

    - +

    otypedef std::pair<ref_ptr<StateAttribute>,StateAttribute::OverrideValue> RefAttributePair
    simple pairing between an attribute and its override flag

    - -

    otypedef std::map<StateAttribute::Type,RefAttributePair> AttributeList + +
    otypedef std::map<StateAttribute::Type,RefAttributePair> AttributeList
    a container to map StateAttribyte::Types to their respective RefAttributePair

    - +

    ovoid setAttribute(StateAttribute* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF)
    set this StateSet to contain specified attribute and override flag

    - +

    ovoid setAttributeAndModes(StateAttribute* attribute, const StateAttribute::GLModeValue value=StateAttribute::ON)
    set this StateSet to contain specified attribute and set the associated GLMode's to specified value

    - +

    ovoid setAttributeToInherit(const StateAttribute::Type type)
    set this StateSet to inherit specified attribute type from parents. has the effect of deleting any state attributes of specified type from StateSet.

    - +

    oStateAttribute* getAttribute(const StateAttribute::Type type)
    get specified StateAttribute for specified type. returns NULL if no type is contained within StateSet.

    - +

    oconst StateAttribute* getAttribute(const StateAttribute::Type type) const
    get specified const StateAttribute for specified type. returns NULL if no type is contained within const StateSet.

    - -

    oconst RefAttributePair* getAttributePair(const StateAttribute::Type type) const + +
    oconst RefAttributePair* getAttributePair(const StateAttribute::Type type) const
    get specified RefAttributePair for specified type. returns NULL if no type is contained within StateSet.

    - -

    oinline AttributeList& getAttributeList() + +
    oinline AttributeList& getAttributeList()
    return the list of all StateAttributes contained in this StateSet

    - -

    oinline const AttributeList& getAttributeList() const + +
    oinline const AttributeList& getAttributeList() const
    return the const list of all StateAttributes contained in this const StateSet

    + + +

    ovoid setTextureMode(unsigned int unit, const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value) +
    set this StateSet to contain specified GLMode and value +

    + + +

    ovoid setTextureModeToInherit(unsigned int unit, const StateAttribute::GLMode mode) +
    set this StateSet to inherit specified GLMode type from parents. +has the effect of deleting any GlMode of specified type from StateSet. +

    + + +

    oconst StateAttribute::GLModeValue getTextureMode(unsigned int unit, const StateAttribute::GLMode mode) const +
    get specified GLModeValue for specified GLMode. +returns INHERIT if no GLModeValue is contained within StateSet. +

    + + +

    oinline TextureModeList& getTextureModeList() +
    return the list of all Texture related GLModes contained in this StateSet +

    + + +

    oinline const TextureModeList& getTextureModeList() const +
    return the const list of all Texture related GLModes contained in this const StateSet +

    + + +

    ovoid setTextureAttribute(unsigned int unit, StateAttribute* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF) +
    set this StateSet to contain specified attribute and override flag +

    + + +

    ovoid setTextureAttributeAndModes(unsigned int unit, StateAttribute* attribute, const StateAttribute::GLModeValue value=StateAttribute::ON) +
    set this StateSet to contain specified attribute and set the associated GLMode's to specified value +

    + + +

    ovoid setTextureAttributeToInherit(unsigned int unit, const StateAttribute::Type type) +
    set this StateSet to inherit specified attribute type from parents. +has the effect of deleting any state attributes of specified type from StateSet. +

    + + +

    oStateAttribute* getTextureAttribute(unsigned int unit, const StateAttribute::Type type) +
    get specified Texture related StateAttribute for specified type. +returns NULL if no type is contained within StateSet. +

    + + +

    oconst StateAttribute* getTextureAttribute(unsigned int unit, const StateAttribute::Type type) const +
    get specified Texture related const StateAttribute for specified type. +returns NULL if no type is contained within const StateSet. +

    + + +

    oconst RefAttributePair* getTextureAttributePair(unsigned int unit, const StateAttribute::Type type) const +
    get specified Texture related RefAttributePair for specified type. +returns NULL if no type is contained within StateSet. +

    + + +

    oinline TextureAttributeList& getTextureAttributeList() +
    return the list of all Texture related StateAttributes contained in this StateSet +

    + + +

    oinline const TextureAttributeList& getTextureAttributeList() const +
    return the const list of all Texture related StateAttributes contained in this const StateSet +

    + + +

    ovoid setAssociatedModes(const StateAttribute* attribute, const StateAttribute::GLModeValue value) +

    + + +

    ovoid setAssociatedTextureModes(unsigned int unit, const StateAttribute* attribute, const StateAttribute::GLModeValue value) +

    - +

    oenum RenderingHint

    - +
    o DEFAULT_BIN

    - +

    o OPAQUE_BIN

    - +

    o TRANSPARENT_BIN

    - +
    ovoid setRenderingHint(const int hint)
    set the RenderingHint of the StateSet. RenderingHint is used by osgUtil::Renderer to determine which @@ -383,97 +541,157 @@ objects OPAQUE_BIN would typical used, which TRANSPARENT_BIN should be used for objects which need to be depth sorted.

    - +

    oinline const int getRenderingHint() const
    get the RenderingHint of the StateSet

    - +

    oenum RenderBinMode

    - +
    o INHERIT_RENDERBIN_DETAILS

    - +

    o USE_RENDERBIN_DETAILS

    - +

    o OVERRIDE_RENDERBIN_DETAILS

    - +

    o ENCLOSE_RENDERBIN_DETAILS

    - -
    ovoid setRenderBinDetails(const int binNum, const std::string& binName, const RenderBinMode mode=USE_RENDERBIN_DETAILS) + +
    ovoid setRenderBinDetails(const int binNum, const std::string& binName, const RenderBinMode mode=USE_RENDERBIN_DETAILS)
    set the render bin details

    - +

    ovoid setRendingBinToInherit()
    set the render bin details to inherit

    - -

    oinline const RenderBinMode getRenderBinMode() const + +
    oinline const RenderBinMode getRenderBinMode() const
    get the render bin mode

    - +

    oinline const bool useRenderBinDetails() const
    get whether the render bin details are set and should be used

    - +

    oinline const int getBinNumber() const
    get the render bin number

    - +

    oinline const std::string& getBinName() const
    get the render bin name

    - +

    ovoid compile(State& state) const
    call compile on all StateAttributes contained within this StateSet

    - +

    ovirtual ~StateSet()

    - +

    oStateSet& operator = (const StateSet&)

    - -

    oModeList _modeList + +
    oModeList _modeList

    - -

    oAttributeList _attributeList + +
    oAttributeList _attributeList +

    + + +

    oTextureModeList _textureModeList +

    + + +

    oTextureAttributeList _textureAttributeList +

    + + +

    oinline ModeList& getOrCreateTextureModeList(unsigned int unit) +

    + + +

    oinline AttributeList& getOrCreateTextureAttributeList(unsigned int unit) +

    + + +

    oint compareModes(const ModeList& lhs, const ModeList& rhs) +

    + + +

    oint compareAttributePtrs(const AttributeList& lhs, const AttributeList& rhs) +

    + + +

    oint compareAttributeContents(const AttributeList& lhs, const AttributeList& rhs) +

    + + +

    ovoid setMode(ModeList& modeList, const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value) +

    + + +

    ovoid setModeToInherit(ModeList& modeList, const StateAttribute::GLMode mode) +

    + + +

    oconst StateAttribute::GLModeValue getMode(const ModeList& modeList, const StateAttribute::GLMode mode) const +

    + + +

    ovoid setAssociatedModes(ModeList& modeList, const StateAttribute* attribute, const StateAttribute::GLModeValue value) +

    + + +

    ovoid setAttribute(AttributeList& attributeList, StateAttribute* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF) +

    + + +

    oStateAttribute* getAttribute(AttributeList& attributeList, const StateAttribute::Type type) +

    + + +

    oconst StateAttribute* getAttribute(const AttributeList& attributeList, const StateAttribute::Type type) const +

    + + +

    oconst RefAttributePair* getAttributePair(const AttributeList& attributeList, const StateAttribute::Type type) const

    - +

    oint _renderingHint

    - -

    oRenderBinMode _binMode + +
    oRenderBinMode _binMode

    - +

    oint _binNum

    - +

    ostd::string _binName

    diff --git a/doc/doc++/osg/Statistics.html b/doc/doc++/osg/Statistics.html index 4c00a7ee1..431f6e027 100644 --- a/doc/doc++/osg/Statistics.html +++ b/doc/doc++/osg/Statistics.html @@ -23,71 +23,71 @@

    Public Fields

    -[more]int numOpaque +[more]int numOpaque
    -[more]int nummat +[more]int nummat
    -[more]int nbins +[more]int nbins
    -[more]int nprims +[more]int nprims
    -[more]int nlights +[more]int nlights
    -[more]int depth +[more]int depth
    -[more]int _binNo +[more]int _binNo
    -[more]statsType stattype +[more]statsType stattype
    -[more]int nimpostor +[more]int nimpostor
    -[more]int numprimtypes[16] +[more]int numprimtypes[16]
    -[more]int primtypes[16] +[more]int primtypes[16]
    -[more]int primlens[16] +[more]int primlens[16]
    -[more]int primverts[16] +[more]int primverts[16]

    Public Methods

    -[more] Statistics() +[more] Statistics()
    -[more] ~Statistics() +[more] ~Statistics()
    -[more]void reset() +[more]void reset()
    -[more]void setType(statsType t) +[more]void setType(statsType t)
    -[more]virtual bool apply(osg::Drawable::AttributeBitMask abm, osg::Vec3* begin, osg::Vec3* end) +[more]virtual bool apply(osg::Drawable::AttributeBitMask abm, osg::Vec3* begin, osg::Vec3* end)
    -[more]void addNumPrims(const int typ, const int nprimlen, const int numprimtype, const int primvert) +[more]void addNumPrims(const int typ, const int nprimlen, const int numprimtype, const int primvert)
    -[more]void addOpaque() +[more]void addOpaque()
    -[more]void addMatrix() +[more]void addMatrix()
    -[more]void addLight(const int np) +[more]void addLight(const int np)
    -[more]void addNumPrims(const int np) +[more]void addNumPrims(const int np)
    -[more]void addImpostor(const int np) +[more]void addImpostor(const int np)
    -[more]inline const int getBins() +[more]inline const int getBins()
    -[more]void setDepth(const int d) +[more]void setDepth(const int d)
    -[more]void addBins(const int np) +[more]void addBins(const int np)
    -[more]void setBinNo(const int n) +[more]void setBinNo(const int n)

    Public Members

    -[more]enum PrimitiveType +[more]enum PrimitiveType
    -[more]enum statsType +[more]enum statsType

    @@ -135,7 +135,7 @@ Statistics base class. Used to extract primitive information from the renderBin(s). Add a case of getStats(osgUtil::Statistics *stat) for any new drawable (or drawable derived class) that you generate -(eg see GeoSet.cpp). There are 20 types of drawable counted - actually only +(eg see Geometry.cpp). There are 20 types of drawable counted - actually only 14 cases can occur in reality. these represent sets of GL_POINTS, GL_LINES GL_LINESTRIPS, LOOPS, TRIANGLES, TRI-fans, tristrips, quads, quadstrips etc The number of triangles rendered is inferred: @@ -145,223 +145,223 @@ each trifan or tristrip = (length-2) triangles and so on.
    - +
    o Statistics()

    - +

    oenum PrimitiveType

    - +
    o NO_TYPE

    - +

    o POINTS

    - +

    o LINES

    - +

    o LINE_STRIP

    - +

    o FLAT_LINE_STRIP

    - +

    o LINE_LOOP

    - +

    o TRIANGLES

    - +

    o TRIANGLE_STRIP

    - +

    o FLAT_TRIANGLE_STRIP

    - +

    o TRIANGLE_FAN

    - +

    o FLAT_TRIANGLE_FAN

    - +

    o QUADS

    - +

    o QUAD_STRIP

    - +

    o POLYGON

    - +

    o IMPOSTOR

    - +
    o ~Statistics()

    - +

    oenum statsType

    - +
    o STAT_NONE

    - +

    o STAT_FRAMERATE

    - +

    o STAT_GRAPHS

    - +

    o STAT_VIEWPARMS

    - +

    o STAT_PRIMS

    - +

    o STAT_PRIMSPERVIEW

    - +

    o STAT_PRIMSPERBIN

    - +

    o STAT_DC

    - +

    o STAT_RESTART

    - +
    ovoid reset()

    - -

    ovoid setType(statsType t) + +
    ovoid setType(statsType t)

    - -

    ovirtual bool apply(osg::Drawable::AttributeBitMask abm, osg::Vec3* begin, osg::Vec3* end) + +
    ovirtual bool apply(osg::Drawable::AttributeBitMask abm, osg::Vec3* begin, osg::Vec3* end)

    - +

    ovoid addNumPrims(const int typ, const int nprimlen, const int numprimtype, const int primvert)

    - +

    ovoid addOpaque()

    - +

    ovoid addMatrix()

    - +

    ovoid addLight(const int np)

    - +

    ovoid addNumPrims(const int np)

    - +

    ovoid addImpostor(const int np)

    - +

    oinline const int getBins()

    - +

    ovoid setDepth(const int d)

    - +

    ovoid addBins(const int np)

    - +

    ovoid setBinNo(const int n)

    - +

    oint numOpaque

    - +

    oint nummat

    - +

    oint nbins

    - +

    oint nprims

    - +

    oint nlights

    - +

    oint depth

    - +

    oint _binNo

    - -

    ostatsType stattype + +
    ostatsType stattype

    - +

    oint nimpostor

    - +

    oint numprimtypes[16]

    - +

    oint primtypes[16]

    - +

    oint primlens[16]

    - +

    oint primverts[16]

    diff --git a/doc/doc++/osg/Stencil.html b/doc/doc++/osg/Stencil.html index b1ce10346..91a540ccb 100644 --- a/doc/doc++/osg/Stencil.html +++ b/doc/doc++/osg/Stencil.html @@ -23,72 +23,72 @@

    Public Methods

    -[more] Stencil() +[more] Stencil()
    -[more] Stencil(const Stencil& stencil, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Stencil(const Stencil& stencil, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] META_StateAttribute(Stencil, STENCIL) +[more] META_StateAttribute(osg, Stencil, STENCIL)
    -[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
    -[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
    -[more]inline void setFunction(const Function func, int ref, uint mask) +[more]inline void setFunction(const Function func, int ref, uint mask)
    -[more]inline const Function getFunction() const +[more]inline const Function getFunction() const
    -[more]inline const int getFunctionRef() const +[more]inline const int getFunctionRef() const
    -[more]inline const uint getFunctionMask() const +[more]inline const uint getFunctionMask() const
    -[more]inline void setOperation(const Operation sfail, const Operation zfail, const Operation zpass) +[more]inline void setOperation(const Operation sfail, const Operation zfail, const Operation zpass)
    set the operations to apply when the various stencil and depth tests fail or pass.
    -[more]inline const Operation getStencilFailOperation() const +[more]inline const Operation getStencilFailOperation() const
    get the operation when the stencil test fails
    -[more]inline const Operation getStencilPassAndDepthFailOperation() const +[more]inline const Operation getStencilPassAndDepthFailOperation() const
    get the operation when the stencil test passes but the depth test fails
    -[more]inline const Operation getStencilPassAndDepthPassOperation() const +[more]inline const Operation getStencilPassAndDepthPassOperation() const
    get the operation when both the stencil test and the depth test pass
    -[more]inline void setWriteMask(uint mask) +[more]inline void setWriteMask(uint mask)
    -[more]inline const uint getWriteMask() const +[more]inline const uint getWriteMask() const
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

    Public Members

    -[more]enum Function +[more]enum Function
    -[more]enum Operation +[more]enum Operation

    Protected Fields

    -[more]Function _func +[more]Function _func
    -[more]int _funcRef +[more]int _funcRef
    -[more]uint _funcMask +[more]uint _funcMask
    -[more]Operation _sfail +[more]Operation _sfail
    -[more]Operation _zfail +[more]Operation _zfail
    -[more]Operation _zpass +[more]Operation _zpass
    -[more]uint _writeMask +[more]uint _writeMask

    Protected Methods

    -[more]virtual ~Stencil() +[more]virtual ~Stencil()

    @@ -102,9 +102,13 @@
    ovirtual bool isSameKindAs(const Object* obj) const
    +ovirtual const char* libraryName() const +
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const +
    +ovirtual bool isTextureAttribute() const
    obool operator < (const StateAttribute& rhs) const
    @@ -135,9 +139,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -147,7 +151,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -180,114 +184,114 @@
    - +
    o Stencil()

    - -

    o Stencil(const Stencil& stencil, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o Stencil(const Stencil& stencil, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy

    - -

    o META_StateAttribute(Stencil, STENCIL) + +
    o META_StateAttribute(osg, Stencil, STENCIL)

    - +

    ovirtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

    - - -

    ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const + + +
    ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

    - +

    oenum Function

    - +
    o NEVER

    - +

    o LESS

    - +

    o EQUAL

    - +

    o LEQUAL

    - +

    o GREATER

    - +

    o NOTEQUAL

    - +

    o GEQUAL

    - +

    o ALWAYS

    - -
    oinline void setFunction(const Function func, int ref, uint mask) + +
    oinline void setFunction(const Function func, int ref, uint mask)

    - -

    oinline const Function getFunction() const + +
    oinline const Function getFunction() const

    - +

    oinline const int getFunctionRef() const

    - +

    oinline const uint getFunctionMask() const

    - +

    oenum Operation

    - +
    o KEEP

    - +

    o ZERO

    - +

    o REPLACE

    - +

    o INCR

    - +

    o DECR

    - +

    o INVERT

    - -
    oinline void setOperation(const Operation sfail, const Operation zfail, const Operation zpass) + +
    oinline void setOperation(const Operation sfail, const Operation zfail, const Operation zpass)
    set the operations to apply when the various stencil and depth tests fail or pass. First parameter is to control the operation when the stencil test fails. The second parameter is to control the @@ -297,62 +301,62 @@ and depth pass. Ordering of parameter is the same as if using glStencilOp(,,).

    - -

    oinline const Operation getStencilFailOperation() const + +
    oinline const Operation getStencilFailOperation() const
    get the operation when the stencil test fails

    - -

    oinline const Operation getStencilPassAndDepthFailOperation() const + +
    oinline const Operation getStencilPassAndDepthFailOperation() const
    get the operation when the stencil test passes but the depth test fails

    - -

    oinline const Operation getStencilPassAndDepthPassOperation() const + +
    oinline const Operation getStencilPassAndDepthPassOperation() const
    get the operation when both the stencil test and the depth test pass

    - +

    oinline void setWriteMask(uint mask)

    - +

    oinline const uint getWriteMask() const

    - +

    ovirtual void apply(State& state) const

    - +

    ovirtual ~Stencil()

    - -

    oFunction _func + +
    oFunction _func

    - +

    oint _funcRef

    - +

    ouint _funcMask

    - -

    oOperation _sfail + +
    oOperation _sfail

    - -

    oOperation _zfail + +
    oOperation _zfail

    - -

    oOperation _zpass + +
    oOperation _zpass

    - +

    ouint _writeMask

    diff --git a/doc/doc++/osg/Switch.html b/doc/doc++/osg/Switch.html index 1bbde60e8..a75e078c5 100644 --- a/doc/doc++/osg/Switch.html +++ b/doc/doc++/osg/Switch.html @@ -23,37 +23,37 @@

    Public Methods

    -[more] Switch() +[more] Switch()
    -[more] Switch(const Switch&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Switch(const Switch&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] META_Node(Switch) +[more] META_Node(osg, Switch)
    -[more]virtual void traverse(NodeVisitor& nv) +[more]virtual void traverse(NodeVisitor& nv)
    -[more]inline void setValue(const int value) +[more]inline void setValue(const int value)
    Selects the active child Node or enables a special SwitchType mode.
    -[more]inline const int getValue() const +[more]inline const int getValue() const
    Returns the number of the active child Node or the SwitchType

    Public Members

    -[more]enum SwitchType +[more]enum SwitchType
    Special mode values for the Switch.

    Protected Fields

    -[more]int _value +[more]int _value
    The current Switch value.

    Protected Methods

    -[more]virtual ~Switch() +[more]virtual ~Switch()

    @@ -102,7 +102,7 @@ to represent the different states of a traffic light.
    - +
    oenum SwitchType
    Special mode values for the Switch. Use these if you want to @@ -110,55 +110,55 @@ turn on/off all child nodes.

    - +
    o ALL_CHILDREN_ON
    Turn on all children.

    - +

    o ALL_CHILDREN_OFF
    Turn off all children.

    - +
    o Switch()

    - -

    o Switch(const Switch&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o Switch(const Switch&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy

    - -

    o META_Node(Switch) + +
    o META_Node(osg, Switch)

    - +

    ovirtual void traverse(NodeVisitor& nv)

    - +

    oinline void setValue(const int value)
    Selects the active child Node or enables a special SwitchType mode.
    Parameters:
    value - the number of the active child -(first child == number 0) or SwitchType. Invalid values +(first child == number 0) or SwitchType. Invalid values will be ignored.

    - +

    oinline const int getValue() const
    Returns the number of the active child Node or the SwitchType

    - +

    ovirtual ~Switch()

    - +

    oint _value
    The current Switch value.

    diff --git a/doc/doc++/osg/TexEnv.html b/doc/doc++/osg/TexEnv.html index 617be425d..ebd964fc3 100644 --- a/doc/doc++/osg/TexEnv.html +++ b/doc/doc++/osg/TexEnv.html @@ -23,36 +23,46 @@

    Public Methods

    -[more] TexEnv() +[more] TexEnv()
    -[more] TexEnv(const TexEnv& texenv, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] TexEnv(const TexEnv& texenv, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] META_StateAttribute(TexEnv, TEXENV) +[more] META_StateAttribute(osg, TexEnv, TEXENV)
    -[more]virtual int compare(const StateAttribute& sa) const +[more]virtual bool isTextureAttribute() const +
    +[more]virtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
    -[more]void setMode( const Mode mode ) +[more]void setMode( const Mode mode )
    -[more]const Mode getMode() const +[more]const Mode getMode() const
    -[more]virtual void apply(State& state) const +[more]void setColor( const Vec4& color ) +
    +[more]Vec4& getColor() +
    +[more]const Vec4& getColor() const +
    +[more]virtual void apply(State& state) const

    Public Members

    -[more]enum Mode +[more]enum Mode

    Protected Fields

    -[more]Mode _mode +[more]Mode _mode +
    +[more]osg::Vec4 _color

    Protected Methods

    -[more]virtual ~TexEnv( void ) +[more]virtual ~TexEnv( void )

    @@ -66,9 +76,11 @@
    ovirtual bool isSameKindAs(const Object* obj) const
    +ovirtual const char* libraryName() const +
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -76,7 +88,7 @@
    obool operator != (const StateAttribute& rhs) const
    -ovirtual void setStateSetModes(StateSet&, const GLModeValue) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
    ovirtual void compile(State&) const

    @@ -101,9 +113,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -113,7 +125,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -146,64 +158,84 @@
    - +
    o TexEnv()

    - -

    o TexEnv(const TexEnv& texenv, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o TexEnv(const TexEnv& texenv, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy

    - -

    o META_StateAttribute(TexEnv, TEXENV) + +
    o META_StateAttribute(osg, TexEnv, TEXENV) +

    + + +

    ovirtual bool isTextureAttribute() const

    - +

    ovirtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

    - +

    oenum Mode

    - +
    o DECAL

    - +

    o MODULATE

    - +

    o BLEND

    - +

    o REPLACE

    - -
    ovoid setMode( const Mode mode ) + +
    ovoid setMode( const Mode mode )

    - -

    oconst Mode getMode() const + +
    oconst Mode getMode() const +

    + + +

    ovoid setColor( const Vec4& color ) +

    + + +

    oVec4& getColor() +

    + + +

    oconst Vec4& getColor() const

    - +

    ovirtual void apply(State& state) const

    - +

    ovirtual ~TexEnv( void )

    - -

    oMode _mode + +
    oMode _mode +

    + + +

    oosg::Vec4 _color


    This class has no child classes.
    diff --git a/doc/doc++/osg/TexGen.html b/doc/doc++/osg/TexGen.html index 02e2c7598..11de78ea8 100644 --- a/doc/doc++/osg/TexGen.html +++ b/doc/doc++/osg/TexGen.html @@ -23,53 +23,55 @@

    Public Methods

    -[more] TexGen() +[more] TexGen()
    -[more] TexGen(const TexGen& texgen, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] TexGen(const TexGen& texgen, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] META_StateAttribute(TexGen, TEXGEN) +[more] META_StateAttribute(osg, TexGen, TEXGEN)
    -[more]virtual int compare(const StateAttribute& sa) const +[more]virtual bool isTextureAttribute() const +
    +[more]virtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
    -[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
    -[more]inline void setMode( const Mode mode ) +[more]inline void setMode( const Mode mode )
    -[more]const Mode getMode() const +[more]const Mode getMode() const
    -[more]void setPlane(const Coord which, const Vec4& plane) +[more]void setPlane(const Coord which, const Vec4& plane)
    -[more]const Vec4& getPlane(const Coord which) const +[more]const Vec4& getPlane(const Coord which) const

    Public Members

    -[more]enum Mode +[more]enum Mode
    -[more]enum Coord +[more]enum Coord

    Protected Fields

    -[more]Mode _mode +[more]Mode _mode
    -[more]Vec4 _plane_s +[more]Vec4 _plane_s
    additional texgen coefficents for GL_OBJECT_PLANE or GL_EYE_PLANE,
    -[more]Vec4 _plane_t +[more]Vec4 _plane_t
    -[more]Vec4 _plane_r +[more]Vec4 _plane_r
    -[more]Vec4 _plane_q +[more]Vec4 _plane_q

    Protected Methods

    -[more]virtual ~TexGen( void ) +[more]virtual ~TexGen( void )

    @@ -83,9 +85,11 @@
    ovirtual bool isSameKindAs(const Object* obj) const
    +ovirtual const char* libraryName() const +
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -116,9 +120,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -128,7 +132,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -161,118 +165,122 @@
    - +
    o TexGen()

    - -

    o TexGen(const TexGen& texgen, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o TexGen(const TexGen& texgen, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy

    - -

    o META_StateAttribute(TexGen, TEXGEN) + +
    o META_StateAttribute(osg, TexGen, TEXGEN) +

    + + +

    ovirtual bool isTextureAttribute() const

    - +

    ovirtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

    - - -

    ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const + + +
    ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

    - +

    ovirtual void apply(State& state) const

    - +

    oenum Mode

    - +
    o OBJECT_LINEAR

    - +

    o EYE_LINEAR

    - +

    o SPHERE_MAP

    - +

    o NORMAL_MAP

    - +

    o REFLECTION_MAP

    - -
    oinline void setMode( const Mode mode ) + +
    oinline void setMode( const Mode mode )

    - -

    oconst Mode getMode() const + +
    oconst Mode getMode() const

    - +

    oenum Coord

    - +
    o S

    - +

    o T

    - +

    o R

    - +

    o Q

    - -
    ovoid setPlane(const Coord which, const Vec4& plane) + +
    ovoid setPlane(const Coord which, const Vec4& plane)

    - -

    oconst Vec4& getPlane(const Coord which) const + +
    oconst Vec4& getPlane(const Coord which) const

    - +

    ovirtual ~TexGen( void )

    - -

    oMode _mode + +
    oMode _mode

    - +

    oVec4 _plane_s
    additional texgen coefficents for GL_OBJECT_PLANE or GL_EYE_PLANE,

    - +

    oVec4 _plane_t

    - +

    oVec4 _plane_r

    - +

    oVec4 _plane_q

    diff --git a/doc/doc++/osg/TexMat.html b/doc/doc++/osg/TexMat.html index d3fe542ef..c6ec51b8f 100644 --- a/doc/doc++/osg/TexMat.html +++ b/doc/doc++/osg/TexMat.html @@ -23,37 +23,39 @@

    Public Methods

    -[more] TexMat() +[more] TexMat()
    -[more] TexMat(const TexMat& texmat, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] TexMat(const TexMat& texmat, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] META_StateAttribute(TexMat, TEXMAT) +[more] META_StateAttribute(osg, TexMat, TEXMAT)
    -[more]virtual int compare(const StateAttribute& sa) const +[more]virtual bool isTextureAttribute() const +
    +[more]virtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
    -[more]inline void setMatrix(const Matrix& matrix) +[more]inline void setMatrix(const Matrix& matrix)
    Set the texture matrix
    -[more]inline Matrix& getMatrix() +[more]inline Matrix& getMatrix()
    Get the texture matrix
    -[more]inline const Matrix& getMatrix() const +[more]inline const Matrix& getMatrix() const
    Get the const texture matrix
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
    apply as OpenGL texture matrix

    Protected Fields

    -[more]Matrix _matrix +[more]Matrix _matrix

    Protected Methods

    -[more]virtual ~TexMat( void ) +[more]virtual ~TexMat( void )

    @@ -67,9 +69,11 @@
    ovirtual bool isSameKindAs(const Object* obj) const
    +ovirtual const char* libraryName() const +
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -77,7 +81,7 @@
    obool operator != (const StateAttribute& rhs) const
    -ovirtual void setStateSetModes(StateSet&, const GLModeValue) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
    ovirtual void compile(State&) const

    @@ -102,9 +106,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -114,7 +118,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -147,49 +151,53 @@
    - +
    o TexMat()

    - -

    o TexMat(const TexMat& texmat, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o TexMat(const TexMat& texmat, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy

    - -

    o META_StateAttribute(TexMat, TEXMAT) + +
    o META_StateAttribute(osg, TexMat, TEXMAT) +

    + + +

    ovirtual bool isTextureAttribute() const

    - +

    ovirtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

    - +

    oinline void setMatrix(const Matrix& matrix)
    Set the texture matrix

    - +

    oinline Matrix& getMatrix()
    Get the texture matrix

    - +

    oinline const Matrix& getMatrix() const
    Get the const texture matrix

    - +

    ovirtual void apply(State& state) const
    apply as OpenGL texture matrix

    - +

    ovirtual ~TexMat( void )

    - +

    oMatrix _matrix

    diff --git a/doc/doc++/osg/Texture.html b/doc/doc++/osg/Texture.html index 250efab0b..6850a7a4c 100644 --- a/doc/doc++/osg/Texture.html +++ b/doc/doc++/osg/Texture.html @@ -23,184 +23,178 @@

    Public Methods

    -[more] Texture() +[more] Texture()
    -[more] Texture(const Texture& text, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Texture(const Texture& text, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] META_StateAttribute(Texture, (Type)(TEXTURE_0+_textureUnit)) +[more] META_StateAttribute(osg, Texture, TEXTURE)
    -[more]virtual int compare(const StateAttribute& rhs) const +[more]virtual bool isTextureAttribute() const +
    +[more]virtual int compare(const StateAttribute& rhs) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
    -[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
    -[more]void setImage(Image* image) +[more]void setImage(Image* image)
    Set the texture image.
    -[more]Image* getImage() +[more]Image* getImage()
    Get the texture image.
    -[more]inline const Image* getImage() const +[more]inline const Image* getImage() const
    Get the const texture image.
    -[more]void copyTexImage2D(State& state, int x, int y, int width, int height ) +[more]void copyTexImage2D(State& state, int x, int y, int width, int height )
    Copy pixels into a 2D texture imageAs per glCopyTexImage2D.
    -[more]void copyTexSubImage2D(State& state, int xoffset, int yoffset, int x, int y, int width, int height ) +[more]void copyTexSubImage2D(State& state, int xoffset, int yoffset, int x, int y, int width, int height )
    Copy a two-dimensional texture subimage.
    -[more]inline void setTextureUnit(const unsigned int textureUnit) -
    Set the texture unit. -
    -[more]inline const unsigned int getTextureUnit() const -
    get the texture unit -
    -[more]void setWrap(const WrapParameter which, const WrapMode wrap) +[more]void setWrap(const WrapParameter which, const WrapMode wrap)
    Set the texture wrap mode
    -[more]const WrapMode getWrap(const WrapParameter which) const +[more]const WrapMode getWrap(const WrapParameter which) const
    Get the texture wrap mode
    -[more]void setBorderColor(const Vec4& color) +[more]void setBorderColor(const Vec4& color)
    Sets the border color for this texture.
    -[more]const Vec4& borderColor(void) const +[more]const Vec4& borderColor(void) const
    -[more]void setFilter(const FilterParameter which, const FilterMode filter) +[more]void setFilter(const FilterParameter which, const FilterMode filter)
    Set the texture filter mode
    -[more]const FilterMode getFilter(const FilterParameter which) const +[more]const FilterMode getFilter(const FilterParameter which) const
    Get the texture filter mode
    -[more]inline void setInternalFormatMode(const InternalFormatMode mode) +[more]inline void setInternalFormatMode(const InternalFormatMode mode)
    Set the internal format mode.
    -[more]inline const InternalFormatMode getInternalFormatMode() const +[more]inline const InternalFormatMode getInternalFormatMode() const
    Get the internal format mode
    -[more]inline void setInternalFormatValue(const int internalFormat) +[more]inline void setInternalFormatValue(const int internalFormat)
    Set the internal format to use when creating OpenGL textures.
    -[more]inline const int getInternalFormatValue() const +[more]inline const int getInternalFormatValue() const
    Get the internal format to use when creating OpenGL textures
    -[more]inline const uint getTextureObject(const uint contextID) const +[more]inline const uint getTextureObject(const uint contextID) const
    return the OpenGL texture object for specified context
    -[more]inline void setSubloadMode(const SubloadMode mode) +[more]inline void setSubloadMode(const SubloadMode mode)
    Set the texture subload mode.
    -[more]inline const SubloadMode getSubloadMode() const +[more]inline const SubloadMode getSubloadMode() const
    Get the texture subload mode.
    -[more]inline void setSubloadOffset(const int x, const int y) +[more]inline void setSubloadOffset(const int x, const int y)
    Set the texture subload offsets.
    -[more]inline void getSubloadOffset(int& x, int& y) const +[more]inline void getSubloadOffset(int& x, int& y) const
    Get the texture subload offsets.
    -[more]inline void setSubloadSize(const int width, const int height) +[more]inline void setSubloadSize(const int width, const int height)
    Set the texture subload width.
    -[more]inline void getSubloadSize(int& width, int& height) const +[more]inline void getSubloadSize(int& width, int& height) const
    Get the texture subload width.
    -[more]inline GLuint& getHandle(const uint contextID) const +[more]inline GLuint& getHandle(const uint contextID) const
    Get the handle to the texture object for the current context
    -[more]inline uint& getModifiedTag(const uint contextID) const +[more]inline uint& getModifiedTag(const uint contextID) const
    -[more]void dirtyTextureObject() +[more]void dirtyTextureObject()
    Force a recompile on next apply() of associated OpenGL texture objects
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
    On first apply (unless already compiled), create the minmapped texture and bind it, subsequent apply will simple bind to texture
    -[more]virtual void compile(State& state) const +[more]virtual void compile(State& state) const
    Compile the texture mip maps.
    -[more]static void deleteTextureObject(uint contextID, GLuint handle) +[more]static void deleteTextureObject(uint contextID, GLuint handle)
    use deleteTextureObject instead of glDeleteTextures to allow OpenGL texture objects to cached until they can be deleted by the OpenGL context in which they were created, specified by contextID
    -[more]static void flushDeletedTextureObjects(uint contextID) +[more]static void flushDeletedTextureObjects(uint contextID)
    flush all the cached display list which need to be deleted in the OpenGL context related to contextID

    Public Members

    -[more]enum WrapParameter +[more]enum WrapParameter
    -[more]enum WrapMode +[more]enum WrapMode
    -[more]enum FilterParameter +[more]enum FilterParameter
    -[more]enum FilterMode +[more]enum FilterMode
    -[more]enum InternalFormatMode +[more]enum InternalFormatMode
    -[more]enum SubloadMode +[more]enum SubloadMode

    Protected Fields

    -[more]mutable ref_ptr<Image> _image +[more]mutable ref_ptr<Image> _image
    -[more]GLenum _target +[more]GLenum _target
    -[more]unsigned int _textureUnit +[more]WrapMode _wrap_s
    -[more]WrapMode _wrap_s +[more]WrapMode _wrap_t
    -[more]WrapMode _wrap_t +[more]WrapMode _wrap_r
    -[more]WrapMode _wrap_r +[more]FilterMode _min_filter
    -[more]FilterMode _min_filter +[more]FilterMode _mag_filter
    -[more]FilterMode _mag_filter +[more]mutable bool _texParamtersDirty
    -[more]mutable bool _texParamtersDirty +[more]InternalFormatMode _internalFormatMode
    -[more]InternalFormatMode _internalFormatMode +[more]int _internalFormatValue
    -[more]int _internalFormatValue +[more]Vec4 _borderColor
    -[more]Vec4 _borderColor +[more]mutable GLsizei _textureWidth
    -[more]mutable GLsizei _textureWidth +[more]mutable GLsizei _textureHeight
    -[more]mutable GLsizei _textureHeight +[more]SubloadMode _subloadMode
    -[more]SubloadMode _subloadMode +[more]GLint _subloadOffsX
    -[more]GLint _subloadOffsX +[more]GLint _subloadOffsY
    -[more]GLint _subloadOffsY +[more]GLsizei _subloadWidth
    -[more]GLsizei _subloadWidth -
    -[more]GLsizei _subloadHeight +[more]GLsizei _subloadHeight

    Protected Methods

    -[more]virtual ~Texture() +[more]virtual ~Texture()
    -[more]void applyTexParameters(GLenum target, State& state) const +[more]void applyTexParameters(GLenum target, State& state) const
    Method which does setting of texture paramters.
    -[more]virtual void applyTexImage(GLenum target, Image* image, State& state) const +[more]virtual void applyTexImage(GLenum target, Image* image, State& state) const
    Method which does the creation of the texture itself, and does not set or use texture binding.

    Protected Members

    -[more]typedef std::vector<GLuint> TextureNameList mutable TextureNameList _handleList +[more]typedef std::vector<GLuint> TextureNameList mutable TextureNameList _handleList
    -[more]typedef std::vector<uint> ImageModifiedTag mutable ImageModifiedTag _modifiedTag +[more]typedef std::vector<uint> ImageModifiedTag mutable ImageModifiedTag _modifiedTag
    -[more]typedef std::map<uint,std::set<uint> >static DeletedTextureObjectCache DeletedTextureObjectCache s_deletedTextureObjectCache +[more]typedef std::map<uint,std::set<uint> >static DeletedTextureObjectCache DeletedTextureObjectCache s_deletedTextureObjectCache

    @@ -214,9 +208,11 @@
    ovirtual bool isSameKindAs(const Object* obj) const
    +ovirtual const char* libraryName() const +
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -245,9 +241,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -257,7 +253,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -290,329 +286,320 @@
    - +
    o Texture()

    - -

    o Texture(const Texture& text, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o Texture(const Texture& text, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy

    - -

    o META_StateAttribute(Texture, (Type)(TEXTURE_0+_textureUnit)) + +
    o META_StateAttribute(osg, Texture, TEXTURE) +

    + + +

    ovirtual bool isTextureAttribute() const

    - +

    ovirtual int compare(const StateAttribute& rhs) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

    - - -

    ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const + + +
    ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

    - +

    ovoid setImage(Image* image)
    Set the texture image.

    - +

    oImage* getImage()
    Get the texture image.

    - +

    oinline const Image* getImage() const
    Get the const texture image.

    - -

    ovoid copyTexImage2D(State& state, int x, int y, int width, int height ) + +
    ovoid copyTexImage2D(State& state, int x, int y, int width, int height )
    Copy pixels into a 2D texture imageAs per glCopyTexImage2D. Creates an OpenGL texture object from the current OpenGL background framebuffer contents at pos \a x, \a y with width \a width and height \a height. \a width and \a height must be a power of two.

    - -

    ovoid copyTexSubImage2D(State& state, int xoffset, int yoffset, int x, int y, int width, int height ) + +
    ovoid copyTexSubImage2D(State& state, int xoffset, int yoffset, int x, int y, int width, int height )
    Copy a two-dimensional texture subimage. As per glCopyTexSubImage2D. Updates portion of an existing OpenGL texture object from the current OpenGL background framebuffer contents at pos \a x, \a y with width \a width and height \a height. \a width and \a height must be a power of two, and writing into the texture with offset \a xoffset and \a yoffset.

    - - -

    oinline void setTextureUnit(const unsigned int textureUnit) -
    Set the texture unit. -Valid values are 0,1,2,3. -Default value of texture unit is 0. -note, multi-texturing not fully implemented yet... April 2001. -

    - - -

    oinline const unsigned int getTextureUnit() const -
    get the texture unit -

    - +

    oenum WrapParameter

    - +
    o WRAP_S

    - +

    o WRAP_T

    - +

    o WRAP_R

    - +
    oenum WrapMode

    - +
    o CLAMP

    - +

    o CLAMP_TO_EDGE

    - +

    o CLAMP_TO_BORDER

    - +

    o REPEAT

    - +

    o MIRROR

    - -
    ovoid setWrap(const WrapParameter which, const WrapMode wrap) + +
    ovoid setWrap(const WrapParameter which, const WrapMode wrap)
    Set the texture wrap mode

    - -

    oconst WrapMode getWrap(const WrapParameter which) const + +
    oconst WrapMode getWrap(const WrapParameter which) const
    Get the texture wrap mode

    - +

    ovoid setBorderColor(const Vec4& color)
    Sets the border color for this texture. Makes difference only if wrap mode is CLAMP_TO_BORDER

    - +

    oconst Vec4& borderColor(void) const

    - +

    oenum FilterParameter

    - +
    o MIN_FILTER

    - +

    o MAG_FILTER

    - +
    oenum FilterMode

    - +
    o LINEAR

    - +

    o LINEAR_MIPMAP_LINEAR

    - +

    o LINEAR_MIPMAP_NEAREST

    - +

    o NEAREST

    - +

    o NEAREST_MIPMAP_LINEAR

    - +

    o NEAREST_MIPMAP_NEAREST

    - +

    o ANISOTROPIC

    - -
    ovoid setFilter(const FilterParameter which, const FilterMode filter) + +
    ovoid setFilter(const FilterParameter which, const FilterMode filter)
    Set the texture filter mode

    - -

    oconst FilterMode getFilter(const FilterParameter which) const + +
    oconst FilterMode getFilter(const FilterParameter which) const
    Get the texture filter mode

    - +

    oenum InternalFormatMode

    - +
    o USE_IMAGE_DATA_FORMAT

    - +

    o USE_USER_DEFINED_FORMAT

    - +

    o USE_ARB_COMPRESSION

    - +

    o USE_S3TC_DXT1_COMPRESSION

    - +

    o USE_S3TC_DXT3_COMPRESSION

    - +

    o USE_S3TC_DXT5_COMPRESSION

    - -
    oinline void setInternalFormatMode(const InternalFormatMode mode) + +
    oinline void setInternalFormatMode(const InternalFormatMode mode)
    Set the internal format mode. Note, If the mode is set USE_IMAGE_DATA_FORMAT, USE_ARB_COMPRESSION, USE_S3TC_COMPRESSION the internalFormat is automatically selected, and will overwrite the previous _internalFormatValue.

    - -

    oinline const InternalFormatMode getInternalFormatMode() const + +
    oinline const InternalFormatMode getInternalFormatMode() const
    Get the internal format mode

    - +

    oinline void setInternalFormatValue(const int internalFormat)
    Set the internal format to use when creating OpenGL textures. Also sets the internalFormatMode to USE_USER_DEFINED_FORMAT.

    - +

    oinline const int getInternalFormatValue() const
    Get the internal format to use when creating OpenGL textures

    - +

    oinline const uint getTextureObject(const uint contextID) const
    return the OpenGL texture object for specified context

    - +

    oenum SubloadMode

    - +
    o OFF

    - +

    o AUTO

    - +

    o IF_DIRTY

    - -
    oinline void setSubloadMode(const SubloadMode mode) + +
    oinline void setSubloadMode(const SubloadMode mode)
    Set the texture subload mode.

    - -

    oinline const SubloadMode getSubloadMode() const + +
    oinline const SubloadMode getSubloadMode() const
    Get the texture subload mode.

    - -

    oinline void setSubloadOffset(const int x, const int y) + +
    oinline void setSubloadOffset(const int x, const int y)
    Set the texture subload offsets.

    - -

    oinline void getSubloadOffset(int& x, int& y) const + +
    oinline void getSubloadOffset(int& x, int& y) const
    Get the texture subload offsets.

    - -

    oinline void setSubloadSize(const int width, const int height) + +
    oinline void setSubloadSize(const int width, const int height)
    Set the texture subload width. If width or height are zero then the repsective size value is calculated from the source image sizes.

    - -

    oinline void getSubloadSize(int& width, int& height) const + +
    oinline void getSubloadSize(int& width, int& height) const
    Get the texture subload width.

    - +

    oinline GLuint& getHandle(const uint contextID) const
    Get the handle to the texture object for the current context

    - +

    oinline uint& getModifiedTag(const uint contextID) const

    - +

    ovoid dirtyTextureObject()
    Force a recompile on next apply() of associated OpenGL texture objects

    - +

    ovirtual void apply(State& state) const
    On first apply (unless already compiled), create the minmapped texture and bind it, subsequent apply will simple bind to texture

    - +

    ovirtual void compile(State& state) const
    Compile the texture mip maps. Implemented by simply calling apply().

    - +

    ostatic void deleteTextureObject(uint contextID, GLuint handle)
    use deleteTextureObject instead of glDeleteTextures to allow OpenGL texture objects to cached until they can be deleted @@ -620,112 +607,108 @@ by the OpenGL context in which they were created, specified by contextID

    - +

    ostatic void flushDeletedTextureObjects(uint contextID)
    flush all the cached display list which need to be deleted in the OpenGL context related to contextID

    - +

    ovirtual ~Texture()

    - +

    ovoid applyTexParameters(GLenum target, State& state) const
    Method which does setting of texture paramters.

    - +

    ovirtual void applyTexImage(GLenum target, Image* image, State& state) const
    Method which does the creation of the texture itself, and does not set or use texture binding.

    - +

    otypedef std::vector<GLuint> TextureNameList mutable TextureNameList _handleList

    - +

    otypedef std::vector<uint> ImageModifiedTag mutable ImageModifiedTag _modifiedTag

    - +

    omutable ref_ptr<Image> _image

    - +

    oGLenum _target

    - - -

    ounsigned int _textureUnit -

    - -

    oWrapMode _wrap_s + +
    oWrapMode _wrap_s

    - -

    oWrapMode _wrap_t + +
    oWrapMode _wrap_t

    - -

    oWrapMode _wrap_r + +
    oWrapMode _wrap_r

    - -

    oFilterMode _min_filter + +
    oFilterMode _min_filter

    - -

    oFilterMode _mag_filter + +
    oFilterMode _mag_filter

    - +

    omutable bool _texParamtersDirty

    - -

    oInternalFormatMode _internalFormatMode + +
    oInternalFormatMode _internalFormatMode

    - +

    oint _internalFormatValue

    - +

    oVec4 _borderColor

    - +

    omutable GLsizei _textureWidth

    - +

    omutable GLsizei _textureHeight

    - -

    oSubloadMode _subloadMode + +
    oSubloadMode _subloadMode

    - +

    oGLint _subloadOffsX

    - +

    oGLint _subloadOffsY

    - +

    oGLsizei _subloadWidth

    - +

    oGLsizei _subloadHeight

    - +

    otypedef std::map<uint,std::set<uint> >static DeletedTextureObjectCache DeletedTextureObjectCache s_deletedTextureObjectCache


    diff --git a/doc/doc++/osg/TextureCubeMap.html b/doc/doc++/osg/TextureCubeMap.html index 9c1a14d47..69335ae67 100644 --- a/doc/doc++/osg/TextureCubeMap.html +++ b/doc/doc++/osg/TextureCubeMap.html @@ -23,50 +23,50 @@

    Public Methods

    -[more] TextureCubeMap() +[more] TextureCubeMap()
    -[more] TextureCubeMap(const TextureCubeMap& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] TextureCubeMap(const TextureCubeMap& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] META_StateAttribute(TextureCubeMap, (Type)(TEXTURE_0+_textureUnit)) +[more] META_StateAttribute(osg, TextureCubeMap, TEXTURE)
    -[more]virtual int compare(const StateAttribute& rhs) const +[more]virtual int compare(const StateAttribute& rhs) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
    -[more]void setImage(const Face, Image* image) +[more]void setImage(const Face, Image* image)
    Set the texture image for specified face.
    -[more]Image* getImage(const Face) +[more]Image* getImage(const Face)
    Get the texture image for specified face.
    -[more]const Image* getImage(const Face) const +[more]const Image* getImage(const Face) const
    Get the const texture image for specified face.
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
    On first apply (unless already compiled), create the minmapped texture and bind it, subsequent apply will simple bind to texture

    Public Members

    -[more]enum Face +[more]enum Face

    Protected Fields

    -[more]mutable ref_ptr<Image> _images[6] +[more]mutable ref_ptr<Image> _images[6]

    Protected Methods

    -[more]virtual ~TextureCubeMap() +[more]virtual ~TextureCubeMap()
    -[more]bool imagesValid() const +[more]bool imagesValid() const
    -[more]void setImage(Image*) +[more]void setImage(Image*)
    -[more]Image* getImage() +[more]Image* getImage()
    -[more]const Image* getImage() const +[more]const Image* getImage() const

    @@ -74,31 +74,29 @@

    Public Methods

    -ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const +ovirtual bool isTextureAttribute() const
    -ovoid copyTexImage2D(State& state, int x, int y, int width, int height ) +ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const
    -ovoid copyTexSubImage2D(State& state, int xoffset, int yoffset, int x, int y, int width, int height ) +ovoid copyTexImage2D(State& state, int x, int y, int width, int height )
    -oinline void setTextureUnit(const unsigned int textureUnit) +ovoid copyTexSubImage2D(State& state, int xoffset, int yoffset, int x, int y, int width, int height )
    -oinline const unsigned int getTextureUnit() const +ovoid setWrap(const WrapParameter which, const WrapMode wrap)
    -ovoid setWrap(const WrapParameter which, const WrapMode wrap) -
    -oconst WrapMode getWrap(const WrapParameter which) const +oconst WrapMode getWrap(const WrapParameter which) const
    ovoid setBorderColor(const Vec4& color)
    oconst Vec4& borderColor(void) const
    -ovoid setFilter(const FilterParameter which, const FilterMode filter) +ovoid setFilter(const FilterParameter which, const FilterMode filter)
    -oconst FilterMode getFilter(const FilterParameter which) const +oconst FilterMode getFilter(const FilterParameter which) const
    -oinline void setInternalFormatMode(const InternalFormatMode mode) +oinline void setInternalFormatMode(const InternalFormatMode mode)
    -oinline const InternalFormatMode getInternalFormatMode() const +oinline const InternalFormatMode getInternalFormatMode() const
    oinline void setInternalFormatValue(const int internalFormat)
    @@ -106,17 +104,17 @@
    oinline const uint getTextureObject(const uint contextID) const
    -oinline void setSubloadMode(const SubloadMode mode) +oinline void setSubloadMode(const SubloadMode mode)
    -oinline const SubloadMode getSubloadMode() const +oinline const SubloadMode getSubloadMode() const
    -oinline void setSubloadOffset(const int x, const int y) +oinline void setSubloadOffset(const int x, const int y)
    -oinline void getSubloadOffset(int& x, int& y) const +oinline void getSubloadOffset(int& x, int& y) const
    -oinline void setSubloadSize(const int width, const int height) +oinline void setSubloadSize(const int width, const int height)
    -oinline void getSubloadSize(int& width, int& height) const +oinline void getSubloadSize(int& width, int& height) const
    oinline GLuint& getHandle(const uint contextID) const
    @@ -152,21 +150,19 @@
    oGLenum _target
    -ounsigned int _textureUnit +oWrapMode _wrap_s
    -oWrapMode _wrap_s +oWrapMode _wrap_t
    -oWrapMode _wrap_t +oWrapMode _wrap_r
    -oWrapMode _wrap_r +oFilterMode _min_filter
    -oFilterMode _min_filter -
    -oFilterMode _mag_filter +oFilterMode _mag_filter
    omutable bool _texParamtersDirty
    -oInternalFormatMode _internalFormatMode +oInternalFormatMode _internalFormatMode
    oint _internalFormatValue
    @@ -176,7 +172,7 @@
    omutable GLsizei _textureHeight
    -oSubloadMode _subloadMode +oSubloadMode _subloadMode
    oGLint _subloadOffsX
    @@ -214,9 +210,11 @@
    ovirtual bool isSameKindAs(const Object* obj) const
    +ovirtual const char* libraryName() const +
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -245,9 +243,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -257,7 +255,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -290,96 +288,96 @@
    - +
    o TextureCubeMap()

    - -

    o TextureCubeMap(const TextureCubeMap& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o TextureCubeMap(const TextureCubeMap& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy

    - -

    o META_StateAttribute(TextureCubeMap, (Type)(TEXTURE_0+_textureUnit)) + +
    o META_StateAttribute(osg, TextureCubeMap, TEXTURE)

    - +

    ovirtual int compare(const StateAttribute& rhs) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

    - +

    oenum Face

    - +
    o POSITIVE_X

    - +

    o NEGATIVE_X

    - +

    o POSITIVE_Y

    - +

    o NEGATIVE_Y

    - +

    o POSITIVE_Z

    - +

    o NEGATIVE_Z

    - -
    ovoid setImage(const Face, Image* image) + +
    ovoid setImage(const Face, Image* image)
    Set the texture image for specified face.

    - -

    oImage* getImage(const Face) + +
    oImage* getImage(const Face)
    Get the texture image for specified face.

    - -

    oconst Image* getImage(const Face) const + +
    oconst Image* getImage(const Face) const
    Get the const texture image for specified face.

    - +

    ovirtual void apply(State& state) const
    On first apply (unless already compiled), create the minmapped texture and bind it, subsequent apply will simple bind to texture

    - +

    ovirtual ~TextureCubeMap()

    - +

    obool imagesValid() const

    - +

    ovoid setImage(Image*)

    - +

    oImage* getImage()

    - +

    oconst Image* getImage() const

    - +

    omutable ref_ptr<Image> _images[6]

    diff --git a/doc/doc++/osg/Timer.html b/doc/doc++/osg/Timer.html index edccb0367..670748cc6 100644 --- a/doc/doc++/osg/Timer.html +++ b/doc/doc++/osg/Timer.html @@ -13,21 +13,21 @@

    Public Methods

    -[more] Timer() +[more] Timer()
    -[more] ~Timer() +[more] ~Timer()
    -[more]inline double delta_s( Timer_t t1, Timer_t t2 ) const +[more]inline double delta_s( Timer_t t1, Timer_t t2 ) const
    -[more]inline double delta_m( Timer_t t1, Timer_t t2 ) const +[more]inline double delta_m( Timer_t t1, Timer_t t2 ) const
    -[more]inline double delta_u( Timer_t t1, Timer_t t2 ) const +[more]inline double delta_u( Timer_t t1, Timer_t t2 ) const
    -[more]inline double delta_n( Timer_t t1, Timer_t t2 ) const +[more]inline double delta_n( Timer_t t1, Timer_t t2 ) const
    -[more]inline Timer_t tick() const +[more]inline Timer_t tick() const
    -[more]inline Timer_t tick( void ) const +[more]inline Timer_t tick( void ) const

    @@ -39,35 +39,35 @@
    - +
    o Timer()

    - +

    o ~Timer()

    - +

    oinline double delta_s( Timer_t t1, Timer_t t2 ) const

    - +

    oinline double delta_m( Timer_t t1, Timer_t t2 ) const

    - +

    oinline double delta_u( Timer_t t1, Timer_t t2 ) const

    - +

    oinline double delta_n( Timer_t t1, Timer_t t2 ) const

    - +

    oinline Timer_t tick() const

    - +

    oinline Timer_t tick( void ) const

    diff --git a/doc/doc++/osg/Transform.html b/doc/doc++/osg/Transform.html index 13388243d..55a86a123 100644 --- a/doc/doc++/osg/Transform.html +++ b/doc/doc++/osg/Transform.html @@ -11,11 +11,11 @@

    Inheritance:

    - - - - - + + + + +
    @@ -23,81 +23,81 @@

    Public Methods

    -[more] Transform() +[more] Transform()
    -[more] Transform(const Transform&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Transform(const Transform&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] Transform(const Matrix& matix) +[more] Transform(const Matrix& matix)
    -[more] META_Node(Transform) +[more] META_Node(osg, Transform)
    -[more]void setReferenceFrame(ReferenceFrame rf) +[more]void setReferenceFrame(ReferenceFrame rf)
    Set the transform's ReferenceFrame, either to be realtive to its parent reference frame, or relative to an absolute coordinate frame.
    -[more]const ReferenceFrame getReferenceFrame() const +[more]const ReferenceFrame getReferenceFrame() const
    -[more]void setComputeTransformCallback(ComputeTransformCallback* ctc) +[more]void setComputeTransformCallback(ComputeTransformCallback* ctc)
    Set the ComputerTransfromCallback which allows users to attach custom computation of the local transformation as seen by cull traversers and alike
    -[more]ComputeTransformCallback* getComputeTransformCallback() +[more]ComputeTransformCallback* getComputeTransformCallback()
    Get the non const ComputerTransfromCallback
    -[more]const ComputeTransformCallback* getComputeTransformCallback() const +[more]const ComputeTransformCallback* getComputeTransformCallback() const
    Get the const ComputerTransfromCallback
    -[more]inline const bool getLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const +[more]inline const bool getLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const
    Get the transformation matrix which moves from local coords to world coords.
    -[more]inline const bool getWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const +[more]inline const bool getWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const
    Get the transformation matrix which moves from world coords to local coords.
    -[more]void setMatrix(const Matrix& mat) +[more]void setMatrix(const Matrix& mat)
    Set the transform's matrix
    -[more]inline const Matrix& getMatrix() const +[more]inline const Matrix& getMatrix() const
    Get the transform's matrix.
    -[more]void preMult(const Matrix& mat) +[more]void preMult(const Matrix& mat)
    preMult transform
    -[more]void postMult(const Matrix& mat) +[more]void postMult(const Matrix& mat)
    postMult transform
    -[more]virtual const bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor*) const +[more]virtual const bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor*) const
    -[more]virtual const bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor*) const +[more]virtual const bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor*) const

    Public Members

    -[more]enum ReferenceFrame +[more]enum ReferenceFrame
    -[more]struct ComputeTransformCallback: public osg::Referenced +[more]struct ComputeTransformCallback: public osg::Referenced
    Callback attached to an Transform to specifiy how to compute the modelview transformation for the transform below the Transform node

    Protected Fields

    -[more]ref_ptr<ComputeTransformCallback> _computeTransformCallback +[more]ref_ptr<ComputeTransformCallback> _computeTransformCallback
    -[more]ReferenceFrame _referenceFrame +[more]ReferenceFrame _referenceFrame
    -[more]ref_ptr<Matrix> _matrix +[more]ref_ptr<Matrix> _deprecated_matrix
    -[more]mutable ref_ptr<Matrix> _inverse +[more]mutable ref_ptr<Matrix> _deprecated_inverse
    -[more]mutable bool _inverseDirty +[more]mutable bool _deprecated_inverseDirty

    Protected Methods

    -[more]virtual ~Transform() +[more]virtual ~Transform()
    -[more]virtual const bool computeBound() const +[more]virtual const bool computeBound() const
    Override's Group's computeBound.
    -[more]inline void computeInverse() const +[more]inline void computeInverse() const

    @@ -154,39 +154,39 @@ mode to on via stateset->setMode(GL_NORMALIZE,osg::StateAttribute::ON);. - +
    o Transform()

    - -

    o Transform(const Transform&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o Transform(const Transform&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy

    - +

    o Transform(const Matrix& matix)

    - -

    o META_Node(Transform) + +
    o META_Node(osg, Transform)

    - +

    oenum ReferenceFrame

    - +
    o RELATIVE_TO_PARENTS

    - +

    o RELATIVE_TO_ABSOLUTE

    - -
    ovoid setReferenceFrame(ReferenceFrame rf) + +
    ovoid setReferenceFrame(ReferenceFrame rf)
    Set the transform's ReferenceFrame, either to be realtive to its parent reference frame, or relative to an absolute coordinate frame. RELATIVE_TO_PARENTS is the default. Note, setting the RefrenceFrame to be RELATIVE_TO_ABSOLUTE will also set the CullingActive flag on the @@ -197,121 +197,122 @@ abolsoute Transforms at the top of the scene, for such things as headlight Light Head up displays.

    - -

    oconst ReferenceFrame getReferenceFrame() const + +
    oconst ReferenceFrame getReferenceFrame() const

    - +

    ostruct ComputeTransformCallback: public osg::Referenced
    Callback attached to an Transform to specifiy how to compute the modelview transformation for the transform below the Transform node

    - -
    ovirtual const bool computeLocalToWorldMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const = 0 + +
    ovirtual const bool computeLocalToWorldMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const = 0
    Get the transformation matrix which moves from local coords to world coords

    - -

    ovirtual const bool computeWorldToLocalMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const = 0 + +
    ovirtual const bool computeWorldToLocalMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const = 0
    Get the transformation matrix which moves from world coords to local coords

    - -
    ovoid setComputeTransformCallback(ComputeTransformCallback* ctc) + +
    ovoid setComputeTransformCallback(ComputeTransformCallback* ctc)
    Set the ComputerTransfromCallback which allows users to attach custom computation of the local transformation as seen by cull traversers and alike

    - -

    oComputeTransformCallback* getComputeTransformCallback() + +
    oComputeTransformCallback* getComputeTransformCallback()
    Get the non const ComputerTransfromCallback

    - -

    oconst ComputeTransformCallback* getComputeTransformCallback() const + +
    oconst ComputeTransformCallback* getComputeTransformCallback() const
    Get the const ComputerTransfromCallback

    - +

    oinline const bool getLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const
    Get the transformation matrix which moves from local coords to world coords. Return true if Matrix passed in has been modified and

    - +

    oinline const bool getWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const
    Get the transformation matrix which moves from world coords to local coords. Return true if Matrix passed in has been modified and

    - +

    ovoid setMatrix(const Matrix& mat)
    Set the transform's matrix

    - +

    oinline const Matrix& getMatrix() const
    Get the transform's matrix.

    - +

    ovoid preMult(const Matrix& mat)
    preMult transform

    - +

    ovoid postMult(const Matrix& mat)
    postMult transform

    - +

    ovirtual const bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor*) const

    - +

    ovirtual const bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor*) const

    - +

    ovirtual ~Transform()

    - +

    ovirtual const bool computeBound() const
    Override's 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.)

    - - -

    oinline void computeInverse() const -

    - -

    oref_ptr<ComputeTransformCallback> _computeTransformCallback + +
    oref_ptr<ComputeTransformCallback> _computeTransformCallback

    - -

    oReferenceFrame _referenceFrame + +
    oReferenceFrame _referenceFrame

    - - -

    oref_ptr<Matrix> _matrix + + +
    oinline void computeInverse() const

    - - -

    omutable ref_ptr<Matrix> _inverse + + +
    oref_ptr<Matrix> _deprecated_matrix

    - - -

    omutable bool _inverseDirty + + +
    omutable ref_ptr<Matrix> _deprecated_inverse +

    + + +

    omutable bool _deprecated_inverseDirty


    Direct child classes:
    PositionAttitudeTransform
    +MatrixTransform

    Alphabetic index HTML hierarchy of classes or Java


    diff --git a/doc/doc++/osg/Vec2.html b/doc/doc++/osg/Vec2.html index b26fb94f4..10795d9b7 100644 --- a/doc/doc++/osg/Vec2.html +++ b/doc/doc++/osg/Vec2.html @@ -13,80 +13,80 @@

    Public Fields

    -[more]float _v[2] +[more]float _v[2]

    Public Methods

    -[more] Vec2() +[more] Vec2()
    -[more] Vec2(float x, float y) +[more] Vec2(float x, float y)
    -[more]inline const bool operator == (const Vec2& v) const +[more]inline const bool operator == (const Vec2& v) const
    -[more]inline const bool operator != (const Vec2& v) const +[more]inline const bool operator != (const Vec2& v) const
    -[more]inline const bool operator < (const Vec2& v) const +[more]inline const bool operator < (const Vec2& v) const
    -[more]inline float* ptr() +[more]inline float* ptr()
    -[more]inline const float* ptr() const +[more]inline const float* ptr() const
    -[more]inline void set( float x, float y ) +[more]inline void set( float x, float y )
    -[more]inline float& operator [] (int i) +[more]inline float& operator [] (int i)
    -[more]inline const float operator [] (int i) const +[more]inline const float operator [] (int i) const
    -[more]inline float& x() +[more]inline float& x()
    -[more]inline float& y() +[more]inline float& y()
    -[more]inline const float x() const +[more]inline const float x() const
    -[more]inline const float y() const +[more]inline const float y() const
    -[more]inline const bool valid() const +[more]inline const bool valid() const
    -[more]inline const bool isNaN() const +[more]inline const bool isNaN() const
    -[more]inline const float operator * (const Vec2& rhs) const +[more]inline const float operator * (const Vec2& rhs) const
    dot product
    -[more]inline const Vec2 operator * (const float& rhs) const +[more]inline const Vec2 operator * (const float& rhs) const
    multiply by scalar
    -[more]inline Vec2& operator *= (const float& rhs) +[more]inline Vec2& operator *= (const float& rhs)
    unary multiply by scalar
    -[more]inline const Vec2 operator / (const float& rhs) const +[more]inline const Vec2 operator / (const float& rhs) const
    divide by scalar
    -[more]inline Vec2& operator /= (const float& rhs) +[more]inline Vec2& operator /= (const float& rhs)
    unary divide by scalar
    -[more]inline const Vec2 operator + (const Vec2& rhs) const +[more]inline const Vec2 operator + (const Vec2& rhs) const
    binary vector add
    -[more]inline Vec2& operator += (const Vec2& rhs) +[more]inline Vec2& operator += (const Vec2& rhs)
    unary vector add.
    -[more]inline const Vec2 operator - (const Vec2& rhs) const +[more]inline const Vec2 operator - (const Vec2& rhs) const
    binary vector subtract
    -[more]inline Vec2& operator -= (const Vec2& rhs) +[more]inline Vec2& operator -= (const Vec2& rhs)
    unary vector subtract
    -[more]inline const Vec2 operator - () const +[more]inline const Vec2 operator - () const
    negation operator.
    -[more]inline const float length() const +[more]inline const float length() const
    Length of the vector = sqrt( vec .
    -[more]inline const float length2( void ) const +[more]inline const float length2( void ) const
    Length squared of the vector = vec .
    -[more]inline const float normalize() +[more]inline const float normalize()
    normalize the vector so that it has length unity returns the previous length of the vector

    @@ -103,136 +103,136 @@ BTW: Vec2 * float is okay
    - +
    o Vec2()

    - -

    o Vec2(float x, float y) + +
    o Vec2(float x, float y)

    - +

    ofloat _v[2]

    - +

    oinline const bool operator == (const Vec2& v) const

    - +

    oinline const bool operator != (const Vec2& v) const

    - +

    oinline const bool operator < (const Vec2& v) const

    - +

    oinline float* ptr()

    - +

    oinline const float* ptr() const

    - -

    oinline void set( float x, float y ) + +
    oinline void set( float x, float y )

    - +

    oinline float& operator [] (int i)

    - +

    oinline const float operator [] (int i) const

    - +

    oinline float& x()

    - +

    oinline float& y()

    - +

    oinline const float x() const

    - +

    oinline const float y() const

    - +

    oinline const bool valid() const

    - +

    oinline const bool isNaN() const

    - +

    oinline const float operator * (const Vec2& rhs) const
    dot product

    - +

    oinline const Vec2 operator * (const float& rhs) const
    multiply by scalar

    - +

    oinline Vec2& operator *= (const float& rhs)
    unary multiply by scalar

    - +

    oinline const Vec2 operator / (const float& rhs) const
    divide by scalar

    - +

    oinline Vec2& operator /= (const float& rhs)
    unary divide by scalar

    - +

    oinline const Vec2 operator + (const Vec2& rhs) const
    binary vector add

    - +

    oinline Vec2& operator += (const Vec2& rhs)
    unary vector add. Slightly more efficient because no temporary intermediate object.

    - +

    oinline const Vec2 operator - (const Vec2& rhs) const
    binary vector subtract

    - +

    oinline Vec2& operator -= (const Vec2& rhs)
    unary vector subtract

    - +

    oinline const Vec2 operator - () const
    negation operator. Returns the negative of the Vec2

    - +

    oinline const float length() const
    Length of the vector = sqrt( vec . vec )

    - +

    oinline const float length2( void ) const
    Length squared of the vector = vec . vec

    - +

    oinline const float normalize()
    normalize the vector so that it has length unity returns the previous length of the vector diff --git a/doc/doc++/osg/Vec3.html b/doc/doc++/osg/Vec3.html index 2c4f03f74..de6ed05f4 100644 --- a/doc/doc++/osg/Vec3.html +++ b/doc/doc++/osg/Vec3.html @@ -13,87 +13,87 @@

    Public Fields

    -[more]float _v[3] +[more]float _v[3]

    Public Methods

    -[more] Vec3() +[more] Vec3()
    -[more] Vec3(float x, float y, float z) +[more] Vec3(float x, float y, float z)
    -[more]inline const bool operator == (const Vec3& v) const +[more]inline const bool operator == (const Vec3& v) const
    -[more]inline const bool operator != (const Vec3& v) const +[more]inline const bool operator != (const Vec3& v) const
    -[more]inline const bool operator < (const Vec3& v) const +[more]inline const bool operator < (const Vec3& v) const
    -[more]inline float* ptr() +[more]inline float* ptr()
    -[more]inline const float* ptr() const +[more]inline const float* ptr() const
    -[more]inline void set( float x, float y, float z) +[more]inline void set( float x, float y, float z)
    -[more]inline float& operator [] (int i) +[more]inline float& operator [] (int i)
    -[more]inline const float operator [] (int i) const +[more]inline const float operator [] (int i) const
    -[more]inline float& x() +[more]inline float& x()
    -[more]inline float& y() +[more]inline float& y()
    -[more]inline float& z() +[more]inline float& z()
    -[more]inline const float x() const +[more]inline const float x() const
    -[more]inline const float y() const +[more]inline const float y() const
    -[more]inline const float z() const +[more]inline const float z() const
    -[more]inline const bool valid() const +[more]inline const bool valid() const
    -[more]inline const bool isNaN() const +[more]inline const bool isNaN() const
    -[more]inline float operator * (const Vec3& rhs) const +[more]inline float operator * (const Vec3& rhs) const
    dot product
    -[more]inline const Vec3 operator ^ (const Vec3& rhs) const +[more]inline const Vec3 operator ^ (const Vec3& rhs) const
    cross product
    -[more]inline const Vec3 operator * (const float& rhs) const +[more]inline const Vec3 operator * (const float& rhs) const
    multiply by scalar
    -[more]inline Vec3& operator *= (const float& rhs) +[more]inline Vec3& operator *= (const float& rhs)
    unary multiply by scalar
    -[more]inline const Vec3 operator / (const float& rhs) const +[more]inline const Vec3 operator / (const float& rhs) const
    divide by scalar
    -[more]inline Vec3& operator /= (const float& rhs) +[more]inline Vec3& operator /= (const float& rhs)
    unary divide by scalar
    -[more]inline const Vec3 operator + (const Vec3& rhs) const +[more]inline const Vec3 operator + (const Vec3& rhs) const
    binary vector add
    -[more]inline Vec3& operator += (const Vec3& rhs) +[more]inline Vec3& operator += (const Vec3& rhs)
    unary vector add.
    -[more]inline const Vec3 operator - (const Vec3& rhs) const +[more]inline const Vec3 operator - (const Vec3& rhs) const
    binary vector subtract
    -[more]inline Vec3& operator -= (const Vec3& rhs) +[more]inline Vec3& operator -= (const Vec3& rhs)
    unary vector subtract
    -[more]inline const Vec3 operator - () const +[more]inline const Vec3 operator - () const
    negation operator.
    -[more]inline const float length() const +[more]inline const float length() const
    Length of the vector = sqrt( vec .
    -[more]inline const float length2() const +[more]inline const float length2() const
    Length squared of the vector = vec .
    -[more]inline const float normalize() +[more]inline const float normalize()
    normalize the vector so that it has length unity returns the previous length of the vector

    @@ -110,149 +110,149 @@ Vec3 * float is okay
    - +
    o Vec3()

    - -

    o Vec3(float x, float y, float z) + +
    o Vec3(float x, float y, float z)

    - +

    ofloat _v[3]

    - +

    oinline const bool operator == (const Vec3& v) const

    - +

    oinline const bool operator != (const Vec3& v) const

    - +

    oinline const bool operator < (const Vec3& v) const

    - +

    oinline float* ptr()

    - +

    oinline const float* ptr() const

    - -

    oinline void set( float x, float y, float z) + +
    oinline void set( float x, float y, float z)

    - +

    oinline float& operator [] (int i)

    - +

    oinline const float operator [] (int i) const

    - +

    oinline float& x()

    - +

    oinline float& y()

    - +

    oinline float& z()

    - +

    oinline const float x() const

    - +

    oinline const float y() const

    - +

    oinline const float z() const

    - +

    oinline const bool valid() const

    - +

    oinline const bool isNaN() const

    - +

    oinline float operator * (const Vec3& rhs) const
    dot product

    - +

    oinline const Vec3 operator ^ (const Vec3& rhs) const
    cross product

    - +

    oinline const Vec3 operator * (const float& rhs) const
    multiply by scalar

    - +

    oinline Vec3& operator *= (const float& rhs)
    unary multiply by scalar

    - +

    oinline const Vec3 operator / (const float& rhs) const
    divide by scalar

    - +

    oinline Vec3& operator /= (const float& rhs)
    unary divide by scalar

    - +

    oinline const Vec3 operator + (const Vec3& rhs) const
    binary vector add

    - +

    oinline Vec3& operator += (const Vec3& rhs)
    unary vector add. Slightly more efficient because no temporary intermediate object

    - +

    oinline const Vec3 operator - (const Vec3& rhs) const
    binary vector subtract

    - +

    oinline Vec3& operator -= (const Vec3& rhs)
    unary vector subtract

    - +

    oinline const Vec3 operator - () const
    negation operator. Returns the negative of the Vec3

    - +

    oinline const float length() const
    Length of the vector = sqrt( vec . vec )

    - +

    oinline const float length2() const
    Length squared of the vector = vec . vec

    - +

    oinline const float normalize()
    normalize the vector so that it has length unity returns the previous length of the vector diff --git a/doc/doc++/osg/Vec4.html b/doc/doc++/osg/Vec4.html index 62316563d..795ae99d6 100644 --- a/doc/doc++/osg/Vec4.html +++ b/doc/doc++/osg/Vec4.html @@ -13,94 +13,94 @@

    Public Fields

    -[more]float _v[4] +[more]float _v[4]

    Public Methods

    -[more] Vec4() +[more] Vec4()
    -[more] Vec4(float x, float y, float z, float w) +[more] Vec4(float x, float y, float z, float w)
    -[more] Vec4(const Vec3& v3, float w) +[more] Vec4(const Vec3& v3, float w)
    -[more]inline const bool operator == (const Vec4& v) const +[more]inline const bool operator == (const Vec4& v) const
    -[more]inline const bool operator != (const Vec4& v) const +[more]inline const bool operator != (const Vec4& v) const
    -[more]inline const bool operator < (const Vec4& v) const +[more]inline const bool operator < (const Vec4& v) const
    -[more]inline float* ptr() +[more]inline float* ptr()
    -[more]inline const float* ptr() const +[more]inline const float* ptr() const
    -[more]inline void set( float x, float y, float z, float w) +[more]inline void set( float x, float y, float z, float w)
    -[more]inline float& operator [] (const int i) +[more]inline float& operator [] (const int i)
    -[more]inline float operator [] (const int i) const +[more]inline float operator [] (const int i) const
    -[more]inline float& x() +[more]inline float& x()
    -[more]inline float& y() +[more]inline float& y()
    -[more]inline float& z() +[more]inline float& z()
    -[more]inline float& w() +[more]inline float& w()
    -[more]inline float x() const +[more]inline float x() const
    -[more]inline float y() const +[more]inline float y() const
    -[more]inline float z() const +[more]inline float z() const
    -[more]inline float w() const +[more]inline float w() const
    -[more]inline unsigned long asABGR() const +[more]inline unsigned long asABGR() const
    -[more]inline const unsigned long asRGBA() const +[more]inline const unsigned long asRGBA() const
    -[more]inline const bool valid() const +[more]inline const bool valid() const
    -[more]inline const bool isNaN() const +[more]inline const bool isNaN() const
    -[more]inline float operator * (const Vec4& rhs) const +[more]inline float operator * (const Vec4& rhs) const
    dot product
    -[more]inline Vec4 operator * (const float& rhs) const +[more]inline Vec4 operator * (const float rhs) const
    multiply by scalar
    -[more]inline Vec4& operator *= (const float& rhs) +[more]inline Vec4& operator *= (const float rhs)
    unary multiply by scalar
    -[more]inline Vec4 operator / (const float& rhs) const +[more]inline Vec4 operator / (const float rhs) const
    divide by scalar
    -[more]inline Vec4& operator /= (const float& rhs) +[more]inline Vec4& operator /= (const float rhs)
    unary divide by scalar
    -[more]inline Vec4 operator + (const Vec4& rhs) const +[more]inline Vec4 operator + (const Vec4& rhs) const
    binary vector add
    -[more]inline Vec4& operator += (const Vec4& rhs) +[more]inline Vec4& operator += (const Vec4& rhs)
    unary vector add.
    -[more]inline Vec4 operator - (const Vec4& rhs) const +[more]inline Vec4 operator - (const Vec4& rhs) const
    binary vector subtract
    -[more]inline Vec4& operator -= (const Vec4& rhs) +[more]inline Vec4& operator -= (const Vec4& rhs)
    unary vector subtract
    -[more]inline const Vec4 operator - () const +[more]inline const Vec4 operator - () const
    negation operator.
    -[more]inline const float length() const +[more]inline const float length() const
    Length of the vector = sqrt( vec .
    -[more]inline const float length2() const +[more]inline const float length2() const
    Length squared of the vector = vec .
    -[more]inline const float normalize() +[more]inline const float normalize()
    normalize the vector so that it has length unity returns the previous length of the vector

    @@ -117,164 +117,164 @@ Vec4 * float is okay
    - +
    o Vec4()

    - -

    o Vec4(float x, float y, float z, float w) + +
    o Vec4(float x, float y, float z, float w)

    - -

    o Vec4(const Vec3& v3, float w) + +
    o Vec4(const Vec3& v3, float w)

    - +

    ofloat _v[4]

    - +

    oinline const bool operator == (const Vec4& v) const

    - +

    oinline const bool operator != (const Vec4& v) const

    - +

    oinline const bool operator < (const Vec4& v) const

    - +

    oinline float* ptr()

    - +

    oinline const float* ptr() const

    - -

    oinline void set( float x, float y, float z, float w) + +
    oinline void set( float x, float y, float z, float w)

    - +

    oinline float& operator [] (const int i)

    - +

    oinline float operator [] (const int i) const

    - +

    oinline float& x()

    - +

    oinline float& y()

    - +

    oinline float& z()

    - +

    oinline float& w()

    - +

    oinline float x() const

    - +

    oinline float y() const

    - +

    oinline float z() const

    - +

    oinline float w() const

    - +

    oinline unsigned long asABGR() const

    - +

    oinline const unsigned long asRGBA() const

    - +

    oinline const bool valid() const

    - +

    oinline const bool isNaN() const

    - +

    oinline float operator * (const Vec4& rhs) const
    dot product

    - -

    oinline Vec4 operator * (const float& rhs) const + +
    oinline Vec4 operator * (const float rhs) const
    multiply by scalar

    - -

    oinline Vec4& operator *= (const float& rhs) + +
    oinline Vec4& operator *= (const float rhs)
    unary multiply by scalar

    - -

    oinline Vec4 operator / (const float& rhs) const + +
    oinline Vec4 operator / (const float rhs) const
    divide by scalar

    - -

    oinline Vec4& operator /= (const float& rhs) + +
    oinline Vec4& operator /= (const float rhs)
    unary divide by scalar

    - +

    oinline Vec4 operator + (const Vec4& rhs) const
    binary vector add

    - +

    oinline Vec4& operator += (const Vec4& rhs)
    unary vector add. Slightly more efficient because no temporary intermediate object

    - +

    oinline Vec4 operator - (const Vec4& rhs) const
    binary vector subtract

    - +

    oinline Vec4& operator -= (const Vec4& rhs)
    unary vector subtract

    - +

    oinline const Vec4 operator - () const
    negation operator. Returns the negative of the Vec4

    - +

    oinline const float length() const
    Length of the vector = sqrt( vec . vec )

    - +

    oinline const float length2() const
    Length squared of the vector = vec . vec

    - +

    oinline const float normalize()
    normalize the vector so that it has length unity returns the previous length of the vector diff --git a/doc/doc++/osg/Viewport.html b/doc/doc++/osg/Viewport.html index 1f70a278c..b6b56b906 100644 --- a/doc/doc++/osg/Viewport.html +++ b/doc/doc++/osg/Viewport.html @@ -23,53 +23,53 @@

    Public Methods

    -[more] Viewport() +[more] Viewport()
    -[more] Viewport(const Viewport& vp, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Viewport(const Viewport& vp, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] META_StateAttribute(Viewport, VIEWPORT) +[more] META_StateAttribute(osg, Viewport, VIEWPORT)
    -[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
    -[more]inline void setViewport(const int x, const int y, const int width, const int height) +[more]inline void setViewport(const int x, const int y, const int width, const int height)
    -[more]void getViewport(int& x, int& y, int& width, int& height) const +[more]void getViewport(int& x, int& y, int& width, int& height) const
    -[more]inline const int x() const +[more]inline const int x() const
    -[more]inline const int y() const +[more]inline const int y() const
    -[more]inline const int width() const +[more]inline const int width() const
    -[more]inline const int height() const +[more]inline const int height() const
    -[more]inline const bool valid() const +[more]inline const bool valid() const
    -[more]inline const float aspectRatio() const +[more]inline const float aspectRatio() const
    Return the aspcetRatio of the viewport, which is equal to width/height.
    -[more]inline const osg::Matrix computeWindowMatrix() const +[more]inline const osg::Matrix computeWindowMatrix() const
    Compute the Window Matrix which takes projected coords into Window coordinates.
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

    Protected Fields

    -[more]int _x +[more]int _x
    -[more]int _y +[more]int _y
    -[more]int _width +[more]int _width
    -[more]int _height +[more]int _height

    Protected Methods

    -[more]virtual ~Viewport() +[more]virtual ~Viewport()

    @@ -83,9 +83,13 @@
    ovirtual bool isSameKindAs(const Object* obj) const
    +ovirtual const char* libraryName() const +
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const +
    +ovirtual bool isTextureAttribute() const
    obool operator < (const StateAttribute& rhs) const
    @@ -93,7 +97,7 @@
    obool operator != (const StateAttribute& rhs) const
    -ovirtual void setStateSetModes(StateSet&, const GLModeValue) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
    ovirtual void compile(State&) const

    @@ -118,9 +122,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -130,7 +134,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -163,59 +167,59 @@
    - +
    o Viewport()

    - -

    o Viewport(const Viewport& vp, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o Viewport(const Viewport& vp, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy

    - -

    o META_StateAttribute(Viewport, VIEWPORT) + +
    o META_StateAttribute(osg, Viewport, VIEWPORT)

    - +

    ovirtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

    - -

    oinline void setViewport(const int x, const int y, const int width, const int height) + +
    oinline void setViewport(const int x, const int y, const int width, const int height)

    - -

    ovoid getViewport(int& x, int& y, int& width, int& height) const + +
    ovoid getViewport(int& x, int& y, int& width, int& height) const

    - +

    oinline const int x() const

    - +

    oinline const int y() const

    - +

    oinline const int width() const

    - +

    oinline const int height() const

    - +

    oinline const bool valid() const

    - +

    oinline const float aspectRatio() const
    Return the aspcetRatio of the viewport, which is equal to width/height. If height is zero, the potental division by zero is avoid by simply returning 1.0f.

    - +

    oinline const osg::Matrix computeWindowMatrix() const
    Compute the Window Matrix which takes projected coords into Window coordinates. To converted local coodinates into window coordinates use v_window = v_local * MVPW matrix, @@ -224,27 +228,27 @@ viewport::computeWindowMatrix(), the ModelView and Projection Matrix can either current osg::State object, via osgUtil::SceneView or CullVisitor.

    - +

    ovirtual void apply(State& state) const

    - +

    ovirtual ~Viewport()

    - +

    oint _x

    - +

    oint _y

    - +

    oint _width

    - +

    oint _height

    diff --git a/doc/doc++/osg/clampArray3BetweenRange.html b/doc/doc++/osg/clampArray3BetweenRange.html index 396d4df8c..07654c830 100644 --- a/doc/doc++/osg/clampArray3BetweenRange.html +++ b/doc/doc++/osg/clampArray3BetweenRange.html @@ -7,7 +7,7 @@ -

    template<class A, class T>inline void osg::clampArray3BetweenRange

    (A& value,
      const T minValue,
      const T maxValue,
      const char* valueName)

    if array4 elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
    +

    template<class A, class T>inline void osg::clampArray3BetweenRange

    (A& value,
      const T minValue,
      const T maxValue,
      const char* valueName)

    if array4 elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.

    diff --git a/doc/doc++/osg/clampArray3GEQUAL.html b/doc/doc++/osg/clampArray3GEQUAL.html index f140cb3f3..fc7fc8e4d 100644 --- a/doc/doc++/osg/clampArray3GEQUAL.html +++ b/doc/doc++/osg/clampArray3GEQUAL.html @@ -7,7 +7,7 @@ -

    template<class A, class T>inline void osg::clampArray3GEQUAL

    (A& value,
      const T minValue,
      const char* valueName)

    if array4 elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    +

    template<class A, class T>inline void osg::clampArray3GEQUAL

    (A& value,
      const T minValue,
      const char* valueName)

    if array4 elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

    diff --git a/doc/doc++/osg/clampArray3LEQUAL.html b/doc/doc++/osg/clampArray3LEQUAL.html index 9002ba6d2..81aac74d5 100644 --- a/doc/doc++/osg/clampArray3LEQUAL.html +++ b/doc/doc++/osg/clampArray3LEQUAL.html @@ -7,7 +7,7 @@ -

    template<class A, class T>inline void osg::clampArray3LEQUAL

    (A& value,
      const T maxValue,
      const char* valueName)

    if array4 elements are is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    +

    template<class A, class T>inline void osg::clampArray3LEQUAL

    (A& value,
      const T maxValue,
      const char* valueName)

    if array4 elements are is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

    diff --git a/doc/doc++/osg/clampArray4BetweenRange.html b/doc/doc++/osg/clampArray4BetweenRange.html index 7f7f5dde8..32f05c15f 100644 --- a/doc/doc++/osg/clampArray4BetweenRange.html +++ b/doc/doc++/osg/clampArray4BetweenRange.html @@ -7,7 +7,7 @@ -

    template<class A, class T>inline void osg::clampArray4BetweenRange

    (A& value,
      const T minValue,
      const T maxValue,
      const char* valueName)

    if array4 elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
    +

    template<class A, class T>inline void osg::clampArray4BetweenRange

    (A& value,
      const T minValue,
      const T maxValue,
      const char* valueName)

    if array4 elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.

    diff --git a/doc/doc++/osg/clampArray4GEQUAL.html b/doc/doc++/osg/clampArray4GEQUAL.html index acf824dda..63fae19f5 100644 --- a/doc/doc++/osg/clampArray4GEQUAL.html +++ b/doc/doc++/osg/clampArray4GEQUAL.html @@ -7,7 +7,7 @@ -

    template<class A, class T>inline void osg::clampArray4GEQUAL

    (A& value,
      const T minValue,
      const char* valueName)

    if array4 elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    +

    template<class A, class T>inline void osg::clampArray4GEQUAL

    (A& value,
      const T minValue,
      const char* valueName)

    if array4 elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

    diff --git a/doc/doc++/osg/clampArray4LEQUAL.html b/doc/doc++/osg/clampArray4LEQUAL.html index 8384cd3f3..a607d3551 100644 --- a/doc/doc++/osg/clampArray4LEQUAL.html +++ b/doc/doc++/osg/clampArray4LEQUAL.html @@ -7,7 +7,7 @@ -

    template<class A, class T>inline void osg::clampArray4LEQUAL

    (A& value,
      const unsigned int first,
      const unsigned int last,
      const T maxValue,
      const char* valueName)

    if array4 elements are is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    +

    template<class A, class T>inline void osg::clampArray4LEQUAL

    (A& value,
      const unsigned int first,
      const unsigned int last,
      const T maxValue,
      const char* valueName)

    if array4 elements are is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

    diff --git a/doc/doc++/osg/clampArrayElementBetweenRange.html b/doc/doc++/osg/clampArrayElementBetweenRange.html index 14f7494ed..7aa496ec5 100644 --- a/doc/doc++/osg/clampArrayElementBetweenRange.html +++ b/doc/doc++/osg/clampArrayElementBetweenRange.html @@ -7,7 +7,7 @@ -

    template<class A, class T>inline void osg::clampArrayElementBetweenRange

    (A& value,
      const unsigned int i,
      const T minValue,
      const T maxValue,
      const char* valueName)

    if array element value[i] is between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
    +

    template<class A, class T>inline void osg::clampArrayElementBetweenRange

    (A& value,
      const unsigned int i,
      const T minValue,
      const T maxValue,
      const char* valueName)

    if array element value[i] is between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.

    diff --git a/doc/doc++/osg/clampArrayElementGEQUAL.html b/doc/doc++/osg/clampArrayElementGEQUAL.html index 42be04203..a31017fdf 100644 --- a/doc/doc++/osg/clampArrayElementGEQUAL.html +++ b/doc/doc++/osg/clampArrayElementGEQUAL.html @@ -7,7 +7,7 @@ -

    template<class A, class T>inline void osg::clampArrayElementGEQUAL

    (A& value,
      const unsigned int i,
      const T minValue,
      const char* valueName)

    if array element value[i] is greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    +

    template<class A, class T>inline void osg::clampArrayElementGEQUAL

    (A& value,
      const unsigned int i,
      const T minValue,
      const char* valueName)

    if array element value[i] is greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

    diff --git a/doc/doc++/osg/clampArrayElementLEQUAL.html b/doc/doc++/osg/clampArrayElementLEQUAL.html index 2ea26527b..222f8c63e 100644 --- a/doc/doc++/osg/clampArrayElementLEQUAL.html +++ b/doc/doc++/osg/clampArrayElementLEQUAL.html @@ -7,7 +7,7 @@ -

    template<class A, class T>inline void osg::clampArrayElementLEQUAL

    (A& value,
      const unsigned int i,
      const T maxValue,
      const char* valueName)

    if array element value[i] is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    +

    template<class A, class T>inline void osg::clampArrayElementLEQUAL

    (A& value,
      const unsigned int i,
      const T maxValue,
      const char* valueName)

    if array element value[i] is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

    diff --git a/doc/doc++/osg/clampArrayElementsBetweenRange.html b/doc/doc++/osg/clampArrayElementsBetweenRange.html index 1fba656c8..79b7a2057 100644 --- a/doc/doc++/osg/clampArrayElementsBetweenRange.html +++ b/doc/doc++/osg/clampArrayElementsBetweenRange.html @@ -7,7 +7,7 @@ -

    template<class A, class T>inline void osg::clampArrayElementsBetweenRange

    (A& value,
      const unsigned int first,
      const unsigned int last,
      const T minValue,
      const T maxValue,
      const char* valueName)

    if array elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
    +

    template<class A, class T>inline void osg::clampArrayElementsBetweenRange

    (A& value,
      const unsigned int first,
      const unsigned int last,
      const T minValue,
      const T maxValue,
      const char* valueName)

    if array elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.

    diff --git a/doc/doc++/osg/clampArrayElementsGEQUAL.html b/doc/doc++/osg/clampArrayElementsGEQUAL.html index 3e24b2201..0298cc6fd 100644 --- a/doc/doc++/osg/clampArrayElementsGEQUAL.html +++ b/doc/doc++/osg/clampArrayElementsGEQUAL.html @@ -7,7 +7,7 @@ -

    template<class A, class T>inline void osg::clampArrayElementsGEQUAL

    (A& value,
      const unsigned int first,
      const unsigned int last,
      const T minValue,
      const char* valueName)

    if array elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    +

    template<class A, class T>inline void osg::clampArrayElementsGEQUAL

    (A& value,
      const unsigned int first,
      const unsigned int last,
      const T minValue,
      const char* valueName)

    if array elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

    diff --git a/doc/doc++/osg/clampArrayElementsLEQUAL.html b/doc/doc++/osg/clampArrayElementsLEQUAL.html index c6161a21e..14fc024a9 100644 --- a/doc/doc++/osg/clampArrayElementsLEQUAL.html +++ b/doc/doc++/osg/clampArrayElementsLEQUAL.html @@ -7,7 +7,7 @@ -

    template<class A, class T>inline void osg::clampArrayElementsLEQUAL

    (A& value,
      const unsigned int first,
      const unsigned int last,
      const T maxValue,
      const char* valueName)

    if array elements are less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    +

    template<class A, class T>inline void osg::clampArrayElementsLEQUAL

    (A& value,
      const unsigned int first,
      const unsigned int last,
      const T maxValue,
      const char* valueName)

    if array elements are less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

    diff --git a/doc/doc++/osg/clampBetweenRange.html b/doc/doc++/osg/clampBetweenRange.html index 358d6baab..8be79f137 100644 --- a/doc/doc++/osg/clampBetweenRange.html +++ b/doc/doc++/osg/clampBetweenRange.html @@ -7,7 +7,7 @@ -

    template<class T>inline void osg::clampBetweenRange

    (T& value,
      const T minValue,
      const T maxValue,
      const char* valueName)

    if value is between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
    +

    template<class T>inline void osg::clampBetweenRange

    (T& value,
      const T minValue,
      const T maxValue,
      const char* valueName)

    if value is between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.

    diff --git a/doc/doc++/osg/clampGEQUAL.html b/doc/doc++/osg/clampGEQUAL.html index 54011a575..faf3b80a2 100644 --- a/doc/doc++/osg/clampGEQUAL.html +++ b/doc/doc++/osg/clampGEQUAL.html @@ -7,7 +7,7 @@ -

    template<class T>inline void osg::clampGEQUAL

    (T& value,
      const T minValue,
      const char* valueName)

    if value is greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    +

    template<class T>inline void osg::clampGEQUAL

    (T& value,
      const T minValue,
      const char* valueName)

    if value is greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

    diff --git a/doc/doc++/osg/clampLEQUAL.html b/doc/doc++/osg/clampLEQUAL.html index 1d9650426..037588d85 100644 --- a/doc/doc++/osg/clampLEQUAL.html +++ b/doc/doc++/osg/clampLEQUAL.html @@ -7,7 +7,7 @@ -

    template<class T>inline void osg::clampLEQUAL

    (T& value,
      const T maxValue,
      const char* valueName)

    if value is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    +

    template<class T>inline void osg::clampLEQUAL

    (T& value,
      const T maxValue,
      const char* valueName)

    if value is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

    diff --git a/doc/doc++/osg/createGeodeForImage.2.html b/doc/doc++/osg/createGeodeForImage.2.html index 7beaec89d..af67151f9 100644 --- a/doc/doc++/osg/createGeodeForImage.2.html +++ b/doc/doc++/osg/createGeodeForImage.2.html @@ -7,7 +7,7 @@ -

    SG_EXPORT extern Geode* osg::createGeodeForImage

    (Image* image,
      const float s,
      const float t)

    Convenience function to be used by images loaders to generate a valid geode to return for readNode().
    +

    SG_EXPORT extern Geode* osg::createGeodeForImage

    (Image* image,
      const float s,
      const float t)

    Convenience function to be used by images loaders to generate a valid geode to return for readNode().

    diff --git a/doc/doc++/osg/for_each_triangle.html b/doc/doc++/osg/for_each_triangle.html index eeae5317c..ec0524604 100644 --- a/doc/doc++/osg/for_each_triangle.html +++ b/doc/doc++/osg/for_each_triangle.html @@ -7,7 +7,7 @@ -

    template<class T> void osg::for_each_triangle

    (GeoSet& gset,
      T& op)

    Template function for iterating through a GeoSet operating on triangles with templated functor.
    +

    template<class T> void osg::for_each_triangle

    (GeoSet& gset,
      T& op)

    Template function for iterating through a GeoSet operating on triangles with templated functor.

    diff --git a/doc/doc++/osg/index.html b/doc/doc++/osg/index.html index fb4471af5..9e5838a48 100644 --- a/doc/doc++/osg/index.html +++ b/doc/doc++/osg/index.html @@ -90,19 +90,23 @@
  • OSGUTIL_STATISTICS
  • OSG_ALPHAFUNC
  • OSG_ANIMATIONPATH +
  • OSG_ARRAY
  • OSG_BILLBOARD +
  • OSG_BLENDFUNC
  • OSG_BOUNDINGBOX
  • OSG_BOUNDINGSPHERE
  • OSG_BOUNDSCHECKING
  • OSG_CAMERA
  • OSG_CLIPNODE
  • OSG_CLIPPLANE +
  • OSG_COLLECTOCCLUDERSVISITOR
  • OSG_COLORMASK
  • OSG_COLORMATRIX
  • OSG_CONVEXPLANEROCCLUDER
  • OSG_CONVEXPLANERPOLYGON
  • OSG_COPYOP
  • OSG_CULLFACE +
  • OSG_CULLSTACK
  • OSG_CullingSet
  • OSG_DEPTH
  • OSG_DRAWABLE @@ -115,6 +119,7 @@
  • OSG_FRAMESTAMP
  • OSG_FRONTFACE
  • OSG_GEODE +
  • OSG_GEOMETRY
  • OSG_GEOSET
  • OSG_GL
  • OSG_GLEXTENSIONS @@ -131,6 +136,7 @@
  • OSG_LOD
  • OSG_LineWidth
  • OSG_MATERIAL +
  • OSG_MATRIXTRANSFORM
  • OSG_NODEVISITOR
  • OSG_NOTIFY
  • OSG_OBJECT @@ -141,12 +147,13 @@
  • OSG_POLYGONOFFSET
  • OSG_POLYTOPE
  • OSG_POSITIONATTITIDETRANSFORM +
  • OSG_PRIMTIVE
  • OSG_PROJECTION
  • OSG_QUAT
  • OSG_REFERENCED
  • OSG_REF_PTR
  • OSG_SHADEMODEL -
  • OSG_SHADOWOCCLUDERVOLUME +
  • OSG_SHADOWVOLUMEOCCLUDER
  • OSG_STATE
  • OSG_STATEATTRIBUTE
  • OSG_STATESET @@ -161,6 +168,7 @@
  • OSG_TRANSFORM
  • OSG_TRANSPARENCY
  • OSG_TYPES +
  • OSG_UBUTE
  • OSG_VEC2
  • OSG_VEC3
  • OSG_VEC4 @@ -172,11 +180,13 @@
  • SG_EXPORT
  • SG_EXPORT +
  • USE_DEPRECATED_API
  • WIN32_LEAN_AND_MEAN
  • WINGDIAPI
  • _H_MMGR
  • _WCHAR_T_DEFINED
  • __OSG_MATH +
  • __STL_MEMBER_TEMPLATES

    Typedefs

      diff --git a/doc/doc++/osg/notify.html b/doc/doc++/osg/notify.html index 74ddd116c..4b203318e 100644 --- a/doc/doc++/osg/notify.html +++ b/doc/doc++/osg/notify.html @@ -2,12 +2,12 @@ - inline std::ostream& osg::notify + SG_EXPORT extern std::ostream& osg::notify -

      inline std::ostream& osg::notify

      (const NotifySeverity severity)

      notify messaging function for providing fatal through to verbose debugging messages.
      +

      SG_EXPORT extern std::ostream& osg::notify

      (const NotifySeverity severity)

      notify messaging function for providing fatal through to verbose debugging messages.

      diff --git a/doc/doc++/osg/osg.html b/doc/doc++/osg/osg.html index 98741d6d5..073e32572 100644 --- a/doc/doc++/osg/osg.html +++ b/doc/doc++/osg/osg.html @@ -17,58 +17,67 @@ class SG_EXPORT AlphaFunc: public AnimationPath: public Transform::ComputeTransformCallback
      AnimationPath for specify the time varying transformation pathway to use when update camera and model objects.
      +class SG_EXPORT Array: public Object +
      +template<typename T, Array::Type ARRAYTYPE, int DataSize, int DataType> class TemplateArray: public Array, public std::vector<T> +
      +typedef TemplateArray<Vec4,Array::Vec4ArrayType,4,GL_FLOAT> Vec4Arrayclass ArrayVisitor +
      class SG_EXPORT Billboard: public Geode
      Billboard - a Geode which orientates its child osg::Drawable's to face the eye point.
      +class SG_EXPORT BlendFunc: public StateAttribute +
      BlendFunc - encapsulates the OpenGL blend/transparency state +
      class SG_EXPORT BoundingBox
      General purpose axis-aligned bounding box class for enclosing objects/vertices.
      class SG_EXPORT BoundingSphere
      General purpose bounding sphere class for enclosing nodes/objects/vertices.
      -template<class T>inline void clampGEQUAL(T& value, const T minValue, const char* valueName) +template<class T>inline void clampGEQUAL(T& value, const T minValue, const char* valueName)
      if value is greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
      -template<class T>inline void clampLEQUAL(T& value, const T maxValue, const char* valueName) +template<class T>inline void clampLEQUAL(T& value, const T maxValue, const char* valueName)
      if value is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
      -template<class T>inline void clampBetweenRange(T& value, const T minValue, const T maxValue, const char* valueName) +template<class T>inline void clampBetweenRange(T& value, const T minValue, const T maxValue, const char* valueName)
      if value is between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
      -template<class A, class T>inline void clampArrayElementGEQUAL(A& value, const unsigned int i, const T minValue, const char* valueName) +template<class A, class T>inline void clampArrayElementGEQUAL(A& value, const unsigned int i, const T minValue, const char* valueName)
      if array element value[i] is greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
      -template<class A, class T>inline void clampArrayElementLEQUAL(A& value, const unsigned int i, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArrayElementLEQUAL(A& value, const unsigned int i, const T maxValue, const char* valueName)
      if array element value[i] is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
      -template<class A, class T>inline void clampArrayElementBetweenRange(A& value, const unsigned int i, const T minValue, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArrayElementBetweenRange(A& value, const unsigned int i, const T minValue, const T maxValue, const char* valueName)
      if array element value[i] is between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
      -template<class A, class T>inline void clampArrayElementsGEQUAL(A& value, const unsigned int first, const unsigned int last, const T minValue, const char* valueName) +template<class A, class T>inline void clampArrayElementsGEQUAL(A& value, const unsigned int first, const unsigned int last, const T minValue, const char* valueName)
      if array elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
      -template<class A, class T>inline void clampArrayElementsLEQUAL(A& value, const unsigned int first, const unsigned int last, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArrayElementsLEQUAL(A& value, const unsigned int first, const unsigned int last, const T maxValue, const char* valueName)
      if array elements are less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
      -template<class A, class T>inline void clampArrayElementsBetweenRange(A& value, const unsigned int first, const unsigned int last, const T minValue, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArrayElementsBetweenRange(A& value, const unsigned int first, const unsigned int last, const T minValue, const T maxValue, const char* valueName)
      if array elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
      -template<class A, class T>inline void clampArray3GEQUAL(A& value, const T minValue, const char* valueName) +template<class A, class T>inline void clampArray3GEQUAL(A& value, const T minValue, const char* valueName)
      if array4 elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
      -template<class A, class T>inline void clampArray3LEQUAL(A& value, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArray3LEQUAL(A& value, const T maxValue, const char* valueName)
      if array4 elements are is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
      -template<class A, class T>inline void clampArray3BetweenRange(A& value, const T minValue, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArray3BetweenRange(A& value, const T minValue, const T maxValue, const char* valueName)
      if array4 elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
      -template<class A, class T>inline void clampArray4GEQUAL(A& value, const T minValue, const char* valueName) +template<class A, class T>inline void clampArray4GEQUAL(A& value, const T minValue, const char* valueName)
      if array4 elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
      -template<class A, class T>inline void clampArray4LEQUAL(A& value, const unsigned int first, const unsigned int last, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArray4LEQUAL(A& value, const unsigned int first, const unsigned int last, const T maxValue, const char* valueName)
      if array4 elements are is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
      -template<class A, class T>inline void clampArray4BetweenRange(A& value, const T minValue, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArray4BetweenRange(A& value, const T minValue, const T maxValue, const char* valueName)
      if array4 elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
      class SG_EXPORT Camera: public osg::Referenced @@ -80,13 +89,15 @@ class SG_EXPORT ClipNode: public ClipPlane: public StateAttribute
      ClipPlane state class which encapsulates OpenGL glClipPlane() functionality
      +class SG_EXPORT CollectOccludersVisitor: public osg::NodeVisitor, public osg::CullStack +
      class SG_EXPORT ColorMask: public StateAttribute
      Encapsulate OpenGL glColorMaskFunc/Op/Mask functions
      class SG_EXPORT ColorMatrix: public StateAttribute
      Texture Matrix state class for encapsulating OpenGL texture matrix functionality
      -class SG_EXPORT ConvexPlanerOccluder: public Referenced +class SG_EXPORT ConvexPlanerOccluder: public Object
      A class for representing convex clipping volumes made up.
      class SG_EXPORT ConvexPlanerPolygon @@ -101,24 +112,29 @@ class SG_EXPORT CullFace: public CullingSet: public Referenced
      A CullingSet class which contains a frustum and a list of occluder.
      +class SG_EXPORT CullStack +
      A CullStack class which accumulates the current project, modelview matrices and the CullingSet. +
      class SG_EXPORT Depth: public StateAttribute
      Encapsulate OpenGL glDepthFunc/Mask/Range functions
      class SG_EXPORT DisplaySettings: public osg::Referenced
      DisplaySettings class for encapsulating what visuals are required and have been set up, and the status of stereo viewing
      -[more]#define USE_SEPERATE_COMPILE_AND_EXECUTE +[more]#define USE_SEPERATE_COMPILE_AND_EXECUTE
      class SG_EXPORT Drawable: public Object
      Pure virtual base class for drawable Geometry.
      +template<class T> class TriangleFunctor: public Drawable::PrimitiveFunctor, public T +
      class SG_EXPORT DrawPixels: public Drawable
      DrawPixels is an osg::Drawable subclass which encapsulates the drawing of images using glDrawPixels
      class SG_EXPORT EarthSky: public Group
      EarthSky is a Group node which controls the clearing of the color and depth buffers at the start of each frame.
      -template<class T> class fast_back_stack +template<class T> class fast_back_stack
      Simple stack implementation that keeps the back() cached locally for fast access rather than at the back of the vector which is the traditional stack implementation.
      class SG_EXPORT Fog: public StateAttribute @@ -133,10 +149,12 @@ class SG_EXPORT FrontFace: public Geode: public Node
      Leaf Node for grouping Drawables
      -class SG_EXPORT GeoSet: public Drawable -
      Encapsulates OpenGL drawing primitives, geometry and optional binding of normal, color and texture coordinates. +class SG_EXPORT Geometry: public Drawable
      -template<class T> void for_each_triangle(GeoSet& gset, T& op) +class SG_EXPORT GeoSet: public Drawable +
      Note, osg::GeoSet is now deprecated, please use osg::Geometry instead. +
      +template<class T> void for_each_triangle(GeoSet& gset, T& op)
      Template function for iterating through a GeoSet operating on triangles with templated functor.
      SG_EXPORT extern const bool isGLExtensionSupported(const char* extension) @@ -145,6 +163,9 @@ SG_EXPORT extern const bool isGLExtensi SG_EXPORT extern void* getGLExtensionFuncPtr(const char* funcName)
      return the address of the specified OpenGL function.
      +inline void* getGLExtensionFuncPtr(const char* funcName, const char* fallbackFuncName) +
      return the address of the specified OpenGL function, if not found then check a second function name, if this fails then return NULL as function is not supported by OpenGL library. +
      class SG_EXPORT Group: public Node
      General group node which maintains a list of children.
      @@ -154,7 +175,7 @@ class SG_EXPORT Image: public Geode* createGeodeForImage(Image* image)
      Convenience function to be used by images loaders to generate a valid geode to return for readNode().
      -SG_EXPORT extern Geode* createGeodeForImage(Image* image, const float s, const float t) +SG_EXPORT extern Geode* createGeodeForImage(Image* image, const float s, const float t)
      Convenience function to be used by images loaders to generate a valid geode to return for readNode().
      class SG_EXPORT Impostor: public LOD @@ -190,11 +211,14 @@ class SG_EXPORT Material: public class SG_EXPORT Matrix: public Object
      -[more]inline Vec3 operator* (const Vec3& v, const Matrix& m ) +[more]inline Vec3 operator* (const Vec3& v, const Matrix& m )
      -[more]inline Vec4 operator* (const Vec4& v, const Matrix& m ) +[more]inline Vec4 operator* (const Vec4& v, const Matrix& m )
      -[more]inline std::ostream& operator<< (std::ostream& os, const Matrix& m ) +[more]inline std::ostream& operator<< (std::ostream& os, const Matrix& m ) +
      +class SG_EXPORT MatrixTransform: public Transform +
      Transform - is group which all children are transformed by the the Transform's osg::Matrix.
      class SG_EXPORT NodeCallback: public Referenced
      @@ -207,14 +231,9 @@ struct NodeAcceptOp enum NotifySeverity
      Range of notify levels from DEBUG_FP through to FATAL, ALWAYS is reserved for forcing the absorption of all messages.
      -SG_EXPORT extern NotifySeverity g_NotifyLevel -
      global notify level. + global notify level.
      -SG_EXPORT extern std::auto_ptr<std::ofstream> g_NotifyNulStream -
      global notify nul stream. -
      -SG_EXPORT extern bool g_NotifyInit -
      global notify nul stream. + global notify nul stream.
      SG_EXPORT extern void setNotifyLevel(NotifySeverity severity)
      set the notify level, overriding the default or value set by the environmental variable OSGNOTIFYLEVEL @@ -225,12 +244,12 @@ SG_EXPORT extern NotifySeverity initNotifyLevel()
      initialize notify level.
      -inline std::ostream& notify(const NotifySeverity severity) +SG_EXPORT extern std::ostream& notify(const NotifySeverity severity)
      notify messaging function for providing fatal through to verbose debugging messages.
      -[more]inline std::ostream& notify(void) +[more]inline std::ostream& notify(void)
      -#define META_Object(T) +#define META_Object(library,name)
      META_Object macro define the standard clone, isSameKindAs and className methods.
      class SG_EXPORT Object: public Referenced @@ -242,7 +261,7 @@ class SG_EXPORT OccluderNode: public Plane
      A plane class.
      -[more]inline std::ostream& operator << (std::ostream& output, const Plane& pl) +[more]inline std::ostream& operator << (std::ostream& output, const Plane& pl)
      class SG_EXPORT Point: public StateAttribute
      Point - encapsulates the OpenGL point smoothing and size state @@ -259,25 +278,47 @@ class SG_EXPORT Polytope class SG_EXPORT PositionAttitudeTransform: public Transform
      PositionAttitideTransform - is Transfrom the set the coordinates transform up via a Vec3 position and Quat attitude
      +typedef std::vector<GLuint> VectorUIntclass VectorSizei: public std::vector<GLsizei> +
      +class VectorUByte: public std::vector<GLubyte> +
      +class VectorUShort: public std::vector<GLushort> +
      +class VectorUInt: public std::vector<GLuint> +
      +class Primitive: public Object +
      +class SG_EXPORT DrawArrays: public Primitive +
      +class SG_EXPORT DrawArrayLengths: public Primitive, public VectorSizei +
      +class SG_EXPORT DrawElementsUByte: public Primitive, public VectorUByte +
      +class SG_EXPORT DrawElementsUShort: public Primitive, public VectorUShort +
      +class SG_EXPORT DrawElementsUInt: public Primitive, public VectorUInt +
      class SG_EXPORT Projection: public Group
      Projection nodes set up the frustum/orthographic projection used when rendering the scene
      class SG_EXPORT Quat
      A quaternion class.
      -[more]inline std::ostream& operator << (std::ostream& output, const Quat& vec) +[more]inline std::ostream& operator << (std::ostream& output, const Quat& vec)
      class SG_EXPORT Referenced
      Base class from providing referencing counted objects
      -template<class T> class ref_ptr +template<class T> class ref_ptr
      Smart pointer for handling referenced counted objects
      class SG_EXPORT ShadeModel: public StateAttribute
      Class which encapsulates glShadeModel()
      -class SG_EXPORT ShadowOccluderVolume -
      ShadowOccluderVolume is a helper class for implementating shadow occlusion culling. +class SG_EXPORT ShadowVolumeOccluder +
      ShadowVolumeOccluder is a helper class for implementating shadow occlusion culling. +
      +[more]#define GL_TEXTURE0
      #define OSG_GL_DEBUG(message)
      macro for use with osg::StateAttrbiute::apply methods for detected and reporting OpenGL error messages @@ -285,7 +326,7 @@ class SG_EXPORT ShadowOccluderVolume class SG_EXPORT State: public Referenced
      State class for managing a state stack.
      -#define META_StateAttribute(name,type) +#define META_StateAttribute(library,name,type)
      META_StateAttribute macro define the standard clone, isSameKindAs, className and getType methods.
      #define COMPARE_StateAttribute_Types(TYPE,rhs_attribute) @@ -312,9 +353,9 @@ class SG_EXPORT Switch: public TexEnv: public StateAttribute
      TexEnv - encapsulates the OpenGL glTexEnv (texture environment) state
      -[more]#define GL_NORMAL_MAP_ARB +[more]#define GL_NORMAL_MAP_ARB
      -[more]#define GL_REFLECTION_MAP_ARB +[more]#define GL_REFLECTION_MAP_ARB
      class SG_EXPORT TexGen: public StateAttribute
      TexGen - encapsulates the OpenGL glTexGen (texture coordinate generation) state @@ -334,8 +375,8 @@ class SG_EXPORT Timer class SG_EXPORT Transform: public Group
      Transform - is group which all children are transformed by the the Transform's osg::Matrix.
      -class SG_EXPORT Transparency: public StateAttribute -
      Transparency - encapsulates the OpenGL blend/transparency state +class UByte4 +
      General purpose float quad, uses include representation of colour coordinates.
      class Vec2
      General purpose float pair, uses include representation of texture coordinates. @@ -343,7 +384,7 @@ class Vec2 class Vec3
      General purpose float triple for use as vertices, vectors and normals.
      -[more]inline std::ostream& operator << (std::ostream& output, const Vec3& vec) +[more]inline std::ostream& operator << (std::ostream& output, const Vec3& vec)
      class Vec4
      General purpose float quad, uses include representation of colour coordinates. @@ -365,43 +406,47 @@ class SG_EXPORT Viewport: public - +
      o#define USE_SEPERATE_COMPILE_AND_EXECUTE

      - +

      oinline Vec3 operator* (const Vec3& v, const Matrix& m )

      - +

      oinline Vec4 operator* (const Vec4& v, const Matrix& m )

      - +

      oinline std::ostream& operator<< (std::ostream& os, const Matrix& m )

      - +

      oinline std::ostream& notify(void)

      - +

      oinline std::ostream& operator << (std::ostream& output, const Plane& pl)

      - +

      oinline std::ostream& operator << (std::ostream& output, const Quat& vec)

      + + +

      o#define GL_TEXTURE0 +

      - +

      o#define GL_NORMAL_MAP_ARB

      - +

      o#define GL_REFLECTION_MAP_ARB

      - +

      oinline std::ostream& operator << (std::ostream& output, const Vec3& vec)

  • Alphabetic index HTML hierarchy of classes or Java


    diff --git a/doc/doc++/osg/ref_ptr.html b/doc/doc++/osg/ref_ptr.html index 7cd679ee2..b20fe1c0b 100644 --- a/doc/doc++/osg/ref_ptr.html +++ b/doc/doc++/osg/ref_ptr.html @@ -7,53 +7,56 @@ -

    template<class T> class osg::ref_ptr

    Smart pointer for handling referenced counted objects
    +

    template<class T> class osg::ref_ptr

    Smart pointer for handling referenced counted objects

    Public Methods

    -[more] ref_ptr() +[more] ref_ptr()
    -[more] ref_ptr(T* t) +[more] ref_ptr(T* t)
    -[more] ref_ptr(const ref_ptr& rp) +[more] ref_ptr(const ref_ptr& rp)
    -[more] ~ref_ptr() +[more] ~ref_ptr()
    -[more]inline ref_ptr& operator = (const ref_ptr& rp) +[more]inline ref_ptr& operator = (const ref_ptr& rp)
    -[more]inline ref_ptr& operator = (T* ptr) +[more]inline ref_ptr& operator = (T* ptr)
    -[more]inline const bool operator == (const ref_ptr& rp) const +[more]inline const bool operator == (const ref_ptr& rp) const
    -[more]inline const bool operator == (const T* ptr) const +[more]inline const bool operator == (const T* ptr) const
    -[more]inline const bool operator != (const ref_ptr& rp) const +[more]inline const bool operator != (const ref_ptr& rp) const
    -[more]inline const bool operator != (const T* ptr) const +[more]inline const bool operator != (const T* ptr) const
    -[more]inline const bool operator < (const ref_ptr& rp) const +[more]inline const bool operator < (const ref_ptr& rp) const
    -[more]inline const bool operator > (const ref_ptr& rp) const +[more]inline const bool operator > (const ref_ptr& rp) const
    -[more]inline const bool operator > (const T* ptr) const +[more]inline const bool operator > (const T* ptr) const
    -[more]inline T& operator*() +[more]inline T& operator*()
    -[more]inline const T& operator*() const +[more]inline const T& operator*() const
    -[more]inline T* operator->() +[more]inline T* operator->()
    -[more]inline const T* operator->() const +[more]inline const T* operator->() const
    -[more]inline const bool operator!() const +[more]inline const bool operator!() const
    -[more]inline const bool valid() const +[more]inline const bool valid() const
    -[more]inline T* get() +[more]inline T* get()
    -[more]inline const T* get() const +[more]inline const T* get() const +
    +[more]inline T* take() +
    take control over the object pointed to by ref_ptr, unreference but do not delete even if ref count goes to 0, return the pointer to the object.

    @@ -65,88 +68,96 @@
    - +
    o ref_ptr()

    - -

    o ref_ptr(T* t) + +
    o ref_ptr(T* t)

    - -

    o ref_ptr(const ref_ptr& rp) + +
    o ref_ptr(const ref_ptr& rp)

    - +

    o ~ref_ptr()

    - +

    oinline ref_ptr& operator = (const ref_ptr& rp)

    - -

    oinline ref_ptr& operator = (T* ptr) + +
    oinline ref_ptr& operator = (T* ptr)

    - +

    oinline const bool operator == (const ref_ptr& rp) const

    - -

    oinline const bool operator == (const T* ptr) const + +
    oinline const bool operator == (const T* ptr) const

    - +

    oinline const bool operator != (const ref_ptr& rp) const

    - -

    oinline const bool operator != (const T* ptr) const + +
    oinline const bool operator != (const T* ptr) const

    - +

    oinline const bool operator < (const ref_ptr& rp) const

    - +

    oinline const bool operator > (const ref_ptr& rp) const

    - -

    oinline const bool operator > (const T* ptr) const + +
    oinline const bool operator > (const T* ptr) const

    - -

    oinline T& operator*() + +
    oinline T& operator*()

    - -

    oinline const T& operator*() const + +
    oinline const T& operator*() const

    - -

    oinline T* operator->() + +
    oinline T* operator->()

    - -

    oinline const T* operator->() const + +
    oinline const T* operator->() const

    - +

    oinline const bool operator!() const

    - +

    oinline const bool valid() const

    - -

    oinline T* get() + +
    oinline T* get()

    - -

    oinline const T* get() const + +
    oinline const T* get() const +

    + + +

    oinline T* take() +
    take control over the object pointed to by ref_ptr, unreference but do not delete even if ref count goes to 0, +return the pointer to the object. +Note, do not use this unless you are 100% sure your code handles the deletion of the object correctly, and +only use when absolutely required.


    This class has no child classes.
    diff --git a/doc/doc++/osg/tag_au.html b/doc/doc++/osg/tag_au.html index 884f0e46a..a1c1dece2 100644 --- a/doc/doc++/osg/tag_au.html +++ b/doc/doc++/osg/tag_au.html @@ -11,31 +11,31 @@

    -[more]size_t actualSize +[more]size_t actualSize
    -[more]size_t reportedSize +[more]size_t reportedSize
    -[more]void* actualAddress +[more]void* actualAddress
    -[more]void* reportedAddress +[more]void* reportedAddress
    -[more]char sourceFile[40] +[more]char sourceFile[40]
    -[more]char sourceFunc[40] +[more]char sourceFunc[40]
    -[more]unsigned int sourceLine +[more]unsigned int sourceLine
    -[more]unsigned int allocationType +[more]unsigned int allocationType
    -[more]bool breakOnDealloc +[more]bool breakOnDealloc
    -[more]bool breakOnRealloc +[more]bool breakOnRealloc
    -[more]unsigned int allocationNumber +[more]unsigned int allocationNumber
    -[more]struct tag_au *next +[more]struct tag_au *next
    -[more]struct tag_au *prev +[more]struct tag_au *prev

    @@ -45,55 +45,55 @@
    - +
    osize_t actualSize

    - +

    osize_t reportedSize

    - +

    ovoid* actualAddress

    - +

    ovoid* reportedAddress

    - +

    ochar sourceFile[40]

    - +

    ochar sourceFunc[40]

    - +

    ounsigned int sourceLine

    - +

    ounsigned int allocationType

    - +

    obool breakOnDealloc

    - +

    obool breakOnRealloc

    - +

    ounsigned int allocationNumber

    - +

    ostruct tag_au *next

    - +

    ostruct tag_au *prev

    Alphabetic index HTML hierarchy of classes or Java


    diff --git a/doc/doc++/osgDB/HIER.html b/doc/doc++/osgDB/HIER.html index d16d19acd..d05251e99 100644 --- a/doc/doc++/osgDB/HIER.html +++ b/doc/doc++/osgDB/HIER.html @@ -19,6 +19,7 @@
  • osgDB::ReaderWriter::Options
  • osgDB::Output +
  • osgDB::PushAndPopDataPath
  • osgDB::ReaderWriter::ReadResult
  • osgDB::ReaderWriter
  • osgDB::RegisterDotOsgWrapperProxy diff --git a/doc/doc++/osgDB/HIERjava.html b/doc/doc++/osgDB/HIERjava.html index 3e97ec1ba..df92dc1a7 100644 --- a/doc/doc++/osgDB/HIERjava.html +++ b/doc/doc++/osgDB/HIERjava.html @@ -50,6 +50,13 @@
  • + + + + + + + diff --git a/doc/doc++/osgDB/Input.html b/doc/doc++/osgDB/Input.html index 81cbcd727..3b651a8d2 100644 --- a/doc/doc++/osgDB/Input.html +++ b/doc/doc++/osgDB/Input.html @@ -23,31 +23,31 @@

    Public Methods

    -[more] Input() +[more] Input()
    -[more]virtual ~Input() +[more]virtual ~Input()
    -[more]virtual osg::Object* readObjectOfType(const osg::Object& compObj) +[more]virtual osg::Object* readObjectOfType(const osg::Object& compObj)
    -[more]virtual osg::Object* readObject() +[more]virtual osg::Object* readObject()
    -[more]virtual osg::Image* readImage() +[more]virtual osg::Image* readImage()
    -[more]virtual osg::Drawable* readDrawable() +[more]virtual osg::Drawable* readDrawable()
    -[more]virtual osg::StateAttribute* readStateAttribute() +[more]virtual osg::StateAttribute* readStateAttribute()
    -[more]virtual osg::Node* readNode() +[more]virtual osg::Node* readNode()
    -[more]virtual osg::Object* readObject(const std::string& fileName) +[more]virtual osg::Object* readObject(const std::string& fileName)
    -[more]virtual osg::Image* readImage(const std::string& fileName) +[more]virtual osg::Image* readImage(const std::string& fileName)
    -[more]virtual osg::Node* readNode(const std::string& fileName) +[more]virtual osg::Node* readNode(const std::string& fileName)
    -[more]virtual osg::Object* getObjectForUniqueID(const std::string& uniqueID) +[more]virtual osg::Object* getObjectForUniqueID(const std::string& uniqueID)
    -[more]virtual void regisiterUniqueIDForObject(const std::string& uniqueID, osg::Object* obj) +[more]virtual void regisiterUniqueIDForObject(const std::string& uniqueID, osg::Object* obj)

    @@ -100,55 +100,55 @@
    - +
    o Input()

    - +

    ovirtual ~Input()

    - +

    ovirtual osg::Object* readObjectOfType(const osg::Object& compObj)

    - +

    ovirtual osg::Object* readObject()

    - +

    ovirtual osg::Image* readImage()

    - +

    ovirtual osg::Drawable* readDrawable()

    - +

    ovirtual osg::StateAttribute* readStateAttribute()

    - +

    ovirtual osg::Node* readNode()

    - +

    ovirtual osg::Object* readObject(const std::string& fileName)

    - +

    ovirtual osg::Image* readImage(const std::string& fileName)

    - +

    ovirtual osg::Node* readNode(const std::string& fileName)

    - +

    ovirtual osg::Object* getObjectForUniqueID(const std::string& uniqueID)

    - +

    ovirtual void regisiterUniqueIDForObject(const std::string& uniqueID, osg::Object* obj)

    diff --git a/doc/doc++/osgDB/Options.html b/doc/doc++/osgDB/Options.html index 759fc7e55..54c2026ad 100644 --- a/doc/doc++/osgDB/Options.html +++ b/doc/doc++/osgDB/Options.html @@ -22,23 +22,23 @@

    Public Methods

    -[more] Options() +[more] Options()
    -[more] Options(const std::string& str) +[more] Options(const std::string& str)
    -[more]void setOptionString(const std::string& str) +[more]void setOptionString(const std::string& str)
    -[more]const std::string& getOptionString() const +[more]const std::string& getOptionString() const

    Protected Fields

    -[more]std::string _str +[more]std::string _str

    Protected Methods

    -[more]virtual ~Options() +[more]virtual ~Options()

    @@ -49,27 +49,27 @@
    - +
    o Options()

    - +

    o Options(const std::string& str)

    - +

    ovoid setOptionString(const std::string& str)

    - +

    oconst std::string& getOptionString() const

    - +

    ovirtual ~Options()

    - +

    ostd::string _str

    diff --git a/doc/doc++/osgDB/Output.html b/doc/doc++/osgDB/Output.html index d1e7acf2a..ab73d4bdd 100644 --- a/doc/doc++/osgDB/Output.html +++ b/doc/doc++/osgDB/Output.html @@ -23,77 +23,77 @@

    Public Methods

    -[more] Output() +[more] Output()
    -[more] Output(const char* name) +[more] Output(const char* name)
    -[more]virtual ~Output() +[more]virtual ~Output()
    -[more]void open(const char* name) +[more]void open(const char* name)
    -[more]Output& indent() +[more]Output& indent()
    -[more]inline const int getIndentStep() const +[more]inline const int getIndentStep() const
    -[more]inline void setIndentStep(int step) +[more]inline void setIndentStep(int step)
    -[more]inline const int getIndent() const +[more]inline const int getIndent() const
    -[more]inline void setIndent(int indent) +[more]inline void setIndent(int indent)
    -[more]inline const int getNumIndicesPerLine() const +[more]inline const int getNumIndicesPerLine() const
    -[more]inline void setNumIndicesPerLine(int num) +[more]inline void setNumIndicesPerLine(int num)
    -[more]void moveIn() +[more]void moveIn()
    -[more]void moveOut() +[more]void moveOut()
    -[more]virtual bool writeObject(const osg::Object& obj) +[more]virtual bool writeObject(const osg::Object& obj)
    -[more]bool getUniqueIDForObject(const osg::Object* obj, std::string& uniqueID) +[more]bool getUniqueIDForObject(const osg::Object* obj, std::string& uniqueID)
    -[more]bool createUniqueIDForObject(const osg::Object* obj, std::string& uniqueID) +[more]bool createUniqueIDForObject(const osg::Object* obj, std::string& uniqueID)
    -[more]bool registerUniqueIDForObject(const osg::Object* obj, std::string& uniqueID) +[more]bool registerUniqueIDForObject(const osg::Object* obj, std::string& uniqueID)
    -[more]inline void setPathNameHint(const PathNameHint pnh) +[more]inline void setPathNameHint(const PathNameHint pnh)
    -[more]inline const PathNameHint getPathNameHint() const +[more]inline const PathNameHint getPathNameHint() const
    -[more]virtual const std::string getFileNameForOutput(const std::string& filename) const +[more]virtual const std::string getFileNameForOutput(const std::string& filename) const

    Public Members

    -[more]enum PathNameHint +[more]enum PathNameHint

    Protected Fields

    -[more]int _indent +[more]int _indent
    -[more]int _indentStep +[more]int _indentStep
    -[more]int _numIndicesPerLine +[more]int _numIndicesPerLine
    -[more]std::string _filename +[more]std::string _filename
    -[more]PathNameHint _pathNameHint +[more]PathNameHint _pathNameHint

    Protected Methods

    -[more] Output(const Output&) +[more] Output(const Output&)
    -[more]Output& operator = (const Output&) +[more]Output& operator = (const Output&)
    -[more]virtual void init() +[more]virtual void init()

    Protected Members

    -[more]typedef std::map<const osg::Object*,std::string> UniqueIDToLabelMapping UniqueIDToLabelMapping _objectToUniqueIDMap +[more]typedef std::map<const osg::Object*,std::string> UniqueIDToLabelMapping UniqueIDToLabelMapping _objectToUniqueIDMap

    @@ -106,142 +106,142 @@ Used in output of .osg ASCII files to improve their readability.
    - +
    o Output()

    - +

    o Output(const char* name)

    - +

    ovirtual ~Output()

    - +

    ovoid open(const char* name)

    - +

    oOutput& indent()

    - +

    oinline const int getIndentStep() const

    - +

    oinline void setIndentStep(int step)

    - +

    oinline const int getIndent() const

    - -

    oinline void setIndent(int indent) + +
    oinline void setIndent(int indent)

    - +

    oinline const int getNumIndicesPerLine() const

    - +

    oinline void setNumIndicesPerLine(int num)

    - +

    ovoid moveIn()

    - +

    ovoid moveOut()

    - +

    ovirtual bool writeObject(const osg::Object& obj)

    - +

    obool getUniqueIDForObject(const osg::Object* obj, std::string& uniqueID)

    - +

    obool createUniqueIDForObject(const osg::Object* obj, std::string& uniqueID)

    - +

    obool registerUniqueIDForObject(const osg::Object* obj, std::string& uniqueID)

    - +

    oenum PathNameHint

    - +
    o AS_IS

    - +

    o FULL_PATH

    - +

    o RELATIVE_PATH

    - +

    o FILENAME_ONLY

    - -
    oinline void setPathNameHint(const PathNameHint pnh) + +
    oinline void setPathNameHint(const PathNameHint pnh)

    - -

    oinline const PathNameHint getPathNameHint() const + +
    oinline const PathNameHint getPathNameHint() const

    - +

    ovirtual const std::string getFileNameForOutput(const std::string& filename) const

    - -

    o Output(const Output&) + +
    o Output(const Output&)

    - +

    oOutput& operator = (const Output&)

    - +

    ovirtual void init()

    - +

    oint _indent

    - +

    oint _indentStep

    - +

    oint _numIndicesPerLine

    - +

    otypedef std::map<const osg::Object*,std::string> UniqueIDToLabelMapping UniqueIDToLabelMapping _objectToUniqueIDMap

    - +

    ostd::string _filename

    - -

    oPathNameHint _pathNameHint + +
    oPathNameHint _pathNameHint


    This class has no child classes.
    diff --git a/doc/doc++/osgDB/ReadResult.html b/doc/doc++/osgDB/ReadResult.html index 2b8bbbf88..14b31d0c4 100644 --- a/doc/doc++/osgDB/ReadResult.html +++ b/doc/doc++/osgDB/ReadResult.html @@ -12,57 +12,57 @@

    Public Methods

    -[more] ReadResult(ReadStatus status=FILE_NOT_HANDLED) +[more] ReadResult(ReadStatus status=FILE_NOT_HANDLED)
    -[more] ReadResult(const std::string& m) +[more] ReadResult(const std::string& m)
    -[more] ReadResult(osg::Object* obj) +[more] ReadResult(osg::Object* obj)
    -[more] ReadResult(const ReadResult& rr) +[more] ReadResult(const ReadResult& rr)
    -[more]ReadResult& operator = (const ReadResult& rr) +[more]ReadResult& operator = (const ReadResult& rr)
    -[more]osg::Object* getObject() +[more]osg::Object* getObject()
    -[more]osg::Image* getImage() +[more]osg::Image* getImage()
    -[more]osg::Node* getNode() +[more]osg::Node* getNode()
    -[more]const bool validObject() +[more]const bool validObject()
    -[more]const bool validImage() +[more]const bool validImage()
    -[more]const bool validNode() +[more]const bool validNode()
    -[more]osg::Object* takeObject() +[more]osg::Object* takeObject()
    -[more]osg::Image* takeImage() +[more]osg::Image* takeImage()
    -[more]osg::Node* takeNode() +[more]osg::Node* takeNode()
    -[more]const std::string& message() const +[more]const std::string& message() const
    -[more]const ReadStatus status() const +[more]const ReadStatus status() const
    -[more]const bool success() const +[more]const bool success() const
    -[more]const bool error() const +[more]const bool error() const
    -[more]const bool notHandled() const +[more]const bool notHandled() const

    Public Members

    -[more]enum ReadStatus +[more]enum ReadStatus

    Protected Fields

    -[more]ReadStatus _status +[more]ReadStatus _status
    -[more]std::string _message +[more]std::string _message
    -[more]osg::ref_ptr<osg::Object> _object +[more]osg::ref_ptr<osg::Object> _object

    @@ -73,109 +73,109 @@
    - +
    oenum ReadStatus

    - +
    o FILE_NOT_HANDLED

    - +

    o FILE_LOADED

    - +

    o ERROR_IN_READING_FILE

    - -
    o ReadResult(ReadStatus status=FILE_NOT_HANDLED) + +
    o ReadResult(ReadStatus status=FILE_NOT_HANDLED)

    - +

    o ReadResult(const std::string& m)

    - +

    o ReadResult(osg::Object* obj)

    - -

    o ReadResult(const ReadResult& rr) + +
    o ReadResult(const ReadResult& rr)

    - +

    oReadResult& operator = (const ReadResult& rr)

    - +

    oosg::Object* getObject()

    - +

    oosg::Image* getImage()

    - +

    oosg::Node* getNode()

    - +

    oconst bool validObject()

    - +

    oconst bool validImage()

    - +

    oconst bool validNode()

    - +

    oosg::Object* takeObject()

    - +

    oosg::Image* takeImage()

    - +

    oosg::Node* takeNode()

    - +

    oconst std::string& message() const

    - -

    oconst ReadStatus status() const + +
    oconst ReadStatus status() const

    - +

    oconst bool success() const

    - +

    oconst bool error() const

    - +

    oconst bool notHandled() const

    - -

    oReadStatus _status + +
    oReadStatus _status

    - +

    ostd::string _message

    - +

    oosg::ref_ptr<osg::Object> _object

    diff --git a/doc/doc++/osgDB/ReaderWriter.html b/doc/doc++/osgDB/ReaderWriter.html index 5fd74ac6b..69066ff3c 100644 --- a/doc/doc++/osgDB/ReaderWriter.html +++ b/doc/doc++/osgDB/ReaderWriter.html @@ -23,23 +23,23 @@

    Public Methods

    -[more]virtual ~ReaderWriter() +[more]virtual ~ReaderWriter()
    -[more]virtual const char* className() = 0 +[more]virtual const char* className() = 0
    -[more]virtual bool acceptsExtension(const std::string&xtension*/) +[more]virtual bool acceptsExtension(const std::string&xtension*/)
    -[more]virtual ReadResult readObject(const std::string& , const Options* =NULL) +[more]virtual ReadResult readObject(const std::string& , const Options* =NULL)
    -[more]virtual ReadResult readImage(const std::string& , const Options* =NULL) +[more]virtual ReadResult readImage(const std::string& , const Options* =NULL)
    -[more]virtual ReadResult readNode(const std::string& , const Options* =NULL) +[more]virtual ReadResult readNode(const std::string& , const Options* =NULL)
    -[more]virtual WriteResult writeObject(const osg::Object& , const std::string& , const Options* =NULL) +[more]virtual WriteResult writeObject(const osg::Object& , const std::string& , const Options* =NULL)
    -[more]virtual WriteResult writeImage(const osg::Image& , const std::string& , const Options* =NULL) +[more]virtual WriteResult writeImage(const osg::Image& , const std::string& , const Options* =NULL)
    -[more]virtual WriteResult writeNode(const osg::Node& , const std::string& , const Options* =NULL) +[more]virtual WriteResult writeNode(const osg::Node& , const std::string& , const Options* =NULL)

    @@ -60,39 +60,39 @@ class WriteResult
    - +
    ovirtual ~ReaderWriter()

    - +

    ovirtual const char* className() = 0

    - +

    ovirtual bool acceptsExtension(const std::string&xtension*/)

    - +

    ovirtual ReadResult readObject(const std::string& , const Options* =NULL)

    - +

    ovirtual ReadResult readImage(const std::string& , const Options* =NULL)

    - +

    ovirtual ReadResult readNode(const std::string& , const Options* =NULL)

    - +

    ovirtual WriteResult writeObject(const osg::Object& , const std::string& , const Options* =NULL)

    - +

    ovirtual WriteResult writeImage(const osg::Image& , const std::string& , const Options* =NULL)

    - +

    ovirtual WriteResult writeNode(const osg::Node& , const std::string& , const Options* =NULL)

    diff --git a/doc/doc++/osgDB/RegisterDotOsgWrapperProxy.html b/doc/doc++/osgDB/RegisterDotOsgWrapperProxy.html index f55baf75d..a152ea21c 100644 --- a/doc/doc++/osgDB/RegisterDotOsgWrapperProxy.html +++ b/doc/doc++/osgDB/RegisterDotOsgWrapperProxy.html @@ -13,14 +13,14 @@

    Public Methods

    -[more] RegisterDotOsgWrapperProxy(osg::Object* proto, const std::string& name, const std::string& associates, DotOsgWrapper::ReadFunc readFunc, DotOsgWrapper::WriteFunc writeFunc, DotOsgWrapper::ReadWriteMode readWriteMode=DotOsgWrapper::READ_AND_WRITE) +[more] RegisterDotOsgWrapperProxy(osg::Object* proto, const std::string& name, const std::string& associates, DotOsgWrapper::ReadFunc readFunc, DotOsgWrapper::WriteFunc writeFunc, DotOsgWrapper::ReadWriteMode readWriteMode=DotOsgWrapper::READ_AND_WRITE)
    -[more] ~RegisterDotOsgWrapperProxy() +[more] ~RegisterDotOsgWrapperProxy()

    Protected Fields

    -[more]osg::ref_ptr<DotOsgWrapper> _wrapper +[more]osg::ref_ptr<DotOsgWrapper> _wrapper

    @@ -32,15 +32,15 @@
    - +
    o RegisterDotOsgWrapperProxy(osg::Object* proto, const std::string& name, const std::string& associates, DotOsgWrapper::ReadFunc readFunc, DotOsgWrapper::WriteFunc writeFunc, DotOsgWrapper::ReadWriteMode readWriteMode=DotOsgWrapper::READ_AND_WRITE)

    - +

    o ~RegisterDotOsgWrapperProxy()

    - +

    oosg::ref_ptr<DotOsgWrapper> _wrapper

    diff --git a/doc/doc++/osgDB/RegisterReaderWriterProxy.html b/doc/doc++/osgDB/RegisterReaderWriterProxy.html index ef160110b..4e1557f7a 100644 --- a/doc/doc++/osgDB/RegisterReaderWriterProxy.html +++ b/doc/doc++/osgDB/RegisterReaderWriterProxy.html @@ -13,14 +13,14 @@

    Public Methods

    -[more] RegisterReaderWriterProxy() +[more] RegisterReaderWriterProxy()
    -[more] ~RegisterReaderWriterProxy() +[more] ~RegisterReaderWriterProxy()

    Protected Fields

    -[more]osg::ref_ptr<T> _rw +[more]osg::ref_ptr<T> _rw

    @@ -32,15 +32,15 @@
    - +
    o RegisterReaderWriterProxy()

    - +

    o ~RegisterReaderWriterProxy()

    - +

    oosg::ref_ptr<T> _rw

    diff --git a/doc/doc++/osgDB/Registry.html b/doc/doc++/osgDB/Registry.html index b835105c6..b0be08048 100644 --- a/doc/doc++/osgDB/Registry.html +++ b/doc/doc++/osgDB/Registry.html @@ -13,71 +13,110 @@

    Public Methods

    -[more]static Registry* instance() +[more]static Registry* instance()
    -[more] ~Registry() +[more] ~Registry()
    -[more]void readCommandLine(std::vector<std::string>& commandLine) +[more]void readCommandLine(std::vector<std::string>& commandLine)
    read the command line string list, removing any matched control sequences
    -[more]void addFileExtensionAlias(const std::string mapExt, const std::string toExt) +[more]void addFileExtensionAlias(const std::string mapExt, const std::string toExt)
    register an fileextension alias to mapExt toExt, the later should the the extension name of the readerwriter plugin library.
    -[more]void addDotOsgWrapper(DotOsgWrapper* wrapper) +[more]void addDotOsgWrapper(DotOsgWrapper* wrapper)
    -[more]void removeDotOsgWrapper(DotOsgWrapper* wrapper) +[more]void removeDotOsgWrapper(DotOsgWrapper* wrapper)
    -[more]void addReaderWriter(ReaderWriter* rw) +[more]void addReaderWriter(ReaderWriter* rw)
    -[more]void removeReaderWriter(ReaderWriter* rw) +[more]void removeReaderWriter(ReaderWriter* rw)
    -[more]std::string createLibraryNameForFile(const std::string& fileName) +[more]std::string createLibraryNameForFile(const std::string& fileName)
    create the platform specific library name associated with file
    -[more]std::string createLibraryNameForExt(const std::string& ext) +[more]std::string createLibraryNameForExt(const std::string& ext)
    create the platform specific library name associated with file extension
    -[more]bool loadLibrary(const std::string& fileName) +[more]std::string createLibraryNameForNodeKit(const std::string& name) +
    create the platform specific library name associated with nodekit library name +
    +[more]bool loadLibrary(const std::string& fileName)
    find the library in the SG_LIBRARY_PATH and load it
    -[more]bool closeLibrary(const std::string& fileName) +[more]bool closeLibrary(const std::string& fileName)
    close the attached library with specified name
    -[more]osg::Object* readObjectOfType(const osg::Object& compObj, Input& fr) +[more]osg::Object* readObjectOfType(const osg::Object& compObj, Input& fr)
    -[more]osg::Object* readObject(Input& fr) +[more]osg::Object* readObject(Input& fr)
    -[more]osg::Image* readImage(Input& fr) +[more]osg::Image* readImage(Input& fr)
    -[more]osg::Drawable* readDrawable(Input& fr) +[more]osg::Drawable* readDrawable(Input& fr)
    -[more]osg::StateAttribute* readStateAttribute(Input& fr) +[more]osg::StateAttribute* readStateAttribute(Input& fr)
    -[more]osg::Node* readNode(Input& fr) +[more]osg::Node* readNode(Input& fr)
    -[more]bool writeObject(const osg::Object& obj, Output& fw) +[more]bool writeObject(const osg::Object& obj, Output& fw)
    -[more]ReaderWriter::ReadResult readObject(const std::string& fileName) +[more]ReaderWriter::ReadResult readObject(const std::string& fileName)
    -[more]ReaderWriter::WriteResult writeObject(const osg::Object& obj, const std::string& fileName) +[more]ReaderWriter::WriteResult writeObject(const osg::Object& obj, const std::string& fileName)
    -[more]ReaderWriter::ReadResult readImage(const std::string& fileName) +[more]ReaderWriter::ReadResult readImage(const std::string& fileName)
    -[more]ReaderWriter::WriteResult writeImage(const osg::Image& obj, const std::string& fileName) +[more]ReaderWriter::WriteResult writeImage(const osg::Image& obj, const std::string& fileName)
    -[more]ReaderWriter::ReadResult readNode(const std::string& fileName) +[more]ReaderWriter::ReadResult readNode(const std::string& fileName)
    -[more]ReaderWriter::WriteResult writeNode(const osg::Node& node, const std::string& fileName) +[more]ReaderWriter::WriteResult writeNode(const osg::Node& node, const std::string& fileName)
    -[more]void setCreateNodeFromImage(bool flag) +[more]void setCreateNodeFromImage(bool flag)
    -[more]bool getCreateNodeFromImage() const +[more]bool getCreateNodeFromImage() const
    -[more]void setOptions(ReaderWriter::Options* opt) +[more]void setOptions(ReaderWriter::Options* opt)
    -[more]ReaderWriter::Options* getOptions() +[more]ReaderWriter::Options* getOptions()
    -[more]const ReaderWriter::Options* getOptions() const +[more]const ReaderWriter::Options* getOptions() const +
    +[more]void initFilePathLists() +
    initilize both the Data and Library FilePaths, by default called by the constructor, so it should only be required if you want to force the re-reading of environmental variables +
    +[more]void initDataFilePathList() +
    initilize the Data FilePath by reading the OSG_FILE_PATH environmental variable +
    +[more]void setDataFilePathList(const FilePathList& filepath) +
    Set the data file path using a list of paths stored in a FilePath, which is used when search for data files +
    +[more]void setDataFilePathList(const std::string& paths) +
    Set the data file path using a single string deliminated either with ';' (Windows) or ':' (All other platforms), which is used when search for data files +
    +[more]FilePathList& getDataFilePathList() +
    get the data file path which is used when search for data files +
    +[more]const FilePathList& getDataFilePathList() const +
    get the const data file path which is used when search for data files +
    +[more]void initLibraryFilePathList() +
    initilize the Library FilePath by reading the OSG_LIBRARY_PATH and the appropriate system environmental variables +
    +[more]void setLibraryFilePathList(const FilePathList& filepath) +
    Set the library file path using a list of paths stored in a FilePath, which is used when search for data files +
    +[more]void setLibraryFilePathList(const std::string& paths) +
    Set the library file path using a single string deliminated either with ';' (Windows) or ':' (All other platforms), which is used when search for data files +
    +[more]FilePathList& getLibraryFilePathList() +
    get the library file path which is used when search for library (dso/dll's) files +
    +[more]const FilePathList& getLibraryFilePathList() const +
    get the const library file path which is used when search for library (dso/dll's) files +
    +[more]static void convertStringPathIntoFilePathList(const std::string& paths, FilePathList& filepath) +
    convert a string containing a list of paths deliminated either with ';' (Windows) or ':' (All other platforms) into FilePath represetation

    @@ -99,20 +138,20 @@ register at runtime a reader/writer with the Registry.
    - +
    ostatic Registry* instance()

    - +

    o ~Registry()

    - +

    ovoid readCommandLine(std::vector<std::string>& commandLine)
    read the command line string list, removing any matched control sequences

    - +

    ovoid addFileExtensionAlias(const std::string mapExt, const std::string toExt)
    register an fileextension alias to mapExt toExt, the later should the the extension name of the readerwriter plugin library. @@ -121,112 +160,180 @@ addExtAlias("tif","tiff") which will enable .tif to be read by the libdb_tiff readerwriter plugin.

    - +

    ovoid addDotOsgWrapper(DotOsgWrapper* wrapper)

    - +

    ovoid removeDotOsgWrapper(DotOsgWrapper* wrapper)

    - +

    ovoid addReaderWriter(ReaderWriter* rw)

    - +

    ovoid removeReaderWriter(ReaderWriter* rw)

    - +

    ostd::string createLibraryNameForFile(const std::string& fileName)
    create the platform specific library name associated with file

    - +

    ostd::string createLibraryNameForExt(const std::string& ext)
    create the platform specific library name associated with file extension

    + + +

    ostd::string createLibraryNameForNodeKit(const std::string& name) +
    create the platform specific library name associated with nodekit library name +

    - +

    obool loadLibrary(const std::string& fileName)
    find the library in the SG_LIBRARY_PATH and load it

    - +

    obool closeLibrary(const std::string& fileName)
    close the attached library with specified name

    - +

    oosg::Object* readObjectOfType(const osg::Object& compObj, Input& fr)

    - +

    oosg::Object* readObject(Input& fr)

    - +

    oosg::Image* readImage(Input& fr)

    - +

    oosg::Drawable* readDrawable(Input& fr)

    - +

    oosg::StateAttribute* readStateAttribute(Input& fr)

    - +

    oosg::Node* readNode(Input& fr)

    - +

    obool writeObject(const osg::Object& obj, Output& fw)

    - +

    oReaderWriter::ReadResult readObject(const std::string& fileName)

    - +

    oReaderWriter::WriteResult writeObject(const osg::Object& obj, const std::string& fileName)

    - +

    oReaderWriter::ReadResult readImage(const std::string& fileName)

    - +

    oReaderWriter::WriteResult writeImage(const osg::Image& obj, const std::string& fileName)

    - +

    oReaderWriter::ReadResult readNode(const std::string& fileName)

    - +

    oReaderWriter::WriteResult writeNode(const osg::Node& node, const std::string& fileName)

    - +

    ovoid setCreateNodeFromImage(bool flag)

    - +

    obool getCreateNodeFromImage() const

    - +

    ovoid setOptions(ReaderWriter::Options* opt)

    - +

    oReaderWriter::Options* getOptions()

    - +

    oconst ReaderWriter::Options* getOptions() const +

    + + +

    ovoid initFilePathLists() +
    initilize both the Data and Library FilePaths, by default called by the +constructor, so it should only be required if you want to force +the re-reading of environmental variables +

    + + +

    ovoid initDataFilePathList() +
    initilize the Data FilePath by reading the OSG_FILE_PATH environmental variable +

    + + +

    ovoid setDataFilePathList(const FilePathList& filepath) +
    Set the data file path using a list of paths stored in a FilePath, which is used when search for data files +

    + + +

    ovoid setDataFilePathList(const std::string& paths) +
    Set the data file path using a single string deliminated either with ';' (Windows) or ':' (All other platforms), which is used when search for data files +

    + + +

    oFilePathList& getDataFilePathList() +
    get the data file path which is used when search for data files +

    + + +

    oconst FilePathList& getDataFilePathList() const +
    get the const data file path which is used when search for data files +

    + + +

    ovoid initLibraryFilePathList() +
    initilize the Library FilePath by reading the OSG_LIBRARY_PATH +and the appropriate system environmental variables +

    + + +

    ovoid setLibraryFilePathList(const FilePathList& filepath) +
    Set the library file path using a list of paths stored in a FilePath, which is used when search for data files +

    + + +

    ovoid setLibraryFilePathList(const std::string& paths) +
    Set the library file path using a single string deliminated either with ';' (Windows) or ':' (All other platforms), which is used when search for data files +

    + + +

    oFilePathList& getLibraryFilePathList() +
    get the library file path which is used when search for library (dso/dll's) files +

    + + +

    oconst FilePathList& getLibraryFilePathList() const +
    get the const library file path which is used when search for library (dso/dll's) files +

    + + +

    ostatic void convertStringPathIntoFilePathList(const std::string& paths, FilePathList& filepath) +
    convert a string containing a list of paths deliminated either with ';' (Windows) or ':' (All other platforms) into FilePath represetation


    This class has no child classes.
    diff --git a/doc/doc++/osgDB/WriteResult.html b/doc/doc++/osgDB/WriteResult.html index 173132162..4006a5be8 100644 --- a/doc/doc++/osgDB/WriteResult.html +++ b/doc/doc++/osgDB/WriteResult.html @@ -12,35 +12,35 @@

    Public Methods

    -[more] WriteResult(WriteStatus status=FILE_NOT_HANDLED) +[more] WriteResult(WriteStatus status=FILE_NOT_HANDLED)
    -[more] WriteResult(const std::string& m) +[more] WriteResult(const std::string& m)
    -[more] WriteResult(const WriteResult& rr) +[more] WriteResult(const WriteResult& rr)
    -[more]WriteResult& operator = (const WriteResult& rr) +[more]WriteResult& operator = (const WriteResult& rr)
    -[more]const std::string& message() const +[more]const std::string& message() const
    -[more]const WriteStatus status() const +[more]const WriteStatus status() const
    -[more]const bool success() const +[more]const bool success() const
    -[more]const bool error() const +[more]const bool error() const
    -[more]const bool notHandled() const +[more]const bool notHandled() const

    Public Members

    -[more]enum WriteStatus +[more]enum WriteStatus

    Protected Fields

    -[more]WriteStatus _status +[more]WriteStatus _status
    -[more]std::string _message +[more]std::string _message

    @@ -51,65 +51,65 @@
    - +
    oenum WriteStatus

    - +
    o FILE_NOT_HANDLED

    - +

    o FILE_SAVED

    - +

    o ERROR_IN_WRITING_FILE

    - -
    o WriteResult(WriteStatus status=FILE_NOT_HANDLED) + +
    o WriteResult(WriteStatus status=FILE_NOT_HANDLED)

    - +

    o WriteResult(const std::string& m)

    - -

    o WriteResult(const WriteResult& rr) + +
    o WriteResult(const WriteResult& rr)

    - +

    oWriteResult& operator = (const WriteResult& rr)

    - +

    oconst std::string& message() const

    - -

    oconst WriteStatus status() const + +
    oconst WriteStatus status() const

    - +

    oconst bool success() const

    - +

    oconst bool error() const

    - +

    oconst bool notHandled() const

    - -

    oWriteStatus _status + +
    oWriteStatus _status

    - +

    ostd::string _message

    diff --git a/doc/doc++/osgDB/findFileInPath.html b/doc/doc++/osgDB/findFileInPath.html index 584353bf8..5fe3c5e9d 100644 --- a/doc/doc++/osgDB/findFileInPath.html +++ b/doc/doc++/osgDB/findFileInPath.html @@ -2,17 +2,17 @@ - OSGDB_EXPORT extern char* osgDB::findFileInPath + OSGDB_EXPORT extern std::string osgDB::findFileInPath -

    OSGDB_EXPORT extern char* osgDB::findFileInPath

    ( const char* _file,
      const char* filePath )

    find specified file if specified file path
    +

    OSGDB_EXPORT extern std::string osgDB::findFileInPath

    (const std::string& filename,
      const FilePathList& filePath)

    find specified file in specified file path

    Documentation

    -
    find specified file if specified file path
    +
    find specified file in specified file path

    Alphabetic index HTML hierarchy of classes or Java



    This page was generated with the help of DOC++. diff --git a/doc/doc++/osgDB/osgDB.html b/doc/doc++/osgDB/osgDB.html index 3f943ea4d..2350069b0 100644 --- a/doc/doc++/osgDB/osgDB.html +++ b/doc/doc++/osgDB/osgDB.html @@ -37,40 +37,47 @@ class OSGDB_EXPORT FieldReaderIterator [more]OSGDB_EXPORT extern bool equalCaseInsensitive(const std::string& lhs, const char* rhs)
    -OSGDB_EXPORT extern void initFilePath( void ) -
    initialize the data file path, uses OSGFILEPATH environmental variable to defined +OSGDB_EXPORT extern bool fileExists(const std::string& filename) +
    return true if a file exisits.
    -OSGDB_EXPORT extern void setFilePath( const char* _path ) -
    set the data file path -
    -OSGDB_EXPORT extern const char* getFilePath() -
    set the data file path -
    -OSGDB_EXPORT extern char* findFileInPath( const char* _file, const char* filePath ) -
    find specified file if specified file path -
    -OSGDB_EXPORT extern char* findFile( const char* file ) -
    find specified file on the set data file path -
    -OSGDB_EXPORT extern char* findDSO( const char* name ) -
    find specified dso/dll -
    -typedef std::vector<std::string> DirectoryContents -
    simple list of names to represent a directory's contents. +OSGDB_EXPORT extern std::string findFileInPath(const std::string& filename, const FilePathList& filePath) +
    find specified file in specified file path
    OSGDB_EXPORT extern std::string findFileInDirectory(const std::string& fileName, const std::string& dirName, bool caseInsensitive=false)
    return the directory/filename of a file if its is contained within specified directory.
    +typedef std::vector<std::string> DirectoryContents +
    simple list of names to represent a directory's contents. +
    OSGDB_EXPORT extern DirectoryContents getDirectoryContents(const std::string& dirName)
    return the contents of a directory.
    +[more]inline void setDataFilePathList(const FilePathList& filepath) +
    +[more]inline void setDataFilePathList(const std::string& paths) +
    +[more]inline FilePathList& getDataFilePathList() +
    +[more]OSGDB_EXPORT extern std::string findDataFile(const std::string& filename) +
    +class PushAndPopDataPath +
    Convinience class for pushing a path on construction, and popping the path and destruction. +
    +[more]inline void setLibraryFilePathList(const FilePathList& filepaths) +
    +[more]inline void setLibraryFilePathList(const std::string& paths) +
    +[more]inline FilePathList& getLibraryFilePathList() +
    +[more]OSGDB_EXPORT extern std::string findLibraryFile(const std::string& filename) +
    class OSGDB_EXPORT Input: public FieldReaderIterator
    Class for managing the reading of ASCII osg files
    class OSGDB_EXPORT Output: public std::ofstream
    ofstream wrapper class for adding support for indenting.
    -[more]template<class T> bool writeArrayBlock(Output& fw, T* start, T* finish) +[more]template<class T> bool writeArrayBlock(Output& fw, T* start, T* finish)
    class OSGDB_EXPORT ReaderWriter: public osg::Referenced
    pure virtual base class for reading and writing of non native formats. @@ -87,6 +94,9 @@ OSGDB_EXPORT extern osg::Node* readNodeFilereadNodeFiles(std::vector<std::string>& commandLine)
    Read an osg::Node subgraph from files, creating a osg::Group to contain the nodes if more than one subgraph has been loaded
    +typedef std::deque<std::string> FilePathList +
    list of directories to search through which searching for files. +
    class OSGDB_EXPORT Registry
    Registry is a singleton factory which stores the reader/writers which are linked in at runtime for reading non-native file formats.
    @@ -143,8 +153,40 @@ OSGDB_EXPORT extern bool writeNodeFile(c
    oOSGDB_EXPORT extern bool equalCaseInsensitive(const std::string& lhs, const char* rhs)

    - + + +

    oinline void setDataFilePathList(const FilePathList& filepath) +

    + + +

    oinline void setDataFilePathList(const std::string& paths) +

    + + +

    oinline FilePathList& getDataFilePathList() +

    + + +

    oOSGDB_EXPORT extern std::string findDataFile(const std::string& filename) +

    + + +

    oinline void setLibraryFilePathList(const FilePathList& filepaths) +

    + +

    oinline void setLibraryFilePathList(const std::string& paths) +

    + + +

    oinline FilePathList& getLibraryFilePathList() +

    + + +

    oOSGDB_EXPORT extern std::string findLibraryFile(const std::string& filename) +

    + +

    otemplate<class T> bool writeArrayBlock(Output& fw, T* start, T* finish)

    Alphabetic index HTML hierarchy of classes or Java


    diff --git a/doc/doc++/osgGA/CameraManipulator.html b/doc/doc++/osgGA/CameraManipulator.html new file mode 100644 index 000000000..98b20ef16 --- /dev/null +++ b/doc/doc++/osgGA/CameraManipulator.html @@ -0,0 +1,160 @@ + + + + + class OSGGA_EXPORT osgGA::CameraManipulator + + + + +

    class OSGGA_EXPORT osgGA::CameraManipulator


    + +

    Inheritance:

    + + + + + + + +
    + +
    +

    +

    Public Methods

    +[more] CameraManipulator() +
    +[more]virtual ~CameraManipulator() +
    +[more]virtual void setCamera(osg::Camera*) +
    attach a camera to the manipulator to be used for specifying view +
    +[more]virtual const osg::Camera* getCamera() const +
    get the attached camera +
    +[more]virtual osg::Camera* getCamera() +
    get the attached camera +
    +[more]virtual void setNode(osg::Node*) +
    Attach a node to the manipulator. +
    +[more]virtual const osg::Node* getNode() const +
    Return node if attached +
    +[more]virtual osg::Node* getNode() +
    Return node if attached +
    +[more]virtual void home(const GUIEventAdapter&, GUIActionAdapter&) +
    Move the camera to the default position. +
    +[more]virtual void init(const GUIEventAdapter&, GUIActionAdapter&) +
    Start/restart the manipulator +
    +[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +
    Handle events, return true if handled, false otherwise +
    +[more]virtual void accept(GUIEventHandlerVisitor& v) +
    Handle visitations +

    + +

    +

    Protected Fields

    +[more]osg::ref_ptr<osg::Camera> _camera +

    + +
    +

    Inherited from GUIEventHandler:

    +
    +

    +

    Public Methods

    +ovirtual const CompositeGUIEventHandler* getComposite() const +
    +ovirtual CompositeGUIEventHandler* getComposite() +

    + +
    + + +
    +

    Documentation

    +
    + + + +
    o CameraManipulator() +

    + + +

    ovirtual ~CameraManipulator() +

    + + +

    ovirtual void setCamera(osg::Camera*) +
    attach a camera to the manipulator to be used for specifying view +

    + + +

    ovirtual const osg::Camera* getCamera() const +
    get the attached camera +

    + + +

    ovirtual osg::Camera* getCamera() +
    get the attached camera +

    + + +

    ovirtual void setNode(osg::Node*) +
    Attach a node to the manipulator. +Automatically detaches previously attached node. +setNode(NULL) detaches previously nodes. +Is ignored by manipulators which do not require a reference model. +

    + + +

    ovirtual const osg::Node* getNode() const +
    Return node if attached +

    + + +

    ovirtual osg::Node* getNode() +
    Return node if attached +

    + + +

    ovirtual void home(const GUIEventAdapter&, GUIActionAdapter&) +
    Move the camera to the default position. +May be ignored by manipulators if home functionality is not appropriate. +

    + + +

    ovirtual void init(const GUIEventAdapter&, GUIActionAdapter&) +
    Start/restart the manipulator +

    + + +

    ovirtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +
    Handle events, return true if handled, false otherwise +

    + + +

    ovirtual void accept(GUIEventHandlerVisitor& v) +
    Handle visitations +

    + + +

    oosg::ref_ptr<osg::Camera> _camera +

    +
    +
    Direct child classes: +
    TrackballManipulator
    +KeySwitchCameraManipulator
    +FlightManipulator
    +DriveManipulator
    +
    + +

    Alphabetic index HTML hierarchy of classes or Java


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGA/ClassGraph.class b/doc/doc++/osgGA/ClassGraph.class new file mode 100644 index 0000000000000000000000000000000000000000..4f41a1fb2fdf65525a700ad591fe8a696f29497f GIT binary patch literal 1237 zcma)6*-{fh6g@+hNrou`K|w^^#V{;!Uxf)I{zh+h=K3 zsd!waUo=!!3dIjq#=y{V{6M7_+&wM=R|*RBw*!KzHaBtvg;Em*1L4$)R)eWlU#iPW zPx={+I$h{qMG7udrcI%d+6D~_cO;*T)@?>RB02V1R@EvKtjwE3##>R3iE=uxd{>m) zBRU}i>WsuD>(0FYN6y?~v%I|}%|80f6|R~yU}ZfP1j|0Fd@ztWac1<5bRp|ZaL+(* zBd2*{+H_Wyxb7lFpqNkv=2f-7cv$2WMb{J<7|5NpZ8V{KN}fKEfxet9GOxgVm+g3* zDidpL-z_sG{rRd=Qc&Z(tolX1yd+@k)$&&}|#YQU4bz2pm?{eSgrM&xv$VGh~Gz=@?#JBjV?8~a4HN?qp z7K6@BA1O#fe|02#$X>+^$qadih$BMUbCQu7F65kKnAED1>>;)0B%`Ee!%i|p`WwzW zzmV7t)sd`WjO^I<MT3FyI-fA42Q3jhEB literal 0 HcmV?d00001 diff --git a/doc/doc++/osgGA/ClassGraphPanel.class b/doc/doc++/osgGA/ClassGraphPanel.class new file mode 100644 index 0000000000000000000000000000000000000000..4f3ea86bb625e4e043d10fafb3b0b05cf2f96537 GIT binary patch literal 4084 zcmbtWX>c4@5&lLyyR*lXB(J?mmPm#W>_{tH!Xb!QvIDl97=dgjR%}Nym>unoq_tNw z%I>VBgm4=IB%DP##03F|V>uGQMp~IT2Uj@Eec$=X4~qX(Q550pH+#lP%0Q{quiy8& zzwYVR@4dbF@5i1*09)})825$ofiON6#sgt|GK|lJ@kkh73FCWV{5*``hVd5zA2je` z10ON)2?OU1e8a$F1}+$Q+`tnCo;2{3fo~f4mVs{@_>O_^8hAR24!kakD@AO?>!awz zSQOpZ7sUqbkDwg~MBExd9JfWW9tUMQF5-6aI3(KPD8-Q|uD~5pbYViUNfAfI&*JSSK8J@*d|pHu51RM_7EF8*XH0wvr%Zeqo{2|s z+Qe7!P7`0lTTPtByG@+Kr%ZfZOqOw%i51Z*__T>t@%TPIZsG^x@k3d-DA3DR-0hY=%^o*qaSt+1JW2YqzSe4J&p86+`L;D7Btm@&ds}y?RdjYUozs> zK>3me#omH7Kby-G70Xp?E%;%Z1Jr#+M=#A;vbnm6XUw|GEqVJa$C|PIToct*^`!@< zjRC}bMqcQ21 zu5LkYwH!OIA*O8nebS(hxLI3RT&Ktu_YPb666e|;VmB{k?0JvJp-6ydMH?eH*5uB; z>8ySkPmkZ88seAMS3~=lo3ZkTtwPS4%G)ID*l#W5W-QMw>@Inp>yZ8+>BrqtA!FZ? z%S#gMlD4A^96#EK;#)KF`YPC5A^IHSA+)kt4MA(#vkR=&ls)YhNEe*STbUCAxFsjc z6pSeqnVO!-I37!r;fi;=dxEzBsYnvY=18Gu-9;uCkzrS%;4W$iXA9QiSk57D$iA~= z<>?Td&J~KJ(PsG}vsQ5*!`8?`vvzJ~mW!dBljUJ0L#|%!j`|H$t3`VqQB`FLntfcPqv2V(ktLL=Fr?7pN#~O4t zT>bN{!BkMS#Wf_=wB+UT)r(Y>D|feihsItF<<)h<(&z1IuUdLT^f_xumThN7A_de` zpK}+u9}$PAR1tAY=2;aMJEBH^zci9Z3$h!vy)4>ZwagK!^`lW_B6Ka5ri$v8XE&DS z**2y5s-s>i$i5p3a%c`rGiP>2a50yaoHQn=-2?C?y^=Ds z$a&mS!7C4FLmkQX3bsFl4HwWokqjl*oH55|*bysd(P2N4Pk#%a(iAuphFA{k9~B!h|0L_D#Mm`bI86)zo6P0&J5uP}Rl z==G0)F|mplPp)9Fg4YBFV`bc!61GH)fnRo{s&;M^rbMit!)CR#J(y3=CSsi% zXDb*!8PgImE~U;q`}A4v?BDPY{1ZvF>-^E$2Jx${@qTJG!;R!&7vH$|u38lAt%Uf5lt`!0Q5 z61~-(zxsUlzys|22oSiBRoce?-T=$HYZawB1z+k8x$R_nfC=t@r(tU}CDC6Txg<7h+oWC&S9_bii!b$r|mIZMwTUqixDJN$c4LcvBUu z@=G#%%56_EJR6)vn{3dw#HPL4!dh z$DJobZHZ8ljj&zMp83})|BBG?Q@o>k#upIcA8@?y9ImV2)qz31jN6#S;4*FuW&`Ij z#QSb%LZ_5tA}zN$q4Ol~q}Hpno}pkexQtN|uTAf)T5a;JPU>1hrz!8rM^XVkaJ3vB JV$?Q#=szD|0>A(O literal 0 HcmV?d00001 diff --git a/doc/doc++/osgGA/ClassLayout.class b/doc/doc++/osgGA/ClassLayout.class new file mode 100644 index 0000000000000000000000000000000000000000..69a6f494ed99e62d55c975c56b11981104a3dca9 GIT binary patch literal 2443 zcmZuy>2nih82>HVBfIRhrLbUtR6&I{DHK$q7O2{CSZ$$Nt%9Q2CfjstvKu#>mg24T zzHd=Ha5~e`PwKRRkr~I&`WN`mh|lwGlBPmt_IaQCe&77{@9%#ghCR3#hohmO!PPLM z;aLqYX?R(~D;i$a@S27N4XL&KXI-qP^4hIb6K;dTRY++m;t2N+}++^IvyT?S;_ zZ9qf6PS`;PhnPI9L&1PfX7@08FDu{2(m?|%h71@u!q`zA8*q%h9B1-=115$Udw?w- zWQ!4YHOe7RFz=*+c8sy-hjgsR!wkkvOyLxRGYoPjs<0VMnwW)WVh&joXYq)Mc_z=H zV&XZRHt{@TFEH;#Oqh6&vG*B#fX7UHh$l^a%uYXnZ{kxtZQ?ULYT|Q_@g)nsV&(G; zzGm33dyX)(nv%74O84+E zrzTF}VKu{5d-k2`Zk2eU?Rrjduq9k;L0hh`Om2GX5|PHq$r&dXHk`C%HdvjSBJclG zuUA`-c|CQj)q6voqV`;e-&#(iQCz6hFF`%zdTux%!5AvqmCEtJE>BBnUnTbP9M^Eh zY|kl5STA%&?0LT$N|1;Ayu)66uM*l`IAIs7Odma)bIKtNze4e-{Z^EW>-UY(Ktsyh zu}f5b+lZgDixYO>+LJ|xl-p0(vu?o-{a~;fhCZ#9G45A`oO8@Al4I#Kt&N?}NAa5j zq=M{n+41s(O!{P3lAx30+;~WhCa*ca>V-{piWASfoN$hODpPJyp<2v>v#LTGg}|R1 zai&P3PCIU4nh{s*F6Gc%^QP0a%=-ScGMoED`83U=%RpDB$%#rEwLQDw1k|CXK->_z zOM@}OVR(HM<{iBPJGTV>xi>CIn7>q>+lze`I>9e1LGbe_PI?r@Nsld^8tKs+P4F3_c3~Z1z}D0ybf!AGRtQs8u!BK5C9h!H zufkSBh0*h0e%K+{VJLtfkb2bvmOgsFI~7 zFJApQMe%N+P&?>LXQP<%6~s^VF5@QpQsg;H=U)1@kfZD+Z2X0i;qSCXT0)-`S)b-YWhtV4KcX$6 zMd%9lB~&3|&{abZtMBZObCF6uqg(m~sIiRBbjILV)P$}?+!A=N=+LxqkYB<6C0L0# zEA?7>G%8|J0GjcBD~iY&B=br!Tf;5C;npkYIAtl9(RT@(I;9#mb9}3YJvDSMD3Ya6 OO$QpS45)eQF#R7oR!vR- literal 0 HcmV?d00001 diff --git a/doc/doc++/osgGA/CompositeGUIEventHandler.html b/doc/doc++/osgGA/CompositeGUIEventHandler.html new file mode 100644 index 000000000..28e5c5b00 --- /dev/null +++ b/doc/doc++/osgGA/CompositeGUIEventHandler.html @@ -0,0 +1,112 @@ + + + + + class OSGGA_EXPORT osgGA::CompositeGUIEventHandler + + + + +

    class OSGGA_EXPORT osgGA::CompositeGUIEventHandler

    CompositeGUIEventHandler allows GUIEventHandlers to be composed into hierarchies
    +
    + +

    Inheritance:

    + + + + + + + +
    + +
    +

    +

    Public Methods

    +[more]typedef std::vector< osg::ref_ptr<GUIEventHandler> >virtual ChildList bool handle(const GUIEventAdapter& ea, GUIActionAdapter& aa) +
    +[more]virtual const CompositeGUIEventHandler* getComposite() const +
    +[more]virtual CompositeGUIEventHandler* getComposite() +
    +[more]virtual void accept(GUIEventHandlerVisitor& v) +
    +[more]virtual bool addChild(GUIEventHandler* geh) +
    +[more]virtual bool removeChild(GUIEventHandler* geh) +
    +[more]const int getNumChildren() const +
    +[more]GUIEventHandler* getChild( int i) +
    +[more]const GUIEventHandler* getChild( int i ) const +
    +[more]bool containsNode( const GUIEventHandler* node ) const +
    +[more]ChildList::iterator findChild( const GUIEventHandler* node ) +

    + +
    +

    Inherited from GUIEventHandler:

    +
    +
    + + +
    +

    Documentation

    +
    +CompositeGUIEventHandler allows GUIEventHandlers to be composed into hierarchies
    +
    + + + +
    otypedef std::vector< osg::ref_ptr<GUIEventHandler> >virtual ChildList bool handle(const GUIEventAdapter& ea, GUIActionAdapter& aa) +

    + + +

    ovirtual const CompositeGUIEventHandler* getComposite() const +

    + + +

    ovirtual CompositeGUIEventHandler* getComposite() +

    + + +

    ovirtual void accept(GUIEventHandlerVisitor& v) +

    + + +

    ovirtual bool addChild(GUIEventHandler* geh) +

    + + +

    ovirtual bool removeChild(GUIEventHandler* geh) +

    + + +

    oconst int getNumChildren() const +

    + + +

    oGUIEventHandler* getChild( int i) +

    + + +

    oconst GUIEventHandler* getChild( int i ) const +

    + + +

    obool containsNode( const GUIEventHandler* node ) const +

    + + +

    oChildList::iterator findChild( const GUIEventHandler* node ) +

    + +
    This class has no child classes.
    + +

    Alphabetic index HTML hierarchy of classes or Java


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGA/DriveManipulator.html b/doc/doc++/osgGA/DriveManipulator.html new file mode 100644 index 000000000..77db2f095 --- /dev/null +++ b/doc/doc++/osgGA/DriveManipulator.html @@ -0,0 +1,143 @@ + + + + + class OSGGA_EXPORT osgGA::DriveManipulator + + + + +

    class OSGGA_EXPORT osgGA::DriveManipulator


    + +

    Inheritance:

    + + + + + + + +
    + +
    +

    +

    Public Methods

    +[more] DriveManipulator() +
    +[more]virtual ~DriveManipulator() +
    +[more]virtual void setNode(osg::Node*) +
    Attach a node to the manipulator. +
    +[more]virtual const osg::Node* getNode() const +
    Return node if attached +
    +[more]virtual osg::Node* getNode() +
    Return node if attached +
    +[more]virtual void home(const GUIEventAdapter& ea, GUIActionAdapter& us) +
    Move the camera to the default position. +
    +[more]virtual void init(const GUIEventAdapter& ea, GUIActionAdapter& us) +
    Start/restart the manipulator +
    +[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +
    handle events, return true if handled, false otherwise +

    + +
    +

    Inherited from CameraManipulator:

    +
    +

    +

    Public Methods

    +ovirtual void setCamera(osg::Camera*) +
    +ovirtual const osg::Camera* getCamera() const +
    +ovirtual osg::Camera* getCamera() +
    +ovirtual void accept(GUIEventHandlerVisitor& v) +

    + +

    +

    Protected Fields

    +oosg::ref_ptr<osg::Camera> _camera +

    + +
    +

    Inherited from GUIEventHandler:

    +
    +

    +

    Public Methods

    +ovirtual const CompositeGUIEventHandler* getComposite() const +
    +ovirtual CompositeGUIEventHandler* getComposite() +

    + +
    + + +
    +

    Documentation

    +
    + + + +
    o DriveManipulator() +

    + + +

    ovirtual ~DriveManipulator() +

    + + +

    ovirtual void setNode(osg::Node*) +
    Attach a node to the manipulator. +Automatically detaches previously attached node. +setNode(NULL) detaches previously nodes. +Is ignored by manipulators which do not require a reference model. +

    + + +

    ovirtual const osg::Node* getNode() const +
    Return node if attached +

    + + +

    ovirtual osg::Node* getNode() +
    Return node if attached +

    + + +

    ovirtual void home(const GUIEventAdapter& ea, GUIActionAdapter& us) +
    Move the camera to the default position. +May be ignored by manipulators if home functionality is not appropriate. +

    + + +

    ovirtual void init(const GUIEventAdapter& ea, GUIActionAdapter& us) +
    Start/restart the manipulator +

    + + +

    ovirtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +
    handle events, return true if handled, false otherwise +

    + + + +
    o USE_MOUSE_Y_FOR_SPEED +

    + + +

    o USE_MOUSE_BUTTONS_FOR_SPEED +

    +
    + +
    This class has no child classes.
    + +

    Alphabetic index HTML hierarchy of classes or Java


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGA/FlightManipulator.html b/doc/doc++/osgGA/FlightManipulator.html new file mode 100644 index 000000000..0199db767 --- /dev/null +++ b/doc/doc++/osgGA/FlightManipulator.html @@ -0,0 +1,160 @@ + + + + + class OSGGA_EXPORT osgGA::FlightManipulator + + + + +

    class OSGGA_EXPORT osgGA::FlightManipulator


    + +

    Inheritance:

    + + + + + + + +
    + +
    +

    +

    Public Methods

    +[more] FlightManipulator() +
    +[more]virtual ~FlightManipulator() +
    +[more]virtual void setNode(osg::Node*) +
    Attach a node to the manipulator. +
    +[more]virtual const osg::Node* getNode() const +
    Return node if attached +
    +[more]virtual osg::Node* getNode() +
    Return node if attached +
    +[more]virtual void home(const GUIEventAdapter& ea, GUIActionAdapter& us) +
    Move the camera to the default position. +
    +[more]virtual void init(const GUIEventAdapter& ea, GUIActionAdapter& us) +
    Start/restart the manipulator +
    +[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +
    handle events, return true if handled, false otherwise +
    +[more]void setYawControlMode(YawControlMode ycm) +
    Set the yaw control between no yaw and yawing when banked +

    + +

    +

    Public Members

    +[more]enum YawControlMode +

    + +
    +

    Inherited from CameraManipulator:

    +
    +

    +

    Public Methods

    +ovirtual void setCamera(osg::Camera*) +
    +ovirtual const osg::Camera* getCamera() const +
    +ovirtual osg::Camera* getCamera() +
    +ovirtual void accept(GUIEventHandlerVisitor& v) +

    + +

    +

    Protected Fields

    +oosg::ref_ptr<osg::Camera> _camera +

    + +
    +

    Inherited from GUIEventHandler:

    +
    +

    +

    Public Methods

    +ovirtual const CompositeGUIEventHandler* getComposite() const +
    +ovirtual CompositeGUIEventHandler* getComposite() +

    + +
    + + +
    +

    Documentation

    +
    + + + +
    o FlightManipulator() +

    + + +

    ovirtual ~FlightManipulator() +

    + + +

    ovirtual void setNode(osg::Node*) +
    Attach a node to the manipulator. +Automatically detaches previously attached node. +setNode(NULL) detaches previously nodes. +Is ignored by manipulators which do not require a reference model. +

    + + +

    ovirtual const osg::Node* getNode() const +
    Return node if attached +

    + + +

    ovirtual osg::Node* getNode() +
    Return node if attached +

    + + +

    ovirtual void home(const GUIEventAdapter& ea, GUIActionAdapter& us) +
    Move the camera to the default position. +May be ignored by manipulators if home functionality is not appropriate. +

    + + +

    ovirtual void init(const GUIEventAdapter& ea, GUIActionAdapter& us) +
    Start/restart the manipulator +

    + + +

    ovirtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +
    handle events, return true if handled, false otherwise +

    + + +

    oenum YawControlMode +

    + + + +
    o YAW_AUTOMATICALLY_WHEN_BANKED +

    + + +

    o NO_AUTOMATIC_YAW +

    + + + +
    ovoid setYawControlMode(YawControlMode ycm) +
    Set the yaw control between no yaw and yawing when banked +

    + +
    This class has no child classes.
    + +

    Alphabetic index HTML hierarchy of classes or Java


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGA/GUIActionAdapter.html b/doc/doc++/osgGA/GUIActionAdapter.html new file mode 100644 index 000000000..43d3afa12 --- /dev/null +++ b/doc/doc++/osgGA/GUIActionAdapter.html @@ -0,0 +1,77 @@ + + + + + class osgGA::GUIActionAdapter + + + + +

    class osgGA::GUIActionAdapter

    Pure virtual base class for adapting the GUI actions requested by CameraManipulators into actions which are handled by the GUI toolkit of the users application.
    +
    + +
    +

    +

    Public Methods

    +[more]virtual void requestRedraw() = 0 +
    +[more]virtual void requestContinuousUpdate(bool needed=true) = 0 +
    +[more]virtual void requestWarpPointer(int x, int y) = 0 +

    + +
    + + +
    +

    Documentation

    +
    Pure virtual base class for adapting the GUI actions requested by CameraManipulators +into actions which are handled by the GUI toolkit of the users application. + +

    There are several was of using the ActionAdapter either inheriting it as +done with osgGLUT::Viewer class or passing a simple struct to the camera +manipulator then unpacking the results and working out what to do to respond +to the requests. + +

    Also there are several ways to run your app and handle the updating of +the window. osgGLUT::Viewer always has a idle callback registered which does a +redraw all the time. osgGLUT::Viewer can safely ignore both requestRedraw() and +requestContinousUpdate() as these are happening all the time anyway. + +

    Other apps will probably want to respond to the requestRedraw() and +requestContinousUpdate(bool) and again there is more than one way to handle it. +You can override requestRedraw() and implement to call your own window +redraw straight away. Or you can implement so that a flag is set and +then you then respond the flag being set in your own leisure. + +

    requestContinousUpdate(bool) is for enabling a throw or idle +callback to be requested by the camera manipulator. Again you can respond +to this immediately by registering a idle callback or a timed callback, or +you can delay setting the callback and do at you own leisure. + +

    requestWarpPointer(int,int) is requesting a respositioning of a mouse pointer +to a specified x,y location on the window. Used by some camera manipulators +to initialize the mouse pointer when mouse position relative to a controls +neutral mouse position is required, i.e when mimicking a aircrafts joystick.

    +
    + + + +
    ovirtual void requestRedraw() = 0 +

    + + +

    ovirtual void requestContinuousUpdate(bool needed=true) = 0 +

    + + +

    ovirtual void requestWarpPointer(int x, int y) = 0 +

    + +
    This class has no child classes.
    + +

    Alphabetic index HTML hierarchy of classes or Java


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGA/GUIEventAdapter.html b/doc/doc++/osgGA/GUIEventAdapter.html new file mode 100644 index 000000000..9003fa00a --- /dev/null +++ b/doc/doc++/osgGA/GUIEventAdapter.html @@ -0,0 +1,215 @@ + + + + + class osgGA::GUIEventAdapter + + + + +

    class osgGA::GUIEventAdapter

    Pure virtual base class for adapting platform specific events into generic keyboard and mouse events.
    +
    + +

    Inheritance:

    + + + + + + + +
    + +
    +

    +

    Public Methods

    +[more] GUIEventAdapter() +
    +[more]virtual EventType getEventType() const = 0 +
    Get the EventType of the GUI event +
    +[more]virtual int getKey() const = 0 +
    key pressed, return -1 if inappropriate for this event. +
    +[more]virtual int getButton() const = 0 +
    button pressed/released, return -1 if inappropriate for this event +
    +[more]virtual int getXmin() const = 0 +
    window minimum x. +
    +[more]virtual int getXmax() const = 0 +
    window maximum x. +
    +[more]virtual int getYmin() const = 0 +
    window minimum y. +
    +[more]virtual int getYmax() const = 0 +
    window maximum y. +
    +[more]virtual int getX() const = 0 +
    current mouse x position +
    +[more]virtual int getY() const = 0 +
    current mouse y position +
    +[more]virtual unsigned int getButtonMask() const = 0 +
    current mouse button state +
    +[more]virtual double time() const = 0 +
    time in seconds of event. +

    + +

    +

    Public Members

    +[more]enum MouseButtonMask +
    +[more]enum EventType +

    + +

    +

    Protected Methods

    +[more]virtual ~GUIEventAdapter() +
    Force users to create on heap, so that multiple referencing is safe +

    + +
    + + +
    +

    Documentation

    +
    Pure virtual base class for adapting platform specific events into +generic keyboard and mouse events. + +

    Used as GUI toolkit independent input into the osgUtil::CameraManipualor's. +For an example of how GUIEventAdapter is specialised for a particular GUI +Toolkit see osgGLUT::GLUTEventAdapter.

    +
    + + + +
    o GUIEventAdapter() +

    + + +

    oenum MouseButtonMask +

    + + + +
    o LEFT_MOUSE_BUTTON +

    + + +

    o MIDDLE_MOUSE_BUTTON +

    + + +

    o RIGHT_MOUSE_BUTTON +

    + + + +
    oenum EventType +

    + + + +
    o PUSH +

    + + +

    o RELEASE +

    + + +

    o DRAG +

    + + +

    o MOVE +

    + + +

    o KEYBOARD +

    + + +

    o FRAME +

    + + +

    o RESIZE +

    + + +

    o NONE +

    + + + +
    ovirtual EventType getEventType() const = 0 +
    Get the EventType of the GUI event +

    + + +

    ovirtual int getKey() const = 0 +
    key pressed, return -1 if inappropriate for this event. +

    + + +

    ovirtual int getButton() const = 0 +
    button pressed/released, return -1 if inappropriate for this event +

    + + +

    ovirtual int getXmin() const = 0 +
    window minimum x. +

    + + +

    ovirtual int getXmax() const = 0 +
    window maximum x. +

    + + +

    ovirtual int getYmin() const = 0 +
    window minimum y. +

    + + +

    ovirtual int getYmax() const = 0 +
    window maximum y. +

    + + +

    ovirtual int getX() const = 0 +
    current mouse x position +

    + + +

    ovirtual int getY() const = 0 +
    current mouse y position +

    + + +

    ovirtual unsigned int getButtonMask() const = 0 +
    current mouse button state +

    + + +

    ovirtual double time() const = 0 +
    time in seconds of event. +

    + + +

    ovirtual ~GUIEventAdapter() +
    Force users to create on heap, so that multiple referencing is safe +

    + +
    This class has no child classes.
    + +

    Alphabetic index HTML hierarchy of classes or Java


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGA/GUIEventHandler.html b/doc/doc++/osgGA/GUIEventHandler.html new file mode 100644 index 000000000..2c5b616d4 --- /dev/null +++ b/doc/doc++/osgGA/GUIEventHandler.html @@ -0,0 +1,92 @@ + + + + + class OSGGA_EXPORT osgGA::GUIEventHandler + + + + +

    class OSGGA_EXPORT osgGA::GUIEventHandler


    + +

    Inheritance:

    + + + + + + + +
    + +
    +

    +

    Public Methods

    +[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) = 0 +
    Handle events, return true if handled, false otherwise +
    +[more]virtual const CompositeGUIEventHandler* getComposite() const +
    Is this const GUIEventHandler a composite? +
    +[more]virtual CompositeGUIEventHandler* getComposite() +
    Is this non-const GUIEventHandler a composite? +
    +[more]virtual void accept(GUIEventHandlerVisitor&) = 0 +
    Accept visits from GUIEventHandler visitors +

    + +
    + + +
    +

    Documentation

    +
    + +

    GUIEventHandler provides a basic interface for any class which wants to handle +a GUI Events. + +

    The GUIEvent is supplied by a GUIEventAdapter. Feedback resulting from the +handle method is supplied by a GUIActionAdapter, which allows the GUIEventHandler +to ask the GUI to take some action in response to an incoming event. + +

    For example, consider a Trackball Viewer class which takes mouse events and +manipulates a scene camera in response. The Trackball Viewer is a GUIEventHandler, +and receives the events via the handle method. If the user 'throws' the model, +the Trackball Viewer class can detect this via the incoming events, and +request that the GUI set up a timer callback to continually redraw the view. +This request is made via the GUIActionAdapter class. +

    +
    + + + +
    ovirtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) = 0 +
    Handle events, return true if handled, false otherwise +

    + + +

    ovirtual const CompositeGUIEventHandler* getComposite() const +
    Is this const GUIEventHandler a composite? +

    + + +

    ovirtual CompositeGUIEventHandler* getComposite() +
    Is this non-const GUIEventHandler a composite? +

    + + +

    ovirtual void accept(GUIEventHandlerVisitor&) = 0 +
    Accept visits from GUIEventHandler visitors +

    +
    +
    Direct child classes: +
    StateSetManipulator
    +CompositeGUIEventHandler
    +CameraManipulator
    +
    + +

    Alphabetic index HTML hierarchy of classes or Java


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGA/GUIEventHandlerVisitor.html b/doc/doc++/osgGA/GUIEventHandlerVisitor.html new file mode 100644 index 000000000..121d37f3c --- /dev/null +++ b/doc/doc++/osgGA/GUIEventHandlerVisitor.html @@ -0,0 +1,98 @@ + + + + + class OSGGA_EXPORT osgGA::GUIEventHandlerVisitor + + + + +

    class OSGGA_EXPORT osgGA::GUIEventHandlerVisitor

    Base class primarily for visiting GUIEventHandlers.
    +
    + +

    Inheritance:

    + + + + + + + +
    + +
    +

    +

    Public Methods

    +[more]virtual void visit(CompositeGUIEventHandler&) +
    +[more]virtual void visit(CameraManipulator&) +
    +[more]virtual void visit(StateSetManipulator&) +
    +[more]const GUIEventAdapter* getGUIEventAdapter() +
    Get the GUI EventAdapter associated with this GUIEventHandlerVisitor +
    +[more]GUIActionAdapter* getGUIActionAdapter() +
    Get the GUI Action Adapter associated with this GEH Visitor +

    + +

    +

    Protected Methods

    +[more] GUIEventHandlerVisitor(GUIEventAdapter* in, GUIActionAdapter* out) +
    +[more]virtual ~GUIEventHandlerVisitor() +

    + +
    + + +
    +

    Documentation

    +
    Base class primarily for visiting GUIEventHandlers. + +

    A Default Visitor, (Might want to make it an Extrinsic Visitor at some point). +By default, it does nothing to the things it visits. Sub classes of this Visitor +need only override visit operations for the types of object they're interested in. +

    +
    + + + +
    ovirtual void visit(CompositeGUIEventHandler&) +

    + + +

    ovirtual void visit(CameraManipulator&) +

    + + +

    ovirtual void visit(StateSetManipulator&) +

    + + +

    oconst GUIEventAdapter* getGUIEventAdapter() +
    Get the GUI EventAdapter associated with this GUIEventHandlerVisitor +

    + + +

    oGUIActionAdapter* getGUIActionAdapter() +
    Get the GUI Action Adapter associated with this GEH Visitor +

    + + +

    o GUIEventHandlerVisitor(GUIEventAdapter* in, GUIActionAdapter* out) +

    + + +

    ovirtual ~GUIEventHandlerVisitor() +

    +
    +
    Direct child classes: +
    SetSceneViewVisitor
    +
    + +

    Alphabetic index HTML hierarchy of classes or Java


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGA/General.html b/doc/doc++/osgGA/General.html new file mode 100644 index 000000000..f78d60139 --- /dev/null +++ b/doc/doc++/osgGA/General.html @@ -0,0 +1,61 @@ + + + + + General Bits + + + + +
    +
    + +o#define +OSGGA_CAMERAMANIPULATOR
    + +o#define +OSGGA_DRIVEMANIPULATOR
    + +o#define +OSGGA_EXPORT_
    + +o#define +OSGGA_EXPORT(dllexport)
    + +o#define +OSGGA_EXPORT(dllimport)
    + +o#define +OSGGA_EXPORT
    + +o#define +OSGGA_GUIACTIONADAPTER
    + +o#define +OSGGA_GUIEVENTADAPTER
    + +o#define +OSGGA_GUIEVENTHANDLER
    + +o#define +OSGGA_GUIEVENTHANDLERVISITOR
    + +o#define +OSGUTIL_KEYSWITCHCAMERAMANIPULATORER
    + +o#define +OSGGA_SETSCENEVIEWGEHVISITOR
    + +o#define +OSGGA_GEOSTATE_MANIPULATOR
    + +o#define +OSGGA_TRACKBALLMANIPULATOR
    + +o#define +OSGGA_VERSION
    +

    Alphabetic index Hierarchy of classes


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGA/HIER.html b/doc/doc++/osgGA/HIER.html new file mode 100644 index 000000000..41b0c2102 --- /dev/null +++ b/doc/doc++/osgGA/HIER.html @@ -0,0 +1,34 @@ + + + + + Hierarchy of Classes + + + +

    Hierarchy of Classes

    + +

    Alphabetic index


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGA/HIERjava.html b/doc/doc++/osgGA/HIERjava.html new file mode 100644 index 000000000..9ba20c8c1 --- /dev/null +++ b/doc/doc++/osgGA/HIERjava.html @@ -0,0 +1,44 @@ + + + + + Hierarchy of Classes + + + +

    Hierarchy of classes

    +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + alphabetic index


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGA/KeySwitchCameraManipulator.html b/doc/doc++/osgGA/KeySwitchCameraManipulator.html new file mode 100644 index 000000000..c46e25fa3 --- /dev/null +++ b/doc/doc++/osgGA/KeySwitchCameraManipulator.html @@ -0,0 +1,123 @@ + + + + + class OSGGA_EXPORT osgGA::KeySwitchCameraManipulator + + + + +

    class OSGGA_EXPORT osgGA::KeySwitchCameraManipulator


    + +

    Inheritance:

    + + + + + + + +
    + +
    +

    +

    Public Methods

    +[more]void addCameraManipulator(int key, std::string name, CameraManipulator* cm) +
    +[more]virtual void setCamera(osg::Camera* c) +
    +[more]virtual const osg::Camera* getCamera() const +
    +[more]virtual osg::Camera* getCamera() +
    +[more]virtual void setNode(osg::Node* n) +
    +[more]virtual const osg::Node* getNode() const +
    +[more]virtual osg::Node* getNode() +
    +[more]virtual void home(const GUIEventAdapter& ee, GUIActionAdapter& aa) +
    +[more]virtual void init(const GUIEventAdapter& ee, GUIActionAdapter& aa) +
    +[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +

    + +
    +

    Inherited from CameraManipulator:

    +
    +

    +

    Public Methods

    +ovirtual void accept(GUIEventHandlerVisitor& v) +

    + +

    +

    Protected Fields

    +oosg::ref_ptr<osg::Camera> _camera +

    + +
    +

    Inherited from GUIEventHandler:

    +
    +

    +

    Public Methods

    +ovirtual const CompositeGUIEventHandler* getComposite() const +
    +ovirtual CompositeGUIEventHandler* getComposite() +

    + +
    + + +
    +

    Documentation

    +
    + + + +
    ovoid addCameraManipulator(int key, std::string name, CameraManipulator* cm) +

    + + +

    ovirtual void setCamera(osg::Camera* c) +

    + + +

    ovirtual const osg::Camera* getCamera() const +

    + + +

    ovirtual osg::Camera* getCamera() +

    + + +

    ovirtual void setNode(osg::Node* n) +

    + + +

    ovirtual const osg::Node* getNode() const +

    + + +

    ovirtual osg::Node* getNode() +

    + + +

    ovirtual void home(const GUIEventAdapter& ee, GUIActionAdapter& aa) +

    + + +

    ovirtual void init(const GUIEventAdapter& ee, GUIActionAdapter& aa) +

    + + +

    ovirtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +

    + +
    This class has no child classes.
    + +

    Alphabetic index HTML hierarchy of classes or Java


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGA/NavigatorButton.class b/doc/doc++/osgGA/NavigatorButton.class new file mode 100644 index 0000000000000000000000000000000000000000..fad9c3f2df2c760c687fdc6eda2469ed021768b5 GIT binary patch literal 1816 zcma)7S#ujj5dPMZHPU*^hiv&sNH8Q3_S%lZeK-lkik*mv*oBFMU0kE}N?xv1xibqn#kD}+gU5_!BX#;D;n`B(a^uM+`-V z`wW{5pD=vM;4)MhJO-bk#_$zGz))upI#O8BF)oRLMJbt*ETy1hIR%ClNv`S`K~757 zBzakqS0s5gg$cZ-lk)3Q0_&1&7~ptl zz{1A{_OWBY#!Uldd}g462L>D|9m?A#b`2a!1INf4IKeFgU*mlP-$=c0@vedIuxH?V z+}5DaJN5a3C+wiiEnCCH!ea4|H+ha9iQI6RyBUt`liffH>*$yb+ z0rkj8lx<&TUG+@A^^Q7)H**GFD9FIq&bSHV_H2=R@L@5k0#PCEt(-gHMMz_8Z#Q=os1>mTio5@fx}C#O+k&_=S`==g&(Xngz!CzdE0LU zmc8M)lz>K~l;D=kKnk^*?d?;xC6!&gdDXjM=wniy z2a87EokG>zcDqMy=%L}nYMA~n6b|^H?nzzPRVu3I2UYHdeq(B6SWULdrMj|ur&hX> z0-H+KkcBqt2maA*-)dA<0>ky1+9gThcY=sD0vblvl=HS(258l#i0bsCWkwWoCn-)_ zN^#n1iqncyycBU-bm~l-P;uIMiZ>LGk$evYXxJj@XC!FH0*}n4Q>4wza0?gAl@{jA zq%Gm~iHvYBBmJZJuj*=LwEpTgKp$KvD0DW+POCHP_w9**FP1Yh_Om&_-a zY2(Ewc>XEIcb9&{OQ)DjYi&%oaixuUQp-NWh$*eK@dB~SKZVCxI{u=9*KmOMqM);g zlLVZLET)IZp4rB^HZq~b&YRD%7QMNKA^LBF${_m}rpd{i^!qz54N(>1595zxk4cwd Q3NsibO%0zC9l{6y0?tduvj6}9 literal 0 HcmV?d00001 diff --git a/doc/doc++/osgGA/SetSceneViewVisitor.html b/doc/doc++/osgGA/SetSceneViewVisitor.html new file mode 100644 index 000000000..474e5e5ce --- /dev/null +++ b/doc/doc++/osgGA/SetSceneViewVisitor.html @@ -0,0 +1,78 @@ + + + + + class OSGGA_EXPORT osgGA::SetSceneViewVisitor + + + + +

    class OSGGA_EXPORT osgGA::SetSceneViewVisitor

    SetSceneViewGUIEventHandlerVisitor which visits various types of GUIEventHandler and sets them up appropriately, given a new scene view.
    +
    + +

    Inheritance:

    + + + + + + + +
    + +
    +

    +

    Public Methods

    +[more] SetSceneViewVisitor(GUIEventAdapter* in, GUIActionAdapter* out, osgUtil::SceneView* sv) +
    +[more]virtual ~SetSceneViewVisitor() +
    +[more]virtual void visit(CameraManipulator& cm) +
    +[more]virtual void visit(StateSetManipulator& cm) +

    + +
    +

    Inherited from GUIEventHandlerVisitor:

    +
    +

    +

    Public Methods

    +oconst GUIEventAdapter* getGUIEventAdapter() +
    +oGUIActionAdapter* getGUIActionAdapter() +

    + +
    + + +
    +

    Documentation

    +
    SetSceneViewGUIEventHandlerVisitor which visits various types of GUIEventHandler and +sets them up appropriately, given a new scene view. +.
    +
    + + + +
    o SetSceneViewVisitor(GUIEventAdapter* in, GUIActionAdapter* out, osgUtil::SceneView* sv) +

    + + +

    ovirtual ~SetSceneViewVisitor() +

    + + +

    ovirtual void visit(CameraManipulator& cm) +

    + + +

    ovirtual void visit(StateSetManipulator& cm) +

    + +
    This class has no child classes.
    + +

    Alphabetic index HTML hierarchy of classes or Java


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGA/StateSetManipulator.html b/doc/doc++/osgGA/StateSetManipulator.html new file mode 100644 index 000000000..279d237f2 --- /dev/null +++ b/doc/doc++/osgGA/StateSetManipulator.html @@ -0,0 +1,129 @@ + + + + + class OSGGA_EXPORT osgGA::StateSetManipulator + + + + +

    class OSGGA_EXPORT osgGA::StateSetManipulator


    + +

    Inheritance:

    + + + + + + + +
    + +
    +

    +

    Public Methods

    +[more] StateSetManipulator() +
    +[more]virtual ~StateSetManipulator() +
    +[more]virtual void setStateSet(osg::StateSet*) +
    attach a stateset to the manipulator to be used for specifying view +
    +[more]virtual osg::StateSet* getStateSet() +
    get the attached a stateset +
    +[more]virtual const osg::StateSet* getStateSet() const +
    get the attached a stateset +
    +[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +
    Handle events, return true if handled, false otherwise +
    +[more]virtual void accept(GUIEventHandlerVisitor&) +
    Handle visitations +

    + +

    +

    Protected Fields

    +[more]osg::ref_ptr<osg::StateSet> _drawState +
    +[more]bool _backface +
    +[more]bool _lighting +
    +[more]bool _texture +

    + +
    +

    Inherited from GUIEventHandler:

    +
    +

    +

    Public Methods

    +ovirtual const CompositeGUIEventHandler* getComposite() const +
    +ovirtual CompositeGUIEventHandler* getComposite() +

    + +
    + + +
    +

    Documentation

    +
    + + + +
    o StateSetManipulator() +

    + + +

    ovirtual ~StateSetManipulator() +

    + + +

    ovirtual void setStateSet(osg::StateSet*) +
    attach a stateset to the manipulator to be used for specifying view +

    + + +

    ovirtual osg::StateSet* getStateSet() +
    get the attached a stateset +

    + + +

    ovirtual const osg::StateSet* getStateSet() const +
    get the attached a stateset +

    + + +

    ovirtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +
    Handle events, return true if handled, false otherwise +

    + + +

    ovirtual void accept(GUIEventHandlerVisitor&) +
    Handle visitations +

    + + +

    oosg::ref_ptr<osg::StateSet> _drawState +

    + + +

    obool _backface +

    + + +

    obool _lighting +

    + + +

    obool _texture +

    + +
    This class has no child classes.
    + +

    Alphabetic index HTML hierarchy of classes or Java


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGA/TrackballManipulator.html b/doc/doc++/osgGA/TrackballManipulator.html new file mode 100644 index 000000000..9e2a8fc80 --- /dev/null +++ b/doc/doc++/osgGA/TrackballManipulator.html @@ -0,0 +1,133 @@ + + + + + class OSGGA_EXPORT osgGA::TrackballManipulator + + + + +

    class OSGGA_EXPORT osgGA::TrackballManipulator


    + +

    Inheritance:

    + + + + + + + +
    + +
    +

    +

    Public Methods

    +[more] TrackballManipulator() +
    +[more]virtual ~TrackballManipulator() +
    +[more]virtual void setNode(osg::Node*) +
    Attach a node to the manipulator. +
    +[more]virtual const osg::Node* getNode() const +
    Return node if attached +
    +[more]virtual osg::Node* getNode() +
    Return node if attached +
    +[more]virtual void home(const GUIEventAdapter& ea, GUIActionAdapter& us) +
    Move the camera to the default position. +
    +[more]virtual void init(const GUIEventAdapter& ea, GUIActionAdapter& us) +
    Start/restart the manipulator +
    +[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +
    handle events, return true if handled, false otherwise +

    + +
    +

    Inherited from CameraManipulator:

    +
    +

    +

    Public Methods

    +ovirtual void setCamera(osg::Camera*) +
    +ovirtual const osg::Camera* getCamera() const +
    +ovirtual osg::Camera* getCamera() +
    +ovirtual void accept(GUIEventHandlerVisitor& v) +

    + +

    +

    Protected Fields

    +oosg::ref_ptr<osg::Camera> _camera +

    + +
    +

    Inherited from GUIEventHandler:

    +
    +

    +

    Public Methods

    +ovirtual const CompositeGUIEventHandler* getComposite() const +
    +ovirtual CompositeGUIEventHandler* getComposite() +

    + +
    + + +
    +

    Documentation

    +
    + + + +
    o TrackballManipulator() +

    + + +

    ovirtual ~TrackballManipulator() +

    + + +

    ovirtual void setNode(osg::Node*) +
    Attach a node to the manipulator. +Automatically detaches previously attached node. +setNode(NULL) detaches previously nodes. +Is ignored by manipulators which do not require a reference model. +

    + + +

    ovirtual const osg::Node* getNode() const +
    Return node if attached +

    + + +

    ovirtual osg::Node* getNode() +
    Return node if attached +

    + + +

    ovirtual void home(const GUIEventAdapter& ea, GUIActionAdapter& us) +
    Move the camera to the default position. +May be ignored by manipulators if home functionality is not appropriate. +

    + + +

    ovirtual void init(const GUIEventAdapter& ea, GUIActionAdapter& us) +
    Start/restart the manipulator +

    + + +

    ovirtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +
    handle events, return true if handled, false otherwise +

    + +
    This class has no child classes.
    + +

    Alphabetic index HTML hierarchy of classes or Java


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGA/icon1.gif b/doc/doc++/osgGA/icon1.gif new file mode 100644 index 0000000000000000000000000000000000000000..f78f30eb981225beb16035974453af044eaaed3d GIT binary patch literal 326 zcmZ?wbhEHbSJz>XZiWhW+$CxX1K<{@Q;PzA3MW)Hil!>)yLQv z&I+YZWR4Dq0Qrf5 zE!m-=z(Yr>|42iEfdETiOVhyu2Ne$2qlXS;Sjcg9G-()EC{6Ng4B9Bb&hGxWX`zGB ztnbe@Mi#u2t#oD*5s{NGS5Q=P;Sv=Pl~k5hQB-wRQ&*Q#oU7r^r6eV#G~HwQ3KvHP FYXI`hOxged literal 0 HcmV?d00001 diff --git a/doc/doc++/osgGA/icon2.gif b/doc/doc++/osgGA/icon2.gif new file mode 100644 index 0000000000000000000000000000000000000000..6cbe01a831d9c27158ef1ade66cc25446fac9018 GIT binary patch literal 326 zcmZ?wbhEHbvUV_sg0vVRlep zUT#ibUH$CLjP97|8hg8t^_%zaId~E%=;f7aZRKxk>swYjH7c^q#Kc`$*&sZ;+`~Ol zL*3NdE7jE{7APVst6^&DtgCA)C##W~TG-k;MN7*vC@7wR8bI+U3nR!J9S{NX69Zea zLqmawj#U4Vh6DovmcEvzg9Q#M9Ii(X9muedZ+!$E~PkE!<|b>N=j+E$MO{}jttfS DX0}r~ literal 0 HcmV?d00001 diff --git a/doc/doc++/osgGA/index.html b/doc/doc++/osgGA/index.html new file mode 100644 index 000000000..cc919a3ff --- /dev/null +++ b/doc/doc++/osgGA/index.html @@ -0,0 +1,49 @@ + + + + + Table of Contents + + + + +

    Table of Contents

    +

    General stuff

    + +

    Namespaces

    + +

    Functions

    + +

    Macros

    + +

    Hierarchy of classes


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGA/osgGA.html b/doc/doc++/osgGA/osgGA.html new file mode 100644 index 000000000..dafb43949 --- /dev/null +++ b/doc/doc++/osgGA/osgGA.html @@ -0,0 +1,54 @@ + + + + + namespace osgGA + + + + +

    namespace osgGA

    +
    +

    +
    +class OSGGA_EXPORT CameraManipulator: public GUIEventHandler +
    +class OSGGA_EXPORT DriveManipulator: public CameraManipulator +
    +class OSGGA_EXPORT FlightManipulator: public CameraManipulator +
    +class GUIActionAdapter +
    Pure virtual base class for adapting the GUI actions requested by CameraManipulators into actions which are handled by the GUI toolkit of the users application. +
    +class GUIEventAdapter: public osg::Referenced +
    Pure virtual base class for adapting platform specific events into generic keyboard and mouse events. +
    +class OSGGA_EXPORT GUIEventHandler: public osg::Referenced +
    +class OSGGA_EXPORT CompositeGUIEventHandler: public GUIEventHandler +
    CompositeGUIEventHandler allows GUIEventHandlers to be composed into hierarchies +
    +class OSGGA_EXPORT GUIEventHandlerVisitor +
    Base class primarily for visiting GUIEventHandlers. +
    +class OSGGA_EXPORT KeySwitchCameraManipulator: public CameraManipulator +
    +class OSGGA_EXPORT SetSceneViewVisitor: public GUIEventHandlerVisitor +
    SetSceneViewGUIEventHandlerVisitor which visits various types of GUIEventHandler and sets them up appropriately, given a new scene view. +
    +class OSGGA_EXPORT StateSetManipulator: public GUIEventHandler +
    +class OSGGA_EXPORT TrackballManipulator: public CameraManipulator +

    + + + +
    +

    Documentation

    +
    +
    +

    Alphabetic index HTML hierarchy of classes or Java


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGA/osgGAGetLibraryName.html b/doc/doc++/osgGA/osgGAGetLibraryName.html new file mode 100644 index 000000000..9a6355376 --- /dev/null +++ b/doc/doc++/osgGA/osgGAGetLibraryName.html @@ -0,0 +1,21 @@ + + + + + extern OSGGA_EXPORT const char* osgGAGetLibraryName + + + + +

    extern OSGGA_EXPORT const char* osgGAGetLibraryName

    ()

    getLibraryName_osgGA() returns the library name in human friendly form
    + + +
    +

    Documentation

    +
    +getLibraryName_osgGA() returns the library name in human friendly form
    +

    Alphabetic index HTML hierarchy of classes or Java


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGA/osgGAGetVersion.html b/doc/doc++/osgGA/osgGAGetVersion.html new file mode 100644 index 000000000..e89e6693c --- /dev/null +++ b/doc/doc++/osgGA/osgGAGetVersion.html @@ -0,0 +1,34 @@ + + + + + extern OSGGA_EXPORT const char* osgGAGetVersion + + + + +

    extern OSGGA_EXPORT const char* osgGAGetVersion

    ()

    getVersion_osgGA() returns the library version number.
    + + +
    +

    Documentation

    +
    +getVersion_osgGA() returns the library version number. +Numbering convention : osg_src-0.8-31 will return 0.8.31 from getVersion_osgGA. + +

    This C function can be also used to check for the existence of the OpenSceneGraph +library using autoconf and its m4 macro AC_CHECK_LIB. + +

    Here is the code to add to your configure.in: +\verbatim +# +# Check for the OpenSceneGraph (OSG) utility library +# +AC_CHECK_LIB(osg, osgGAGetVersion, , +[AC_MSG_ERROR(OpenSceneGraph utility library not found. See http://www.openscenegraph.org)],) +\endverbatim

    +

    Alphabetic index HTML hierarchy of classes or Java


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGA/spaceosgGA.html b/doc/doc++/osgGA/spaceosgGA.html new file mode 100644 index 000000000..2aa27989e --- /dev/null +++ b/doc/doc++/osgGA/spaceosgGA.html @@ -0,0 +1,40 @@ + + + + + #define space osgGA + + + + +

    #define space osgGA

    +
    + +

    +The 'GA' in osgGA stands for 'GUI Abstraction'; the osgGA namespace provides facilities to +help developers write the glue to allow the osg to work with varying window systems. + +

    As a cross-platform, window system-agnostic class library, the OpenSceneGraph +has no direct ties to any given windowing environment. Viewers, however, must at +some level interact with a window system - where Window system may refer to a windowing +API, e.g. GLUT, Qt, FLTK, MFC, ... + +

    There is much commonality in the implementation of Viewers for varying windowing +environments. E.g. most Viewers will update a Camera position in response to a mouse +event, and may request that a timer be started as a result of a model being 'spun'. + +

    The purpose of the osgGA namespace is to centralise the common areas of this +functionality. The viewer writer needs then only write a GUIEventAdapter, a +GUIActionAdapter, and assemble a collection of GUIEventHandlers +as appropriate for the viewer. + +

    Events from the windowing environment are adpated, and then fed into the GUIEventHandlers. +The GUIEventHandlers analyse and take action, and make requests of the windowing +environemnt via the GUIActionAdapter. The viewer writer should then honour these +requests, translating them into calls to the windowing API. +

    +

    Alphabetic index Hierarchy of classes


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGLUT/GLUTEventAdapter.html b/doc/doc++/osgGLUT/GLUTEventAdapter.html index 469a0fb05..ba858de20 100644 --- a/doc/doc++/osgGLUT/GLUTEventAdapter.html +++ b/doc/doc++/osgGLUT/GLUTEventAdapter.html @@ -7,12 +7,12 @@ -

    class OSGGLUT_EXPORT osgGLUT::GLUTEventAdapter

    Class for adapting GLUT events so that they can be used as input to osgUtil::CameraManipulators
    +

    class OSGGLUT_EXPORT osgGLUT::GLUTEventAdapter

    Class for adapting GLUT events so that they can be used as input to osgGA::CameraManipulators

    Inheritance:

    - + @@ -133,7 +133,7 @@

    Documentation

    -
    Class for adapting GLUT events so that they can be used as input to osgUtil::CameraManipulators
    +
    Class for adapting GLUT events so that they can be used as input to osgGA::CameraManipulators
    diff --git a/doc/doc++/osgGLUT/HIERjava.html b/doc/doc++/osgGLUT/HIERjava.html index 0143e2a18..e811b4c44 100644 --- a/doc/doc++/osgGLUT/HIERjava.html +++ b/doc/doc++/osgGLUT/HIERjava.html @@ -9,7 +9,7 @@

    Hierarchy of classes

      - + diff --git a/doc/doc++/osgGLUT/Viewer.html b/doc/doc++/osgGLUT/Viewer.html index 1423d6b6a..c0d4a344f 100644 --- a/doc/doc++/osgGLUT/Viewer.html +++ b/doc/doc++/osgGLUT/Viewer.html @@ -12,7 +12,7 @@

      Inheritance:

      - + @@ -60,7 +60,7 @@
      [more]void help(std::ostream& fout)
      -[more]unsigned int registerCameraManipulator(osgUtil::CameraManipulator* cm, unsigned int viewport = 0) +[more]unsigned int registerCameraManipulator(osgGA::CameraManipulator* cm, unsigned int viewport = 0)
      [more]void selectCameraManipulator(unsigned int pos, unsigned int viewport = 0)
      @@ -125,7 +125,7 @@

      Protected Methods

      -[more]typedef std::vector<osg::ref_ptr<osgUtil::CameraManipulator> >virtual CameraManipList void clear() +[more]typedef std::vector<osg::ref_ptr<osgGA::CameraManipulator> >virtual CameraManipList void clear()
      [more]virtual void display()
      @@ -335,7 +335,7 @@ only available for backwards compatibility.

      -

      ounsigned int registerCameraManipulator(osgUtil::CameraManipulator* cm, unsigned int viewport = 0) +
      ounsigned int registerCameraManipulator(osgGA::CameraManipulator* cm, unsigned int viewport = 0)

      @@ -372,7 +372,7 @@ only available for backwards compatibility.

      -

      otypedef std::vector<osg::ref_ptr<osgUtil::CameraManipulator> >virtual CameraManipList void clear() +
      otypedef std::vector<osg::ref_ptr<osgGA::CameraManipulator> >virtual CameraManipList void clear()

      @@ -429,7 +429,7 @@ only available for backwards compatibility.

      -

      oosg::ref_ptr<osgUtil::CameraManipulator> _cameraManipulator +
      oosg::ref_ptr<osgGA::CameraManipulator> _cameraManipulator

      diff --git a/doc/doc++/osgGLUT/osgGLUT.html b/doc/doc++/osgGLUT/osgGLUT.html index f17ab6b70..e7bf508c8 100644 --- a/doc/doc++/osgGLUT/osgGLUT.html +++ b/doc/doc++/osgGLUT/osgGLUT.html @@ -11,10 +11,10 @@


      -class OSGGLUT_EXPORT GLUTEventAdapter: public osgUtil::GUIEventAdapter -
      Class for adapting GLUT events so that they can be used as input to osgUtil::CameraManipulators +class OSGGLUT_EXPORT GLUTEventAdapter: public osgGA::GUIEventAdapter +
      Class for adapting GLUT events so that they can be used as input to osgGA::CameraManipulators
      -class OSGGLUT_EXPORT Viewer: public Window, public osgUtil::GUIActionAdapter +class OSGGLUT_EXPORT Viewer: public Window, public osgGA::GUIActionAdapter
      A basic viewer base class which provides a window, simple keyboard and mouse interaction.
      class OSGGLUT_EXPORT Window diff --git a/doc/doc++/osgParticle/AccelOperator.html b/doc/doc++/osgParticle/AccelOperator.html index fd22394ca..986264814 100644 --- a/doc/doc++/osgParticle/AccelOperator.html +++ b/doc/doc++/osgParticle/AccelOperator.html @@ -23,7 +23,7 @@

      Public Methods

      -[more] META_Object(AccelOperator) +[more] META_Object(osgParticle, AccelOperator)
      [more]inline AccelOperator()
      @@ -57,6 +57,8 @@

      Public Methods

      +ovirtual const char* libraryName() const +
      ovirtual const char* className() const
      ovirtual bool isSameKindAs(const osg::Object* obj) const @@ -78,7 +80,7 @@ -
      o META_Object(AccelOperator) +
      o META_Object(osgParticle, AccelOperator)

      diff --git a/doc/doc++/osgParticle/CenteredPlacer.html b/doc/doc++/osgParticle/CenteredPlacer.html index df21597b8..08a4a45c5 100644 --- a/doc/doc++/osgParticle/CenteredPlacer.html +++ b/doc/doc++/osgParticle/CenteredPlacer.html @@ -23,27 +23,29 @@

      Public Methods

      -[more]virtual const char* className() const +[more]virtual const char* libraryName() const
      -[more]virtual bool isSameKindAs(const osg::Object* obj) const +[more]virtual const char* className() const
      -[more]inline CenteredPlacer() +[more]virtual bool isSameKindAs(const osg::Object* obj) const
      -[more]inline CenteredPlacer(const CenteredPlacer &copy, const osg::CopyOp &copyop) +[more]inline CenteredPlacer()
      -[more]inline const osg::Vec3& getCenter() const +[more]inline CenteredPlacer(const CenteredPlacer &copy, const osg::CopyOp &copyop) +
      +[more]inline const osg::Vec3& getCenter() const
      Get the center point
      -[more]inline void setCenter(const osg::Vec3 &v) +[more]inline void setCenter(const osg::Vec3 &v)
      Set the center point
      -[more]inline void setCenter(float x, float y, float z) +[more]inline void setCenter(float x, float y, float z)
      Set the center point

      Protected Methods

      -[more]virtual ~CenteredPlacer() +[more]virtual ~CenteredPlacer()

      @@ -67,38 +69,42 @@
      An abstract placer base class for placers which need a center point
      - + +
      ovirtual const char* libraryName() const +

      + +

      ovirtual const char* className() const

      - +

      ovirtual bool isSameKindAs(const osg::Object* obj) const

      - +

      ovirtual ~CenteredPlacer()

      - +

      oinline CenteredPlacer()

      - -

      oinline CenteredPlacer(const CenteredPlacer &copy, const osg::CopyOp &copyop) + +
      oinline CenteredPlacer(const CenteredPlacer &copy, const osg::CopyOp &copyop)

      - +

      oinline const osg::Vec3& getCenter() const
      Get the center point

      - +

      oinline void setCenter(const osg::Vec3 &v)
      Set the center point

      - +

      oinline void setCenter(float x, float y, float z)
      Set the center point

      diff --git a/doc/doc++/osgParticle/Counter.html b/doc/doc++/osgParticle/Counter.html index d5ecf1d82..2071a176a 100644 --- a/doc/doc++/osgParticle/Counter.html +++ b/doc/doc++/osgParticle/Counter.html @@ -22,22 +22,24 @@

      Public Methods

      -[more]virtual const char* className() const +[more]virtual const char* libraryName() const
      -[more]virtual bool isSameKindAs(const osg::Object* obj) const +[more]virtual const char* className() const
      -[more]virtual int numParticlesToCreate(double dt) const = 0 +[more]virtual bool isSameKindAs(const osg::Object* obj) const
      -[more]inline Counter() +[more]virtual int numParticlesToCreate(double dt) const = 0
      -[more]inline Counter(const Counter &copy, const osg::CopyOp &copyop) +[more]inline Counter() +
      +[more]inline Counter(const Counter &copy, const osg::CopyOp &copyop)

      Protected Methods

      -[more] ~Counter() +[more] ~Counter()
      -[more]Counter& operator=(const Counter &) +[more]Counter& operator=(const Counter &)

      @@ -47,33 +49,37 @@

      Documentation

      - + +
      ovirtual const char* libraryName() const +

      + +

      ovirtual const char* className() const

      - +

      ovirtual bool isSameKindAs(const osg::Object* obj) const

      - +

      ovirtual int numParticlesToCreate(double dt) const = 0

      - +

      o ~Counter()

      - +

      oCounter& operator=(const Counter &)

      - +

      oinline Counter()

      - -

      oinline Counter(const Counter &copy, const osg::CopyOp &copyop) + +
      oinline Counter(const Counter &copy, const osg::CopyOp &copyop)


      Direct child classes: diff --git a/doc/doc++/osgParticle/Emitter.html b/doc/doc++/osgParticle/Emitter.html index 0c80c46e2..4802efdc6 100644 --- a/doc/doc++/osgParticle/Emitter.html +++ b/doc/doc++/osgParticle/Emitter.html @@ -27,34 +27,36 @@
      [more] Emitter(const Emitter &copy, const osg::CopyOp &copyop = osg::CopyOp::SHALLOW_COPY)
      -[more]virtual const char* className() const +[more]virtual const char* libraryName() const
      -[more]virtual bool isSameKindAs(const osg::Object* obj) +[more]virtual const char* className() const
      -[more]virtual void accept(osg::NodeVisitor& nv) +[more]virtual bool isSameKindAs(const osg::Object* obj) const
      -[more]inline const Particle& getParticleTemplate() const +[more]virtual void accept(osg::NodeVisitor& nv) +
      +[more]inline const Particle& getParticleTemplate() const
      Get the particle template
      -[more]inline void setParticleTemplate(const Particle &p) +[more]inline void setParticleTemplate(const Particle &p)
      Set the particle template (particle is copied)
      -[more]inline bool getUseDefaultTemplate() const +[more]inline bool getUseDefaultTemplate() const
      Return whether the particle system's default template should be used
      -[more]inline void setUseDefaultTemplate(bool v) +[more]inline void setUseDefaultTemplate(bool v)
      Set whether the default particle template should be used.
      -[more]inline void process(double dt) +[more]inline void process(double dt)

      Protected Methods

      -[more]virtual ~Emitter() +[more]virtual ~Emitter()
      -[more]Emitter& operator=(const Emitter &) +[more]Emitter& operator=(const Emitter &)
      -[more]virtual void emit(double dt) = 0 +[more]virtual void emit(double dt) = 0

      @@ -119,54 +121,58 @@ to the emitter.
      o Emitter(const Emitter &copy, const osg::CopyOp &copyop = osg::CopyOp::SHALLOW_COPY)

      - + +

      ovirtual const char* libraryName() const +

      + +

      ovirtual const char* className() const

      - -

      ovirtual bool isSameKindAs(const osg::Object* obj) + +
      ovirtual bool isSameKindAs(const osg::Object* obj) const

      - +

      ovirtual void accept(osg::NodeVisitor& nv)

      - +

      ovirtual ~Emitter()

      - +

      oEmitter& operator=(const Emitter &)

      - +

      ovirtual void emit(double dt) = 0

      - +

      oinline const Particle& getParticleTemplate() const
      Get the particle template

      - +

      oinline void setParticleTemplate(const Particle &p)
      Set the particle template (particle is copied)

      - +

      oinline bool getUseDefaultTemplate() const
      Return whether the particle system's default template should be used

      - +

      oinline void setUseDefaultTemplate(bool v)
      Set whether the default particle template should be used. When this flag is true, the particle template is ignored, and the particle system's default template is used instead.

      - +

      oinline void process(double dt)


      diff --git a/doc/doc++/osgParticle/FluidFrictionOperator.html b/doc/doc++/osgParticle/FluidFrictionOperator.html index 116125b27..3fee6f2f0 100644 --- a/doc/doc++/osgParticle/FluidFrictionOperator.html +++ b/doc/doc++/osgParticle/FluidFrictionOperator.html @@ -27,7 +27,7 @@
      [more] FluidFrictionOperator(const FluidFrictionOperator &copy, const osg::CopyOp &copyop = osg::CopyOp::SHALLOW_COPY)
      -[more] META_Object(FluidFrictionOperator) +[more] META_Object(osgParticle, FluidFrictionOperator)
      [more]void operate(Particle* P, double dt)
      Apply the friction forces to a particle. @@ -72,6 +72,8 @@

      Public Methods

      +ovirtual const char* libraryName() const +
      ovirtual const char* className() const
      ovirtual bool isSameKindAs(const osg::Object* obj) const @@ -105,7 +107,7 @@ radius or another value, by calling the setOverrideRadius() method.

      -

      o META_Object(FluidFrictionOperator) +
      o META_Object(osgParticle, FluidFrictionOperator)

      diff --git a/doc/doc++/osgParticle/ForceOperator.html b/doc/doc++/osgParticle/ForceOperator.html index 69a4da911..816c2fd36 100644 --- a/doc/doc++/osgParticle/ForceOperator.html +++ b/doc/doc++/osgParticle/ForceOperator.html @@ -23,7 +23,7 @@

      Public Methods

      -[more] META_Object(ForceOperator) +[more] META_Object(osgParticle, ForceOperator)
      [more]inline ForceOperator()
      @@ -54,6 +54,8 @@

      Public Methods

      +ovirtual const char* libraryName() const +
      ovirtual const char* className() const
      ovirtual bool isSameKindAs(const osg::Object* obj) const @@ -77,7 +79,7 @@ expressed in meters, then the force should be expressed in Newtons -
      o META_Object(ForceOperator) +
      o META_Object(osgParticle, ForceOperator)

      diff --git a/doc/doc++/osgParticle/Interpolator.html b/doc/doc++/osgParticle/Interpolator.html index dd0c3fcc2..da79a02ac 100644 --- a/doc/doc++/osgParticle/Interpolator.html +++ b/doc/doc++/osgParticle/Interpolator.html @@ -27,28 +27,30 @@

      [more] Interpolator(const Interpolator &copy, const osg::CopyOp &copyop = osg::CopyOp::SHALLOW_COPY)
      -[more]virtual const char* className() const +[more]virtual const char* libraryName() const
      -[more]virtual bool isSameKindAs(const osg::Object* obj) const +[more]virtual const char* className() const
      -[more]virtual float interpolate(float t, float y1, float y2) const = 0 +[more]virtual bool isSameKindAs(const osg::Object* obj) const +
      +[more]virtual float interpolate(float t, float y1, float y2) const = 0
      Interpolate between floats.
      -[more]virtual osg::Vec2 interpolate(float t, const osg::Vec2 &y1, const osg::Vec2 &y2) const +[more]virtual osg::Vec2 interpolate(float t, const osg::Vec2 &y1, const osg::Vec2 &y2) const
      Interpolate between 2-dimensional vectors.
      -[more]virtual osg::Vec3 interpolate(float t, const osg::Vec3 &y1, const osg::Vec3 &y2) const +[more]virtual osg::Vec3 interpolate(float t, const osg::Vec3 &y1, const osg::Vec3 &y2) const
      Interpolate between 3-dimensional vectors.
      -[more]virtual osg::Vec4 interpolate(float t, const osg::Vec4 &y1, const osg::Vec4 &y2) const +[more]virtual osg::Vec4 interpolate(float t, const osg::Vec4 &y1, const osg::Vec4 &y2) const
      Interpolate between 4-dimensional vectors.
      -[more]template<class T_> T_ interpolate(float t, const range<T_> &r) const +[more]template<class T_> T_ interpolate(float t, const range<T_> &r) const

      Protected Methods

      -[more]virtual ~Interpolator() +[more]virtual ~Interpolator()

      @@ -67,40 +69,44 @@
      o Interpolator(const Interpolator &copy, const osg::CopyOp &copyop = osg::CopyOp::SHALLOW_COPY)

      - + +

      ovirtual const char* libraryName() const +

      + +

      ovirtual const char* className() const

      - +

      ovirtual bool isSameKindAs(const osg::Object* obj) const

      - +

      ovirtual float interpolate(float t, float y1, float y2) const = 0
      Interpolate between floats. Must be overriden in descendant classes.

      - +

      ovirtual osg::Vec2 interpolate(float t, const osg::Vec2 &y1, const osg::Vec2 &y2) const
      Interpolate between 2-dimensional vectors. Default behavior is to interpolate each component separately.

      - +

      ovirtual osg::Vec3 interpolate(float t, const osg::Vec3 &y1, const osg::Vec3 &y2) const
      Interpolate between 3-dimensional vectors. Default behavior is to interpolate each component separately.

      - +

      ovirtual osg::Vec4 interpolate(float t, const osg::Vec4 &y1, const osg::Vec4 &y2) const
      Interpolate between 4-dimensional vectors. Default behavior is to interpolate each component separately.

      - +

      otemplate<class T_> T_ interpolate(float t, const range<T_> &r) const

      - +

      ovirtual ~Interpolator()


      diff --git a/doc/doc++/osgParticle/LinearInterpolator.html b/doc/doc++/osgParticle/LinearInterpolator.html index b3f4d709d..84045c7d9 100644 --- a/doc/doc++/osgParticle/LinearInterpolator.html +++ b/doc/doc++/osgParticle/LinearInterpolator.html @@ -27,7 +27,7 @@
      [more] LinearInterpolator(const LinearInterpolator &copy, const osg::CopyOp &copyop = osg::CopyOp::SHALLOW_COPY)
      -[more] META_Object(LinearInterpolator) +[more] META_Object(osgParticle, LinearInterpolator)
      [more]virtual float interpolate(float t, float y1, float y2) const

      @@ -42,6 +42,8 @@

      Public Methods

      +ovirtual const char* libraryName() const +
      ovirtual const char* className() const
      ovirtual bool isSameKindAs(const osg::Object* obj) const @@ -65,7 +67,7 @@

      -

      o META_Object(LinearInterpolator) +
      o META_Object(osgParticle, LinearInterpolator)

      diff --git a/doc/doc++/osgParticle/ModularEmitter.html b/doc/doc++/osgParticle/ModularEmitter.html index 08a19237a..81a6bd8eb 100644 --- a/doc/doc++/osgParticle/ModularEmitter.html +++ b/doc/doc++/osgParticle/ModularEmitter.html @@ -27,7 +27,7 @@

      [more] ModularEmitter(const ModularEmitter &copy, const osg::CopyOp &copyop = osg::CopyOp::SHALLOW_COPY)
      -[more] META_Node(ModularEmitter) +[more] META_Node(osgParticle, ModularEmitter)
      [more]inline Counter* getCounter()
      Get the counter object @@ -71,9 +71,11 @@

      Public Methods

      +ovirtual const char* libraryName() const +
      ovirtual const char* className() const
      -ovirtual bool isSameKindAs(const osg::Object* obj) +ovirtual bool isSameKindAs(const osg::Object* obj) const
      ovirtual void accept(osg::NodeVisitor& nv)
      @@ -154,7 +156,7 @@ You can use the predefined counter/placer/shooter classes, or you can create you

      -

      o META_Node(ModularEmitter) +
      o META_Node(osgParticle, ModularEmitter)

      diff --git a/doc/doc++/osgParticle/ModularProgram.html b/doc/doc++/osgParticle/ModularProgram.html index 9a811e9bd..50909acb1 100644 --- a/doc/doc++/osgParticle/ModularProgram.html +++ b/doc/doc++/osgParticle/ModularProgram.html @@ -27,7 +27,7 @@

      [more] ModularProgram(const ModularProgram &copy, const osg::CopyOp &copyop = osg::CopyOp::SHALLOW_COPY)
      -[more] META_Node(ModularProgram) +[more] META_Node(osgParticle, ModularProgram)
      [more]inline int numOperators() const
      Get the number of operators @@ -59,9 +59,11 @@

      Public Methods

      +ovirtual const char* libraryName() const +
      ovirtual const char* className() const
      -ovirtual bool isSameKindAs(const osg::Object* obj) +ovirtual bool isSameKindAs(const osg::Object* obj) const
      ovirtual void accept(osg::NodeVisitor& nv)
      @@ -132,7 +134,7 @@ All operators will be applied to each particle in the same order they've been ad

      -

      o META_Node(ModularProgram) +
      o META_Node(osgParticle, ModularProgram)

      diff --git a/doc/doc++/osgParticle/MultiSegmentPlacer.html b/doc/doc++/osgParticle/MultiSegmentPlacer.html index 95ad68feb..5bb7251a1 100644 --- a/doc/doc++/osgParticle/MultiSegmentPlacer.html +++ b/doc/doc++/osgParticle/MultiSegmentPlacer.html @@ -27,7 +27,7 @@

      [more] MultiSegmentPlacer(const MultiSegmentPlacer &copy, const osg::CopyOp &copyop = osg::CopyOp::SHALLOW_COPY)
      -[more] META_Object(MultiSegmentPlacer) +[more] META_Object(osgParticle, MultiSegmentPlacer)
      [more]void place(Particle* P) const
      Place a partice. @@ -66,6 +66,8 @@

      Public Methods

      +ovirtual const char* libraryName() const +
      ovirtual const char* className() const
      ovirtual bool isSameKindAs(const osg::Object* obj) const @@ -91,7 +93,7 @@ specified sequence of connected segments.

      -

      o META_Object(MultiSegmentPlacer) +
      o META_Object(osgParticle, MultiSegmentPlacer)

      diff --git a/doc/doc++/osgParticle/Operator.html b/doc/doc++/osgParticle/Operator.html index ddfae931f..edb1ceafe 100644 --- a/doc/doc++/osgParticle/Operator.html +++ b/doc/doc++/osgParticle/Operator.html @@ -23,35 +23,37 @@

      Public Methods

      -[more]virtual const char* className() const +[more]virtual const char* libraryName() const
      -[more]virtual bool isSameKindAs(const osg::Object* obj) const +[more]virtual const char* className() const
      -[more]virtual void operate(Particle* P, double dt) = 0 +[more]virtual bool isSameKindAs(const osg::Object* obj) const +
      +[more]virtual void operate(Particle* P, double dt) = 0
      Do something on a particle.
      -[more]virtual void beginOperate(Program* ) +[more]virtual void beginOperate(Program* )
      Do something before processing particles via the operate() method.
      -[more]virtual void endOperate() +[more]virtual void endOperate()
      Do something after all particles have been processed
      -[more]inline Operator() +[more]inline Operator()
      -[more]inline Operator(const Operator &copy, const osg::CopyOp &copyop) +[more]inline Operator(const Operator &copy, const osg::CopyOp &copyop)
      -[more]inline bool isEnabled() const +[more]inline bool isEnabled() const
      Get whether this operator is enabled
      -[more]inline void setEnabled(bool v) +[more]inline void setEnabled(bool v)
      Enable or disable this operator

      Protected Methods

      -[more]virtual ~Operator() +[more]virtual ~Operator()
      -[more]Operator& operator=(const Operator &) +[more]Operator& operator=(const Operator &)

      @@ -65,16 +67,20 @@ You should also override the beginOperate() method to query the cal used, and initialize the right transformations if needed.
      - + +
      ovirtual const char* libraryName() const +

      + +

      ovirtual const char* className() const

      - +

      ovirtual bool isSameKindAs(const osg::Object* obj) const

      - +

      ovirtual void operate(Particle* P, double dt) = 0
      Do something on a particle. This method is called by ModularProgram objects to perform some operations @@ -83,7 +89,7 @@ consist of modifying the particle's velocity vector. The dt paramet the time elapsed from last operation.

      - +

      ovirtual void beginOperate(Program* )
      Do something before processing particles via the operate() method. Overriding this method could be necessary to query the calling Program object @@ -91,33 +97,33 @@ for the current reference frame. If the reference frame is RELATIVE_TO_PARENTS, class should prepare itself to do all operations in local coordinates.

      - +

      ovirtual void endOperate()
      Do something after all particles have been processed

      - +

      ovirtual ~Operator()

      - +

      oOperator& operator=(const Operator &)

      - +

      oinline Operator()

      - -

      oinline Operator(const Operator &copy, const osg::CopyOp &copyop) + +
      oinline Operator(const Operator &copy, const osg::CopyOp &copyop)

      - +

      oinline bool isEnabled() const
      Get whether this operator is enabled

      - +

      oinline void setEnabled(bool v)
      Enable or disable this operator

      diff --git a/doc/doc++/osgParticle/Particle.html b/doc/doc++/osgParticle/Particle.html index c26bff23b..b446fbfb6 100644 --- a/doc/doc++/osgParticle/Particle.html +++ b/doc/doc++/osgParticle/Particle.html @@ -121,6 +121,9 @@
      [more]inline void endRender()
      Perform some post-rendering tasks. +
      +[more]inline float getCurrentSize() const +
      Get the current (interpolated) polygon size.

      @@ -366,6 +369,11 @@ For built-in operators to work correctly, remember that the mass is expressed in
      oinline void endRender()
      Perform some post-rendering tasks. Called automatically by particle systems. +

      + + +

      oinline float getCurrentSize() const +
      Get the current (interpolated) polygon size. Valid only after the first call to update().


      This class has no child classes.
      diff --git a/doc/doc++/osgParticle/ParticleProcessor.html b/doc/doc++/osgParticle/ParticleProcessor.html index 9a78e2fde..46a7889c2 100644 --- a/doc/doc++/osgParticle/ParticleProcessor.html +++ b/doc/doc++/osgParticle/ParticleProcessor.html @@ -29,7 +29,7 @@
      [more]virtual const char* className() const
      -[more]virtual bool isSameKindAs(const osg::Object* obj) +[more]virtual bool isSameKindAs(const osg::Object* obj) const
      [more]virtual void accept(osg::NodeVisitor& nv)
      @@ -133,7 +133,7 @@ transformations when needed.

      -

      ovirtual bool isSameKindAs(const osg::Object* obj) +
      ovirtual bool isSameKindAs(const osg::Object* obj) const

      diff --git a/doc/doc++/osgParticle/ParticleSystem.html b/doc/doc++/osgParticle/ParticleSystem.html index 429997e0f..04844935f 100644 --- a/doc/doc++/osgParticle/ParticleSystem.html +++ b/doc/doc++/osgParticle/ParticleSystem.html @@ -27,7 +27,7 @@

      [more] ParticleSystem(const ParticleSystem &copy, const osg::CopyOp &copyop = osg::CopyOp::SHALLOW_COPY)
      -[more] META_Object(ParticleSystem) +[more] META_Object(osgParticle, ParticleSystem)
      [more]inline virtual Particle* createParticle(const Particle* ptemplate)
      Create a new particle from the specified template (or the default one if ptemplate is null) @@ -35,7 +35,7 @@ [more]inline virtual void destroyParticle(int i)
      Destroy the i-th particle
      -[more]void setDefaultAttributes(const std::string &texturefile = "", bool emissive_particles = true, bool lighting = false) +[more]void setDefaultAttributes(const std::string &texturefile = "", bool emissive_particles = true, bool lighting = false, int texture_unit = 0)
      A useful method to set the most common StateAttribute's in one call.
      [more]virtual void update(double dt) @@ -82,7 +82,7 @@
      [more]inline bool getStats(osg::Statistics &stats)
      -[more]inline void update_bounds(const osg::Vec3 &p) +[more]inline void update_bounds(const osg::Vec3 &p, float r)
      [more]inline const Particle& getDefaultParticleTemplate() const
      Get a reference to the default particle template @@ -140,7 +140,7 @@ through them (see the Emitter and Program classes).

      -

      o META_Object(ParticleSystem) +
      o META_Object(osgParticle, ParticleSystem)

      @@ -154,7 +154,7 @@ through them (see the Emitter and Program classes).

      -

      ovoid setDefaultAttributes(const std::string &texturefile = "", bool emissive_particles = true, bool lighting = false) +
      ovoid setDefaultAttributes(const std::string &texturefile = "", bool emissive_particles = true, bool lighting = false, int texture_unit = 0)
      A useful method to set the most common StateAttribute's in one call. If texturefile is empty, then texturing is turned off.

      @@ -264,7 +264,7 @@ system will fall into a transparent bin.

      -

      oinline void update_bounds(const osg::Vec3 &p) +
      oinline void update_bounds(const osg::Vec3 &p, float r)

      diff --git a/doc/doc++/osgParticle/ParticleSystemUpdater.html b/doc/doc++/osgParticle/ParticleSystemUpdater.html index d27a75837..bbc26a13f 100644 --- a/doc/doc++/osgParticle/ParticleSystemUpdater.html +++ b/doc/doc++/osgParticle/ParticleSystemUpdater.html @@ -27,7 +27,7 @@

      [more] ParticleSystemUpdater(const ParticleSystemUpdater &copy, const osg::CopyOp &copyop = osg::CopyOp::SHALLOW_COPY)
      -[more] META_Node(ParticleSystemUpdater) +[more] META_Node(osgParticle, ParticleSystemUpdater)
      [more]virtual void traverse(osg::NodeVisitor &nv)
      @@ -85,7 +85,7 @@ When a ParticleSystemUpdater is traversed by a cull visitor, it cal

      -

      o META_Node(ParticleSystemUpdater) +
      o META_Node(osgParticle, ParticleSystemUpdater)

      diff --git a/doc/doc++/osgParticle/Placer.html b/doc/doc++/osgParticle/Placer.html index d373f0acb..cc8bc75cb 100644 --- a/doc/doc++/osgParticle/Placer.html +++ b/doc/doc++/osgParticle/Placer.html @@ -23,23 +23,25 @@

      Public Methods

      -[more]virtual const char* className() const +[more]virtual const char* libraryName() const
      -[more]virtual bool isSameKindAs(const osg::Object* obj) const +[more]virtual const char* className() const
      -[more]virtual void place(Particle* P) const = 0 +[more]virtual bool isSameKindAs(const osg::Object* obj) const +
      +[more]virtual void place(Particle* P) const = 0
      Place a particle.
      -[more]inline Placer() +[more]inline Placer()
      -[more]inline Placer(const Placer &copy, const osg::CopyOp &copyop) +[more]inline Placer(const Placer &copy, const osg::CopyOp &copyop)

      Protected Methods

      -[more] ~Placer() +[more] ~Placer()
      -[more]Placer& operator=(const Placer &) +[more]Placer& operator=(const Placer &)

      @@ -52,34 +54,38 @@ a particle as input, and places it somewhere by setting its position vector. Pla used by the ModularEmitter class as part of the particle emission process.
      - + +
      ovirtual const char* libraryName() const +

      + +

      ovirtual const char* className() const

      - +

      ovirtual bool isSameKindAs(const osg::Object* obj) const

      - +

      ovirtual void place(Particle* P) const = 0
      Place a particle. Must be implemented in descendant classes.

      - +

      o ~Placer()

      - +

      oPlacer& operator=(const Placer &)

      - +

      oinline Placer()

      - -

      oinline Placer(const Placer &copy, const osg::CopyOp &copyop) + +
      oinline Placer(const Placer &copy, const osg::CopyOp &copyop)


      Direct child classes: diff --git a/doc/doc++/osgParticle/PointPlacer.html b/doc/doc++/osgParticle/PointPlacer.html index 16d226752..da89091c5 100644 --- a/doc/doc++/osgParticle/PointPlacer.html +++ b/doc/doc++/osgParticle/PointPlacer.html @@ -23,7 +23,7 @@

      Public Methods

      -[more] META_Object(PointPlacer) +[more] META_Object(osgParticle, PointPlacer)
      [more]inline PointPlacer()
      @@ -45,6 +45,8 @@

      Public Methods

      +ovirtual const char* libraryName() const +
      ovirtual const char* className() const
      ovirtual bool isSameKindAs(const osg::Object* obj) const @@ -71,7 +73,7 @@ to place there all incoming particles. -
      o META_Object(PointPlacer) +
      o META_Object(osgParticle, PointPlacer)

      diff --git a/doc/doc++/osgParticle/Program.html b/doc/doc++/osgParticle/Program.html index c6fcf982d..691267c3b 100644 --- a/doc/doc++/osgParticle/Program.html +++ b/doc/doc++/osgParticle/Program.html @@ -27,23 +27,25 @@

      [more] Program(const Program &copy, const osg::CopyOp &copyop = osg::CopyOp::SHALLOW_COPY)
      -[more]virtual const char* className() const +[more]virtual const char* libraryName() const
      -[more]virtual bool isSameKindAs(const osg::Object* obj) +[more]virtual const char* className() const
      -[more]virtual void accept(osg::NodeVisitor& nv) +[more]virtual bool isSameKindAs(const osg::Object* obj) const
      -[more]inline void process(double dt) +[more]virtual void accept(osg::NodeVisitor& nv) +
      +[more]inline void process(double dt)
      Implementation of ParticleProcessor::process().

      Protected Methods

      -[more]virtual ~Program() +[more]virtual ~Program()
      -[more]Program& operator=(const Program &) +[more]Program& operator=(const Program &)
      -[more]virtual void execute(double dt) = 0 +[more]virtual void execute(double dt) = 0
      Execute the program on the particle system.

      @@ -110,33 +112,37 @@ through all particles in the linked particle system and modify them somehow
      o Program(const Program &copy, const osg::CopyOp &copyop = osg::CopyOp::SHALLOW_COPY)

      - + +

      ovirtual const char* libraryName() const +

      + +

      ovirtual const char* className() const

      - -

      ovirtual bool isSameKindAs(const osg::Object* obj) + +
      ovirtual bool isSameKindAs(const osg::Object* obj) const

      - +

      ovirtual void accept(osg::NodeVisitor& nv)

      - +

      ovirtual ~Program()

      - +

      oProgram& operator=(const Program &)

      - +

      ovirtual void execute(double dt) = 0
      Execute the program on the particle system. Must be overriden in descendant classes.

      - +

      oinline void process(double dt)
      Implementation of ParticleProcessor::process(). Do not call this method by yourself.

      diff --git a/doc/doc++/osgParticle/RadialShooter.html b/doc/doc++/osgParticle/RadialShooter.html index 09da7b6a1..4145ceaa3 100644 --- a/doc/doc++/osgParticle/RadialShooter.html +++ b/doc/doc++/osgParticle/RadialShooter.html @@ -23,7 +23,7 @@

      Public Methods

      -[more] META_Object(RadialShooter) +[more] META_Object(osgParticle, RadialShooter)
      [more]inline RadialShooter()
      @@ -72,6 +72,8 @@

      Public Methods

      +ovirtual const char* libraryName() const +
      ovirtual const char* className() const
      ovirtual bool isSameKindAs(const osg::Object* obj) const @@ -92,7 +94,7 @@ the angle between the X axis and the velocity vector projected onto the X-Y plan -
      o META_Object(RadialShooter) +
      o META_Object(osgParticle, RadialShooter)

      diff --git a/doc/doc++/osgParticle/RandomRateCounter.html b/doc/doc++/osgParticle/RandomRateCounter.html index c660b86df..04712a5e8 100644 --- a/doc/doc++/osgParticle/RandomRateCounter.html +++ b/doc/doc++/osgParticle/RandomRateCounter.html @@ -22,7 +22,7 @@

      Public Methods

      -[more] META_Object(RandomRateCounter) +[more] META_Object(osgParticle, RandomRateCounter)
      [more]inline RandomRateCounter()
      @@ -56,6 +56,11 @@

      Inherited from Counter:

      +

      +

      Public Methods

      +ovirtual const char* libraryName() const +

      +

      Protected Methods

      oCounter& operator=(const Counter &) @@ -70,7 +75,7 @@ -
      o META_Object(RandomRateCounter) +
      o META_Object(osgParticle, RandomRateCounter)

      diff --git a/doc/doc++/osgParticle/SectorPlacer.html b/doc/doc++/osgParticle/SectorPlacer.html index a7ca2e509..6ae51b324 100644 --- a/doc/doc++/osgParticle/SectorPlacer.html +++ b/doc/doc++/osgParticle/SectorPlacer.html @@ -23,7 +23,7 @@

      Public Methods

      -[more] META_Object(SectorPlacer) +[more] META_Object(osgParticle, SectorPlacer)
      [more]inline SectorPlacer()
      @@ -63,6 +63,8 @@

      Public Methods

      +ovirtual const char* libraryName() const +
      ovirtual const char* className() const
      ovirtual bool isSameKindAs(const osg::Object* obj) const @@ -91,7 +93,7 @@ for radius, and a range of values for the central angle (sometimes -
      o META_Object(SectorPlacer) +
      o META_Object(osgParticle, SectorPlacer)

      diff --git a/doc/doc++/osgParticle/SegmentPlacer.html b/doc/doc++/osgParticle/SegmentPlacer.html index 027a8ea22..6f8b70e99 100644 --- a/doc/doc++/osgParticle/SegmentPlacer.html +++ b/doc/doc++/osgParticle/SegmentPlacer.html @@ -23,7 +23,7 @@

      Public Methods

      -[more] META_Object(SegmentPlacer) +[more] META_Object(osgParticle, SegmentPlacer)
      [more]inline SegmentPlacer()
      @@ -66,6 +66,8 @@

      Public Methods

      +ovirtual const char* libraryName() const +
      ovirtual const char* className() const
      ovirtual bool isSameKindAs(const osg::Object* obj) const @@ -84,7 +86,7 @@ within that segment. -
      o META_Object(SegmentPlacer) +
      o META_Object(osgParticle, SegmentPlacer)

      diff --git a/doc/doc++/osgParticle/Shooter.html b/doc/doc++/osgParticle/Shooter.html index a7085030d..d4ef93f50 100644 --- a/doc/doc++/osgParticle/Shooter.html +++ b/doc/doc++/osgParticle/Shooter.html @@ -23,23 +23,25 @@

      Public Methods

      -[more]virtual const char* className() const +[more]virtual const char* libraryName() const
      -[more]virtual bool isSameKindAs(const osg::Object* obj) const +[more]virtual const char* className() const
      -[more]virtual void shoot(Particle* P) const = 0 +[more]virtual bool isSameKindAs(const osg::Object* obj) const +
      +[more]virtual void shoot(Particle* P) const = 0
      Shoot a particle.
      -[more]inline Shooter() +[more]inline Shooter()
      -[more]inline Shooter(const Shooter &copy, const osg::CopyOp &copyop) +[more]inline Shooter(const Shooter &copy, const osg::CopyOp &copyop)

      Protected Methods

      -[more]virtual ~Shooter() +[more]virtual ~Shooter()
      -[more]Shooter& operator=(const Shooter &) +[more]Shooter& operator=(const Shooter &)

      @@ -51,36 +53,40 @@ Descendants of this class must override the shoot() method.
      - + +
      ovirtual const char* libraryName() const +

      + +

      ovirtual const char* className() const

      - +

      ovirtual bool isSameKindAs(const osg::Object* obj) const

      - +

      ovirtual void shoot(Particle* P) const = 0
      Shoot a particle. Must be overriden by descendants. This method should only set the velocity vector of particle P, leaving other attributes unchanged.

      - +

      ovirtual ~Shooter()

      - +

      oShooter& operator=(const Shooter &)

      - +

      oinline Shooter()

      - -

      oinline Shooter(const Shooter &copy, const osg::CopyOp &copyop) + +
      oinline Shooter(const Shooter &copy, const osg::CopyOp &copyop)


      Direct child classes: diff --git a/doc/doc++/osgParticle/VariableRateCounter.html b/doc/doc++/osgParticle/VariableRateCounter.html index 34e6f504d..54f89b73b 100644 --- a/doc/doc++/osgParticle/VariableRateCounter.html +++ b/doc/doc++/osgParticle/VariableRateCounter.html @@ -47,6 +47,8 @@

      Public Methods

      +ovirtual const char* libraryName() const +
      ovirtual int numParticlesToCreate(double dt) const

      diff --git a/doc/doc++/osgText/BitmapFont.html b/doc/doc++/osgText/BitmapFont.html index 21c2aed1a..29b9b3fa3 100644 --- a/doc/doc++/osgText/BitmapFont.html +++ b/doc/doc++/osgText/BitmapFont.html @@ -28,7 +28,7 @@
      [more] BitmapFont(const std::string& font, int point_size)
      -[more] META_Font(BitmapFont) +[more] META_Font(osgText, BitmapFont)

      @@ -43,6 +43,8 @@

      Public Methods

      ovirtual bool isSameKindAs(const osg::Object* obj) const
      +ovirtual const char* libraryName() const +
      ovirtual const char* className() const

      @@ -77,7 +79,9 @@
      oint getTextureSize(void) const
      -oconst std::string& getFontName() +oconst std::string& getFontName() const +
      +ovoid copyAndInvalidate(Font &dest)
      oFTFont* getFont(void)

      @@ -127,7 +131,7 @@

      -

      o META_Font(BitmapFont) +
      o META_Font(osgText, BitmapFont)

      diff --git a/doc/doc++/osgText/Font.html b/doc/doc++/osgText/Font.html index 3dafa1e4b..0eadb68bc 100644 --- a/doc/doc++/osgText/Font.html +++ b/doc/doc++/osgText/Font.html @@ -28,65 +28,70 @@

      [more]virtual bool isSameKindAs(const osg::Object* obj) const
      -[more]virtual const char* className() const +[more]virtual const char* libraryName() const
      -[more]bool open(const char* font) +[more]virtual const char* className() const
      -[more]bool open(const std::string& font) +[more]bool open(const char* font)
      -[more]virtual bool create(osg::State& state, int pointSize, const unsigned int res = 72 ) +[more]bool open(const std::string& font)
      -[more]virtual bool create(osg::State& state) +[more]virtual bool create(osg::State& state, int pointSize, const unsigned int res = 72 )
      -[more]virtual void output(osg::State& state, const char* text) +[more]virtual bool create(osg::State& state)
      -[more]virtual bool isOk(void) const +[more]virtual void output(osg::State& state, const char* text)
      -[more]virtual bool isCreated(void) const +[more]virtual bool isOk(void) const
      -[more]virtual float getWidth(const char* text) const +[more]virtual bool isCreated(void) const
      -[more]virtual int getHeight() const +[more]virtual float getWidth(const char* text) const
      -[more]virtual int getDescender() const +[more]virtual int getHeight() const
      -[more]virtual int getAscender() const +[more]virtual int getDescender() const
      -[more]int getPointSize(void) const +[more]virtual int getAscender() const
      -[more]int getTextureSize(void) const +[more]int getPointSize(void) const
      -[more]const std::string& getFontName() +[more]int getTextureSize(void) const
      -[more]FTFont* getFont(void) +[more]const std::string& getFontName() const +
      +[more]void copyAndInvalidate(Font &dest) +
      Transfer font settings to another Font object and invalidate this one +
      +[more]FTFont* getFont(void)

      Protected Fields

      -[more]bool _init +[more]bool _init
      -[more]bool _created +[more]bool _created
      -[more]FTFont* _font +[more]FTFont* _font
      -[more]std::string _fontName +[more]std::string _fontName
      -[more]int _pointSize +[more]int _pointSize
      -[more]int _res +[more]int _res
      -[more]int _textureSize +[more]int _textureSize

      Protected Methods

      -[more]virtual ~Font() +[more]virtual ~Font()
      -[more]virtual void clear() +[more]virtual void clear()
      -[more]virtual FTFont* createFontObj(void) = 0 +[more]virtual FTFont* createFontObj(void) = 0
      -[more]bool init(const std::string& font) +[more]bool init(const std::string& font)

      @@ -108,112 +113,121 @@
      ovirtual bool isSameKindAs(const osg::Object* obj) const

      - + +

      ovirtual const char* libraryName() const +

      + +

      ovirtual const char* className() const

      - +

      obool open(const char* font)

      - +

      obool open(const std::string& font)

      - +

      ovirtual bool create(osg::State& state, int pointSize, const unsigned int res = 72 )

      - +

      ovirtual bool create(osg::State& state)

      - +

      ovirtual void output(osg::State& state, const char* text)

      - +

      ovirtual bool isOk(void) const

      - +

      ovirtual bool isCreated(void) const

      - +

      ovirtual float getWidth(const char* text) const

      - +

      ovirtual int getHeight() const

      - +

      ovirtual int getDescender() const

      - +

      ovirtual int getAscender() const

      - +

      oint getPointSize(void) const

      - +

      oint getTextureSize(void) const

      - -

      oconst std::string& getFontName() + +
      oconst std::string& getFontName() const +

      + + +

      ovoid copyAndInvalidate(Font &dest) +
      Transfer font settings to another Font object and invalidate this one

      - +

      oFTFont* getFont(void)

      - +

      ovirtual ~Font()

      - +

      ovirtual void clear()

      - +

      ovirtual FTFont* createFontObj(void) = 0

      - +

      obool init(const std::string& font)

      - +

      obool _init

      - +

      obool _created

      - +

      oFTFont* _font

      - +

      ostd::string _fontName

      - +

      oint _pointSize

      - +

      oint _res

      - +

      oint _textureSize


      diff --git a/doc/doc++/osgText/META_Font.html b/doc/doc++/osgText/META_Font.html index 56acaa61f..652d1014c 100644 --- a/doc/doc++/osgText/META_Font.html +++ b/doc/doc++/osgText/META_Font.html @@ -7,7 +7,7 @@ -

      #define osgText::META_Font

      (name)

      META_Font macro define the standard clone, isSameKindAs, className and getType methods.
      +

      #define osgText::META_Font

      (library, name)

      META_Font macro define the standard clone, isSameKindAs, className and getType methods.

      diff --git a/doc/doc++/osgText/OutlineFont.html b/doc/doc++/osgText/OutlineFont.html index 8a6d10aa1..21ad6f8fa 100644 --- a/doc/doc++/osgText/OutlineFont.html +++ b/doc/doc++/osgText/OutlineFont.html @@ -28,7 +28,7 @@
      [more] OutlineFont(const std::string& font, int point_size, double precision)
      -[more] META_Font(OutlineFont) +[more] META_Font(osgText, OutlineFont)

      @@ -43,6 +43,8 @@

      Public Methods

      ovirtual bool isSameKindAs(const osg::Object* obj) const
      +ovirtual const char* libraryName() const +
      ovirtual const char* className() const

      @@ -82,7 +84,9 @@
      oint getTextureSize(void) const
      -oconst std::string& getFontName() +oconst std::string& getFontName() const +
      +ovoid copyAndInvalidate(Font &dest)
      oFTFont* getFont(void)

      @@ -132,7 +136,7 @@

      -

      o META_Font(OutlineFont) +
      o META_Font(osgText, OutlineFont)

      diff --git a/doc/doc++/osgText/Paragraph.html b/doc/doc++/osgText/Paragraph.html index 4d564e540..5c39a336b 100644 --- a/doc/doc++/osgText/Paragraph.html +++ b/doc/doc++/osgText/Paragraph.html @@ -28,7 +28,7 @@

      [more] Paragraph(const osg::Vec3& position, const std::string& text, osgText::Font* font)
      -[more]META_Node (Paragraph)(osgText::Font* font) +[more]META_Node (osgText, Paragraph)(osgText::Font* font)
      [more]osgText::Font* getFont()
      @@ -50,7 +50,7 @@
      [more]void setAlignment(int alignment)
      -[more]int getAlignment() +[more]int getAlignment() const
      [more]float getHeight() const
      @@ -96,9 +96,9 @@
      o Paragraph(const osg::Vec3& position, const std::string& text, osgText::Font* font)

      - + -

      oMETA_Node (Paragraph)(osgText::Font* font) +
      oMETA_Node (osgText, Paragraph)(osgText::Font* font)

      @@ -142,7 +142,7 @@

      -

      oint getAlignment() +
      oint getAlignment() const

      diff --git a/doc/doc++/osgText/PixmapFont.html b/doc/doc++/osgText/PixmapFont.html index 86570f503..bb53c5528 100644 --- a/doc/doc++/osgText/PixmapFont.html +++ b/doc/doc++/osgText/PixmapFont.html @@ -28,7 +28,7 @@

      [more] PixmapFont(const std::string& font, int point_size)
      -[more] META_Font(PixmapFont) +[more] META_Font(osgText, PixmapFont)

      @@ -43,6 +43,8 @@

      Public Methods

      ovirtual bool isSameKindAs(const osg::Object* obj) const
      +ovirtual const char* libraryName() const +
      ovirtual const char* className() const

      @@ -77,7 +79,9 @@
      oint getTextureSize(void) const
      -oconst std::string& getFontName() +oconst std::string& getFontName() const +
      +ovoid copyAndInvalidate(Font &dest)
      oFTFont* getFont(void)

      @@ -127,7 +131,7 @@

      -

      o META_Font(PixmapFont) +
      o META_Font(osgText, PixmapFont)

      diff --git a/doc/doc++/osgText/PolygonFont.html b/doc/doc++/osgText/PolygonFont.html index c6b1b60ed..85bda2d4e 100644 --- a/doc/doc++/osgText/PolygonFont.html +++ b/doc/doc++/osgText/PolygonFont.html @@ -30,7 +30,7 @@

      [more] PolygonFont(const char* font, int point_size, double precision)
      -[more] META_Font(PolygonFont) +[more] META_Font(osgText, PolygonFont)

      @@ -45,6 +45,8 @@

      Public Methods

      ovirtual bool isSameKindAs(const osg::Object* obj) const
      +ovirtual const char* libraryName() const +
      ovirtual const char* className() const

      @@ -84,7 +86,9 @@
      oint getTextureSize(void) const
      -oconst std::string& getFontName() +oconst std::string& getFontName() const +
      +ovoid copyAndInvalidate(Font &dest)
      oFTFont* getFont(void)

      @@ -138,7 +142,7 @@

      -

      o META_Font(PolygonFont) +
      o META_Font(osgText, PolygonFont)

      diff --git a/doc/doc++/osgText/RasterFont.html b/doc/doc++/osgText/RasterFont.html index addc9e5fa..d6f04b62c 100644 --- a/doc/doc++/osgText/RasterFont.html +++ b/doc/doc++/osgText/RasterFont.html @@ -30,7 +30,9 @@

      [more]virtual bool isSameKindAs(const osg::Object* obj) const
      -[more]virtual const char* className() const +[more]virtual const char* libraryName() const +
      +[more]virtual const char* className() const

      @@ -64,7 +66,9 @@
      oint getTextureSize(void) const
      -oconst std::string& getFontName() +oconst std::string& getFontName() const +
      +ovoid copyAndInvalidate(Font &dest)
      oFTFont* getFont(void)

      @@ -118,8 +122,12 @@
      ovirtual bool isSameKindAs(const osg::Object* obj) const

      - + +

      ovirtual const char* libraryName() const +

      + +

      ovirtual const char* className() const


      diff --git a/doc/doc++/osgText/Text.html b/doc/doc++/osgText/Text.html index 85ee11830..1aeee78fb 100644 --- a/doc/doc++/osgText/Text.html +++ b/doc/doc++/osgText/Text.html @@ -36,49 +36,51 @@
      [more]virtual const char* className() const
      -[more]void setPosition(const osg::Vec2& pos) +[more]virtual const char* libraryName() const
      -[more]void setPosition(const osg::Vec3& pos) +[more]void setPosition(const osg::Vec2& pos)
      -[more]const osg::Vec3& getPosition() const +[more]void setPosition(const osg::Vec3& pos)
      -[more]void setColor(const osg::Vec4& color) +[more]const osg::Vec3& getPosition() const
      -[more]osg::Vec4& getColor() +[more]void setColor(const osg::Vec4& color)
      -[more]const osg::Vec4& getColor() const +[more]osg::Vec4& getColor()
      -[more]void setDrawMode(int mode) +[more]const osg::Vec4& getColor() const
      -[more]int getDrawMode() const +[more]void setDrawMode(int mode)
      -[more]void setBoundingBox(int mode) +[more]int getDrawMode() const
      -[more]int getBoundingBox() const +[more]void setBoundingBox(int mode)
      -[more]void setAlignment(int alignment) +[more]int getBoundingBox() const
      -[more]int getAlignment() const +[more]void setAlignment(int alignment)
      -[more]void setFont(Font* font) +[more]int getAlignment() const
      -[more]Font* getFont() +[more]void setFont(Font* font)
      -[more]const Font* getFont() const +[more]Font* getFont()
      -[more]void setText(const char* text) +[more]const Font* getFont() const
      -[more]void setText(const std::string& text) +[more]void setText(const char* text)
      -[more]const std::string& getText() const +[more]void setText(const std::string& text)
      -[more]virtual void drawImmediateMode(osg::State& state) +[more]const std::string& getText() const
      -[more]virtual void drawBoundingBox(void) +[more]virtual void drawImmediateMode(osg::State& state)
      -[more]virtual void drawAlignment(void) +[more]virtual void drawBoundingBox(void)
      -[more]const osg::Vec3& getAlignmentPos() const +[more]virtual void drawAlignment(void) +
      +[more]const osg::Vec3& getAlignmentPos() const

      @@ -92,47 +94,47 @@

      Protected Fields

      -[more]osg::ref_ptr<Font> _font +[more]osg::ref_ptr<Font> _font
      -[more]bool _init +[more]bool _init
      -[more]bool _initAlignment +[more]bool _initAlignment
      -[more]std::string _text +[more]std::string _text
      -[more]int _fontType +[more]int _fontType
      -[more]int _alignment +[more]int _alignment
      -[more]int _drawMode +[more]int _drawMode
      -[more]int _boundingBoxType +[more]int _boundingBoxType
      -[more]osg::Vec3 _pos +[more]osg::Vec3 _pos
      -[more]osg::Vec3 _alignmentPos +[more]osg::Vec3 _alignmentPos
      -[more]osg::Vec4 _color +[more]osg::Vec4 _color

      Protected Methods

      -[more]virtual ~Text() +[more]virtual ~Text()
      -[more]virtual void setDefaults(void) +[more]virtual void setDefaults(void)
      -[more]virtual const bool computeBound(void) const +[more]virtual const bool computeBound(void) const
      -[more]virtual void calcBounds(osg::Vec3* min, osg::Vec3* max) const +[more]virtual void calcBounds(osg::Vec3* min, osg::Vec3* max) const
      -[more]void initAlignment(osg::Vec3* min, osg::Vec3* max) +[more]void initAlignment(osg::Vec3* min, osg::Vec3* max)
      -[more]bool initAlignment(void) +[more]bool initAlignment(void)

      Protected Members

      -[more]enum FontType +[more]enum FontType

      @@ -211,9 +213,9 @@
      o BOUNDINGBOX

      - + -

      o ALIGNEMENT +
      o ALIGNMENT

      @@ -248,190 +250,194 @@

      ovirtual const char* className() const

      - + -

      ovoid setPosition(const osg::Vec2& pos) +
      ovirtual const char* libraryName() const

      +

      ovoid setPosition(const osg::Vec2& pos) +

      + +

      ovoid setPosition(const osg::Vec3& pos)

      - +

      oconst osg::Vec3& getPosition() const

      - +

      ovoid setColor(const osg::Vec4& color)

      - +

      oosg::Vec4& getColor()

      - +

      oconst osg::Vec4& getColor() const

      - +

      ovoid setDrawMode(int mode)

      - +

      oint getDrawMode() const

      - +

      ovoid setBoundingBox(int mode)

      - +

      oint getBoundingBox() const

      - +

      ovoid setAlignment(int alignment)

      - +

      oint getAlignment() const

      - +

      ovoid setFont(Font* font)

      - +

      oFont* getFont()

      - +

      oconst Font* getFont() const

      - +

      ovoid setText(const char* text)

      - +

      ovoid setText(const std::string& text)

      - +

      oconst std::string& getText() const

      - +

      ovirtual void drawImmediateMode(osg::State& state)

      - +

      ovirtual void drawBoundingBox(void)

      - +

      ovirtual void drawAlignment(void)

      - +

      oconst osg::Vec3& getAlignmentPos() const

      - +

      oenum FontType

      - +
      o UNDEF

      - +

      o BITMAP

      - +

      o PIXMAP

      - +

      o OUTLINE

      - +

      o POLYGON

      - +

      o TEXTURE

      - +
      ovirtual ~Text()

      - +

      ovirtual void setDefaults(void)

      - +

      ovirtual const bool computeBound(void) const

      - +

      ovirtual void calcBounds(osg::Vec3* min, osg::Vec3* max) const

      - +

      ovoid initAlignment(osg::Vec3* min, osg::Vec3* max)

      - +

      obool initAlignment(void)

      - +

      oosg::ref_ptr<Font> _font

      - +

      obool _init

      - +

      obool _initAlignment

      - +

      ostd::string _text

      - +

      oint _fontType

      - +

      oint _alignment

      - +

      oint _drawMode

      - +

      oint _boundingBoxType

      - +

      oosg::Vec3 _pos

      - +

      oosg::Vec3 _alignmentPos

      - +

      oosg::Vec4 _color

      diff --git a/doc/doc++/osgText/TextureFont.html b/doc/doc++/osgText/TextureFont.html index 0dcf357e2..2a8830564 100644 --- a/doc/doc++/osgText/TextureFont.html +++ b/doc/doc++/osgText/TextureFont.html @@ -30,7 +30,7 @@
      [more] TextureFont(const std::string& font, int point_size, int textureSize )
      -[more] META_Font(TextureFont) +[more] META_Font(osgText, TextureFont)

      @@ -45,6 +45,8 @@

      Public Methods

      ovirtual bool isSameKindAs(const osg::Object* obj) const
      +ovirtual const char* libraryName() const +
      ovirtual const char* className() const

      @@ -79,7 +81,9 @@
      oint getTextureSize(void) const
      -oconst std::string& getFontName() +oconst std::string& getFontName() const +
      +ovoid copyAndInvalidate(Font &dest)
      oFTFont* getFont(void)

      @@ -133,7 +137,7 @@

      -

      o META_Font(TextureFont) +
      o META_Font(osgText, TextureFont)

      diff --git a/doc/doc++/osgText/VectorFont.html b/doc/doc++/osgText/VectorFont.html index 049df1511..ac3f78205 100644 --- a/doc/doc++/osgText/VectorFont.html +++ b/doc/doc++/osgText/VectorFont.html @@ -30,12 +30,14 @@

      [more]virtual bool isSameKindAs(const osg::Object* obj) const
      -[more]virtual const char* className() const +[more]virtual const char* libraryName() const +
      +[more]virtual const char* className() const

      Protected Fields

      -[more]double _precision +[more]double _precision

      @@ -69,7 +71,9 @@
      oint getTextureSize(void) const
      -oconst std::string& getFontName() +oconst std::string& getFontName() const +
      +ovoid copyAndInvalidate(Font &dest)
      oFTFont* getFont(void)

      @@ -123,12 +127,16 @@
      ovirtual bool isSameKindAs(const osg::Object* obj) const

      - + +

      ovirtual const char* libraryName() const +

      + +

      ovirtual const char* className() const

      - +

      odouble _precision


      diff --git a/doc/doc++/osgText/osgText.html b/doc/doc++/osgText/osgText.html index 9b916e183..517adfbb3 100644 --- a/doc/doc++/osgText/osgText.html +++ b/doc/doc++/osgText/osgText.html @@ -11,7 +11,7 @@

      -#define META_Font(name) +#define META_Font(library,name)
      META_Font macro define the standard clone, isSameKindAs, className and getType methods.
      class OSGTEXT_EXPORT Font: public osg::Object diff --git a/doc/doc++/osgUtil/AppVisitor.html b/doc/doc++/osgUtil/AppVisitor.html index 99fd3ddc3..f158b83ed 100644 --- a/doc/doc++/osgUtil/AppVisitor.html +++ b/doc/doc++/osgUtil/AppVisitor.html @@ -48,17 +48,21 @@ [more]virtual void apply(osg::LOD& node)
      [more]virtual void apply(osg::Impostor& node) +
      +[more]virtual void apply(osg::OccluderNode& node)

      Protected Methods

      -[more] AppVisitor(const AppVisitor&) +[more] AppVisitor(const AppVisitor&)
      prevent unwanted copy construction
      -[more]AppVisitor& operator = (const AppVisitor&) +[more]AppVisitor& operator = (const AppVisitor&)
      prevent unwanted copy operator
      -[more]inline void handle_callbacks_and_traverse(osg::Node& node) +[more]inline void handle_callbacks_and_traverse(osg::Node& node) +
      +[more]inline void handle_geode_callbacks(osg::Geode& node)

      @@ -124,19 +128,27 @@ it exists.
      ovirtual void apply(osg::Impostor& node)

      - + -

      o AppVisitor(const AppVisitor&) +
      ovirtual void apply(osg::OccluderNode& node) +

      + + +

      o AppVisitor(const AppVisitor&)
      prevent unwanted copy construction

      - +

      oAppVisitor& operator = (const AppVisitor&)
      prevent unwanted copy operator

      - +

      oinline void handle_callbacks_and_traverse(osg::Node& node) +

      + + +

      oinline void handle_geode_callbacks(osg::Geode& node)


      This class has no child classes.
      diff --git a/doc/doc++/osgUtil/CombineLODsVisitor.html b/doc/doc++/osgUtil/CombineLODsVisitor.html index 42cf78956..39e89ef6e 100644 --- a/doc/doc++/osgUtil/CombineLODsVisitor.html +++ b/doc/doc++/osgUtil/CombineLODsVisitor.html @@ -23,16 +23,16 @@

      Public Methods

      -[more] CombineLODsVisitor() +[more] CombineLODsVisitor()
      -[more]virtual void apply(osg::LOD& lod) +[more]virtual void apply(osg::LOD& lod)
      -[more]void combineLODs() +[more]void combineLODs()

      Public Members

      -[more]typedef std::set<osg::Group*> GroupList GroupList _groupList +[more]typedef std::set<osg::Group*> GroupList GroupList _groupList

      @@ -45,19 +45,19 @@ complementary ranges
      - +
      otypedef std::set<osg::Group*> GroupList GroupList _groupList

      - +

      o CombineLODsVisitor()

      - +

      ovirtual void apply(osg::LOD& lod)

      - +

      ovoid combineLODs()

      diff --git a/doc/doc++/osgUtil/CullVisitor.html b/doc/doc++/osgUtil/CullVisitor.html index b5c4c76bc..a312c6795 100644 --- a/doc/doc++/osgUtil/CullVisitor.html +++ b/doc/doc++/osgUtil/CullVisitor.html @@ -11,11 +11,11 @@

      Inheritance:

      - - - - - + + + + +
      @@ -23,267 +23,186 @@

      Public Methods

      -[more]typedef unsigned int CullingMode CullVisitor() +[more] CullVisitor()
      -[more]virtual ~CullVisitor() +[more]virtual ~CullVisitor()
      -[more]virtual CullVisitor* cloneType() const +[more]virtual CullVisitor* cloneType() const
      -[more]virtual void reset() +[more]virtual void reset()
      -[more]virtual void apply(osg::Node&) +[more]virtual void apply(osg::Node&)
      -[more]virtual void apply(osg::Geode& node) +[more]virtual void apply(osg::Geode& node)
      -[more]virtual void apply(osg::Billboard& node) +[more]virtual void apply(osg::Billboard& node)
      -[more]virtual void apply(osg::LightSource& node) +[more]virtual void apply(osg::LightSource& node)
      -[more]virtual void apply(osg::ClipNode& node) +[more]virtual void apply(osg::ClipNode& node)
      -[more]virtual void apply(osg::Group& node) +[more]virtual void apply(osg::Group& node)
      -[more]virtual void apply(osg::Transform& node) +[more]virtual void apply(osg::Transform& node)
      -[more]virtual void apply(osg::Projection& node) +[more]virtual void apply(osg::Projection& node)
      -[more]virtual void apply(osg::Switch& node) +[more]virtual void apply(osg::Switch& node)
      -[more]virtual void apply(osg::LOD& node) +[more]virtual void apply(osg::LOD& node)
      -[more]virtual void apply(osg::EarthSky& node) +[more]virtual void apply(osg::EarthSky& node)
      -[more]virtual void apply(osg::OccluderNode& node) +[more]virtual void apply(osg::OccluderNode& node)
      -[more]virtual void apply(osg::Impostor& node) +[more]virtual void apply(osg::Impostor& node)
      -[more]void setEarthSky(const osg::EarthSky* earthSky) +[more]void setEarthSky(const osg::EarthSky* earthSky)
      -[more]const osg::EarthSky* getEarthSky() const +[more]const osg::EarthSky* getEarthSky() const
      -[more]void setLODBias(const float bias) -
      -[more]const float getLODBias() const -
      -[more]void setImpostorsActive(const bool active) +[more]void setImpostorsActive(const bool active)
      Switch the creation of Impostors on or off.
      -[more]const bool getImpostorsActive() const +[more]const bool getImpostorsActive() const
      Get whether impostors are active or not.
      -[more]void setImpostorPixelErrorThreshold(const float numPixels) +[more]void setImpostorPixelErrorThreshold(const float numPixels)
      Set the impostor error threshold.
      -[more]const float getImpostorPixelErrorThreshold() const +[more]const float getImpostorPixelErrorThreshold() const
      Get the impostor error threshold
      -[more]void setDepthSortImpostorSprites(const bool doDepthSort) +[more]void setDepthSortImpostorSprites(const bool doDepthSort)
      Set whether ImpsotorSprite's should be placed in a depth sorted bin for rendering
      -[more]const bool setDepthSortImpostorSprites() const +[more]const bool setDepthSortImpostorSprites() const
      Get whether ImpsotorSprite's are depth sorted bin for rendering
      -[more]void setNumberOfFrameToKeepImpostorSprites(const int numFrames) +[more]void setNumberOfFrameToKeepImpostorSprites(const int numFrames)
      Set the number of frames that an ImpsotorSprite's is kept whilst not being beyond, before being recycled
      -[more]const int getNumberOfFrameToKeepImpostorSprites() const +[more]const int getNumberOfFrameToKeepImpostorSprites() const
      Get the number of frames that an ImpsotorSprite's is kept whilst not being beyond, before being recycled
      -[more]void setComputeNearFarMode(ComputeNearFarMode cnfm) +[more]void setComputeNearFarMode(ComputeNearFarMode cnfm)
      -[more]ComputeNearFarMode getComputeNearFarMode() const +[more]ComputeNearFarMode getComputeNearFarMode() const
      -[more]void setTransparencySortMode(TransparencySortMode tsm) +[more]void setTransparencySortMode(TransparencySortMode tsm)
      -[more]void setCullingMode(CullingMode mode) -
      Sets the current CullingMode -
      -[more]CullingMode getCullingMode() const -
      Returns the current CullingMode -
      -[more]void setSmallFeatureCullingPixelSize(float s) -
      -[more]float getSmallFeatureCullingPixelSize() const -
      -[more]void pushViewport(osg::Viewport* viewport) -
      -[more]void popViewport() -
      -[more]void pushProjectionMatrix(osg::Matrix* matrix) -
      -[more]void popProjectionMatrix() -
      -[more]void pushModelViewMatrix(osg::Matrix* matrix) -
      -[more]void popModelViewMatrix() -
      -[more]inline void pushStateSet(const osg::StateSet* ss) +[more]inline void pushStateSet(const osg::StateSet* ss)
      Push state set on the current state group.
      -[more]inline void popStateSet() +[more]inline void popStateSet()
      Pop the top state set and hence associated state group.
      -[more]inline void setRenderGraph(RenderGraph* rg) +[more]inline void setRenderGraph(RenderGraph* rg)
      -[more]inline RenderGraph* getRootRenderGraph() +[more]inline RenderGraph* getRootRenderGraph()
      -[more]inline RenderGraph* getCurrentRenderGraph() +[more]inline RenderGraph* getCurrentRenderGraph()
      -[more]inline void setRenderStage(RenderStage* rg) +[more]inline void setRenderStage(RenderStage* rg)
      -[more]inline RenderStage* getRenderStage() +[more]inline RenderStage* getRenderStage()
      -[more]inline RenderBin* getCurrentRenderBin() +[more]inline RenderBin* getCurrentRenderBin()
      -[more]inline const osg::Vec3& getEyeLocal() const +[more]inline void setCurrentRenderBin(RenderBin* rb)
      -[more]inline const float getCalculatedNearPlane() const +[more]inline const float getCalculatedNearPlane() const
      -[more]inline const float getCalculatedFarPlane() const +[more]inline const float getCalculatedFarPlane() const
      -[more]inline float pixelSize(const osg::Vec3& v, float const radius) +[more]void updateCalculatedNearFar(const osg::Matrix& matrix, const osg::Drawable& drawable)
      -[more]inline bool isCulled(const osg::Node& node) +[more]void updateCalculatedNearFar(const osg::Matrix& matrix, const osg::BoundingBox& bb)
      -[more]inline const bool isCulled(const osg::BoundingBox& bb) +[more]void updateCalculatedNearFar(const osg::Vec3& pos)
      -[more]inline void pushCurrentMask() +[more]void popProjectionMatrix() +
      reimplement CullStack's popProjectionMatrix() adding clamping of the projection matrix to the computed near and far
      -[more]inline void popCurrentMask() +[more]void setState(osg::State* state)
      -[more]void updateCalculatedNearFar(const osg::Matrix& matrix, const osg::Drawable& drawable) +[more]osg::State* getState()
      -[more]void updateCalculatedNearFar(const osg::Matrix& matrix, const osg::BoundingBox& bb) +[more]const osg::State* getState() const
      -[more]void updateCalculatedNearFar(const osg::Vec3& pos) -
      -[more]inline osg::Viewport* getViewport() -
      -[more]inline osg::Matrix& getModelViewMatrix() -
      -[more]inline osg::Matrix& getProjectionMatrix() -
      -[more]inline const osg::Matrix getWindowMatrix() -
      -[more]inline const osg::Matrix& getMVPW() -
      -[more]inline void addDrawable(osg::Drawable* drawable, osg::Matrix* matrix) +[more]inline void addDrawable(osg::Drawable* drawable, osg::Matrix* matrix)
      Add a drawable to current render graph
      -[more]inline void addDrawableAndDepth(osg::Drawable* drawable, osg::Matrix* matrix, const float depth) +[more]inline void addDrawableAndDepth(osg::Drawable* drawable, osg::Matrix* matrix, const float depth)
      Add a drawable and depth to current render graphAdd a drawable and depth to current render graph
      -[more]inline void addPositionedAttribute(osg::Matrix* matrix, const osg::StateAttribute* attr) +[more]inline void addPositionedAttribute(osg::Matrix* matrix, const osg::StateAttribute* attr)
      Add an attribute which is positioned related to the modelview matrixAdd an attribute which is positioned related to the modelview matrix
      -[more]inline osg::Matrix* createOrReuseMatrix(const osg::Matrix& value) -
      -[more]inline RenderLeaf* createOrReuseRenderLeaf(osg::Drawable* drawable, osg::Matrix* projection, osg::Matrix* matrix, float depth) +[more]inline RenderLeaf* createOrReuseRenderLeaf(osg::Drawable* drawable, osg::Matrix* projection, osg::Matrix* matrix, float depth)

      Public Members

      -[more]enum +[more]enum ComputeNearFarMode
      -[more]enum ComputeNearFarMode -
      -[more]enum TransparencySortMode +[more]enum TransparencySortMode

      Protected Fields

      -[more]MatrixStack _PW_Stack +[more]osg::ref_ptr<RenderGraph> _rootRenderGraph
      -[more]MatrixStack _modelviewStack +[more]RenderGraph* _currentRenderGraph
      -[more]MatrixStack _MVPW_Stack +[more]osg::ref_ptr<RenderStage> _rootRenderStage
      -[more]CullingMode _cullingMode +[more]RenderBin* _currentRenderBin
      -[more]CullingStack _projectionCullingStack +[more]ComputeNearFarMode _computeNearFar
      -[more]CullingStack _modelviewCullingStack +[more]float _computed_znear
      -[more]unsigned int _bbCornerNear +[more]float _computed_zfar
      -[more]unsigned int _bbCornerFar +[more]osg::ref_ptr<const osg::EarthSky> _earthSky
      -[more]osg::Matrix _identity +[more]TransparencySortMode _tsm
      -[more]osg::ref_ptr<RenderGraph> _rootRenderGraph +[more]bool _impostorActive
      -[more]RenderGraph* _currentRenderGraph +[more]bool _depthSortImpostorSprites
      -[more]osg::ref_ptr<RenderStage> _rootRenderStage +[more]float _impostorPixelErrorThreshold
      -[more]RenderBin* _currentRenderBin +[more]int _numFramesToKeepImpostorSprites
      -[more]float _LODBias +[more]unsigned int _currentReuseRenderLeafIndex
      -[more]float _smallFeatureCullingPixelSize +[more]osg::ref_ptr<osg::ImpostorSpriteManager> _impostorSpriteManager
      -[more]ComputeNearFarMode _computeNearFar -
      -[more]float _computed_znear -
      -[more]float _computed_zfar -
      -[more]osg::ref_ptr<const osg::EarthSky> _earthSky -
      -[more]TransparencySortMode _tsm -
      -[more]bool _impostorActive -
      -[more]bool _depthSortImpostorSprites -
      -[more]float _impostorPixelErrorThreshold -
      -[more]int _numFramesToKeepImpostorSprites -
      -[more]unsigned int _currentReuseMatrixIndex -
      -[more]unsigned int _currentReuseRenderLeafIndex -
      -[more]osg::ref_ptr<osg::ImpostorSpriteManager> _impostorSpriteManager +[more]osg::ref_ptr<osg::State> _state

      Protected Methods

      -[more] CullVisitor(const CullVisitor&) +[more] CullVisitor(const CullVisitor&)
      prevent unwanted copy construction
      -[more]CullVisitor& operator = (const CullVisitor&) +[more]CullVisitor& operator = (const CullVisitor&)
      prevent unwanted copy operator
      -[more]inline void handle_cull_callbacks_and_traverse(osg::Node& node) +[more]inline void handle_cull_callbacks_and_traverse(osg::Node& node)
      -[more]inline void handle_cull_callbacks_and_accept(osg::Node& node, osg::Node* acceptNode) +[more]inline void handle_cull_callbacks_and_accept(osg::Node& node, osg::Node* acceptNode)
      -[more]inline const osg::Vec3 getUpLocal() const -
      -[more]inline const osg::Vec3 getLookVectorLocal() const -
      -[more]osg::ImpostorSprite* createImpostorSprite(osg::Impostor& node) +[more]osg::ImpostorSprite* createImpostorSprite(osg::Impostor& node)
      create an impostor sprite by setting up a pre-rendering stage to generate the impostor texture. -
      -[more]void pushCullingSet() -
      -[more]void popCullingSet()

      Protected Members

      -[more]typedef osg::fast_back_stack< osg::ref_ptr<osg::Matrix> > MatrixStack MatrixStack _projectionStack -
      -[more]typedef osg::fast_back_stack<osg::ref_ptr<osg::Viewport> > ViewportStack ViewportStack _viewportStack -
      -[more]typedef osg::fast_back_stack<osg::Vec3> EyePointStack EyePointStack _eyePointStack -
      -[more]typedef osg::fast_back_stack<osg::ref_ptr<osg::CullingSet> > CullingStack CullingStack _clipspaceCullingStack -
      -[more]typedef std::vector< osg::ref_ptr<osg::Matrix> > MatrixList MatrixList _reuseMatrixList -
      -[more]typedef std::vector< osg::ref_ptr<RenderLeaf> > RenderLeafList RenderLeafList _reuseRenderLeafList +[more]typedef std::vector< osg::ref_ptr<RenderLeaf> > RenderLeafList RenderLeafList _reuseRenderLeafList

      @@ -300,138 +219,84 @@ transparent bin in rendered in order from the furthest osg::Drawable from the eye to the one nearest the eye.
      - - -
      oenum -

      - - - -
      o NO_CULLING -

      - - -

      o FRUSTUM_LEFT_CULLING -

      - - -

      o FRUSTUM_RIGHT_CULLING -

      - - -

      o FRUSTUM_BOTTOM_CULLING -

      - - -

      o FRUSTUM_TOP_CULLING -

      - - -

      o FRUSTUM_NEAR_CULLING -

      - - -

      o FRUSTUM_FAR_CULLING -

      - - -

      o VIEW_FRUSTUM_CULLING -

      - - -

      o SMALL_FEATURE_CULLING -

      - - -

      o ENABLE_ALL_CULLING -

      - - -
      otypedef unsigned int CullingMode CullVisitor() + +
      o CullVisitor()

      - +

      ovirtual ~CullVisitor()

      - +

      ovirtual CullVisitor* cloneType() const

      - +

      ovirtual void reset()

      - +

      ovirtual void apply(osg::Node&)

      - +

      ovirtual void apply(osg::Geode& node)

      - +

      ovirtual void apply(osg::Billboard& node)

      - +

      ovirtual void apply(osg::LightSource& node)

      - +

      ovirtual void apply(osg::ClipNode& node)

      - +

      ovirtual void apply(osg::Group& node)

      - +

      ovirtual void apply(osg::Transform& node)

      - +

      ovirtual void apply(osg::Projection& node)

      - +

      ovirtual void apply(osg::Switch& node)

      - +

      ovirtual void apply(osg::LOD& node)

      - +

      ovirtual void apply(osg::EarthSky& node)

      - +

      ovirtual void apply(osg::OccluderNode& node)

      - +

      ovirtual void apply(osg::Impostor& node)

      - +

      ovoid setEarthSky(const osg::EarthSky* earthSky)

      - +

      oconst osg::EarthSky* getEarthSky() const

      - - -

      ovoid setLODBias(const float bias) -

      - - -

      oconst float getLODBias() const -

      - +

      ovoid setImpostorsActive(const bool active)
      Switch the creation of Impostors on or off. Setting active to false forces the CullVisitor to use the Impostor @@ -440,131 +305,89 @@ CullVisitor to create the appropriate pre-rendering stages which render to the ImpostorSprite's texture.

      - +

      oconst bool getImpostorsActive() const
      Get whether impostors are active or not.

      - +

      ovoid setImpostorPixelErrorThreshold(const float numPixels)
      Set the impostor error threshold. Used in calculation of whether impostors remain valid.

      - +

      oconst float getImpostorPixelErrorThreshold() const
      Get the impostor error threshold

      - +

      ovoid setDepthSortImpostorSprites(const bool doDepthSort)
      Set whether ImpsotorSprite's should be placed in a depth sorted bin for rendering

      - +

      oconst bool setDepthSortImpostorSprites() const
      Get whether ImpsotorSprite's are depth sorted bin for rendering

      - +

      ovoid setNumberOfFrameToKeepImpostorSprites(const int numFrames)
      Set the number of frames that an ImpsotorSprite's is kept whilst not being beyond, before being recycled

      - +

      oconst int getNumberOfFrameToKeepImpostorSprites() const
      Get the number of frames that an ImpsotorSprite's is kept whilst not being beyond, before being recycled

      - +

      oenum ComputeNearFarMode

      - +
      o DO_NOT_COMPUTE_NEAR_FAR

      - +

      o COMPUTE_NEAR_FAR_USING_BOUNDING_VOLUMES

      - +

      o COMPUTE_NEAR_FAR_USING_PRIMITIVES

      - -
      ovoid setComputeNearFarMode(ComputeNearFarMode cnfm) + +
      ovoid setComputeNearFarMode(ComputeNearFarMode cnfm)

      - -

      oComputeNearFarMode getComputeNearFarMode() const + +
      oComputeNearFarMode getComputeNearFarMode() const

      - +

      oenum TransparencySortMode

      - +
      o LOOK_VECTOR_DISTANCE

      - +

      o OBJECT_EYE_POINT_DISTANCE

      - -
      ovoid setTransparencySortMode(TransparencySortMode tsm) -

      - - -

      ovoid setCullingMode(CullingMode mode) -
      Sets the current CullingMode -

      - - -

      oCullingMode getCullingMode() const -
      Returns the current CullingMode -

      - - -

      ovoid setSmallFeatureCullingPixelSize(float s) -

      - - -

      ofloat getSmallFeatureCullingPixelSize() const -

      - - -

      ovoid pushViewport(osg::Viewport* viewport) -

      - - -

      ovoid popViewport() -

      - - -

      ovoid pushProjectionMatrix(osg::Matrix* matrix) -

      - - -

      ovoid popProjectionMatrix() -

      - - -

      ovoid pushModelViewMatrix(osg::Matrix* matrix) -

      - - -

      ovoid popModelViewMatrix() + +
      ovoid setTransparencySortMode(TransparencySortMode tsm)

      - +

      oinline void pushStateSet(const osg::StateSet* ss)
      Push state set on the current state group. If the state exists in a child state group of the current @@ -574,293 +397,186 @@ it to the current state group then move the current state group pointer to the new state group.

      - +

      oinline 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.

      - +

      oinline void setRenderGraph(RenderGraph* rg)

      - +

      oinline RenderGraph* getRootRenderGraph()

      - +

      oinline RenderGraph* getCurrentRenderGraph()

      - +

      oinline void setRenderStage(RenderStage* rg)

      - +

      oinline RenderStage* getRenderStage()

      - +

      oinline RenderBin* getCurrentRenderBin()

      - - -

      oinline const osg::Vec3& getEyeLocal() const + + +
      oinline void setCurrentRenderBin(RenderBin* rb)

      - +

      oinline const float getCalculatedNearPlane() const

      - +

      oinline const float getCalculatedFarPlane() const

      - - -

      oinline float pixelSize(const osg::Vec3& v, float const radius) -

      - - -

      oinline bool isCulled(const osg::Node& node) -

      - - -

      oinline const bool isCulled(const osg::BoundingBox& bb) -

      - - -

      oinline void pushCurrentMask() -

      - - -

      oinline void popCurrentMask() -

      - +

      ovoid updateCalculatedNearFar(const osg::Matrix& matrix, const osg::Drawable& drawable)

      - +

      ovoid updateCalculatedNearFar(const osg::Matrix& matrix, const osg::BoundingBox& bb)

      - +

      ovoid updateCalculatedNearFar(const osg::Vec3& pos)

      + + +

      ovoid popProjectionMatrix() +
      reimplement CullStack's popProjectionMatrix() adding clamping of the projection matrix to the computed near and far +

      + + +

      ovoid setState(osg::State* state) +

      + + +

      oosg::State* getState() +

      + + +

      oconst osg::State* getState() const +

      - -

      o CullVisitor(const CullVisitor&) + +
      o CullVisitor(const CullVisitor&)
      prevent unwanted copy construction

      - +

      oCullVisitor& operator = (const CullVisitor&)
      prevent unwanted copy operator

      - +

      oinline void handle_cull_callbacks_and_traverse(osg::Node& node)

      - +

      oinline void handle_cull_callbacks_and_accept(osg::Node& node, osg::Node* acceptNode)

      - - -

      oinline const osg::Vec3 getUpLocal() const -

      - - -

      oinline const osg::Vec3 getLookVectorLocal() const -

      - +

      oosg::ImpostorSprite* createImpostorSprite(osg::Impostor& node)
      create an impostor sprite by setting up a pre-rendering stage to generate the impostor texture.

      - - -

      ovoid pushCullingSet() -

      - - -

      ovoid popCullingSet() -

      - - -

      otypedef osg::fast_back_stack< osg::ref_ptr<osg::Matrix> > MatrixStack MatrixStack _projectionStack -

      - - -

      oMatrixStack _PW_Stack -

      - - -

      oMatrixStack _modelviewStack -

      - - -

      oMatrixStack _MVPW_Stack -

      - - -

      otypedef osg::fast_back_stack<osg::ref_ptr<osg::Viewport> > ViewportStack ViewportStack _viewportStack -

      - - -

      otypedef osg::fast_back_stack<osg::Vec3> EyePointStack EyePointStack _eyePointStack -

      - - -

      oCullingMode _cullingMode -

      - - -

      otypedef osg::fast_back_stack<osg::ref_ptr<osg::CullingSet> > CullingStack CullingStack _clipspaceCullingStack -

      - - -

      oCullingStack _projectionCullingStack -

      - - -

      oCullingStack _modelviewCullingStack -

      - - -

      ounsigned int _bbCornerNear -

      - - -

      ounsigned int _bbCornerFar -

      - - -

      oosg::Matrix _identity -

      - +

      oosg::ref_ptr<RenderGraph> _rootRenderGraph

      - +

      oRenderGraph* _currentRenderGraph

      - +

      oosg::ref_ptr<RenderStage> _rootRenderStage

      - +

      oRenderBin* _currentRenderBin

      - - -

      ofloat _LODBias -

      - - -

      ofloat _smallFeatureCullingPixelSize -

      - -

      oComputeNearFarMode _computeNearFar + +
      oComputeNearFarMode _computeNearFar

      - +

      ofloat _computed_znear

      - +

      ofloat _computed_zfar

      - +

      oosg::ref_ptr<const osg::EarthSky> _earthSky

      - -

      oTransparencySortMode _tsm + +
      oTransparencySortMode _tsm

      - +

      obool _impostorActive

      - +

      obool _depthSortImpostorSprites

      - +

      ofloat _impostorPixelErrorThreshold

      - +

      oint _numFramesToKeepImpostorSprites

      - - -

      otypedef std::vector< osg::ref_ptr<osg::Matrix> > MatrixList MatrixList _reuseMatrixList -

      - - -

      ounsigned int _currentReuseMatrixIndex -

      - +

      otypedef std::vector< osg::ref_ptr<RenderLeaf> > RenderLeafList RenderLeafList _reuseRenderLeafList

      - +

      ounsigned int _currentReuseRenderLeafIndex

      - +

      oosg::ref_ptr<osg::ImpostorSpriteManager> _impostorSpriteManager

      - - -

      oinline osg::Viewport* getViewport() -

      - - -

      oinline osg::Matrix& getModelViewMatrix() -

      - - -

      oinline osg::Matrix& getProjectionMatrix() -

      - - -

      oinline const osg::Matrix getWindowMatrix() -

      - - -

      oinline const osg::Matrix& getMVPW() + + +
      oosg::ref_ptr<osg::State> _state

      - +

      oinline void addDrawable(osg::Drawable* drawable, osg::Matrix* matrix)
      Add a drawable to current render graph

      - +

      oinline void addDrawableAndDepth(osg::Drawable* drawable, osg::Matrix* matrix, const float depth)
      Add a drawable and depth to current render graphAdd a drawable and depth to current render graph

      - +

      oinline void addPositionedAttribute(osg::Matrix* matrix, const osg::StateAttribute* attr)
      Add an attribute which is positioned related to the modelview matrixAdd an attribute which is positioned related to the modelview matrix

      - - -

      oinline osg::Matrix* createOrReuseMatrix(const osg::Matrix& value) -

      - +

      oinline RenderLeaf* createOrReuseRenderLeaf(osg::Drawable* drawable, osg::Matrix* projection, osg::Matrix* matrix, float depth)

      diff --git a/doc/doc++/osgUtil/DepthSortedBin.html b/doc/doc++/osgUtil/DepthSortedBin.html index 5cd0e080b..e3f1f4872 100644 --- a/doc/doc++/osgUtil/DepthSortedBin.html +++ b/doc/doc++/osgUtil/DepthSortedBin.html @@ -22,40 +22,42 @@

      Public Methods

      -[more] DepthSortedBin() +[more] DepthSortedBin()
      -[more]virtual osg::Object* cloneType() const +[more]virtual osg::Object* cloneType() const
      -[more]virtual osg::Object* clone(const osg::CopyOp&) const +[more]virtual osg::Object* clone(const osg::CopyOp&) const
      -[more]virtual bool isSameKindAs(const osg::Object* obj) const +[more]virtual bool isSameKindAs(const osg::Object* obj) const
      -[more]virtual const char* className() const +[more]virtual const char* libraryName() const
      -[more]virtual void reset() +[more]virtual const char* className() const
      -[more]virtual void sort_local() +[more]virtual void reset()
      -[more]virtual void draw_local(osg::State& state, RenderLeaf*& previous) +[more]virtual void sort_local()
      -[more]void setDrawOrder(const DrawOrder drawOrder) +[more]virtual void draw_local(osg::State& state, RenderLeaf*& previous)
      -[more]const DrawOrder getDrawOrder() const +[more]void setDrawOrder(const DrawOrder drawOrder) +
      +[more]const DrawOrder getDrawOrder() const

      Public Members

      -[more]enum DrawOrder +[more]enum DrawOrder

      Protected Fields

      -[more]DrawOrder _drawOrder +[more]DrawOrder _drawOrder

      Protected Methods

      -[more]virtual ~DepthSortedBin() +[more]virtual ~DepthSortedBin()

      @@ -112,66 +114,70 @@
      - +
      o DepthSortedBin()

      - +

      ovirtual osg::Object* cloneType() const

      - +

      ovirtual osg::Object* clone(const osg::CopyOp&) const

      - +

      ovirtual bool isSameKindAs(const osg::Object* obj) const

      + + +

      ovirtual const char* libraryName() const +

      - +

      ovirtual const char* className() const

      - +

      ovirtual void reset()

      - +

      ovirtual void sort_local()

      - +

      ovirtual void draw_local(osg::State& state, RenderLeaf*& previous)

      - +

      oenum DrawOrder

      - +
      o FRONT_TO_BACK

      - +

      o BACK_TO_FRONT

      - -
      ovoid setDrawOrder(const DrawOrder drawOrder) + +
      ovoid setDrawOrder(const DrawOrder drawOrder)

      - -

      oconst DrawOrder getDrawOrder() const + +
      oconst DrawOrder getDrawOrder() const

      - +

      ovirtual ~DepthSortedBin()

      - -

      oDrawOrder _drawOrder + +
      oDrawOrder _drawOrder


      This class has no child classes.
      diff --git a/doc/doc++/osgUtil/DisplayListVisitor.html b/doc/doc++/osgUtil/DisplayListVisitor.html index e377aa18b..7ddb13c9c 100644 --- a/doc/doc++/osgUtil/DisplayListVisitor.html +++ b/doc/doc++/osgUtil/DisplayListVisitor.html @@ -7,7 +7,7 @@ -

      class OSGUTIL_EXPORT osgUtil::DisplayListVisitor

      Visitor for traversing scene graph and setting each osg::GeoSet's _useDisplayList flag, with option to immediately compile osg::Drawable OpenGL Display lists and osg::StateAttribute's
      +

      class OSGUTIL_EXPORT osgUtil::DisplayListVisitor

      Visitor for traversing scene graph and setting each osg::Drawable's _useDisplayList flag, with option to immediately compile osg::Drawable OpenGL Display lists and osg::StateAttribute's

      Inheritance:

      @@ -23,38 +23,38 @@

      Public Methods

      -[more] DisplayListVisitor(Mode mode=COMPILE_DISPLAY_LISTS|COMPILE_STATE_ATTRIBUTES) -
      Construct a CompileGeoSetsVisior to traverse all child, with set specified display list mode. +[more] DisplayListVisitor(Mode mode=COMPILE_DISPLAY_LISTS|COMPILE_STATE_ATTRIBUTES) +
      Construct a DisplayListVisior to traverse all child, with set specified display list mode.
      -[more]void setMode(Mode mode) -
      Set the operational mode of how the visitor should set up osg::GeoSet's +[more]void setMode(Mode mode) +
      Set the operational mode of how the visitor should set up osg::Drawable's
      -[more]Mode getMode() const +[more]Mode getMode() const
      Get the operational mode
      -[more]void setState(osg::State* state) +[more]void setState(osg::State* state)
      Set the State to use during traversal.
      -[more]osg::State* getState() +[more]osg::State* getState()
      -[more]virtual void apply(osg::Node& node) +[more]virtual void apply(osg::Node& node)
      Simply traverse using standard NodeVisitor traverse method
      -[more]virtual void apply(osg::Geode& node) +[more]virtual void apply(osg::Geode& node)
      For each Geode visited set the display list usage according to the _displayListMode

      Public Members

      -[more]enum ModeValues +[more]enum ModeValues
      Operation modes of the

      Protected Fields

      -[more]Mode _mode +[more]Mode _mode
      -[more]osg::ref_ptr<osg::State> _state +[more]osg::ref_ptr<osg::State> _state

      @@ -62,77 +62,77 @@

      Documentation

      -
      Visitor for traversing scene graph and setting each osg::GeoSet's _useDisplayList flag, +
      Visitor for traversing scene graph and setting each osg::Drawable's _useDisplayList flag, with option to immediately compile osg::Drawable OpenGL Display lists and osg::StateAttribute's
      - +
      oenum ModeValues
      Operation modes of the

      - +
      o SWITCH_ON_DISPLAY_LISTS

      - +

      o SWITCH_OFF_DISPLAY_LISTS

      - +

      o COMPILE_DISPLAY_LISTS

      - +

      o COMPILE_STATE_ATTRIBUTES

      - -
      o DisplayListVisitor(Mode mode=COMPILE_DISPLAY_LISTS|COMPILE_STATE_ATTRIBUTES) -
      Construct a CompileGeoSetsVisior to traverse all child, + +
      o DisplayListVisitor(Mode mode=COMPILE_DISPLAY_LISTS|COMPILE_STATE_ATTRIBUTES) +
      Construct a DisplayListVisior to traverse all child, with set specified display list mode. Default mode is to gset->setUseDisplayList(true).

      - +

      ovoid setMode(Mode mode) -
      Set the operational mode of how the visitor should set up osg::GeoSet's +
      Set the operational mode of how the visitor should set up osg::Drawable's

      - +

      oMode getMode() const
      Get the operational mode

      - +

      ovoid setState(osg::State* state)
      Set the State to use during traversal.

      - +

      oosg::State* getState()

      - +

      ovirtual void apply(osg::Node& node)
      Simply traverse using standard NodeVisitor traverse method

      - +

      ovirtual void apply(osg::Geode& node)
      For each Geode visited set the display list usage according to the _displayListMode

      - +

      oMode _mode

      - +

      oosg::ref_ptr<osg::State> _state

      diff --git a/doc/doc++/osgUtil/DisplayRequirementsVisitor.html b/doc/doc++/osgUtil/DisplayRequirementsVisitor.html index f48486c1c..0f016d068 100644 --- a/doc/doc++/osgUtil/DisplayRequirementsVisitor.html +++ b/doc/doc++/osgUtil/DisplayRequirementsVisitor.html @@ -23,27 +23,27 @@

      Public Methods

      -[more] DisplayRequirementsVisitor() +[more] DisplayRequirementsVisitor()
      Default to traversing all children, and reqiresDoubleBuffer, requiresRGB and requiresDepthBuffer to true and with alpha and stencil off
      -[more]inline void setDisplaySettings(osg::DisplaySettings* ds) +[more]inline void setDisplaySettings(osg::DisplaySettings* ds)
      Set the DisplaySettings.
      -[more]inline const osg::DisplaySettings* getDisplaySettings() const +[more]inline const osg::DisplaySettings* getDisplaySettings() const
      Get the DisplaySettings
      -[more]virtual void applyStateSet(osg::StateSet& stateset) +[more]virtual void applyStateSet(osg::StateSet& stateset)
      -[more]virtual void apply(osg::Node& node) +[more]virtual void apply(osg::Node& node)
      -[more]virtual void apply(osg::Geode& geode) +[more]virtual void apply(osg::Geode& geode)
      -[more]virtual void apply(osg::Impostor& impostor) +[more]virtual void apply(osg::Impostor& impostor)

      Protected Fields

      -[more]osg::ref_ptr<osg::DisplaySettings> _ds +[more]osg::ref_ptr<osg::DisplaySettings> _ds

      @@ -58,40 +58,40 @@ src/osgGLUT/Viewer.cpp's Viewer::open() method for an example how to use it. - +
      o DisplayRequirementsVisitor()
      Default to traversing all children, and reqiresDoubleBuffer, requiresRGB and requiresDepthBuffer to true and with alpha and stencil off

      - +

      oinline void setDisplaySettings(osg::DisplaySettings* ds)
      Set the DisplaySettings.

      - +

      oinline const osg::DisplaySettings* getDisplaySettings() const
      Get the DisplaySettings

      - +

      ovirtual void applyStateSet(osg::StateSet& stateset)

      - +

      ovirtual void apply(osg::Node& node)

      - +

      ovirtual void apply(osg::Geode& geode)

      - +

      ovirtual void apply(osg::Impostor& impostor)

      - +

      oosg::ref_ptr<osg::DisplaySettings> _ds

      diff --git a/doc/doc++/osgUtil/FlattenStaticTransformsVisitor.html b/doc/doc++/osgUtil/FlattenStaticTransformsVisitor.html index 4ee40beaa..13b7bdd40 100644 --- a/doc/doc++/osgUtil/FlattenStaticTransformsVisitor.html +++ b/doc/doc++/osgUtil/FlattenStaticTransformsVisitor.html @@ -23,48 +23,48 @@

      Public Methods

      -[more] FlattenStaticTransformsVisitor(bool ignoreDynamicTransforms=true) +[more] FlattenStaticTransformsVisitor(bool ignoreDynamicTransforms=true)
      -[more]virtual void apply(osg::Geode& geode) +[more]virtual void apply(osg::Geode& geode)
      -[more]virtual void apply(osg::Billboard& billboard) +[more]virtual void apply(osg::Billboard& billboard)
      -[more]virtual void apply(osg::LOD& lod) +[more]virtual void apply(osg::LOD& lod)
      -[more]virtual void apply(osg::Transform& transform) +[more]virtual void apply(osg::Transform& transform)
      -[more]void removeTransforms() +[more]void removeTransforms()

      Protected Fields

      -[more]bool _ignoreDynamicTransforms +[more]bool _ignoreDynamicTransforms
      -[more]MatrixStack _matrixStack +[more]MatrixStack _matrixStack
      -[more]TransformStack _transformStack +[more]TransformStack _transformStack
      -[more]TransformMap _transformMap +[more]TransformMap _transformMap
      -[more]ObjectMap _objectMap +[more]ObjectMap _objectMap

      Protected Methods

      -[more]typedef std::map<osg::Object*,ObjectStruct> ObjectMap void disableObject(osg::Object* object) +[more]typedef std::map<osg::Object*,ObjectStruct> ObjectMap void disableObject(osg::Object* object)
      -[more]void disableObject(ObjectMap::iterator itr) +[more]void disableObject(ObjectMap::iterator itr)
      -[more]void disableTransform(osg::Transform* transform) +[more]void disableTransform(osg::Transform* transform)
      -[more]void doTransform(osg::Object* obj, osg::Matrix& matrix) +[more]void doTransform(osg::Object* obj, osg::Matrix& matrix)

      Protected Members

      -[more]typedef std::vector<osg::Matrix> MatrixStackstruct TransformStruct +[more]typedef std::vector<osg::Matrix> MatrixStackstruct TransformStruct
      -[more]struct ObjectStruct +[more]struct ObjectStruct

      @@ -78,119 +78,119 @@ now redundent transforms
      - +
      o FlattenStaticTransformsVisitor(bool ignoreDynamicTransforms=true)

      - +

      ovirtual void apply(osg::Geode& geode)

      - +

      ovirtual void apply(osg::Billboard& billboard)

      - +

      ovirtual void apply(osg::LOD& lod)

      - +

      ovirtual void apply(osg::Transform& transform)

      - +

      ovoid removeTransforms()

      - +

      otypedef std::vector<osg::Matrix> MatrixStackstruct TransformStruct

      - +
      otypedef std::set<osg::Object*> ObjectSet TransformStruct()

      - +

      ovoid add(osg::Object* obj)

      - +

      obool _canBeApplied

      - +

      oObjectSet _objectSet

      - +
      ostruct ObjectStruct

      - +
      otypedef std::set<osg::Transform*> TransformSet ObjectStruct()

      - +

      ovoid add(TransformStack& transforms, osg::Matrix& matrix)

      - +

      obool _canBeApplied

      - +

      obool _matrixSet

      - +

      obool _moreThanOneMatrixRequired

      - +

      oosg::Matrix _matrix

      - +

      oTransformSet _transformSet

      - -
      otypedef std::map<osg::Object*,ObjectStruct> ObjectMap void disableObject(osg::Object* object) + +
      otypedef std::map<osg::Object*,ObjectStruct> ObjectMap void disableObject(osg::Object* object)

      - +

      ovoid disableObject(ObjectMap::iterator itr)

      - +

      ovoid disableTransform(osg::Transform* transform)

      - +

      ovoid doTransform(osg::Object* obj, osg::Matrix& matrix)

      - +

      obool _ignoreDynamicTransforms

      - +

      oMatrixStack _matrixStack

      - +

      oTransformStack _transformStack

      - +

      oTransformMap _transformMap

      - +

      oObjectMap _objectMap

      diff --git a/doc/doc++/osgUtil/General.html b/doc/doc++/osgUtil/General.html index 514536a7b..ceaa90001 100644 --- a/doc/doc++/osgUtil/General.html +++ b/doc/doc++/osgUtil/General.html @@ -13,9 +13,6 @@ o#define OSGUTIL_APPVISITOR
      -o#define -OSGUTIL_CAMERAMANIPULATOR
      - o#define OSGUTIL_CULLVISITOR
      @@ -28,9 +25,6 @@ o#define OSGUTIL_DISPLAYREQUIREMENTSVISITOR
      -o#define -OSGUTIL_DRIVEMANIPULATOR
      - o#define OSGUTIL_EXPORT_
      @@ -43,18 +37,6 @@ o#define OSGUTIL_EXPORT
      -o#define -OSGUTIL_FLIGHTMANIPULATOR
      - -o#define -OSGUTIL_GUIACTIONADAPTER
      - -o#define -OSGUTIL_GUIEVENTADAPTER
      - -o#define -OSGUTIL_GUIEVENTHANDLER
      - o#define OSGUTIL_INSERTIMPOSTORSVISITOR
      @@ -85,20 +67,14 @@ o#define OSGUTIL_SCENEVIEW
      -o#define -OSGUTIL_SceneViewManipulator
      - o#define OSGUTIL_SMOOTHINGVISITOR
      -o#define -OSGUTIL_GEOSTATE_MANIPULATOR
      - o#define OSGUTIL_Tesselator
      -o#define -OSGUTIL_TRACKBALLMANIPULATOR
      +o#define +CALLBACK
      o#define OSGUTIL_TRANSFORMCALLBACK
      diff --git a/doc/doc++/osgUtil/HIER.html b/doc/doc++/osgUtil/HIER.html index c525fba09..7057866dd 100644 --- a/doc/doc++/osgUtil/HIER.html +++ b/doc/doc++/osgUtil/HIER.html @@ -11,29 +11,19 @@
    • osgUtil::AppVisitor
    • osgUtil::Optimizer::CombineLODsVisitor +
    • osgUtil::Optimizer::ConvertGeoSetsToGeometryVisitor
    • osgUtil::CullVisitor
    • osgUtil::DisplayListVisitor
    • osgUtil::DisplayRequirementsVisitor
    • osgUtil::Optimizer::FlattenStaticTransformsVisitor -
    • osgUtil::GUIActionAdapter -
    • osgUtil::GUIEventAdapter -
    • osgUtil::GUIEventHandler -
    • osgUtil::Hit
    • osgUtil::InsertImpostorsVisitor
    • osgUtil::IntersectVisitor::IntersectState
    • osgUtil::IntersectVisitor
    • osgUtil::Optimizer
    • osgUtil::RegisterRenderBinProxy +
    • osgUtil::Optimizer::RemoveEmptyNodesVisitor +
    • osgUtil::Optimizer::RemoveLowestStaticTransformsVisitor
    • osgUtil::Optimizer::RemoveRedundentNodesVisitor
    • osgUtil::RenderBin
        diff --git a/doc/doc++/osgUtil/HIERjava.html b/doc/doc++/osgUtil/HIERjava.html index d1c8c95aa..a8cc523a2 100644 --- a/doc/doc++/osgUtil/HIERjava.html +++ b/doc/doc++/osgUtil/HIERjava.html @@ -15,11 +15,11 @@
    • - - - - - + + + + + @@ -37,27 +37,6 @@ - - - - - - - - - - - - - - - - - - - - - @@ -100,6 +79,13 @@ + + + + + + + @@ -107,6 +93,20 @@ + + + + + + + + + + + + + + diff --git a/doc/doc++/osgUtil/Hit.html b/doc/doc++/osgUtil/Hit.html index 153132b9a..525635f21 100644 --- a/doc/doc++/osgUtil/Hit.html +++ b/doc/doc++/osgUtil/Hit.html @@ -12,50 +12,50 @@

      Public Fields

      -[more]float _ratio +[more]float _ratio
      -[more]osg::ref_ptr<osg::LineSegment> _originalLineSegment +[more]osg::ref_ptr<osg::LineSegment> _originalLineSegment
      -[more]osg::ref_ptr<osg::LineSegment> _localLineSegment +[more]osg::ref_ptr<osg::LineSegment> _localLineSegment
      -[more]osg::NodePath _nodePath +[more]osg::NodePath _nodePath
      -[more]osg::ref_ptr<osg::Geode> _geode +[more]osg::ref_ptr<osg::Geode> _geode
      -[more]osg::ref_ptr<osg::GeoSet> _geoset +[more]osg::ref_ptr<osg::Drawable> _drawable
      -[more]osg::ref_ptr<osg::Matrix> _matrix +[more]osg::ref_ptr<osg::Matrix> _matrix
      -[more]osg::ref_ptr<osg::Matrix> _inverse +[more]osg::ref_ptr<osg::Matrix> _inverse
      -[more]VecIndexList _vecIndexList +[more]VecIndexList _vecIndexList
      -[more]int _primitiveIndex +[more]int _primitiveIndex
      -[more]osg::Vec3 _intersectPoint +[more]osg::Vec3 _intersectPoint
      -[more]osg::Vec3 _intersectNormal +[more]osg::Vec3 _intersectNormal

      Public Methods

      -[more] Hit() +[more] Hit()
      -[more] Hit(const Hit& hit) +[more] Hit(const Hit& hit)
      -[more] ~Hit() +[more] ~Hit()
      -[more]Hit& operator = (const Hit& hit) +[more]Hit& operator = (const Hit& hit)
      -[more]typedef std::vector<int> VecIndexList bool operator < (const Hit& hit) const +[more]typedef std::vector<int> VecIndexList bool operator < (const Hit& hit) const
      -[more]const osg::Vec3& getLocalIntersectPoint() const +[more]const osg::Vec3& getLocalIntersectPoint() const
      -[more]const osg::Vec3& getLocalIntersectNormal() const +[more]const osg::Vec3& getLocalIntersectNormal() const
      -[more]const osg::Vec3 getWorldIntersectPoint() const +[more]const osg::Vec3 getWorldIntersectPoint() const
      -[more]const osg::Vec3 getWorldIntersectNormal() const +[more]const osg::Vec3 getWorldIntersectNormal() const

      @@ -66,87 +66,87 @@
      - +
      o Hit()

      - -

      o Hit(const Hit& hit) + +
      o Hit(const Hit& hit)

      - +

      o ~Hit()

      - +

      oHit& operator = (const Hit& hit)

      - +

      otypedef std::vector<int> VecIndexList bool operator < (const Hit& hit) const

      - +

      oconst osg::Vec3& getLocalIntersectPoint() const

      - +

      oconst osg::Vec3& getLocalIntersectNormal() const

      - +

      oconst osg::Vec3 getWorldIntersectPoint() const

      - +

      oconst osg::Vec3 getWorldIntersectNormal() const

      - +

      ofloat _ratio

      - +

      oosg::ref_ptr<osg::LineSegment> _originalLineSegment

      - +

      oosg::ref_ptr<osg::LineSegment> _localLineSegment

      - +

      oosg::NodePath _nodePath

      - +

      oosg::ref_ptr<osg::Geode> _geode

      - - -

      oosg::ref_ptr<osg::GeoSet> _geoset + + +
      oosg::ref_ptr<osg::Drawable> _drawable

      - +

      oosg::ref_ptr<osg::Matrix> _matrix

      - +

      oosg::ref_ptr<osg::Matrix> _inverse

      - +

      oVecIndexList _vecIndexList

      - +

      oint _primitiveIndex

      - +

      oosg::Vec3 _intersectPoint

      - +

      oosg::Vec3 _intersectNormal

      diff --git a/doc/doc++/osgUtil/InsertImpostorsVisitor.html b/doc/doc++/osgUtil/InsertImpostorsVisitor.html index cc57c074b..b26f0423c 100644 --- a/doc/doc++/osgUtil/InsertImpostorsVisitor.html +++ b/doc/doc++/osgUtil/InsertImpostorsVisitor.html @@ -23,45 +23,45 @@

      Public Methods

      -[more] InsertImpostorsVisitor() +[more] InsertImpostorsVisitor()
      default to traversing all children
      -[more]void setImpostorThresholdRatio(const float ratio) +[more]void setImpostorThresholdRatio(const float ratio)
      -[more]const float getImpostorThresholdRatio() const +[more]const float getImpostorThresholdRatio() const
      -[more]void setMaximumNumberOfNestedImpostors(const unsigned int num) +[more]void setMaximumNumberOfNestedImpostors(const unsigned int num)
      -[more]const unsigned int getMaximumNumberOfNestedImpostors() const +[more]const unsigned int getMaximumNumberOfNestedImpostors() const
      -[more]void reset() +[more]void reset()
      empty visitor, make it ready for next traversal
      -[more]virtual void apply(osg::Node& node) +[more]virtual void apply(osg::Node& node)
      -[more]virtual void apply(osg::Group& node) +[more]virtual void apply(osg::Group& node)
      -[more]virtual void apply(osg::LOD& node) +[more]virtual void apply(osg::LOD& node)
      -[more]virtual void apply(osg::Impostor& node) +[more]virtual void apply(osg::Impostor& node)
      -[more]void insertImpostors() +[more]void insertImpostors()

      Protected Fields

      -[more]LODList _lodList +[more]LODList _lodList
      -[more]float _impostorThresholdRatio +[more]float _impostorThresholdRatio
      -[more]unsigned int _maximumNumNestedImpostors +[more]unsigned int _maximumNumNestedImpostors
      -[more]unsigned int _numNestedImpostors +[more]unsigned int _numNestedImpostors

      Protected Members

      -[more]typedef std::vector< osg::LOD* > LODList GroupList _groupList +[more]typedef std::vector< osg::LOD* > LODList GroupList _groupList

      @@ -74,69 +74,69 @@ For example of usage see src/Demos/osgimpostor.
      - +
      o InsertImpostorsVisitor()
      default to traversing all children

      - +

      ovoid setImpostorThresholdRatio(const float ratio)

      - +

      oconst float getImpostorThresholdRatio() const

      - +

      ovoid setMaximumNumberOfNestedImpostors(const unsigned int num)

      - +

      oconst unsigned int getMaximumNumberOfNestedImpostors() const

      - +

      ovoid reset()
      empty visitor, make it ready for next traversal

      - +

      ovirtual void apply(osg::Node& node)

      - +

      ovirtual void apply(osg::Group& node)

      - +

      ovirtual void apply(osg::LOD& node)

      - +

      ovirtual void apply(osg::Impostor& node)

      - +

      ovoid insertImpostors()

      - +

      otypedef std::vector< osg::LOD* > LODList GroupList _groupList

      - +

      oLODList _lodList

      - +

      ofloat _impostorThresholdRatio

      - +

      ounsigned int _maximumNumNestedImpostors

      - +

      ounsigned int _numNestedImpostors

      diff --git a/doc/doc++/osgUtil/IntersectState.html b/doc/doc++/osgUtil/IntersectState.html index ad525074d..3e354a3c3 100644 --- a/doc/doc++/osgUtil/IntersectState.html +++ b/doc/doc++/osgUtil/IntersectState.html @@ -22,32 +22,32 @@

      Public Fields

      -[more]osg::ref_ptr<osg::Matrix> _matrix +[more]osg::ref_ptr<osg::Matrix> _matrix
      -[more]osg::ref_ptr<osg::Matrix> _inverse +[more]osg::ref_ptr<osg::Matrix> _inverse

      Public Methods

      -[more] IntersectState() +[more] IntersectState()
      -[more]bool isCulled(const osg::BoundingSphere& bs, LineSegmentmentMask& segMaskOut) +[more]bool isCulled(const osg::BoundingSphere& bs, LineSegmentmentMask& segMaskOut)
      -[more]bool isCulled(const osg::BoundingBox& bb, LineSegmentmentMask& segMaskOut) +[more]bool isCulled(const osg::BoundingBox& bb, LineSegmentmentMask& segMaskOut)
      -[more]void addLineSegmentPair(osg::LineSegment* first, osg::LineSegment* second) +[more]void addLineSegmentPair(osg::LineSegment* first, osg::LineSegment* second)

      Public Members

      -[more]typedef std::vector< LineSegmentPair > LineSegmentList LineSegmentList _segList +[more]typedef std::vector< LineSegmentPair > LineSegmentList LineSegmentList _segList
      -[more]typedef std::vector<LineSegmentmentMask> LineSegmentmentMaskStack LineSegmentmentMaskStack _segmentMaskStack +[more]typedef std::vector<LineSegmentmentMask> LineSegmentmentMaskStack LineSegmentmentMaskStack _segmentMaskStack

      Protected Methods

      -[more] ~IntersectState() +[more] ~IntersectState()

      @@ -58,39 +58,39 @@
      - +
      o IntersectState()

      - +

      oosg::ref_ptr<osg::Matrix> _matrix

      - +

      oosg::ref_ptr<osg::Matrix> _inverse

      - +

      otypedef std::vector< LineSegmentPair > LineSegmentList LineSegmentList _segList

      - +

      otypedef std::vector<LineSegmentmentMask> LineSegmentmentMaskStack LineSegmentmentMaskStack _segmentMaskStack

      - +

      obool isCulled(const osg::BoundingSphere& bs, LineSegmentmentMask& segMaskOut)

      - +

      obool isCulled(const osg::BoundingBox& bb, LineSegmentmentMask& segMaskOut)

      - +

      ovoid addLineSegmentPair(osg::LineSegment* first, osg::LineSegment* second)

      - +

      o ~IntersectState()

      diff --git a/doc/doc++/osgUtil/IntersectVisitor.html b/doc/doc++/osgUtil/IntersectVisitor.html index 6feeb57a0..823e81698 100644 --- a/doc/doc++/osgUtil/IntersectVisitor.html +++ b/doc/doc++/osgUtil/IntersectVisitor.html @@ -23,75 +23,75 @@

      Public Methods

      -[more] IntersectVisitor() +[more] IntersectVisitor()
      -[more]virtual ~IntersectVisitor() +[more]virtual ~IntersectVisitor()
      -[more]void reset() +[more]void reset()
      -[more]void addLineSegment(osg::LineSegment* seg) +[more]void addLineSegment(osg::LineSegment* seg)
      Add a line segment to use for intersection testing during scene traversal
      -[more]void setHitReportingMode(HitReportingMode hrm) +[more]void setHitReportingMode(HitReportingMode hrm)
      Set the mode of how hits should reported back from a traversal
      -[more]HitReportingMode getHitReportingMode() +[more]HitReportingMode getHitReportingMode()
      Get the mode of how hits should reported back from a traversal
      -[more]typedef std::map<osg::LineSegment*,HitList > LineSegmentHitListMap HitList& getHitList(osg::LineSegment* seg) +[more]typedef std::map<osg::LineSegment*,HitList > LineSegmentHitListMap HitList& getHitList(osg::LineSegment* seg)
      -[more]int getNumHits(osg::LineSegment* seg) +[more]int getNumHits(osg::LineSegment* seg)
      -[more]bool hits() +[more]bool hits()
      -[more]virtual void apply(osg::Node&) +[more]virtual void apply(osg::Node&)
      -[more]virtual void apply(osg::Geode& node) +[more]virtual void apply(osg::Geode& node)
      -[more]virtual void apply(osg::Billboard& node) +[more]virtual void apply(osg::Billboard& node)
      -[more]virtual void apply(osg::Group& node) +[more]virtual void apply(osg::Group& node)
      -[more]virtual void apply(osg::Transform& node) +[more]virtual void apply(osg::Transform& node)
      -[more]virtual void apply(osg::Switch& node) +[more]virtual void apply(osg::Switch& node)
      -[more]virtual void apply(osg::LOD& node) +[more]virtual void apply(osg::LOD& node)

      Public Members

      -[more]enum HitReportingMode +[more]enum HitReportingMode
      Modes to control how IntersectVisitor reports hits.

      Protected Fields

      -[more]osg::NodePath _nodePath +[more]osg::NodePath _nodePath
      -[more]HitReportingMode _hitReportingMode +[more]HitReportingMode _hitReportingMode
      -[more]LineSegmentHitListMap _segHitList +[more]LineSegmentHitListMap _segHitList

      Protected Methods

      -[more]bool intersect(osg::GeoSet& gset) +[more]bool intersect(osg::Drawable& gset)
      -[more]void pushMatrix(const osg::Matrix& matrix) +[more]void pushMatrix(const osg::Matrix& matrix)
      -[more]void popMatrix() +[more]void popMatrix()
      -[more]bool enterNode(osg::Node& node) +[more]bool enterNode(osg::Node& node)
      -[more]void leaveNode() +[more]void leaveNode()

      Protected Members

      class IntersectState: public osg::Referenced
      -[more]typedef std::vector<osg::ref_ptr<IntersectState> > IntersectStateStack IntersectStateStack _intersectStateStack +[more]typedef std::vector<osg::ref_ptr<IntersectState> > IntersectStateStack IntersectStateStack _intersectStateStack

      @@ -103,121 +103,121 @@ class IntersectState: public osg::Refe
      - +
      o IntersectVisitor()

      - +

      ovirtual ~IntersectVisitor()

      - +

      ovoid reset()

      - +

      ovoid addLineSegment(osg::LineSegment* seg)
      Add a line segment to use for intersection testing during scene traversal

      - +

      oenum HitReportingMode
      Modes to control how IntersectVisitor reports hits.

      - +
      o ONLY_NEAREST_HIT

      - +

      o ALL_HITS

      - -
      ovoid setHitReportingMode(HitReportingMode hrm) + +
      ovoid setHitReportingMode(HitReportingMode hrm)
      Set the mode of how hits should reported back from a traversal

      - -

      oHitReportingMode getHitReportingMode() + +
      oHitReportingMode getHitReportingMode()
      Get the mode of how hits should reported back from a traversal

      - +

      otypedef std::map<osg::LineSegment*,HitList > LineSegmentHitListMap HitList& getHitList(osg::LineSegment* seg)

      - +

      oint getNumHits(osg::LineSegment* seg)

      - +

      obool hits()

      - +

      ovirtual void apply(osg::Node&)

      - +

      ovirtual void apply(osg::Geode& node)

      - +

      ovirtual void apply(osg::Billboard& node)

      - +

      ovirtual void apply(osg::Group& node)

      - +

      ovirtual void apply(osg::Transform& node)

      - +

      ovirtual void apply(osg::Switch& node)

      - +

      ovirtual void apply(osg::LOD& node)

      - -

      obool intersect(osg::GeoSet& gset) + +
      obool intersect(osg::Drawable& gset)

      - +

      ovoid pushMatrix(const osg::Matrix& matrix)

      - +

      ovoid popMatrix()

      - +

      obool enterNode(osg::Node& node)

      - +

      ovoid leaveNode()

      - +

      otypedef std::vector<osg::ref_ptr<IntersectState> > IntersectStateStack IntersectStateStack _intersectStateStack

      - +

      oosg::NodePath _nodePath

      - -

      oHitReportingMode _hitReportingMode + +
      oHitReportingMode _hitReportingMode

      - +

      oLineSegmentHitListMap _segHitList

      diff --git a/doc/doc++/osgUtil/Optimizer.html b/doc/doc++/osgUtil/Optimizer.html index ee2d58398..4b8773935 100644 --- a/doc/doc++/osgUtil/Optimizer.html +++ b/doc/doc++/osgUtil/Optimizer.html @@ -13,19 +13,28 @@

      Public Methods

      -[more] Optimizer() +[more] Optimizer()
      -[more]virtual void optimize(osg::Node* node, unsigned int options = ALL_OPTIMIZATIONS) +[more]virtual void optimize(osg::Node* node, unsigned int options = ALL_OPTIMIZATIONS)
      traverse the node and its subgraph with a series of optimization visitors, specificied by the OptizationOptions

      Public Members

      -[more]enum OptimizationOptions +[more]enum OptimizationOptions +
      +class OSGUTIL_EXPORT ConvertGeoSetsToGeometryVisitor: public osg::NodeVisitor +
      ConvertGeoSetsToGeometryVisitor all the old GeoSet Drawables to the new Geometry Drawables
      class OSGUTIL_EXPORT FlattenStaticTransformsVisitor: public osg::NodeVisitor
      Flatten Static Trasform nodes by applying their transform to the geometry on the leaves of the scene graph, then removing the now redundent transforms
      +class OSGUTIL_EXPORT RemoveLowestStaticTransformsVisitor: public osg::NodeVisitor +
      Remove the lowest static transforms in the scene +
      +class OSGUTIL_EXPORT RemoveEmptyNodesVisitor: public osg::NodeVisitor +
      Remove rendundent nodes, such as groups with one single child +
      class OSGUTIL_EXPORT RemoveRedundentNodesVisitor: public osg::NodeVisitor
      Remove rendundent nodes, such as groups with one single child
      @@ -46,38 +55,38 @@ For example of usage see src/Demos/osgimpostor.
      - +
      o Optimizer()

      - +

      oenum OptimizationOptions

      - +
      o FLATTEN_STATIC_TRANSFORMS

      - +

      o REMOVE_REDUNDENT_NODES

      - +

      o COMBINE_ADJACENT_LODS

      - +

      o SHARE_DUPLICATE_STATE

      - +

      o ALL_OPTIMIZATIONS

      - -
      ovirtual void optimize(osg::Node* node, unsigned int options = ALL_OPTIMIZATIONS) + +
      ovirtual void optimize(osg::Node* node, unsigned int options = ALL_OPTIMIZATIONS)
      traverse the node and its subgraph with a series of optimization visitors, specificied by the OptizationOptions

      diff --git a/doc/doc++/osgUtil/RegisterRenderBinProxy.html b/doc/doc++/osgUtil/RegisterRenderBinProxy.html index 5d2b4357e..ea6954891 100644 --- a/doc/doc++/osgUtil/RegisterRenderBinProxy.html +++ b/doc/doc++/osgUtil/RegisterRenderBinProxy.html @@ -13,14 +13,14 @@

      Public Methods

      -[more] RegisterRenderBinProxy() +[more] RegisterRenderBinProxy()
      -[more] ~RegisterRenderBinProxy() +[more] ~RegisterRenderBinProxy()

      Protected Fields

      -[more]osg::ref_ptr<T> _rb +[more]osg::ref_ptr<T> _rb

      @@ -32,15 +32,15 @@
      - +
      o RegisterRenderBinProxy()

      - +

      o ~RegisterRenderBinProxy()

      - +

      oosg::ref_ptr<T> _rb

      diff --git a/doc/doc++/osgUtil/RemoveRedundentNodesVisitor.html b/doc/doc++/osgUtil/RemoveRedundentNodesVisitor.html index 20dcc889e..801d4d81d 100644 --- a/doc/doc++/osgUtil/RemoveRedundentNodesVisitor.html +++ b/doc/doc++/osgUtil/RemoveRedundentNodesVisitor.html @@ -23,16 +23,18 @@

      Public Methods

      -[more] RemoveRedundentNodesVisitor() +[more] RemoveRedundentNodesVisitor()
      -[more]virtual void apply(osg::Group& group) +[more]virtual void apply(osg::Group& group)
      -[more]void removeRedundentNodes() +[more]virtual void apply(osg::Transform& transform) +
      +[more]void removeRedundentNodes()

      Public Members

      -[more]typedef std::set<osg::Node*> NodeList NodeList _redundentNodeList +[more]typedef std::set<osg::Node*> NodeList NodeList _redundentNodeList

      @@ -44,19 +46,23 @@
      - +
      otypedef std::set<osg::Node*> NodeList NodeList _redundentNodeList

      - +

      o RemoveRedundentNodesVisitor()

      - +

      ovirtual void apply(osg::Group& group)

      + + +

      ovirtual void apply(osg::Transform& transform) +

      - +

      ovoid removeRedundentNodes()

      diff --git a/doc/doc++/osgUtil/RenderBin.html b/doc/doc++/osgUtil/RenderBin.html index fe3c17925..11e45b6a2 100644 --- a/doc/doc++/osgUtil/RenderBin.html +++ b/doc/doc++/osgUtil/RenderBin.html @@ -23,67 +23,69 @@

      Public Fields

      -[more]int _binNum +[more]int _binNum
      -[more]RenderBin* _parent +[more]RenderBin* _parent
      -[more]RenderStage* _stage +[more]RenderStage* _stage
      -[more]RenderBinList _bins +[more]RenderBinList _bins
      -[more]RenderGraphList _renderGraphList +[more]RenderGraphList _renderGraphList
      -[more]RenderLeafList _renderLeafList +[more]RenderLeafList _renderLeafList

      Public Methods

      -[more]typedef std::map< int, osg::ref_ptr<RenderBin> >static RenderBinList RenderBin* createRenderBin(const std::string& binName) +[more]typedef std::map< int, osg::ref_ptr<RenderBin> >static RenderBinList RenderBin* createRenderBin(const std::string& binName)
      -[more]static void addRenderBinPrototype(RenderBin* proto) +[more]static void addRenderBinPrototype(RenderBin* proto)
      -[more]static void removeRenderBinPrototype(RenderBin* proto) +[more]static void removeRenderBinPrototype(RenderBin* proto)
      -[more] RenderBin() +[more] RenderBin()
      -[more]virtual osg::Object* cloneType() const +[more]virtual osg::Object* cloneType() const
      -[more]virtual osg::Object* clone(const osg::CopyOp&) const +[more]virtual osg::Object* clone(const osg::CopyOp&) const
      -[more]virtual bool isSameKindAs(const osg::Object* obj) const +[more]virtual bool isSameKindAs(const osg::Object* obj) const
      -[more]virtual const char* className() const +[more]virtual const char* libraryName() const
      -[more]virtual void reset() +[more]virtual const char* className() const
      -[more]RenderBin* find_or_insert(int binNum, const std::string& binName) +[more]virtual void reset()
      -[more]void addRenderGraph(RenderGraph* rg) +[more]RenderBin* find_or_insert(int binNum, const std::string& binName)
      -[more]void sort() +[more]void addRenderGraph(RenderGraph* rg)
      -[more]virtual void sort_local() +[more]void sort()
      -[more]virtual void draw(osg::State& state, RenderLeaf*& previous) +[more]virtual void sort_local()
      -[more]virtual void draw_local(osg::State& state, RenderLeaf*& previous) +[more]virtual void draw(osg::State& state, RenderLeaf*& previous)
      -[more]bool getStats(osg::Statistics* primStats) +[more]virtual void draw_local(osg::State& state, RenderLeaf*& previous) +
      +[more]bool getStats(osg::Statistics* primStats)
      extract stats for current draw list.
      -[more]void getPrims(osg::Statistics* primStats) +[more]void getPrims(osg::Statistics* primStats)
      -[more]bool getPrims(osg::Statistics* primStats, const int nbin) +[more]bool getPrims(osg::Statistics* primStats, const int nbin)

      Public Members

      -[more]typedef std::map< std::string, osg::ref_ptr<RenderBin> >static RenderBinPrototypeList RenderBinPrototypeList s_renderBinPrototypeList +[more]typedef std::map< std::string, osg::ref_ptr<RenderBin> >static RenderBinPrototypeList RenderBinPrototypeList s_renderBinPrototypeList

      Protected Methods

      -[more]virtual ~RenderBin() +[more]virtual ~RenderBin()

      @@ -96,108 +98,112 @@ RenderBin base class
      - +
      otypedef std::map< int, osg::ref_ptr<RenderBin> >static RenderBinList RenderBin* createRenderBin(const std::string& binName)

      - +

      ostatic void addRenderBinPrototype(RenderBin* proto)

      - +

      ostatic void removeRenderBinPrototype(RenderBin* proto)

      - +

      o RenderBin()

      - +

      ovirtual osg::Object* cloneType() const

      - +

      ovirtual osg::Object* clone(const osg::CopyOp&) const

      - +

      ovirtual bool isSameKindAs(const osg::Object* obj) const

      + + +

      ovirtual const char* libraryName() const +

      - +

      ovirtual const char* className() const

      - +

      ovirtual void reset()

      - +

      oRenderBin* find_or_insert(int binNum, const std::string& binName)

      - +

      ovoid addRenderGraph(RenderGraph* rg)

      - +

      ovoid sort()

      - +

      ovirtual void sort_local()

      - +

      ovirtual void draw(osg::State& state, RenderLeaf*& previous)

      - +

      ovirtual void draw_local(osg::State& state, RenderLeaf*& previous)

      - +

      obool getStats(osg::Statistics* primStats)
      extract stats for current draw list.

      - +

      ovoid getPrims(osg::Statistics* primStats)

      - +

      obool getPrims(osg::Statistics* primStats, const int nbin)

      - +

      oint _binNum

      - +

      oRenderBin* _parent

      - +

      oRenderStage* _stage

      - +

      oRenderBinList _bins

      - +

      oRenderGraphList _renderGraphList

      - +

      oRenderLeafList _renderLeafList

      - +

      otypedef std::map< std::string, osg::ref_ptr<RenderBin> >static RenderBinPrototypeList RenderBinPrototypeList s_renderBinPrototypeList

      - +

      ovirtual ~RenderBin()


      diff --git a/doc/doc++/osgUtil/RenderGraph.html b/doc/doc++/osgUtil/RenderGraph.html index 3ce930eb0..7ebf0a33c 100644 --- a/doc/doc++/osgUtil/RenderGraph.html +++ b/doc/doc++/osgUtil/RenderGraph.html @@ -22,66 +22,66 @@

      Public Fields

      -[more]osg::ref_ptr<const osg::StateSet> _stateset +[more]osg::ref_ptr<const osg::StateSet> _stateset
      -[more]int _depth +[more]int _depth
      -[more]ChildList _children +[more]ChildList _children
      -[more]LeafList _leaves +[more]LeafList _leaves
      -[more]mutable float _averageDistance +[more]mutable float _averageDistance
      -[more]osg::ref_ptr<osg::Referenced> _userData +[more]osg::ref_ptr<osg::Referenced> _userData

      Public Methods

      -[more] RenderGraph() +[more] RenderGraph()
      -[more] RenderGraph(RenderGraph* parent, const osg::StateSet* stateset) +[more] RenderGraph(RenderGraph* parent, const osg::StateSet* stateset)
      -[more] ~RenderGraph() +[more] ~RenderGraph()
      -[more]RenderGraph* cloneType() const +[more]RenderGraph* cloneType() const
      -[more]void setUserData(osg::Referenced* obj) +[more]void setUserData(osg::Referenced* obj)
      -[more]osg::Referenced* getUserData() +[more]osg::Referenced* getUserData()
      -[more]const osg::Referenced* getUserData() const +[more]const osg::Referenced* getUserData() const
      -[more]inline const bool empty() const +[more]inline const bool empty() const
      return true if all of drawables, lights and children are empty
      -[more]inline const bool leaves_empty() const +[more]inline const bool leaves_empty() const
      -[more]inline const float getAverageDistance() const +[more]inline const float getAverageDistance() const
      -[more]inline void sortFrontToBack() +[more]inline void sortFrontToBack()
      -[more]void reset() +[more]void reset()
      reset the internal contents of a RenderGraph, including deleting all children
      -[more]void clean() +[more]void clean()
      recursively clean the RenderGraph of all its drawables, lights and depths.
      -[more]void prune() +[more]void prune()
      recursively prune the RenderGraph of empty children
      -[more]inline RenderGraph* find_or_insert(const osg::StateSet* stateset) +[more]inline RenderGraph* find_or_insert(const osg::StateSet* stateset)
      -[more]inline void addLeaf(RenderLeaf* leaf) +[more]inline void addLeaf(RenderLeaf* leaf)
      add a render leaf
      -[more]static inline void moveRenderGraph(osg::State& state, RenderGraph* sg_curr, RenderGraph* sg_new) +[more]static inline void moveRenderGraph(osg::State& state, RenderGraph* sg_curr, RenderGraph* sg_new)
      -[more]inline static void moveToRootRenderGraph(osg::State& state, RenderGraph* sg_curr) +[more]inline static void moveToRootRenderGraph(osg::State& state, RenderGraph* sg_curr)

      Public Members

      -[more]typedef std::vector< osg::ref_ptr<RenderLeaf> > LeafList RenderGraph* _parent +[more]typedef std::vector< osg::ref_ptr<RenderLeaf> > LeafList RenderGraph* _parent

      @@ -92,109 +92,109 @@
      - +
      otypedef std::vector< osg::ref_ptr<RenderLeaf> > LeafList RenderGraph* _parent

      - +

      oosg::ref_ptr<const osg::StateSet> _stateset

      - +

      oint _depth

      - +

      oChildList _children

      - +

      oLeafList _leaves

      - +

      omutable float _averageDistance

      - +

      oosg::ref_ptr<osg::Referenced> _userData

      - +

      o RenderGraph()

      - -

      o RenderGraph(RenderGraph* parent, const osg::StateSet* stateset) + +
      o RenderGraph(RenderGraph* parent, const osg::StateSet* stateset)

      - +

      o ~RenderGraph()

      - +

      oRenderGraph* cloneType() const

      - +

      ovoid setUserData(osg::Referenced* obj)

      - +

      oosg::Referenced* getUserData()

      - +

      oconst osg::Referenced* getUserData() const

      - +

      oinline const bool empty() const
      return true if all of drawables, lights and children are empty

      - +

      oinline const bool leaves_empty() const

      - +

      oinline const float getAverageDistance() const

      - +

      oinline void sortFrontToBack()

      - +

      ovoid reset()
      reset the internal contents of a RenderGraph, including deleting all children

      - +

      ovoid clean()
      recursively clean the RenderGraph of all its drawables, lights and depths. Leaves children intact, and ready to be populated again.

      - +

      ovoid prune()
      recursively prune the RenderGraph of empty children

      - +

      oinline RenderGraph* find_or_insert(const osg::StateSet* stateset)

      - +

      oinline void addLeaf(RenderLeaf* leaf)
      add a render leaf

      - +

      ostatic inline void moveRenderGraph(osg::State& state, RenderGraph* sg_curr, RenderGraph* sg_new)

      - +

      oinline static void moveToRootRenderGraph(osg::State& state, RenderGraph* sg_curr)

      diff --git a/doc/doc++/osgUtil/RenderLeaf.html b/doc/doc++/osgUtil/RenderLeaf.html index 4331fd055..cca3187e7 100644 --- a/doc/doc++/osgUtil/RenderLeaf.html +++ b/doc/doc++/osgUtil/RenderLeaf.html @@ -23,26 +23,26 @@

      Public Fields

      -[more]RenderGraph* _parent +[more]RenderGraph* _parent
      -[more]osg::Drawable* _drawable +[more]osg::Drawable* _drawable
      -[more]osg::ref_ptr<osg::Matrix> _projection +[more]osg::ref_ptr<osg::Matrix> _projection
      -[more]osg::ref_ptr<osg::Matrix> _modelview +[more]osg::ref_ptr<osg::Matrix> _modelview
      -[more]float _depth +[more]float _depth

      Public Methods

      -[more]inline RenderLeaf(osg::Drawable* drawable, osg::Matrix* projection, osg::Matrix* modelview, float depth=0.0f) +[more]inline RenderLeaf(osg::Drawable* drawable, osg::Matrix* projection, osg::Matrix* modelview, float depth=0.0f)
      -[more]inline void set(osg::Drawable* drawable, osg::Matrix* projection, osg::Matrix* modelview, float depth=0.0f) +[more]inline void set(osg::Drawable* drawable, osg::Matrix* projection, osg::Matrix* modelview, float depth=0.0f)
      -[more]inline void reset() +[more]inline void reset()
      -[more]virtual void render(osg::State& state, RenderLeaf* previous) +[more]virtual void render(osg::State& state, RenderLeaf* previous)

      @@ -54,39 +54,39 @@
      - +
      oinline RenderLeaf(osg::Drawable* drawable, osg::Matrix* projection, osg::Matrix* modelview, float depth=0.0f)

      - +

      oinline void set(osg::Drawable* drawable, osg::Matrix* projection, osg::Matrix* modelview, float depth=0.0f)

      - +

      oinline void reset()

      - +

      ovirtual void render(osg::State& state, RenderLeaf* previous)

      - +

      oRenderGraph* _parent

      - +

      oosg::Drawable* _drawable

      - +

      oosg::ref_ptr<osg::Matrix> _projection

      - +

      oosg::ref_ptr<osg::Matrix> _modelview

      - +

      ofloat _depth

      diff --git a/doc/doc++/osgUtil/RenderStage.html b/doc/doc++/osgUtil/RenderStage.html index 1cb4e87cb..bd6e45448 100644 --- a/doc/doc++/osgUtil/RenderStage.html +++ b/doc/doc++/osgUtil/RenderStage.html @@ -23,106 +23,106 @@

      Public Fields

      -[more]DependencyList _dependencyList +[more]DependencyList _dependencyList
      -[more]osg::ref_ptr<osg::Viewport> _viewport +[more]osg::ref_ptr<osg::Viewport> _viewport
      -[more]GLbitfield _clearMask +[more]GLbitfield _clearMask
      -[more]osg::ref_ptr<osg::ColorMask> _colorMask +[more]osg::ref_ptr<osg::ColorMask> _colorMask
      -[more]osg::Vec4 _clearColor +[more]osg::Vec4 _clearColor
      -[more]osg::Vec4 _clearAccum +[more]osg::Vec4 _clearAccum
      -[more]double _clearDepth +[more]double _clearDepth
      -[more]int _clearStencil +[more]int _clearStencil
      -[more]mutable osg::ref_ptr<RenderStageLighting> _renderStageLighting +[more]mutable osg::ref_ptr<RenderStageLighting> _renderStageLighting

      Public Methods

      -[more] RenderStage() +[more] RenderStage()
      -[more]virtual osg::Object* cloneType() const +[more]virtual osg::Object* cloneType() const
      -[more]virtual osg::Object* clone(const osg::CopyOp&) const +[more]virtual osg::Object* clone(const osg::CopyOp&) const
      -[more]virtual bool isSameKindAs(const osg::Object* obj) const +[more]virtual bool isSameKindAs(const osg::Object* obj) const
      -[more]virtual const char* className() const +[more]virtual const char* className() const
      -[more]virtual void reset() +[more]virtual void reset()
      -[more]void setViewport(osg::Viewport* viewport) +[more]void setViewport(osg::Viewport* viewport)
      Set the viewport
      -[more]const osg::Viewport* getViewport() const +[more]const osg::Viewport* getViewport() const
      Get the const viewport.
      -[more]osg::Viewport* getViewport() +[more]osg::Viewport* getViewport()
      Get the viewport.
      -[more]void setClearMask(const GLbitfield mask) +[more]void setClearMask(const GLbitfield mask)
      Set the clear mask used in glClear().
      -[more]const GLbitfield getClearMask() const +[more]const GLbitfield getClearMask() const
      Get the clear mask
      -[more]void setColorMask(osg::ColorMask* cm) +[more]void setColorMask(osg::ColorMask* cm)
      -[more]osg::ColorMask* getColorMask() +[more]osg::ColorMask* getColorMask()
      -[more]const osg::ColorMask* getColorMask() const +[more]const osg::ColorMask* getColorMask() const
      -[more]void setClearColor(const osg::Vec4& color) +[more]void setClearColor(const osg::Vec4& color)
      Set the clear color used in glClearColor().
      -[more]const osg::Vec4& getClearColor() const +[more]const osg::Vec4& getClearColor() const
      Get the clear color
      -[more]void setClearAccum(const osg::Vec4& color) +[more]void setClearAccum(const osg::Vec4& color)
      Set the clear accum used in glClearAccum().
      -[more]const osg::Vec4& getClearAccum() const +[more]const osg::Vec4& getClearAccum() const
      Get the clear accum
      -[more]void setClearDepth(const double depth) +[more]void setClearDepth(const double depth)
      Set the clear depth used in glClearDepth().
      -[more]const double getClearDepth() const +[more]const double getClearDepth() const
      Get the clear depth
      -[more]void setClearStencil(const int stencil) +[more]void setClearStencil(const int stencil)
      Set the clear stencil value used in glClearStencil().
      -[more]const int getClearStencil() const +[more]const int getClearStencil() const
      Get the clear color
      -[more]void setRenderStageLighting(RenderStageLighting* rsl) +[more]void setRenderStageLighting(RenderStageLighting* rsl)
      -[more]RenderStageLighting* getRenderStageLighting() const +[more]RenderStageLighting* getRenderStageLighting() const
      -[more]virtual void addPositionedAttribute(osg::Matrix* matrix, const osg::StateAttribute* attr) +[more]virtual void addPositionedAttribute(osg::Matrix* matrix, const osg::StateAttribute* attr)
      -[more]virtual void draw(osg::State& state, RenderLeaf*& previous) +[more]virtual void draw(osg::State& state, RenderLeaf*& previous)
      -[more]void addToDependencyList(RenderStage* rs) +[more]void addToDependencyList(RenderStage* rs)
      -[more]bool getStats(osg::Statistics* primStats) +[more]bool getStats(osg::Statistics* primStats)
      extract stats for current draw list.

      Public Members

      -[more]typedef std::vector< osg::ref_ptr<RenderStage> > DependencyList bool _stageDrawnThisFrame +[more]typedef std::vector< osg::ref_ptr<RenderStage> > DependencyList bool _stageDrawnThisFrame

      Protected Methods

      -[more]virtual ~RenderStage() +[more]virtual ~RenderStage()

      @@ -151,6 +151,8 @@
      ostatic void removeRenderBinPrototype(RenderBin* proto)
      +ovirtual const char* libraryName() const +
      oRenderBin* find_or_insert(int binNum, const std::string& binName)
      ovoid addRenderGraph(RenderGraph* rg) @@ -187,178 +189,178 @@ like multistage pixel shading or impostors.
      - +
      o RenderStage()

      - +

      ovirtual osg::Object* cloneType() const

      - +

      ovirtual osg::Object* clone(const osg::CopyOp&) const

      - +

      ovirtual bool isSameKindAs(const osg::Object* obj) const

      - +

      ovirtual const char* className() const

      - +

      ovirtual void reset()

      - +

      ovoid setViewport(osg::Viewport* viewport)
      Set the viewport

      - +

      oconst osg::Viewport* getViewport() const
      Get the const viewport.

      - +

      oosg::Viewport* getViewport()
      Get the viewport.

      - +

      ovoid setClearMask(const GLbitfield mask)
      Set the clear mask used in glClear(). Defaults to GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT.

      - +

      oconst GLbitfield getClearMask() const
      Get the clear mask

      - +

      ovoid setColorMask(osg::ColorMask* cm)

      - +

      oosg::ColorMask* getColorMask()

      - +

      oconst osg::ColorMask* getColorMask() const

      - +

      ovoid setClearColor(const osg::Vec4& color)
      Set the clear color used in glClearColor(). glClearColor is only called if mask & GL_COLOR_BUFFER_BIT is true

      - +

      oconst osg::Vec4& getClearColor() const
      Get the clear color

      - +

      ovoid setClearAccum(const osg::Vec4& color)
      Set the clear accum used in glClearAccum(). glClearAcumm is only called if mask & GL_ACCUM_BUFFER_BIT is true

      - +

      oconst osg::Vec4& getClearAccum() const
      Get the clear accum

      - +

      ovoid setClearDepth(const double depth)
      Set the clear depth used in glClearDepth(). Defaults to 1.0 glClearDepth is only called if mask & GL_DEPTH_BUFFER_BIT is true

      - +

      oconst double getClearDepth() const
      Get the clear depth

      - +

      ovoid setClearStencil(const int stencil)
      Set the clear stencil value used in glClearStencil(). Defaults to 1.0 glClearStencil is only called if mask & GL_STENCIL_BUFFER_BIT is true

      - +

      oconst int getClearStencil() const
      Get the clear color

      - +

      ovoid setRenderStageLighting(RenderStageLighting* rsl)

      - +

      oRenderStageLighting* getRenderStageLighting() const

      - +

      ovirtual void addPositionedAttribute(osg::Matrix* matrix, const osg::StateAttribute* attr)

      - +

      ovirtual void draw(osg::State& state, RenderLeaf*& previous)

      - +

      ovoid addToDependencyList(RenderStage* rs)

      - +

      obool getStats(osg::Statistics* primStats)
      extract stats for current draw list.

      - +

      otypedef std::vector< osg::ref_ptr<RenderStage> > DependencyList bool _stageDrawnThisFrame

      - +

      oDependencyList _dependencyList

      - +

      oosg::ref_ptr<osg::Viewport> _viewport

      - +

      oGLbitfield _clearMask

      - +

      oosg::ref_ptr<osg::ColorMask> _colorMask

      - +

      oosg::Vec4 _clearColor

      - +

      oosg::Vec4 _clearAccum

      - +

      odouble _clearDepth

      - +

      oint _clearStencil

      - +

      omutable osg::ref_ptr<RenderStageLighting> _renderStageLighting

      - +

      ovirtual ~RenderStage()


      diff --git a/doc/doc++/osgUtil/RenderStageLighting.html b/doc/doc++/osgUtil/RenderStageLighting.html index 93d9f7e74..4de55caae 100644 --- a/doc/doc++/osgUtil/RenderStageLighting.html +++ b/doc/doc++/osgUtil/RenderStageLighting.html @@ -23,31 +23,33 @@

      Public Fields

      -[more]AttrMatrixList _attrList +[more]AttrMatrixList _attrList

      Public Methods

      -[more] RenderStageLighting() +[more] RenderStageLighting()
      -[more]virtual osg::Object* cloneType() const +[more]virtual osg::Object* cloneType() const
      -[more]virtual osg::Object* clone(const osg::CopyOp&) const +[more]virtual osg::Object* clone(const osg::CopyOp&) const
      -[more]virtual bool isSameKindAs(const osg::Object* obj) const +[more]virtual bool isSameKindAs(const osg::Object* obj) const
      -[more]virtual const char* className() const +[more]virtual const char* libraryName() const
      -[more]virtual void reset() +[more]virtual const char* className() const
      -[more]typedef std::vector< AttrMatrixPair >virtual AttrMatrixList void addPositionedAttribute(osg::Matrix* matrix, const osg::StateAttribute* attr) +[more]virtual void reset()
      -[more]virtual void draw(osg::State& state, RenderLeaf*& previous) +[more]typedef std::vector< AttrMatrixPair >virtual AttrMatrixList void addPositionedAttribute(osg::Matrix* matrix, const osg::StateAttribute* attr) +
      +[more]virtual void draw(osg::State& state, RenderLeaf*& previous)

      Protected Methods

      -[more]virtual ~RenderStageLighting() +[more]virtual ~RenderStageLighting()

      @@ -60,43 +62,47 @@ RenderBin base class
      - +
      o RenderStageLighting()

      - +

      ovirtual osg::Object* cloneType() const

      - +

      ovirtual osg::Object* clone(const osg::CopyOp&) const

      - +

      ovirtual bool isSameKindAs(const osg::Object* obj) const

      + + +

      ovirtual const char* libraryName() const +

      - +

      ovirtual const char* className() const

      - +

      ovirtual void reset()

      - +

      otypedef std::vector< AttrMatrixPair >virtual AttrMatrixList void addPositionedAttribute(osg::Matrix* matrix, const osg::StateAttribute* attr)

      - +

      ovirtual void draw(osg::State& state, RenderLeaf*& previous)

      - +

      oAttrMatrixList _attrList

      - +

      ovirtual ~RenderStageLighting()

      diff --git a/doc/doc++/osgUtil/RenderToTextureStage.html b/doc/doc++/osgUtil/RenderToTextureStage.html index e1ed05f8b..7324a176c 100644 --- a/doc/doc++/osgUtil/RenderToTextureStage.html +++ b/doc/doc++/osgUtil/RenderToTextureStage.html @@ -7,7 +7,7 @@ -

      class OSGUTIL_EXPORT osgUtil::RenderToTextureStage

      RenderBin base class
      +

      class OSGUTIL_EXPORT osgUtil::RenderToTextureStage

      RenderStage which copies the final image to an attached texture or image.

      Inheritance:

      @@ -23,33 +23,41 @@

      Public Methods

      -[more] RenderToTextureStage() +[more] RenderToTextureStage()
      -[more]virtual osg::Object* cloneType() const +[more]virtual osg::Object* cloneType() const
      -[more]virtual osg::Object* clone(const osg::CopyOp&) const +[more]virtual osg::Object* clone(const osg::CopyOp&) const
      -[more]virtual bool isSameKindAs(const osg::Object* obj) const +[more]virtual bool isSameKindAs(const osg::Object* obj) const
      -[more]virtual const char* className() const +[more]virtual const char* libraryName() const
      -[more]virtual void reset() +[more]virtual const char* className() const
      -[more]void setTexture(osg::Texture* texture) +[more]virtual void reset()
      -[more]osg::Texture* getTexture() +[more]void setTexture(osg::Texture* texture)
      -[more]virtual void draw(osg::State& state, RenderLeaf*& previous) +[more]osg::Texture* getTexture() +
      +[more]void setImage(osg::Image* image) +
      +[more]osg::Image* getImage() +
      +[more]virtual void draw(osg::State& state, RenderLeaf*& previous)

      Protected Fields

      -[more]osg::ref_ptr<osg::Texture> _texture +[more]osg::ref_ptr<osg::Texture> _texture +
      +[more]osg::ref_ptr<osg::Image> _image

      Protected Methods

      -[more]virtual ~RenderToTextureStage() +[more]virtual ~RenderToTextureStage()

      @@ -178,52 +186,69 @@

      Documentation

      -RenderBin base class
      +RenderStage which copies the final image to an attached texture or image. +Generally used as a pre-rendering stage.
      - +
      o RenderToTextureStage()

      - +

      ovirtual osg::Object* cloneType() const

      - +

      ovirtual osg::Object* clone(const osg::CopyOp&) const

      - +

      ovirtual bool isSameKindAs(const osg::Object* obj) const

      + + +

      ovirtual const char* libraryName() const +

      - +

      ovirtual const char* className() const

      - +

      ovirtual void reset()

      - +

      ovoid setTexture(osg::Texture* texture)

      - +

      oosg::Texture* getTexture()

      + + +

      ovoid setImage(osg::Image* image) +

      + + +

      oosg::Image* getImage() +

      - +

      ovirtual void draw(osg::State& state, RenderLeaf*& previous)

      - +

      ovirtual ~RenderToTextureStage()

      - +

      oosg::ref_ptr<osg::Texture> _texture +

      + + +

      oosg::ref_ptr<osg::Image> _image


      This class has no child classes.
      diff --git a/doc/doc++/osgUtil/SceneView.html b/doc/doc++/osgUtil/SceneView.html index 9b76ef543..50f2101ed 100644 --- a/doc/doc++/osgUtil/SceneView.html +++ b/doc/doc++/osgUtil/SceneView.html @@ -23,266 +23,280 @@

      Public Methods

      -[more] SceneView(osg::DisplaySettings* ds=NULL) +[more] SceneView(osg::DisplaySettings* ds=NULL)
      Construct a default scene view
      -[more]void setDefaults() +[more]void setDefaults()
      Set scene view to use default global state, light, camera and render visitor
      -[more]void setSceneData(osg::Node* node) +[more]void setSceneData(osg::Node* node)
      Set the data which to view.
      -[more]osg::Node* getSceneData() +[more]osg::Node* getSceneData()
      Get the scene data which to view.
      -[more]const osg::Node* getSceneData() const +[more]const osg::Node* getSceneData() const
      Get the const scene data which to view.
      -[more]void setViewport(osg::Viewport* viewport) +[more]void setViewport(osg::Viewport* viewport)
      Set the viewport of the scene view to use specfied osg::Viewport.
      -[more]void setViewport(int x, int y, int width, int height) +[more]void setViewport(int x, int y, int width, int height)
      Set the viewport of the scene view to specified dimensions.
      -[more]const osg::Viewport* getViewport() const +[more]const osg::Viewport* getViewport() const
      Get the const viewport.
      -[more]osg::Viewport* getViewport() +[more]osg::Viewport* getViewport()
      Get the viewport.
      -[more]void getViewport(int& x, int& y, int& width, int& height) +[more]void getViewport(int& x, int& y, int& width, int& height)
      Get the viewport of the scene view.
      -[more]inline void setDisplaySettings(osg::DisplaySettings* vs) +[more]inline void setDisplaySettings(osg::DisplaySettings* vs)
      Set the DisplaySettings.
      -[more]inline const osg::DisplaySettings* getDisplaySettings() const +[more]inline const osg::DisplaySettings* getDisplaySettings() const
      Get the const DisplaySettings
      -[more]inline osg::DisplaySettings* getDisplaySettings() +[more]inline osg::DisplaySettings* getDisplaySettings()
      Get the DisplaySettings
      -[more]void setBackgroundColor(const osg::Vec4& color) +[more]void setBackgroundColor(const osg::Vec4& color)
      Set the background color used in glClearColor().
      -[more]const osg::Vec4& getBackgroundColor() const +[more]const osg::Vec4& getBackgroundColor() const
      Get the background color
      -[more]void setGlobalStateSet(osg::StateSet* state) +[more]void setGlobalStateSet(osg::StateSet* state)
      -[more]osg::StateSet* getGlobalStateSet() +[more]osg::StateSet* getGlobalStateSet()
      -[more]const osg::StateSet* getGlobalStateSet() const +[more]const osg::StateSet* getGlobalStateSet() const
      -[more]void setLightingMode(LightingMode mode) +[more]void setLightingMode(LightingMode mode)
      -[more]LightingMode getLightingMode() const +[more]LightingMode getLightingMode() const
      -[more]void setLight(osg::Light* light) +[more]void setLight(osg::Light* light)
      -[more]osg::Light* getLight() +[more]osg::Light* getLight()
      -[more]const osg::Light* getLight() const +[more]const osg::Light* getLight() const
      -[more]void setState(osg::State* state) +[more]void setState(osg::State* state)
      -[more]osg::State* getState() +[more]osg::State* getState()
      -[more]const osg::State* getState() const +[more]const osg::State* getState() const
      -[more]void setCamera(osg::Camera* camera) +[more]void setCamera(osg::Camera* camera)
      set an osg::Camera for the scene view to use for setting projection and modelview matrices internaly.
      -[more]osg::Camera* getCamera() +[more]osg::Camera* getCamera()
      -[more]const osg::Camera* getCamera() const +[more]const osg::Camera* getCamera() const
      -[more]void setProjectionMatrix(osg::Matrix* matrix) +[more]void setProjectionMatrix(osg::Matrix* matrix)
      set a projection matrix.
      -[more]osg::Matrix* getProjectionMatrix() +[more]osg::Matrix* getProjectionMatrix()
      -[more]const osg::Matrix* getProjectionMatrix() const +[more]const osg::Matrix* getProjectionMatrix() const
      -[more]void setModelViewMatrix(osg::Matrix* matrix) +[more]void setModelViewMatrix(osg::Matrix* matrix)
      set a modelview matrix.
      -[more]osg::Matrix* getModelViewMatrix() +[more]osg::Matrix* getModelViewMatrix()
      -[more]const osg::Matrix* getModelViewMatrix() const +[more]const osg::Matrix* getModelViewMatrix() const
      -[more]void setInitVisitor(osg::NodeVisitor* av) +[more]void setInitVisitor(osg::NodeVisitor* av)
      -[more]osg::NodeVisitor* getInitVisitor() +[more]osg::NodeVisitor* getInitVisitor()
      -[more]const osg::NodeVisitor* getInitVisitor() const +[more]const osg::NodeVisitor* getInitVisitor() const
      -[more]void setAppVisitor(osg::NodeVisitor* av) +[more]void setAppVisitor(osg::NodeVisitor* av)
      -[more]osg::NodeVisitor* getAppVisitor() +[more]osg::NodeVisitor* getAppVisitor()
      -[more]const osg::NodeVisitor* getAppVisitor() const +[more]const osg::NodeVisitor* getAppVisitor() const
      -[more]void setCullVisitor(osgUtil::CullVisitor* cv) +[more]void setCullVisitor(osgUtil::CullVisitor* cv)
      -[more]osgUtil::CullVisitor* getCullVisitor() +[more]osgUtil::CullVisitor* getCullVisitor()
      -[more]const osgUtil::CullVisitor* getCullVisitor() const +[more]const osgUtil::CullVisitor* getCullVisitor() const
      -[more]void setRenderGraph(osgUtil::RenderGraph* rg) +[more]void setRenderGraph(osgUtil::RenderGraph* rg)
      -[more]osgUtil::RenderGraph* getRenderGraph() +[more]osgUtil::RenderGraph* getRenderGraph()
      -[more]const osgUtil::RenderGraph* getRenderGraph() const +[more]const osgUtil::RenderGraph* getRenderGraph() const
      -[more]void setRenderStage(osgUtil::RenderStage* rs) +[more]void setRenderStage(osgUtil::RenderStage* rs)
      -[more]osgUtil::RenderStage* getRenderStage() +[more]osgUtil::RenderStage* getRenderStage()
      -[more]const osgUtil::RenderStage* getRenderStage() const +[more]const osgUtil::RenderStage* getRenderStage() const
      -[more]void setLODBias(float bias) +[more]void setCullMask(const osg::Node::NodeMask nm)
      -[more]float getLODBias() const +[more]const osg::Node::NodeMask getCullMask() const
      -[more]void setCullMask(const osg::Node::NodeMask nm) +[more]void setCullMaskLeft(const osg::Node::NodeMask nm)
      -[more]const osg::Node::NodeMask getCullMask() const +[more]const osg::Node::NodeMask getCullMaskLeft() const
      -[more]void setCullMaskLeft(const osg::Node::NodeMask nm) +[more]void setCullMaskRight(const osg::Node::NodeMask nm)
      -[more]const osg::Node::NodeMask getCullMaskLeft() const +[more]const osg::Node::NodeMask getCullMaskRight() const
      -[more]void setCullMaskRight(const osg::Node::NodeMask nm) +[more]void setLODBias(float bias) +
      Set the LOD bias for the CullVisitor to use
      -[more]const osg::Node::NodeMask getCullMaskRight() const +[more]float getLODBias() const +
      Get the LOD bias
      -[more]void setCalcNearFar(bool calc) -
      Set to true if you want SceneView to automatically calculate values for the near/far clipping planes, each frame, set false to use camera's internal near and far planes. +[more]void setSmallFeatureCullingPixelSize(float value) +
      Set the Small Feature Culling Pixel Size
      -[more]bool getCalcNearFar() const -
      return true if SceneView automatically calculates near and far clipping planes for each frame +[more]float getSmallFeatureCullingPixelSize() const +
      Get the Small Feature Culling Pixel Size
      -[more]void setPrioritizeTextures(bool pt) +[more]void setCullingMode(osg::CullStack::CullingMode mode) +
      Set the culling mode for the CullVisitor to use +
      +[more]osg::CullStack::CullingMode getCullingMode() const +
      Returns the current CullingMode +
      +[more]void setComputeNearFarMode(CullVisitor::ComputeNearFarMode cnfm) +
      Set the ComputeNearFarMode for the CullVisitor to use +
      +[more]CullVisitor::ComputeNearFarMode getComputeNearFarMode() const +
      Get the ComputeNearFarMode +
      +[more]void setPrioritizeTextures(bool pt)
      set whether the draw method should call renderer->prioritizeTexture
      -[more]bool getPrioritizeTextures() const +[more]bool getPrioritizeTextures() const
      get whether the draw method should call renderer->prioritizeTexture
      -[more]bool projectWindowIntoObject(const osg::Vec3& window, osg::Vec3& object) const +[more]bool projectWindowIntoObject(const osg::Vec3& window, osg::Vec3& object) const
      Calculate, via glUnProject, the object coordinates of a window point.
      -[more]bool projectWindowXYIntoObject(int x, int y, osg::Vec3& near_point, osg::Vec3& far_point) const +[more]bool projectWindowXYIntoObject(int x, int y, osg::Vec3& near_point, osg::Vec3& far_point) const
      Calculate, via glUnProject, the object coordinates of a window x,y when projected onto the near and far planes.
      -[more]bool projectObjectIntoWindow(const osg::Vec3& object, osg::Vec3& window) const +[more]bool projectObjectIntoWindow(const osg::Vec3& object, osg::Vec3& window) const
      Calculate, via glProject, the object coordinates of a window.
      -[more]inline void setFrameStamp(osg::FrameStamp* fs) +[more]inline void setFrameStamp(osg::FrameStamp* fs)
      Set the frame stamp for the current frame
      -[more]inline const osg::FrameStamp* getFrameStamp() const +[more]inline const osg::FrameStamp* getFrameStamp() const
      Set the frame stamp for the current frame
      -[more]virtual void init() +[more]virtual void init()
      Do init traversal of attached scene graph using Init NodeVisitor.
      -[more]virtual void app() +[more]virtual void app()
      Do app traversal of attached scene graph using App NodeVisitor
      -[more]virtual void cull() +[more]virtual void cull()
      Do cull traversal of attached scene graph using Cull NodeVisitor
      -[more]virtual void draw() +[more]virtual void draw()
      Do draw traversal of draw bins generated by cull traversal

      Public Members

      -[more]enum LightingMode +[more]enum LightingMode

      Protected Fields

      -[more]osg::ref_ptr<osg::Node> _sceneData +[more]osg::ref_ptr<osg::Node> _sceneData
      -[more]osg::ref_ptr<osg::StateSet> _globalState +[more]osg::ref_ptr<osg::StateSet> _globalState
      -[more]osg::ref_ptr<osg::Light> _light +[more]osg::ref_ptr<osg::Light> _light
      -[more]osg::ref_ptr<osg::Camera> _camera +[more]osg::ref_ptr<osg::Camera> _camera
      -[more]osg::ref_ptr<osg::Matrix> _projectionMatrix +[more]osg::ref_ptr<osg::Matrix> _projectionMatrix
      -[more]osg::ref_ptr<osg::Matrix> _modelviewMatrix +[more]osg::ref_ptr<osg::Matrix> _modelviewMatrix
      -[more]osg::ref_ptr<osg::DisplaySettings> _displaySettings +[more]osg::ref_ptr<osg::DisplaySettings> _displaySettings
      -[more]osg::ref_ptr<osg::State> _state +[more]osg::ref_ptr<osg::State> _state
      -[more]bool _initCalled +[more]bool _initCalled
      -[more]osg::ref_ptr<osg::NodeVisitor> _initVisitor +[more]osg::ref_ptr<osg::NodeVisitor> _initVisitor
      -[more]osg::ref_ptr<osg::NodeVisitor> _appVisitor +[more]osg::ref_ptr<osg::NodeVisitor> _appVisitor
      -[more]osg::Node::NodeMask _cullMask +[more]osg::Node::NodeMask _cullMask
      -[more]osg::ref_ptr<osgUtil::CullVisitor> _cullVisitor +[more]osg::ref_ptr<osgUtil::CullVisitor> _cullVisitor
      -[more]osg::ref_ptr<osgUtil::RenderGraph> _rendergraph +[more]osg::ref_ptr<osgUtil::RenderGraph> _rendergraph
      -[more]osg::ref_ptr<osgUtil::RenderStage> _renderStage +[more]osg::ref_ptr<osgUtil::RenderStage> _renderStage
      -[more]osg::Node::NodeMask _cullMaskLeft +[more]osg::Node::NodeMask _cullMaskLeft
      -[more]osg::ref_ptr<osgUtil::CullVisitor> _cullVisitorLeft +[more]osg::ref_ptr<osgUtil::CullVisitor> _cullVisitorLeft
      -[more]osg::ref_ptr<osgUtil::RenderGraph> _rendergraphLeft +[more]osg::ref_ptr<osgUtil::RenderGraph> _rendergraphLeft
      -[more]osg::ref_ptr<osgUtil::RenderStage> _renderStageLeft +[more]osg::ref_ptr<osgUtil::RenderStage> _renderStageLeft
      -[more]osg::Node::NodeMask _cullMaskRight +[more]osg::Node::NodeMask _cullMaskRight
      -[more]osg::ref_ptr<osgUtil::CullVisitor> _cullVisitorRight +[more]osg::ref_ptr<osgUtil::CullVisitor> _cullVisitorRight
      -[more]osg::ref_ptr<osgUtil::RenderGraph> _rendergraphRight +[more]osg::ref_ptr<osgUtil::RenderGraph> _rendergraphRight
      -[more]osg::ref_ptr<osgUtil::RenderStage> _renderStageRight +[more]osg::ref_ptr<osgUtil::RenderStage> _renderStageRight
      -[more]osg::ref_ptr<osg::FrameStamp> _frameStamp +[more]osg::ref_ptr<osg::FrameStamp> _frameStamp
      -[more]bool _need_compile +[more]bool _need_compile
      -[more]bool _calc_nearfar +[more]osg::Vec4 _backgroundColor
      -[more]osg::Vec4 _backgroundColor +[more]CullVisitor::ComputeNearFarMode _computeNearFar
      -[more]double _near_plane +[more]osg::CullStack::CullingMode _cullingMode
      -[more]double _far_plane +[more]float _LODBias
      -[more]float _lodBias +[more]float _smallFeatureCullingPixelSize
      -[more]osg::ref_ptr<osg::Viewport> _viewport +[more]osg::ref_ptr<osg::Viewport> _viewport
      -[more]LightingMode _lightingMode +[more]LightingMode _lightingMode
      -[more]bool _prioritizeTextures +[more]bool _prioritizeTextures

      Protected Methods

      -[more]virtual ~SceneView() +[more]virtual ~SceneView()
      -[more]virtual void cullStage(osg::Matrix* projection, osg::Matrix* modelview, osgUtil::CullVisitor* cullVisitor, osgUtil::RenderGraph* rendergraph, osgUtil::RenderStage* renderStage) +[more]virtual void cullStage(osg::Matrix* projection, osg::Matrix* modelview, osgUtil::CullVisitor* cullVisitor, osgUtil::RenderGraph* rendergraph, osgUtil::RenderStage* renderStage)
      Do cull traversal of attached scene graph using Cull NodeVisitor
      -[more]virtual void drawStage(osgUtil::RenderStage* renderStage) +[more]virtual void drawStage(osgUtil::RenderStage* renderStage)
      -[more]const osg::Matrix computeMVPW() const +[more]const osg::Matrix computeMVPW() const
      -[more]void clearArea(int x, int y, int width, int height, const osg::Vec4& color) +[more]void clearArea(int x, int y, int width, int height, const osg::Vec4& color)

      @@ -297,149 +311,149 @@ methods for setting up the view and rendering it.
      - +
      o SceneView(osg::DisplaySettings* ds=NULL)
      Construct a default scene view

      - +

      ovoid setDefaults()
      Set scene view to use default global state, light, camera and render visitor

      - +

      ovoid setSceneData(osg::Node* node)
      Set the data which to view. The data will typically be an osg::Scene but can be any osg::Node type.

      - +

      oosg::Node* getSceneData()
      Get the scene data which to view. The data will typically be an osg::Scene but can be any osg::Node type.

      - +

      oconst osg::Node* getSceneData() const
      Get the const scene data which to view. The data will typically be an osg::Scene but can be any osg::Node type.

      - +

      ovoid setViewport(osg::Viewport* viewport)
      Set the viewport of the scene view to use specfied osg::Viewport.

      - +

      ovoid setViewport(int x, int y, int width, int height)
      Set the viewport of the scene view to specified dimensions.

      - +

      oconst osg::Viewport* getViewport() const
      Get the const viewport.

      - +

      oosg::Viewport* getViewport()
      Get the viewport.

      - +

      ovoid getViewport(int& x, int& y, int& width, int& height)
      Get the viewport of the scene view.

      - +

      oinline void setDisplaySettings(osg::DisplaySettings* vs)
      Set the DisplaySettings.

      - +

      oinline const osg::DisplaySettings* getDisplaySettings() const
      Get the const DisplaySettings

      - +

      oinline osg::DisplaySettings* getDisplaySettings()
      Get the DisplaySettings

      - +

      ovoid setBackgroundColor(const osg::Vec4& color)
      Set the background color used in glClearColor(). Defaults to an off blue color.

      - +

      oconst osg::Vec4& getBackgroundColor() const
      Get the background color

      - +

      ovoid setGlobalStateSet(osg::StateSet* state)

      - +

      oosg::StateSet* getGlobalStateSet()

      - +

      oconst osg::StateSet* getGlobalStateSet() const

      - +

      oenum LightingMode

      - +
      o HEADLIGHT

      - +

      o SKY_LIGHT

      - +

      o NO_SCENEVIEW_LIGHT

      - -
      ovoid setLightingMode(LightingMode mode) + +
      ovoid setLightingMode(LightingMode mode)

      - -

      oLightingMode getLightingMode() const + +
      oLightingMode getLightingMode() const

      - +

      ovoid setLight(osg::Light* light)

      - +

      oosg::Light* getLight()

      - +

      oconst osg::Light* getLight() const

      - +

      ovoid setState(osg::State* state)

      - +

      oosg::State* getState()

      - +

      oconst osg::State* getState() const

      - +

      ovoid setCamera(osg::Camera* camera)
      set an osg::Camera for the scene view to use for setting projection and modelview matrices internaly. However, the projection matrix from the camera will be overriden by a projection matrix which is set explicitly @@ -448,156 +462,175 @@ Also, the model matrix from the camera will be overriden by a modelview matrix w via setModelViewMatrix(..), see below.

      - +

      oosg::Camera* getCamera()

      - +

      oconst osg::Camera* getCamera() const

      - +

      ovoid setProjectionMatrix(osg::Matrix* matrix)
      set a projection matrix. Note, this will override a camera's projection matrix if it is not NULL.

      - +

      oosg::Matrix* getProjectionMatrix()

      - +

      oconst osg::Matrix* getProjectionMatrix() const

      - +

      ovoid setModelViewMatrix(osg::Matrix* matrix)
      set a modelview matrix. Note, this will override a camera's modelview matrix if it is not NULL.

      - +

      oosg::Matrix* getModelViewMatrix()

      - +

      oconst osg::Matrix* getModelViewMatrix() const

      - +

      ovoid setInitVisitor(osg::NodeVisitor* av)

      - +

      oosg::NodeVisitor* getInitVisitor()

      - +

      oconst osg::NodeVisitor* getInitVisitor() const

      - +

      ovoid setAppVisitor(osg::NodeVisitor* av)

      - +

      oosg::NodeVisitor* getAppVisitor()

      - +

      oconst osg::NodeVisitor* getAppVisitor() const

      - +

      ovoid setCullVisitor(osgUtil::CullVisitor* cv)

      - +

      oosgUtil::CullVisitor* getCullVisitor()

      - +

      oconst osgUtil::CullVisitor* getCullVisitor() const

      - +

      ovoid setRenderGraph(osgUtil::RenderGraph* rg)

      - +

      oosgUtil::RenderGraph* getRenderGraph()

      - +

      oconst osgUtil::RenderGraph* getRenderGraph() const

      - +

      ovoid setRenderStage(osgUtil::RenderStage* rs)

      - +

      oosgUtil::RenderStage* getRenderStage()

      - +

      oconst osgUtil::RenderStage* getRenderStage() const

      - - -

      ovoid setLODBias(float bias) -

      - - -

      ofloat getLODBias() const -

      - +

      ovoid setCullMask(const osg::Node::NodeMask nm)

      - +

      oconst osg::Node::NodeMask getCullMask() const

      - +

      ovoid setCullMaskLeft(const osg::Node::NodeMask nm)

      - +

      oconst osg::Node::NodeMask getCullMaskLeft() const

      - +

      ovoid setCullMaskRight(const osg::Node::NodeMask nm)

      - +

      oconst osg::Node::NodeMask getCullMaskRight() const

      - - -

      ovoid setCalcNearFar(bool calc) -
      Set to true if you want SceneView to automatically calculate values -for the near/far clipping planes, each frame, set false to use camera's -internal near and far planes. Default value is true. + + +
      ovoid setLODBias(float bias) +
      Set the LOD bias for the CullVisitor to use

      - - -

      obool getCalcNearFar() const -
      return true if SceneView automatically calculates near and -far clipping planes for each frame + + +
      ofloat getLODBias() const +
      Get the LOD bias +

      + + +

      ovoid setSmallFeatureCullingPixelSize(float value) +
      Set the Small Feature Culling Pixel Size +

      + + +

      ofloat getSmallFeatureCullingPixelSize() const +
      Get the Small Feature Culling Pixel Size +

      + + +

      ovoid setCullingMode(osg::CullStack::CullingMode mode) +
      Set the culling mode for the CullVisitor to use +

      + + +

      oosg::CullStack::CullingMode getCullingMode() const +
      Returns the current CullingMode +

      + + +

      ovoid setComputeNearFarMode(CullVisitor::ComputeNearFarMode cnfm) +
      Set the ComputeNearFarMode for the CullVisitor to use +

      + + +

      oCullVisitor::ComputeNearFarMode getComputeNearFarMode() const +
      Get the ComputeNearFarMode

      - +

      ovoid setPrioritizeTextures(bool pt)
      set whether the draw method should call renderer->prioritizeTexture

      - +

      obool getPrioritizeTextures() const
      get whether the draw method should call renderer->prioritizeTexture

      - +

      obool projectWindowIntoObject(const osg::Vec3& window, osg::Vec3& object) const
      Calculate, via glUnProject, the object coordinates of a window point. Note, current implementation requires that SceneView::draw() has been previously called @@ -606,7 +639,7 @@ windows coordinates are calculated relative to the bottom left of the window. Returns true on successful projection.

      - +

      obool projectWindowXYIntoObject(int x, int y, osg::Vec3& near_point, osg::Vec3& far_point) const
      Calculate, via glUnProject, the object coordinates of a window x,y when projected onto the near and far planes. @@ -616,7 +649,7 @@ windows coordinates are calculated relative to the bottom left of the window. Returns true on successful projection.

      - +

      obool projectObjectIntoWindow(const osg::Vec3& object, osg::Vec3& window) const
      Calculate, via glProject, the object coordinates of a window. Note, current implementation requires that SceneView::draw() has been previously called @@ -627,17 +660,17 @@ so you may need to pass in (mouseX,window_height-mouseY,...). Returns true on successful projection.

      - +

      oinline void setFrameStamp(osg::FrameStamp* fs)
      Set the frame stamp for the current frame

      - +

      oinline const osg::FrameStamp* getFrameStamp() const
      Set the frame stamp for the current frame

      - +

      ovirtual void init()
      Do init traversal of attached scene graph using Init NodeVisitor. The init traversal is called once for each SceneView, and should @@ -648,171 +681,171 @@ elsewhere. Also init() should only ever be called within a valid graphics context.

      - +

      ovirtual void app()
      Do app traversal of attached scene graph using App NodeVisitor

      - +

      ovirtual void cull()
      Do cull traversal of attached scene graph using Cull NodeVisitor

      - +

      ovirtual void draw()
      Do draw traversal of draw bins generated by cull traversal

      - +

      ovirtual ~SceneView()

      - +

      ovirtual void cullStage(osg::Matrix* projection, osg::Matrix* modelview, osgUtil::CullVisitor* cullVisitor, osgUtil::RenderGraph* rendergraph, osgUtil::RenderStage* renderStage)
      Do cull traversal of attached scene graph using Cull NodeVisitor

      - +

      ovirtual void drawStage(osgUtil::RenderStage* renderStage)

      - +

      oconst osg::Matrix computeMVPW() const

      - +

      ovoid clearArea(int x, int y, int width, int height, const osg::Vec4& color)

      - +

      oosg::ref_ptr<osg::Node> _sceneData

      - +

      oosg::ref_ptr<osg::StateSet> _globalState

      - +

      oosg::ref_ptr<osg::Light> _light

      - +

      oosg::ref_ptr<osg::Camera> _camera

      - +

      oosg::ref_ptr<osg::Matrix> _projectionMatrix

      - +

      oosg::ref_ptr<osg::Matrix> _modelviewMatrix

      - +

      oosg::ref_ptr<osg::DisplaySettings> _displaySettings

      - +

      oosg::ref_ptr<osg::State> _state

      - +

      obool _initCalled

      - +

      oosg::ref_ptr<osg::NodeVisitor> _initVisitor

      - +

      oosg::ref_ptr<osg::NodeVisitor> _appVisitor

      - +

      oosg::Node::NodeMask _cullMask

      - +

      oosg::ref_ptr<osgUtil::CullVisitor> _cullVisitor

      - +

      oosg::ref_ptr<osgUtil::RenderGraph> _rendergraph

      - +

      oosg::ref_ptr<osgUtil::RenderStage> _renderStage

      - +

      oosg::Node::NodeMask _cullMaskLeft

      - +

      oosg::ref_ptr<osgUtil::CullVisitor> _cullVisitorLeft

      - +

      oosg::ref_ptr<osgUtil::RenderGraph> _rendergraphLeft

      - +

      oosg::ref_ptr<osgUtil::RenderStage> _renderStageLeft

      - +

      oosg::Node::NodeMask _cullMaskRight

      - +

      oosg::ref_ptr<osgUtil::CullVisitor> _cullVisitorRight

      - +

      oosg::ref_ptr<osgUtil::RenderGraph> _rendergraphRight

      - +

      oosg::ref_ptr<osgUtil::RenderStage> _renderStageRight

      - +

      oosg::ref_ptr<osg::FrameStamp> _frameStamp

      - +

      obool _need_compile

      - - -

      obool _calc_nearfar -

      - +

      oosg::Vec4 _backgroundColor

      - - -

      odouble _near_plane + + +
      oCullVisitor::ComputeNearFarMode _computeNearFar

      - - -

      odouble _far_plane + + +
      oosg::CullStack::CullingMode _cullingMode

      - - -

      ofloat _lodBias + + +
      ofloat _LODBias +

      + + +

      ofloat _smallFeatureCullingPixelSize

      - +

      oosg::ref_ptr<osg::Viewport> _viewport

      - -

      oLightingMode _lightingMode + +
      oLightingMode _lightingMode

      - +

      obool _prioritizeTextures

      diff --git a/doc/doc++/osgUtil/SmoothingVisitor.html b/doc/doc++/osgUtil/SmoothingVisitor.html index f3580f8e0..9fb7c4be7 100644 --- a/doc/doc++/osgUtil/SmoothingVisitor.html +++ b/doc/doc++/osgUtil/SmoothingVisitor.html @@ -23,13 +23,13 @@

      Public Methods

      -[more] SmoothingVisitor() +[more] SmoothingVisitor()
      default to traversing all children
      -[more]static void smooth(osg::GeoSet& geoset) +[more]static void smooth(osg::Geometry& geoset)
      smooth geoset by creating per vertex normals
      -[more]virtual void apply(osg::Geode& geode) +[more]virtual void apply(osg::Geode& geode)
      apply smoothing method to all geode geosets

      @@ -43,17 +43,17 @@ osg::GeoSet's which contains surface primitives
      - +
      o SmoothingVisitor()
      default to traversing all children

      - -

      ostatic void smooth(osg::GeoSet& geoset) + +
      ostatic void smooth(osg::Geometry& geoset)
      smooth geoset by creating per vertex normals

      - +

      ovirtual void apply(osg::Geode& geode)
      apply smoothing method to all geode geosets

      diff --git a/doc/doc++/osgUtil/StateVisitor.html b/doc/doc++/osgUtil/StateVisitor.html index c90bb4f91..bdf5452af 100644 --- a/doc/doc++/osgUtil/StateVisitor.html +++ b/doc/doc++/osgUtil/StateVisitor.html @@ -23,27 +23,27 @@

      Public Methods

      -[more] StateVisitor() +[more] StateVisitor()
      default to traversing all children
      -[more]virtual void reset() +[more]virtual void reset()
      empty visitor, make it ready for next traversal
      -[more]virtual void apply(osg::Node& node) +[more]virtual void apply(osg::Node& node)
      -[more]virtual void apply(osg::Geode& geode) +[more]virtual void apply(osg::Geode& geode)
      -[more]void optimize() +[more]void optimize()

      Protected Methods

      -[more]void addStateSet(osg::StateSet* stateset, osg::Object* obj) +[more]void addStateSet(osg::StateSet* stateset, osg::Object* obj)

      Protected Members

      -[more]typedef std::map<osg::StateSet*,ObjectSet> StateSetMap StateSetMap _statesets +[more]typedef std::map<osg::StateSet*,ObjectSet> StateSetMap StateSetMap _statesets

      @@ -57,33 +57,33 @@ and whole StateSets
      - +
      o StateVisitor()
      default to traversing all children

      - +

      ovirtual void reset()
      empty visitor, make it ready for next traversal

      - +

      ovirtual void apply(osg::Node& node)

      - +

      ovirtual void apply(osg::Geode& geode)

      - +

      ovoid optimize()

      - +

      ovoid addStateSet(osg::StateSet* stateset, osg::Object* obj)

      - +

      otypedef std::map<osg::StateSet*,ObjectSet> StateSetMap StateSetMap _statesets

      diff --git a/doc/doc++/osgUtil/Tesselator.html b/doc/doc++/osgUtil/Tesselator.html index 0750c4ecb..afca106fe 100644 --- a/doc/doc++/osgUtil/Tesselator.html +++ b/doc/doc++/osgUtil/Tesselator.html @@ -11,53 +11,77 @@
      -

      -

      Public Fields

      -[more]int _errorCode -

      -

      Public Methods

      -[more] Tesselator() +[more] Tesselator()
      -[more] ~Tesselator() +[more] ~Tesselator()
      -[more]void tesselate(osg::Vec3* coords, int numIndices, int* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE) +[more]void beginTesselation()
      -[more]void tesselate(osg::Vec3* coords, int numIndices, osg::ushort* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE) +[more]void beginContour()
      -[more]void tesselate(osg::Vec3* coords, int numIndices, osg::uint* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE) +[more]void addVertex(osg::Vec3* vertex)
      -[more]typedef std::vector<osg::uint> IndexVec const IndexVec& getResult() const +[more]void endContour()
      -[more]void beginPrimitive(int primitiveType) +[more]void endTesselation()
      -[more]void endPrimitive() +[more]typedef std::vector< osg::ref_ptr<Prim> > PrimList PrimList& getPrimList() +
      +[more]void retesselatePolygons(osg::Geometry& geom) +
      +[more]void reset()

      Public Members

      -[more]enum InputBoundaryDirection +[more]enum InputBoundaryDirection
      -[more]struct VertexIndexSet +[more]typedef std::vector<osg::Vec3*> VertexPointListstruct Prim: public osg::Referenced

      Protected Fields

      -[more]CoordVec _coordVec +[more]PrimList _primList
      -[more]IndexVec _tesselated_indices +[more]Vec3dList _coordData
      -[more]int _currentPrimtiveType +[more]NewVertexList _newVertexList
      -[more]IndexVec _acummulated_indices +[more]GLenum _errorCode

      Protected Methods

      -[more]typedef std::vector<VertexIndexSet> CoordVec void init() +[more]void begin(GLenum mode)
      -[more]void do_it() +[more]void vertex(osg::Vec3* vertex) +
      +[more]void combine(osg::Vec3* vertex, void* vertex_data[4], GLfloat weight[4]) +
      +[more]void end() +
      +[more]void error(GLenum errorCode) +
      +[more]static void CALLBACK beginCallback(GLenum which, void* userData) +
      +[more]static void CALLBACK vertexCallback(GLvoid* data, void* userData) +
      +[more]static void CALLBACK combineCallback(GLdouble coords[3], void* vertex_data[4], GLfloat weight[4], void** outData, void* useData) +
      +[more]static void CALLBACK endCallback(void* userData) +
      +[more]static void CALLBACK errorCallback(GLenum errorCode, void* userData) +

      + +

      +

      Protected Members

      +[more]struct Vec3d +
      +[more]struct NewVertex +
      +[more]typedef std::vector<Vec3d*> Vec3dList GLUtesselator* _tobj

      @@ -72,125 +96,201 @@ a small set of code for doing this job better.
      - +
      o Tesselator()

      - +

      o ~Tesselator()

      - +

      oenum InputBoundaryDirection

      - +
      o CLOCK_WISE

      - +

      o COUNTER_CLOCK_WISE

      - - -
      ovoid tesselate(osg::Vec3* coords, int numIndices, int* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE) -

      - - -

      ovoid tesselate(osg::Vec3* coords, int numIndices, osg::ushort* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE) -

      - - -

      ovoid tesselate(osg::Vec3* coords, int numIndices, osg::uint* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE) -

      - - -

      otypedef std::vector<osg::uint> IndexVec const IndexVec& getResult() const -

      - - -

      ovoid beginPrimitive(int primitiveType) -

      - - -

      ovoid endPrimitive() -

      - - -

      oint _errorCode -

      - - -

      ostruct VertexIndexSet + + +
      otypedef std::vector<osg::Vec3*> VertexPointListstruct Prim: public osg::Referenced

      - - -
      o VertexIndexSet() + + +
      o Prim(GLenum mode)

      - - -

      o VertexIndexSet(Tesselator* tess, const osg::Vec3& vec, osg::uint index) + + +
      otypedef std::vector<osg::Vec3*> VecList GLenum _mode

      - - -

      o VertexIndexSet(const VertexIndexSet& vip) -

      - - -

      oVertexIndexSet& operator = (const VertexIndexSet& vip) -

      - - -

      ovoid set(Tesselator* tess, const osg::Vec3& vec, osg::uint index) -

      - - -

      ovoid accumulate() -

      - - -

      odouble _vertex[3] -

      - - -

      oTesselator* _Tesselator -

      - - -

      oosg::uint _index + + +
      oVecList _vertices

      - - -
      otypedef std::vector<VertexIndexSet> CoordVec void init() + + +
      ovoid beginTesselation()

      - - -

      ovoid do_it() + + +
      ovoid beginContour()

      - - -

      oCoordVec _coordVec + + +
      ovoid addVertex(osg::Vec3* vertex)

      - - -

      oIndexVec _tesselated_indices + + +
      ovoid endContour()

      - - -

      oint _currentPrimtiveType + + +
      ovoid endTesselation()

      - - -

      oIndexVec _acummulated_indices + + +
      otypedef std::vector< osg::ref_ptr<Prim> > PrimList PrimList& getPrimList() +

      + + +

      ovoid retesselatePolygons(osg::Geometry& geom) +

      + + +

      ovoid reset() +

      + + +

      ovoid begin(GLenum mode) +

      + + +

      ovoid vertex(osg::Vec3* vertex) +

      + + +

      ovoid combine(osg::Vec3* vertex, void* vertex_data[4], GLfloat weight[4]) +

      + + +

      ovoid end() +

      + + +

      ovoid error(GLenum errorCode) +

      + + +

      ostatic void CALLBACK beginCallback(GLenum which, void* userData) +

      + + +

      ostatic void CALLBACK vertexCallback(GLvoid* data, void* userData) +

      + + +

      ostatic void CALLBACK combineCallback(GLdouble coords[3], void* vertex_data[4], GLfloat weight[4], void** outData, void* useData) +

      + + +

      ostatic void CALLBACK endCallback(void* userData) +

      + + +

      ostatic void CALLBACK errorCallback(GLenum errorCode, void* userData) +

      + + +

      ostruct Vec3d +

      + + + +
      odouble _v[3] +

      + + + +
      ostruct NewVertex +

      + + + +
      o NewVertex() +

      + + +

      o NewVertex(const NewVertex& nv) +

      + + +

      o NewVertex(float f1, osg::Vec3* v1, float f2, osg::Vec3* v2, float f3, osg::Vec3* v3, float f4, osg::Vec3* v4) +

      + + +

      ofloat _f1 +

      + + +

      oosg::Vec3* _v1 +

      + + +

      ofloat _f2 +

      + + +

      oosg::Vec3* _v2 +

      + + +

      ofloat _f3 +

      + + +

      oosg::Vec3* _v3 +

      + + +

      ofloat _f4 +

      + + +

      oosg::Vec3* _v4 +

      + + + +
      otypedef std::vector<Vec3d*> Vec3dList GLUtesselator* _tobj +

      + + +

      oPrimList _primList +

      + + +

      oVec3dList _coordData +

      + + +

      oNewVertexList _newVertexList +

      + + +

      oGLenum _errorCode


      This class has no child classes.
      -
      Friends:
      struct VertexIndexSet

      Alphabetic index HTML hierarchy of classes or Java


      +

      Alphabetic index HTML hierarchy of classes or Java



      This page was generated with the help of DOC++. diff --git a/doc/doc++/osgUtil/TransformCallback.html b/doc/doc++/osgUtil/TransformCallback.html index 12773fc46..96857143d 100644 --- a/doc/doc++/osgUtil/TransformCallback.html +++ b/doc/doc++/osgUtil/TransformCallback.html @@ -22,22 +22,22 @@

      Public Methods

      -[more] TransformCallback(const osg::Vec3& pivot, const osg::Vec3& axis, float angularVelocity) +[more] TransformCallback(const osg::Vec3& pivot, const osg::Vec3& axis, float angularVelocity)
      -[more]virtual void operator() (osg::Node* node, osg::NodeVisitor* nv) +[more]virtual void operator() (osg::Node* node, osg::NodeVisitor* nv)

      Protected Fields

      -[more]float _angular_velocity +[more]float _angular_velocity
      -[more]osg::Vec3 _pivot +[more]osg::Vec3 _pivot
      -[more]osg::Vec3 _axis +[more]osg::Vec3 _axis
      -[more]int _previousTraversalNumber +[more]int _previousTraversalNumber
      -[more]double _previousTime +[more]double _previousTime

      @@ -48,31 +48,31 @@
      - +
      o TransformCallback(const osg::Vec3& pivot, const osg::Vec3& axis, float angularVelocity)

      - +

      ovirtual void operator() (osg::Node* node, osg::NodeVisitor* nv)

      - +

      ofloat _angular_velocity

      - +

      oosg::Vec3 _pivot

      - +

      oosg::Vec3 _axis

      - +

      oint _previousTraversalNumber

      - +

      odouble _previousTime

      diff --git a/doc/doc++/osgUtil/TriStripVisitor.html b/doc/doc++/osgUtil/TriStripVisitor.html index 41b882e60..5a654f995 100644 --- a/doc/doc++/osgUtil/TriStripVisitor.html +++ b/doc/doc++/osgUtil/TriStripVisitor.html @@ -7,7 +7,7 @@ -

      class OSGUTIL_EXPORT osgUtil::TriStripVisitor

      A tri stripping visitor for converting GeoSet primitives into tri strips.
      +

      class OSGUTIL_EXPORT osgUtil::TriStripVisitor

      A tri stripping visitor for converting Geometry surface primitives into tri strips.

      Inheritance:

      @@ -23,14 +23,14 @@

      Public Methods

      -[more] TriStripVisitor() +[more] TriStripVisitor()
      default to traversing all children
      -[more]static void stripify(osg::GeoSet& gset) -
      convert mesh primitives in geoset into Tri Strips using NvTriStrip. +[more]static void stripify(osg::Geometry& drawable) +
      convert mesh primitives in Geometry into Tri Strips using NvTriStrip.
      -[more]virtual void apply(osg::Geode& geode) -
      apply stripify method to all geode geosets +[more]virtual void apply(osg::Geode& geode) +
      apply stripify method to all geode geometry

      @@ -38,26 +38,26 @@

      Documentation

      -
      A tri stripping visitor for converting GeoSet primitives into tri strips. +
      A tri stripping visitor for converting Geometry surface primitives into tri strips. The current implemention is based up NVidia's NvTriStrip.
      - +
      o TriStripVisitor()
      default to traversing all children

      - -

      ostatic void stripify(osg::GeoSet& gset) -
      convert mesh primitives in geoset into Tri Strips using + +
      ostatic void stripify(osg::Geometry& drawable) +
      convert mesh primitives in Geometry into Tri Strips using NvTriStrip. Converts all primitive types except points and lines, linestrips which it leaves unchanged.

      - +

      ovirtual void apply(osg::Geode& geode) -
      apply stripify method to all geode geosets +
      apply stripify method to all geode geometry


      This class has no child classes.
      diff --git a/doc/doc++/osgUtil/index.html b/doc/doc++/osgUtil/index.html index 479435476..b72c71adf 100644 --- a/doc/doc++/osgUtil/index.html +++ b/doc/doc++/osgUtil/index.html @@ -19,13 +19,12 @@

      Macros

      diff --git a/doc/documentation.html b/doc/documentation.html index 4cfb1b14b..a312f2201 100644 --- a/doc/documentation.html +++ b/doc/documentation.html @@ -42,6 +42,8 @@ scene graph database utilities reference guide. scene graph particle reference guide.
      osgText/         scene graph text reference guide. +
      osgGA/         +scene graph gui abstraction reference guide.
      osgGLUT/      simple GLUT based viewer base classes reference guide.

      Doxygen-generated tarballs are available for download from the website

      diff --git a/include/osg/AlphaFunc b/include/osg/AlphaFunc index a28be59aa..ace4e65b0 100644 --- a/include/osg/AlphaFunc +++ b/include/osg/AlphaFunc @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/AnimationPath b/include/osg/AnimationPath index 6caa6fba4..c7a600678 100644 --- a/include/osg/AnimationPath +++ b/include/osg/AnimationPath @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Array b/include/osg/Array index 8ae69ff48..d90f69776 100644 --- a/include/osg/Array +++ b/include/osg/Array @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Billboard b/include/osg/Billboard index 359c8e7b8..3f4599c97 100644 --- a/include/osg/Billboard +++ b/include/osg/Billboard @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/BlendFunc b/include/osg/BlendFunc index de49bcc00..51ac8a50f 100644 --- a/include/osg/BlendFunc +++ b/include/osg/BlendFunc @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/BoundingBox b/include/osg/BoundingBox index fcab78456..bd2c29984 100644 --- a/include/osg/BoundingBox +++ b/include/osg/BoundingBox @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/BoundingSphere b/include/osg/BoundingSphere index fc3c62330..e7076a49c 100644 --- a/include/osg/BoundingSphere +++ b/include/osg/BoundingSphere @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/BoundsChecking b/include/osg/BoundsChecking index d1f48cb06..7573bed57 100644 --- a/include/osg/BoundsChecking +++ b/include/osg/BoundsChecking @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Camera b/include/osg/Camera index ff33be29a..3e30dce76 100644 --- a/include/osg/Camera +++ b/include/osg/Camera @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/ClipNode b/include/osg/ClipNode index 98c8d6a04..e8af1a6e2 100644 --- a/include/osg/ClipNode +++ b/include/osg/ClipNode @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/ClipPlane b/include/osg/ClipPlane index fe85c9fb3..6dfcc6ae2 100644 --- a/include/osg/ClipPlane +++ b/include/osg/ClipPlane @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/CollectOccludersVisitor b/include/osg/CollectOccludersVisitor index 0496e6ed5..c029e0de6 100644 --- a/include/osg/CollectOccludersVisitor +++ b/include/osg/CollectOccludersVisitor @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/ColorMask b/include/osg/ColorMask index 7cb22bc06..de31367e2 100644 --- a/include/osg/ColorMask +++ b/include/osg/ColorMask @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/ColorMatrix b/include/osg/ColorMatrix index 8d29d2a8b..5e269a126 100644 --- a/include/osg/ColorMatrix +++ b/include/osg/ColorMatrix @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/ConvexPlanerOccluder b/include/osg/ConvexPlanerOccluder index 8f3e2f94c..7aac764cc 100644 --- a/include/osg/ConvexPlanerOccluder +++ b/include/osg/ConvexPlanerOccluder @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/ConvexPlanerPolygon b/include/osg/ConvexPlanerPolygon index 3a4ea42a8..ec7dd33b3 100644 --- a/include/osg/ConvexPlanerPolygon +++ b/include/osg/ConvexPlanerPolygon @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/CopyOp b/include/osg/CopyOp index 8f628abea..2234d70d3 100644 --- a/include/osg/CopyOp +++ b/include/osg/CopyOp @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/CullFace b/include/osg/CullFace index 02215698d..624923a65 100644 --- a/include/osg/CullFace +++ b/include/osg/CullFace @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/CullStack b/include/osg/CullStack index 789730e83..e6a9be1f3 100644 --- a/include/osg/CullStack +++ b/include/osg/CullStack @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/CullingSet b/include/osg/CullingSet index 21a71151d..e7326cb9a 100644 --- a/include/osg/CullingSet +++ b/include/osg/CullingSet @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Depth b/include/osg/Depth index f9af7ad16..21a25d42e 100644 --- a/include/osg/Depth +++ b/include/osg/Depth @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/DisplaySettings b/include/osg/DisplaySettings index 85b97c270..6804ea1f7 100644 --- a/include/osg/DisplaySettings +++ b/include/osg/DisplaySettings @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/DrawPixels b/include/osg/DrawPixels index d85235bc7..7108af06a 100644 --- a/include/osg/DrawPixels +++ b/include/osg/DrawPixels @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Drawable b/include/osg/Drawable index 588a72eb8..a10026af8 100644 --- a/include/osg/Drawable +++ b/include/osg/Drawable @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/EarthSky b/include/osg/EarthSky index fd06c39b5..6696d71d7 100644 --- a/include/osg/EarthSky +++ b/include/osg/EarthSky @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Export b/include/osg/Export index bacd9c3e5..6110e661c 100644 --- a/include/osg/Export +++ b/include/osg/Export @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Fog b/include/osg/Fog index 3fd96aa0e..a0b0e65d1 100644 --- a/include/osg/Fog +++ b/include/osg/Fog @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/FrameStamp b/include/osg/FrameStamp index 1b6bae860..3ba61c204 100644 --- a/include/osg/FrameStamp +++ b/include/osg/FrameStamp @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/FrontFace b/include/osg/FrontFace index bcc49c280..9d6e8cce8 100644 --- a/include/osg/FrontFace +++ b/include/osg/FrontFace @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/GL b/include/osg/GL index 1be8198a4..f754ec9d1 100644 --- a/include/osg/GL +++ b/include/osg/GL @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/GLExtensions b/include/osg/GLExtensions index 0d8f3a88f..8cbb81f9e 100644 --- a/include/osg/GLExtensions +++ b/include/osg/GLExtensions @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/GLU b/include/osg/GLU index ec165970e..07b299aa4 100644 --- a/include/osg/GLU +++ b/include/osg/GLU @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/GeoSet b/include/osg/GeoSet index 791dc56d4..40464ffeb 100644 --- a/include/osg/GeoSet +++ b/include/osg/GeoSet @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Geode b/include/osg/Geode index 03287ac21..dead4e21d 100644 --- a/include/osg/Geode +++ b/include/osg/Geode @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Geometry b/include/osg/Geometry index 003a6c5c4..45cad8ca6 100644 --- a/include/osg/Geometry +++ b/include/osg/Geometry @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Group b/include/osg/Group index 79a104c57..f3c30bb65 100644 --- a/include/osg/Group +++ b/include/osg/Group @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Image b/include/osg/Image index 817a9afed..ea4c7dc41 100644 --- a/include/osg/Image +++ b/include/osg/Image @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Impostor b/include/osg/Impostor index ff9f44a6b..5fbeb59b8 100644 --- a/include/osg/Impostor +++ b/include/osg/Impostor @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/ImpostorSprite b/include/osg/ImpostorSprite index 3d49a7df8..c8c3593e2 100644 --- a/include/osg/ImpostorSprite +++ b/include/osg/ImpostorSprite @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/LOD b/include/osg/LOD index e67448c4d..f2d5b540b 100644 --- a/include/osg/LOD +++ b/include/osg/LOD @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Light b/include/osg/Light index 5b00df74d..4786534d6 100644 --- a/include/osg/Light +++ b/include/osg/Light @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/LightModel b/include/osg/LightModel index f6a1bd5ea..f63434918 100644 --- a/include/osg/LightModel +++ b/include/osg/LightModel @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/LightSource b/include/osg/LightSource index 9c25813ea..58fb546c3 100644 --- a/include/osg/LightSource +++ b/include/osg/LightSource @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/LineSegment b/include/osg/LineSegment index 1c31ece45..8d4aa94b4 100644 --- a/include/osg/LineSegment +++ b/include/osg/LineSegment @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/LineStipple b/include/osg/LineStipple index 6a3ea3a90..40d35078b 100644 --- a/include/osg/LineStipple +++ b/include/osg/LineStipple @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/LineWidth b/include/osg/LineWidth index f0da5b3ed..c8ebe0439 100644 --- a/include/osg/LineWidth +++ b/include/osg/LineWidth @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Material b/include/osg/Material index fe159f1d2..d96bbfa7a 100644 --- a/include/osg/Material +++ b/include/osg/Material @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Math b/include/osg/Math index cddad214d..debad487e 100644 --- a/include/osg/Math +++ b/include/osg/Math @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Matrix b/include/osg/Matrix index 052937564..c77fe0c9d 100644 --- a/include/osg/Matrix +++ b/include/osg/Matrix @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/MatrixTransform b/include/osg/MatrixTransform index b40f9b7aa..310e0acba 100644 --- a/include/osg/MatrixTransform +++ b/include/osg/MatrixTransform @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Node b/include/osg/Node index d1e76ecbd..f8cb24eea 100644 --- a/include/osg/Node +++ b/include/osg/Node @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/NodeCallback b/include/osg/NodeCallback index 84c8280b0..eed94f606 100644 --- a/include/osg/NodeCallback +++ b/include/osg/NodeCallback @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/NodeVisitor b/include/osg/NodeVisitor index 39b1225a0..c38dab9a5 100644 --- a/include/osg/NodeVisitor +++ b/include/osg/NodeVisitor @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Notify b/include/osg/Notify index ff007ae56..26096e25d 100644 --- a/include/osg/Notify +++ b/include/osg/Notify @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Object b/include/osg/Object index efe779247..0083e4e8b 100644 --- a/include/osg/Object +++ b/include/osg/Object @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/OccluderNode b/include/osg/OccluderNode index 842ea38bd..74e071d46 100644 --- a/include/osg/OccluderNode +++ b/include/osg/OccluderNode @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Plane b/include/osg/Plane index c2f4f57b7..b08029ecf 100644 --- a/include/osg/Plane +++ b/include/osg/Plane @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Point b/include/osg/Point index 132d43dc0..5e1caf179 100644 --- a/include/osg/Point +++ b/include/osg/Point @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/PolygonMode b/include/osg/PolygonMode index 69d67b375..1d3a04e9c 100644 --- a/include/osg/PolygonMode +++ b/include/osg/PolygonMode @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/PolygonOffset b/include/osg/PolygonOffset index fce8b221f..54a78276d 100644 --- a/include/osg/PolygonOffset +++ b/include/osg/PolygonOffset @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Polytope b/include/osg/Polytope index 201deef07..d4340d30d 100644 --- a/include/osg/Polytope +++ b/include/osg/Polytope @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/PositionAttitudeTransform b/include/osg/PositionAttitudeTransform index ee4c03f16..38565847f 100644 --- a/include/osg/PositionAttitudeTransform +++ b/include/osg/PositionAttitudeTransform @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Primitive b/include/osg/Primitive index 6e4ef4538..ea52e475b 100644 --- a/include/osg/Primitive +++ b/include/osg/Primitive @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Projection b/include/osg/Projection index fb4aa72a2..3e0679516 100644 --- a/include/osg/Projection +++ b/include/osg/Projection @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Quat b/include/osg/Quat index a9f796f80..55e9e7ed5 100644 --- a/include/osg/Quat +++ b/include/osg/Quat @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Referenced b/include/osg/Referenced index aecf71412..23f17fe74 100644 --- a/include/osg/Referenced +++ b/include/osg/Referenced @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/ShadeModel b/include/osg/ShadeModel index bbbee793b..6c028e444 100644 --- a/include/osg/ShadeModel +++ b/include/osg/ShadeModel @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/ShadowVolumeOccluder b/include/osg/ShadowVolumeOccluder index 65a6d30cb..e05d4cdd7 100644 --- a/include/osg/ShadowVolumeOccluder +++ b/include/osg/ShadowVolumeOccluder @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/State b/include/osg/State index d05f51d71..c34533295 100644 --- a/include/osg/State +++ b/include/osg/State @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/StateAttribute b/include/osg/StateAttribute index b2a106e8f..eb3c367d0 100644 --- a/include/osg/StateAttribute +++ b/include/osg/StateAttribute @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/StateSet b/include/osg/StateSet index 5227a4e19..abcb8dc28 100644 --- a/include/osg/StateSet +++ b/include/osg/StateSet @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Statistics b/include/osg/Statistics index 15726e38c..2484bfe7e 100644 --- a/include/osg/Statistics +++ b/include/osg/Statistics @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Stencil b/include/osg/Stencil index 3605d7d3a..705903426 100644 --- a/include/osg/Stencil +++ b/include/osg/Stencil @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Switch b/include/osg/Switch index efd439380..b3c078d2e 100644 --- a/include/osg/Switch +++ b/include/osg/Switch @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/TexEnv b/include/osg/TexEnv index b98f0e5d7..b94dc4bc2 100644 --- a/include/osg/TexEnv +++ b/include/osg/TexEnv @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/TexGen b/include/osg/TexGen index bb6e25dcd..aa879b0e1 100644 --- a/include/osg/TexGen +++ b/include/osg/TexGen @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/TexMat b/include/osg/TexMat index c960cec02..ec4d84110 100644 --- a/include/osg/TexMat +++ b/include/osg/TexMat @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Texture b/include/osg/Texture index aa63ccebd..cf872452b 100644 --- a/include/osg/Texture +++ b/include/osg/Texture @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/TextureCubeMap b/include/osg/TextureCubeMap index dc29ca022..4db20af5a 100644 --- a/include/osg/TextureCubeMap +++ b/include/osg/TextureCubeMap @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Timer b/include/osg/Timer index f8b3020f8..4abaca747 100644 --- a/include/osg/Timer +++ b/include/osg/Timer @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Transform b/include/osg/Transform index e58d76d61..acc6b1dd2 100644 --- a/include/osg/Transform +++ b/include/osg/Transform @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Transparency b/include/osg/Transparency index 854f02e3b..8ed610da1 100644 --- a/include/osg/Transparency +++ b/include/osg/Transparency @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Types b/include/osg/Types index 01d128eb1..b74770741 100644 --- a/include/osg/Types +++ b/include/osg/Types @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/UByte4 b/include/osg/UByte4 index 747575acd..b1b4406f7 100644 --- a/include/osg/UByte4 +++ b/include/osg/UByte4 @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Vec2 b/include/osg/Vec2 index c74a8c449..d058e2d33 100644 --- a/include/osg/Vec2 +++ b/include/osg/Vec2 @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Vec3 b/include/osg/Vec3 index 1b24f2de0..8caa57f0c 100644 --- a/include/osg/Vec3 +++ b/include/osg/Vec3 @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Vec4 b/include/osg/Vec4 index 012bfca3d..dc7168acd 100644 --- a/include/osg/Vec4 +++ b/include/osg/Vec4 @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Version b/include/osg/Version index 5121d1a34..2668c1e3a 100644 --- a/include/osg/Version +++ b/include/osg/Version @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/Viewport b/include/osg/Viewport index a7132ced7..b0b454475 100644 --- a/include/osg/Viewport +++ b/include/osg/Viewport @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/fast_back_stack b/include/osg/fast_back_stack index 1a2910c60..05140c124 100644 --- a/include/osg/fast_back_stack +++ b/include/osg/fast_back_stack @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osg/ref_ptr b/include/osg/ref_ptr index b0aabb2ec..4a16ffb9b 100644 --- a/include/osg/ref_ptr +++ b/include/osg/ref_ptr @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgDB/DotOsgWrapper b/include/osgDB/DotOsgWrapper index e1a93283d..269fb0938 100644 --- a/include/osgDB/DotOsgWrapper +++ b/include/osgDB/DotOsgWrapper @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgDB/DynamicLibrary b/include/osgDB/DynamicLibrary index 963d5c04a..61e30980a 100644 --- a/include/osgDB/DynamicLibrary +++ b/include/osgDB/DynamicLibrary @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgDB/Export b/include/osgDB/Export index 837da4490..d0ee9ba2b 100644 --- a/include/osgDB/Export +++ b/include/osgDB/Export @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgDB/Field b/include/osgDB/Field index 23857b24c..f5284d2a9 100644 --- a/include/osgDB/Field +++ b/include/osgDB/Field @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgDB/FieldReader b/include/osgDB/FieldReader index c2becc8b4..3fffbdb24 100644 --- a/include/osgDB/FieldReader +++ b/include/osgDB/FieldReader @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgDB/FieldReaderIterator b/include/osgDB/FieldReaderIterator index 148285fcc..668227685 100644 --- a/include/osgDB/FieldReaderIterator +++ b/include/osgDB/FieldReaderIterator @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgDB/FileNameUtils b/include/osgDB/FileNameUtils index 713dce841..c72d07843 100644 --- a/include/osgDB/FileNameUtils +++ b/include/osgDB/FileNameUtils @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgDB/FileUtils b/include/osgDB/FileUtils index 849d49f7a..36fded291 100644 --- a/include/osgDB/FileUtils +++ b/include/osgDB/FileUtils @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgDB/Input b/include/osgDB/Input index 1aa3f1819..db3d583a0 100644 --- a/include/osgDB/Input +++ b/include/osgDB/Input @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgDB/Output b/include/osgDB/Output index 8308b0974..95f3357e1 100644 --- a/include/osgDB/Output +++ b/include/osgDB/Output @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgDB/ReadFile b/include/osgDB/ReadFile index 5419c1821..172d21ada 100644 --- a/include/osgDB/ReadFile +++ b/include/osgDB/ReadFile @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgDB/ReaderWriter b/include/osgDB/ReaderWriter index 89e4b6bc4..22aec8316 100644 --- a/include/osgDB/ReaderWriter +++ b/include/osgDB/ReaderWriter @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgDB/Registry b/include/osgDB/Registry index 7324c3d64..d8f936633 100644 --- a/include/osgDB/Registry +++ b/include/osgDB/Registry @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgDB/Version b/include/osgDB/Version index 7eb0786f8..3b06b845a 100644 --- a/include/osgDB/Version +++ b/include/osgDB/Version @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgDB/WriteFile b/include/osgDB/WriteFile index e1556ba57..bc5b75292 100644 --- a/include/osgDB/WriteFile +++ b/include/osgDB/WriteFile @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgGA/CameraManipulator b/include/osgGA/CameraManipulator index 4d42f7c4d..e7262bd1f 100644 --- a/include/osgGA/CameraManipulator +++ b/include/osgGA/CameraManipulator @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgGA/DriveManipulator b/include/osgGA/DriveManipulator index 6214b3c21..1c229e0a0 100644 --- a/include/osgGA/DriveManipulator +++ b/include/osgGA/DriveManipulator @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgGA/Export b/include/osgGA/Export index 4f8789671..de0d3ef68 100644 --- a/include/osgGA/Export +++ b/include/osgGA/Export @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgGA/FlightManipulator b/include/osgGA/FlightManipulator index 42a502b6c..482645c3b 100644 --- a/include/osgGA/FlightManipulator +++ b/include/osgGA/FlightManipulator @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgGA/GUIActionAdapter b/include/osgGA/GUIActionAdapter index 293ff253d..ccbd51637 100644 --- a/include/osgGA/GUIActionAdapter +++ b/include/osgGA/GUIActionAdapter @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgGA/GUIEventAdapter b/include/osgGA/GUIEventAdapter index cb6dc031b..3b314911c 100644 --- a/include/osgGA/GUIEventAdapter +++ b/include/osgGA/GUIEventAdapter @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgGA/GUIEventHandler b/include/osgGA/GUIEventHandler index 629769e15..4f559e044 100644 --- a/include/osgGA/GUIEventHandler +++ b/include/osgGA/GUIEventHandler @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgGA/KeySwitchCameraManipulator b/include/osgGA/KeySwitchCameraManipulator index 1bfacefce..484f7dd29 100644 --- a/include/osgGA/KeySwitchCameraManipulator +++ b/include/osgGA/KeySwitchCameraManipulator @@ -1,3 +1,7 @@ +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield +//Distributed under the terms of the GNU Library General Public License (LGPL) +//as published by the Free Software Foundation. + #ifndef OSGUTIL_KEYSWITCCAMERAMANIPULATORHER #define OSGUTIL_KEYSWITCHCAMERAMANIPULATORER 1 diff --git a/include/osgGA/SetSceneViewVisitor b/include/osgGA/SetSceneViewVisitor index 56f8e341d..34611abf9 100644 --- a/include/osgGA/SetSceneViewVisitor +++ b/include/osgGA/SetSceneViewVisitor @@ -1,3 +1,7 @@ +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield +//Distributed under the terms of the GNU Library General Public License (LGPL) +//as published by the Free Software Foundation. + #ifndef OSGGA_SETSCENEVIEWGEHVISITOR #define OSGGA_SETSCENEVIEWGEHVISITOR 1 diff --git a/include/osgGA/StateSetManipulator b/include/osgGA/StateSetManipulator index 792c7010b..ae18f2f61 100644 --- a/include/osgGA/StateSetManipulator +++ b/include/osgGA/StateSetManipulator @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. @@ -21,13 +21,13 @@ class OSGGA_EXPORT StateSetManipulator : public GUIEventHandler StateSetManipulator(); virtual ~StateSetManipulator(); - /** attach a geostate to the manipulator to be used for specifying view.*/ + /** attach a stateset to the manipulator to be used for specifying view.*/ virtual void setStateSet(osg::StateSet*); - /** get the attached a geostate.*/ + /** get the attached a stateset.*/ virtual osg::StateSet * getStateSet(); - /** get the attached a geostate.*/ + /** get the attached a stateset.*/ virtual const osg::StateSet * getStateSet() const; /** Handle events, return true if handled, false otherwise.*/ diff --git a/include/osgGA/TrackballManipulator b/include/osgGA/TrackballManipulator index 61076708c..89ae726b8 100644 --- a/include/osgGA/TrackballManipulator +++ b/include/osgGA/TrackballManipulator @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgGA/Version b/include/osgGA/Version index f1640762e..39e161ed3 100644 --- a/include/osgGA/Version +++ b/include/osgGA/Version @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgGLUT/Export b/include/osgGLUT/Export index 7b614d0ef..124216dea 100644 --- a/include/osgGLUT/Export +++ b/include/osgGLUT/Export @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgGLUT/GLUTEventAdapter b/include/osgGLUT/GLUTEventAdapter index 2a2c71028..85a286a05 100644 --- a/include/osgGLUT/GLUTEventAdapter +++ b/include/osgGLUT/GLUTEventAdapter @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgGLUT/Version b/include/osgGLUT/Version index ba0fdddcb..5e10f2f26 100755 --- a/include/osgGLUT/Version +++ b/include/osgGLUT/Version @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgGLUT/Viewer b/include/osgGLUT/Viewer index 0e6983e32..e9d08fd11 100644 --- a/include/osgGLUT/Viewer +++ b/include/osgGLUT/Viewer @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgGLUT/Window b/include/osgGLUT/Window index 0b51784e6..9fdb7cafd 100644 --- a/include/osgGLUT/Window +++ b/include/osgGLUT/Window @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgGLUT/glut b/include/osgGLUT/glut index 1ea07e0c0..85549dbb4 100644 --- a/include/osgGLUT/glut +++ b/include/osgGLUT/glut @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgText/Export b/include/osgText/Export index cab008c89..c7601c187 100644 --- a/include/osgText/Export +++ b/include/osgText/Export @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgText/Font b/include/osgText/Font index 4f8ee95f7..573b6fee1 100644 --- a/include/osgText/Font +++ b/include/osgText/Font @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgText/Paragraph b/include/osgText/Paragraph index af7366dfd..624cbc354 100644 --- a/include/osgText/Paragraph +++ b/include/osgText/Paragraph @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgText/Text b/include/osgText/Text index ebb11ed2b..820a535f1 100644 --- a/include/osgText/Text +++ b/include/osgText/Text @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgText/Version b/include/osgText/Version index 53006c759..685c6c7be 100644 --- a/include/osgText/Version +++ b/include/osgText/Version @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgUtil/AppVisitor b/include/osgUtil/AppVisitor index 8edcea808..070f07dc8 100644 --- a/include/osgUtil/AppVisitor +++ b/include/osgUtil/AppVisitor @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgUtil/CullVisitor b/include/osgUtil/CullVisitor index 580617705..23a6f974d 100644 --- a/include/osgUtil/CullVisitor +++ b/include/osgUtil/CullVisitor @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgUtil/DepthSortedBin b/include/osgUtil/DepthSortedBin index 287499e25..1a1c629a4 100644 --- a/include/osgUtil/DepthSortedBin +++ b/include/osgUtil/DepthSortedBin @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgUtil/DisplayListVisitor b/include/osgUtil/DisplayListVisitor index 9690d093b..6e578a390 100644 --- a/include/osgUtil/DisplayListVisitor +++ b/include/osgUtil/DisplayListVisitor @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgUtil/DisplayRequirementsVisitor b/include/osgUtil/DisplayRequirementsVisitor index a078f77c4..4ea59aff8 100644 --- a/include/osgUtil/DisplayRequirementsVisitor +++ b/include/osgUtil/DisplayRequirementsVisitor @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgUtil/Export b/include/osgUtil/Export index 455117f12..72668536a 100644 --- a/include/osgUtil/Export +++ b/include/osgUtil/Export @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgUtil/InsertImpostorsVisitor b/include/osgUtil/InsertImpostorsVisitor index a97b3e97b..29db6464d 100644 --- a/include/osgUtil/InsertImpostorsVisitor +++ b/include/osgUtil/InsertImpostorsVisitor @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgUtil/IntersectVisitor b/include/osgUtil/IntersectVisitor index 3392a2b24..8a8ae9dd4 100644 --- a/include/osgUtil/IntersectVisitor +++ b/include/osgUtil/IntersectVisitor @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgUtil/Optimizer b/include/osgUtil/Optimizer index 86bcb632d..5e37f5e44 100644 --- a/include/osgUtil/Optimizer +++ b/include/osgUtil/Optimizer @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgUtil/RenderBin b/include/osgUtil/RenderBin index c0f824fe2..a57d24b14 100644 --- a/include/osgUtil/RenderBin +++ b/include/osgUtil/RenderBin @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgUtil/RenderGraph b/include/osgUtil/RenderGraph index f82b34a45..466aa63cf 100644 --- a/include/osgUtil/RenderGraph +++ b/include/osgUtil/RenderGraph @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgUtil/RenderLeaf b/include/osgUtil/RenderLeaf index 5cbc2d3c7..108ce6044 100644 --- a/include/osgUtil/RenderLeaf +++ b/include/osgUtil/RenderLeaf @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgUtil/RenderStage b/include/osgUtil/RenderStage index e4d095e3d..b434e0a8b 100644 --- a/include/osgUtil/RenderStage +++ b/include/osgUtil/RenderStage @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgUtil/RenderStageLighting b/include/osgUtil/RenderStageLighting index f19209906..0cac20693 100644 --- a/include/osgUtil/RenderStageLighting +++ b/include/osgUtil/RenderStageLighting @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgUtil/RenderToTextureStage b/include/osgUtil/RenderToTextureStage index 9b3cdfec1..66866bb10 100644 --- a/include/osgUtil/RenderToTextureStage +++ b/include/osgUtil/RenderToTextureStage @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgUtil/SceneView b/include/osgUtil/SceneView index 9b5ce4b0d..4b4477b04 100644 --- a/include/osgUtil/SceneView +++ b/include/osgUtil/SceneView @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgUtil/SmoothingVisitor b/include/osgUtil/SmoothingVisitor index 451b36b2a..f97355ab7 100644 --- a/include/osgUtil/SmoothingVisitor +++ b/include/osgUtil/SmoothingVisitor @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgUtil/Tesselator b/include/osgUtil/Tesselator index a0120117d..151490e64 100644 --- a/include/osgUtil/Tesselator +++ b/include/osgUtil/Tesselator @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgUtil/TriStripVisitor b/include/osgUtil/TriStripVisitor index 49d2daed4..f48b28298 100644 --- a/include/osgUtil/TriStripVisitor +++ b/include/osgUtil/TriStripVisitor @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation. diff --git a/include/osgUtil/Version b/include/osgUtil/Version index bceb99932..4ad0e38ad 100644 --- a/include/osgUtil/Version +++ b/include/osgUtil/Version @@ -1,4 +1,4 @@ -//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield +//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield //Distributed under the terms of the GNU Library General Public License (LGPL) //as published by the Free Software Foundation.