From 514e0d06d5f1219692bb088a06e07ba19de7168c Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 24 Jan 2003 23:36:35 +0000 Subject: [PATCH] Updates docs for release. --- doc/doc++/osg/AlphaFunc.html | 36 +- doc/doc++/osg/AnimationPath.html | 208 +++-- doc/doc++/osg/AnimationPathCallback.html | 148 +++- doc/doc++/osg/Array.html | 134 ++- doc/doc++/osg/ArrayVisitor.html | 76 +- doc/doc++/osg/AttributeFunctor.html | 72 +- doc/doc++/osg/Billboard.html | 378 +++++++-- doc/doc++/osg/BlendFunc.html | 112 ++- doc/doc++/osg/BoundingBox.html | 124 +-- doc/doc++/osg/BoundingSphere.html | 86 +- doc/doc++/osg/Box.html | 106 ++- .../osg/COMPARE_StateAttribute_Parameter.html | 2 +- .../osg/COMPARE_StateAttribute_Types.html | 2 +- doc/doc++/osg/Camera.html | 328 ++++---- doc/doc++/osg/ClearNode.html | 240 +++++- doc/doc++/osg/ClipNode.html | 240 +++++- doc/doc++/osg/ClipPlane.html | 40 +- doc/doc++/osg/CollectOccludersVisitor.html | 128 ++- doc/doc++/osg/ColorMask.html | 30 +- doc/doc++/osg/ColorMatrix.html | 30 +- doc/doc++/osg/CompositeShape.html | 88 +- doc/doc++/osg/Cone.html | 124 ++- doc/doc++/osg/ConstArrayVisitor.html | 12 +- doc/doc++/osg/ConstAttributeFunctor.html | 12 +- doc/doc++/osg/ConstShapeVisitor.html | 10 +- doc/doc++/osg/ConstValueVisitor.html | 10 +- doc/doc++/osg/ConvexHull.html | 44 +- doc/doc++/osg/ConvexPlanarOccluder.html | 56 +- doc/doc++/osg/ConvexPlanarPolygon.html | 2 +- doc/doc++/osg/CopyOp.html | 10 +- doc/doc++/osg/CullFace.html | 32 +- doc/doc++/osg/CullStack.html | 388 ++++----- doc/doc++/osg/CullingSet.html | 173 ++-- doc/doc++/osg/Cylinder.html | 116 ++- doc/doc++/osg/DOFTransform.html | 534 ++++++++---- doc/doc++/osg/DeleteHandler.html | 69 ++ doc/doc++/osg/Depth.html | 130 ++- doc/doc++/osg/DisplaySettings.html | 316 ++++---- doc/doc++/osg/DrawArrayLengths.html | 121 +-- doc/doc++/osg/DrawArrays.html | 123 +-- doc/doc++/osg/DrawElementsUByte.html | 101 ++- doc/doc++/osg/DrawElementsUInt.html | 101 ++- doc/doc++/osg/DrawElementsUShort.html | 101 +-- doc/doc++/osg/DrawPixels.html | 208 +++-- doc/doc++/osg/Drawable.html | 455 ++++++----- doc/doc++/osg/Extensions.2.html | 189 +++++ doc/doc++/osg/Extensions.3.html | 117 +++ doc/doc++/osg/Extensions.html | 108 ++- doc/doc++/osg/Fog.html | 158 ++-- doc/doc++/osg/FrameStamp.html | 108 ++- doc/doc++/osg/FrontFace.html | 80 +- doc/doc++/osg/General.html | 385 ++++++--- doc/doc++/osg/GeoSet.html | 110 ++- doc/doc++/osg/Geode.html | 354 ++++++-- doc/doc++/osg/Geometry.html | 598 +++++++------- doc/doc++/osg/Grid.html | 66 +- doc/doc++/osg/Group.html | 360 +++++++-- doc/doc++/osg/HIER.html | 81 +- doc/doc++/osg/HIERjava.html | 36 +- doc/doc++/osg/HeightField.html | 140 ++-- doc/doc++/osg/Image.html | 290 +++---- doc/doc++/osg/Impostor.html | 330 ++++++-- doc/doc++/osg/ImpostorSprite.html | 291 +++---- doc/doc++/osg/ImpostorSpriteManager.html | 66 +- doc/doc++/osg/IndexArray.html | 52 +- doc/doc++/osg/InfinitePlane.html | 61 +- doc/doc++/osg/LOD.html | 358 ++++++-- doc/doc++/osg/Light.html | 198 +++-- doc/doc++/osg/LightModel.html | 116 ++- doc/doc++/osg/LightSource.html | 338 +++++++- doc/doc++/osg/LineSegment.html | 110 ++- doc/doc++/osg/LineStipple.html | 82 +- doc/doc++/osg/LineWidth.html | 68 +- doc/doc++/osg/META_Node.html | 4 +- doc/doc++/osg/META_Object.html | 4 +- doc/doc++/osg/META_Shape.html | 4 +- doc/doc++/osg/META_StateAttribute.html | 4 +- doc/doc++/osg/Material.html | 254 +++--- doc/doc++/osg/Matrix.html | 491 +++++------ doc/doc++/osg/MatrixTransform.html | 344 ++++++-- doc/doc++/osg/Node.html | 543 ++++++++----- doc/doc++/osg/NodeAcceptOp.html | 22 +- doc/doc++/osg/NodeCallback.html | 122 ++- doc/doc++/osg/NodePath.html | 6 +- doc/doc++/osg/NodeVisitor.html | 314 ++++---- doc/doc++/osg/NotifySeverity.html | 30 +- doc/doc++/osg/OSGUTX_ADD_TESTCASE.html | 2 +- doc/doc++/osg/OSGUTX_ADD_TESTSUITE.html | 2 +- .../osg/OSGUTX_AUTOREGISTER_TESTSUITE.html | 2 +- .../osg/OSGUTX_AUTOREGISTER_TESTSUITE_AT.html | 2 +- doc/doc++/osg/OSGUTX_BEGIN_TESTSUITE.html | 2 +- doc/doc++/osg/OSGUTX_END_TESTSUITE.html | 2 +- doc/doc++/osg/OSGUTX_TESTSUITE.html | 2 +- doc/doc++/osg/OSGUTX_TEST_E.html | 2 +- doc/doc++/osg/OSGUTX_TEST_F.html | 2 +- doc/doc++/osg/OSG_GL_DEBUG.html | 2 +- doc/doc++/osg/Object.html | 107 ++- doc/doc++/osg/OccluderNode.html | 278 ++++++- doc/doc++/osg/Plane.html | 162 ++-- doc/doc++/osg/Point.html | 100 ++- doc/doc++/osg/PolygonMode.html | 106 ++- doc/doc++/osg/PolygonOffset.html | 82 +- doc/doc++/osg/PolygonStipple.html | 70 +- doc/doc++/osg/Polytope.html | 204 ++--- doc/doc++/osg/PositionAttitudeTransform.html | 357 ++++++-- doc/doc++/osg/PrimitiveFunctor.html | 46 +- doc/doc++/osg/PrimitiveSet.html | 143 ++-- doc/doc++/osg/Projection.html | 284 ++++++- doc/doc++/osg/QualifiedTestPrinter.html | 6 +- doc/doc++/osg/Quat.html | 208 ++--- doc/doc++/osg/RefMatrix.html | 331 ++++++++ doc/doc++/osg/Referenced.html | 114 ++- doc/doc++/osg/Sequence.html | 430 +++++++--- doc/doc++/osg/ShadeModel.html | 80 +- doc/doc++/osg/ShadowVolumeOccluder.html | 126 +-- doc/doc++/osg/ShadowVolumeOccluderList.html | 2 +- doc/doc++/osg/Shape.html | 69 +- doc/doc++/osg/ShapeDrawable.html | 176 ++-- doc/doc++/osg/ShapeVisitor.html | 42 +- doc/doc++/osg/Sphere.html | 82 +- doc/doc++/osg/State.html | 761 +++++++++++++----- doc/doc++/osg/StateAttribute.html | 231 +++--- doc/doc++/osg/StateSet.html | 430 +++++----- doc/doc++/osg/Statistics.html | 199 ++--- doc/doc++/osg/Stencil.html | 192 +++-- doc/doc++/osg/SubloadCallback.2.html | 24 +- doc/doc++/osg/SubloadCallback.3.html | 24 +- doc/doc++/osg/SubloadCallback.4.html | 24 +- doc/doc++/osg/SubloadCallback.html | 24 +- doc/doc++/osg/Switch.html | 378 +++++++-- doc/doc++/osg/TemplateArray.html | 94 ++- doc/doc++/osg/TemplateIndexArray.html | 98 ++- doc/doc++/osg/TessellationHints.html | 148 ++-- doc/doc++/osg/Test.html | 52 +- doc/doc++/osg/TestCase.html | 50 +- doc/doc++/osg/TestCase_.html | 51 +- doc/doc++/osg/TestContext.html | 42 +- doc/doc++/osg/TestErrorX.html | 8 +- doc/doc++/osg/TestFailureX.html | 8 +- doc/doc++/osg/TestGraph.html | 22 +- doc/doc++/osg/TestQualifier.html | 16 +- doc/doc++/osg/TestRecord.html | 34 +- doc/doc++/osg/TestReport.html | 8 +- doc/doc++/osg/TestRunner.html | 26 +- doc/doc++/osg/TestSuite.html | 68 +- .../osg/TestSuiteAutoRegistrationAgent.html | 6 +- doc/doc++/osg/TestVisitor.html | 28 +- doc/doc++/osg/TestX.html | 16 +- doc/doc++/osg/TexEnv.html | 106 ++- doc/doc++/osg/TexEnvCombine.html | 338 ++++---- doc/doc++/osg/TexGen.html | 148 ++-- doc/doc++/osg/TexMat.html | 74 +- doc/doc++/osg/Texture.html | 366 +++++---- doc/doc++/osg/Texture1D.html | 190 +++-- doc/doc++/osg/Texture2D.html | 188 +++-- doc/doc++/osg/Texture3D.html | 198 +++-- doc/doc++/osg/TextureCubeMap.html | 210 +++-- doc/doc++/osg/Timer.html | 46 +- doc/doc++/osg/TraceStream.html | 30 +- doc/doc++/osg/Transform.html | 384 +++++++-- doc/doc++/osg/TriangleFunctor.html | 68 +- doc/doc++/osg/TriangleMesh.html | 76 +- doc/doc++/osg/UByte4.html | 114 +-- doc/doc++/osg/ValueVisitor.html | 50 +- doc/doc++/osg/Vec2.html | 126 +-- doc/doc++/osg/Vec3.html | 138 ++-- doc/doc++/osg/Vec4.html | 156 ++-- doc/doc++/osg/VectorSizei.2.html | 31 + doc/doc++/osg/VectorSizei.html | 22 +- doc/doc++/osg/VectorUByte.2.html | 31 + doc/doc++/osg/VectorUByte.html | 22 +- doc/doc++/osg/VectorUInt.2.html | 31 + doc/doc++/osg/VectorUInt.html | 22 +- doc/doc++/osg/VectorUShort.2.html | 31 + doc/doc++/osg/VectorUShort.html | 22 +- doc/doc++/osg/VertexProgram.html | 269 +++++++ doc/doc++/osg/Viewport.html | 110 ++- doc/doc++/osg/buffered_value.html | 36 +- doc/doc++/osg/clampArray3BetweenRange.html | 4 +- doc/doc++/osg/clampArray3GEQUAL.html | 4 +- doc/doc++/osg/clampArray3LEQUAL.html | 4 +- doc/doc++/osg/clampArray4BetweenRange.html | 4 +- doc/doc++/osg/clampArray4GEQUAL.html | 4 +- doc/doc++/osg/clampArray4LEQUAL.html | 4 +- .../osg/clampArrayElementBetweenRange.html | 4 +- doc/doc++/osg/clampArrayElementGEQUAL.html | 4 +- doc/doc++/osg/clampArrayElementLEQUAL.html | 4 +- .../osg/clampArrayElementsBetweenRange.html | 4 +- doc/doc++/osg/clampArrayElementsGEQUAL.html | 4 +- doc/doc++/osg/clampArrayElementsLEQUAL.html | 4 +- doc/doc++/osg/clampBetweenRange.html | 4 +- doc/doc++/osg/clampGEQUAL.html | 4 +- doc/doc++/osg/clampLEQUAL.html | 4 +- doc/doc++/osg/createGeodeForImage.2.html | 6 +- doc/doc++/osg/createGeodeForImage.html | 6 +- doc/doc++/osg/fast_back_stack.html | 78 +- doc/doc++/osg/for_each_triangle.html | 4 +- doc/doc++/osg/getGLExtensionFuncPtr.2.html | 2 +- doc/doc++/osg/getGLExtensionFuncPtr.html | 2 +- doc/doc++/osg/getNotifyLevel.html | 6 +- doc/doc++/osg/globalnotifylevel..html | 2 +- doc/doc++/osg/globalnotifynulstream..html | 2 +- doc/doc++/osg/index.html | 115 ++- doc/doc++/osg/initNotifyLevel.html | 6 +- doc/doc++/osg/isGLExtensionSupported.html | 6 +- doc/doc++/osg/isGLUExtensionSupported.html | 6 +- doc/doc++/osg/notify.html | 6 +- doc/doc++/osg/operator.2.html | 2 +- doc/doc++/osg/operator.html | 2 +- doc/doc++/osg/osg.html | 307 +++---- doc/doc++/osg/osgGetLibraryName.html | 2 +- doc/doc++/osg/osgGetVersion.html | 2 +- doc/doc++/osg/osgUtx.html | 2 +- doc/doc++/osg/ref_ptr.html | 118 +-- doc/doc++/osg/setNotifyLevel.html | 6 +- ...nSG_EXPORTNotifySeverityg_NotifyLevel.html | 16 + .../osg/xternSG_EXPORTboolg_NotifyInit.html | 16 + ...dauto_ptrstdofstreamg_NotifyNulStream.html | 16 + doc/doc++/osgDB/DirectoryContents.html | 2 +- doc/doc++/osgDB/DotOsgWrapper.html | 2 +- doc/doc++/osgDB/DynamicLibrary.html | 2 +- doc/doc++/osgDB/Field.html | 2 +- doc/doc++/osgDB/FieldReader.html | 2 +- doc/doc++/osgDB/FieldReaderIterator.html | 86 +- doc/doc++/osgDB/FilePathList.html | 2 +- doc/doc++/osgDB/General.html | 9 +- doc/doc++/osgDB/HIER.html | 3 +- doc/doc++/osgDB/HIERjava.html | 19 +- doc/doc++/osgDB/Input.html | 30 +- doc/doc++/osgDB/Options.html | 26 +- doc/doc++/osgDB/Output.html | 2 +- doc/doc++/osgDB/ParameterOutput.html | 87 ++ doc/doc++/osgDB/PushAndPopDataPath.html | 2 +- doc/doc++/osgDB/ReadResult.html | 108 +-- doc/doc++/osgDB/ReaderWriter.html | 38 +- .../osgDB/RegisterDotOsgWrapperProxy.html | 14 +- .../osgDB/RegisterReaderWriterProxy.html | 14 +- doc/doc++/osgDB/Registry.html | 345 +++++--- doc/doc++/osgDB/WriteResult.html | 64 +- doc/doc++/osgDB/fileExists.html | 6 +- doc/doc++/osgDB/findFileInDirectory.html | 6 +- doc/doc++/osgDB/findFileInPath.html | 6 +- doc/doc++/osgDB/getDirectoryContents.html | 6 +- doc/doc++/osgDB/index.html | 3 +- doc/doc++/osgDB/osgDB.html | 94 ++- doc/doc++/osgDB/osgDBGetLibraryName.html | 2 +- doc/doc++/osgDB/osgDBGetVersion.html | 2 +- doc/doc++/osgDB/readCommandLine.html | 2 +- doc/doc++/osgDB/readImageFile.html | 6 +- doc/doc++/osgDB/readNodeFile.html | 6 +- doc/doc++/osgDB/readNodeFiles.html | 6 +- doc/doc++/osgDB/readObjectFile.html | 6 +- doc/doc++/osgDB/writeImageFile.html | 6 +- doc/doc++/osgDB/writeNodeFile.html | 6 +- doc/doc++/osgDB/writeObjectFile.html | 6 +- doc/doc++/osgGA/AnimationPathManipulator.html | 2 +- doc/doc++/osgGA/CameraManipulator.html | 2 +- doc/doc++/osgGA/CompositeGUIEventHandler.html | 2 +- doc/doc++/osgGA/DriveManipulator.html | 2 +- doc/doc++/osgGA/FlightManipulator.html | 2 +- doc/doc++/osgGA/GUIActionAdapter.html | 2 +- doc/doc++/osgGA/GUIEventAdapter.html | 150 +++- doc/doc++/osgGA/GUIEventHandler.html | 2 +- doc/doc++/osgGA/GUIEventHandlerVisitor.html | 2 +- doc/doc++/osgGA/General.html | 2 +- doc/doc++/osgGA/HIER.html | 2 +- doc/doc++/osgGA/HIERjava.html | 2 +- .../osgGA/KeySwitchCameraManipulator.html | 62 +- doc/doc++/osgGA/SetSceneViewVisitor.html | 2 +- doc/doc++/osgGA/StateSetManipulator.html | 2 +- doc/doc++/osgGA/TrackballManipulator.html | 2 +- doc/doc++/osgGA/index.html | 2 +- doc/doc++/osgGA/osgGA.html | 2 +- doc/doc++/osgGA/osgGAGetLibraryName.html | 2 +- doc/doc++/osgGA/osgGAGetVersion.html | 2 +- doc/doc++/osgGA/spaceosgGA.html | 2 +- doc/doc++/osgGLUT/GLUTEventAdapter.html | 176 ++-- doc/doc++/osgGLUT/General.html | 10 +- doc/doc++/osgGLUT/HIER.html | 2 +- doc/doc++/osgGLUT/HIERjava.html | 2 +- doc/doc++/osgGLUT/Viewer.html | 386 ++++----- doc/doc++/osgGLUT/Window.html | 214 ++--- doc/doc++/osgGLUT/index.html | 2 +- doc/doc++/osgGLUT/osgGLUT.html | 2 +- doc/doc++/osgGLUT/osgGLUTGetLibraryName.html | 2 +- doc/doc++/osgGLUT/osgGLUTGetVersion.html | 2 +- doc/doc++/osgParticle/AccelOperator.html | 2 +- doc/doc++/osgParticle/CenteredPlacer.html | 2 +- doc/doc++/osgParticle/Counter.html | 2 +- doc/doc++/osgParticle/Emitter.html | 2 +- .../osgParticle/FluidFrictionOperator.html | 2 +- doc/doc++/osgParticle/ForceOperator.html | 2 +- doc/doc++/osgParticle/General.html | 10 +- doc/doc++/osgParticle/HIER.html | 2 +- doc/doc++/osgParticle/HIERjava.html | 2 +- doc/doc++/osgParticle/Interpolator.html | 2 +- doc/doc++/osgParticle/LinearInterpolator.html | 2 +- doc/doc++/osgParticle/ModularEmitter.html | 2 +- doc/doc++/osgParticle/ModularProgram.html | 2 +- doc/doc++/osgParticle/MultiSegmentPlacer.html | 2 +- doc/doc++/osgParticle/Operator.html | 2 +- doc/doc++/osgParticle/Particle.html | 2 +- doc/doc++/osgParticle/ParticleProcessor.html | 2 +- doc/doc++/osgParticle/ParticleSystem.html | 2 +- .../osgParticle/ParticleSystemUpdater.html | 2 +- doc/doc++/osgParticle/Placer.html | 2 +- doc/doc++/osgParticle/PointPlacer.html | 2 +- doc/doc++/osgParticle/Program.html | 2 +- doc/doc++/osgParticle/RadialShooter.html | 2 +- doc/doc++/osgParticle/RandomRateCounter.html | 2 +- doc/doc++/osgParticle/SectorPlacer.html | 52 +- doc/doc++/osgParticle/SegmentPlacer.html | 56 +- doc/doc++/osgParticle/Shooter.html | 36 +- .../osgParticle/VariableRateCounter.html | 36 +- doc/doc++/osgParticle/index.html | 2 +- doc/doc++/osgParticle/osgParticle.html | 24 +- doc/doc++/osgParticle/range.html | 26 +- doc/doc++/osgParticle/rangef.html | 2 +- doc/doc++/osgParticle/rangev2.html | 2 +- doc/doc++/osgParticle/rangev3.html | 2 +- doc/doc++/osgParticle/rangev4.html | 2 +- doc/doc++/osgSim/AzimElevationSector.html | 116 +++ doc/doc++/osgSim/AzimRange.html | 88 ++ doc/doc++/osgSim/AzimSector.html | 91 +++ doc/doc++/osgSim/BlinkSequence.html | 172 ++++ doc/doc++/osgSim/ConeSector.html | 121 +++ doc/doc++/osgSim/ElevationRange.html | 100 +++ doc/doc++/osgSim/ElevationSector.html | 111 +++ doc/doc++/osgSim/General.html | 49 ++ doc/doc++/osgSim/HIER.html | 37 + doc/doc++/osgSim/HIERjava.html | 65 ++ doc/doc++/osgSim/LightPoint.html | 136 ++++ doc/doc++/osgSim/LightPointNode.html | 138 ++++ doc/doc++/osgSim/Sector.html | 60 ++ doc/doc++/osgSim/SequenceGroup.html | 63 ++ doc/doc++/osgSim/index.html | 44 + doc/doc++/osgSim/osgSim.html | 45 ++ doc/doc++/osgSim/osgSimGetLibraryName.html | 21 + doc/doc++/osgSim/osgSimGetVersion.html | 34 + doc/doc++/osgText/BitmapFont.html | 28 +- doc/doc++/osgText/EncodedText.html | 188 +++++ doc/doc++/osgText/Font.html | 136 ++-- doc/doc++/osgText/General.html | 5 +- doc/doc++/osgText/HIER.html | 3 +- doc/doc++/osgText/HIERjava.html | 9 +- doc/doc++/osgText/META_Font.html | 2 +- doc/doc++/osgText/OutlineFont.html | 28 +- doc/doc++/osgText/Paragraph.html | 100 +-- doc/doc++/osgText/PixmapFont.html | 28 +- doc/doc++/osgText/PolygonFont.html | 32 +- doc/doc++/osgText/RasterFont.html | 32 +- doc/doc++/osgText/Text.html | 326 +++++--- doc/doc++/osgText/TextureFont.html | 32 +- doc/doc++/osgText/VectorFont.html | 36 +- doc/doc++/osgText/index.html | 3 +- doc/doc++/osgText/osgText.html | 4 +- doc/doc++/osgText/osgTextGetLibraryName.html | 2 +- doc/doc++/osgText/osgTextGetVersion.html | 2 +- doc/doc++/osgUtil/CombineLODsVisitor.html | 24 +- .../ConvertGeoSetsToGeometryVisitor.html | 14 +- doc/doc++/osgUtil/CubeMapGenerator.html | 48 +- doc/doc++/osgUtil/CullVisitor.html | 338 ++++---- doc/doc++/osgUtil/DisplayListVisitor.html | 62 +- .../osgUtil/DisplayRequirementsVisitor.html | 34 +- .../FlattenStaticTransformsVisitor.html | 68 +- doc/doc++/osgUtil/General.html | 8 +- doc/doc++/osgUtil/HIER.html | 8 +- doc/doc++/osgUtil/HIERjava.html | 18 +- doc/doc++/osgUtil/HalfWayMapGenerator.html | 28 +- doc/doc++/osgUtil/HighlightMapGenerator.html | 28 +- doc/doc++/osgUtil/Hit.html | 98 +-- doc/doc++/osgUtil/InsertImpostorsVisitor.html | 78 +- doc/doc++/osgUtil/IntersectState.html | 74 +- doc/doc++/osgUtil/IntersectVisitor.html | 111 +-- doc/doc++/osgUtil/LeafDepthSortFunctor.html | 6 +- doc/doc++/osgUtil/MergeGeometryVisitor.html | 48 +- doc/doc++/osgUtil/Optimizer.html | 38 +- doc/doc++/osgUtil/ReflectionMapGenerator.html | 28 +- doc/doc++/osgUtil/RegisterRenderBinProxy.html | 14 +- .../osgUtil/RemoveEmptyNodesVisitor.html | 34 +- .../osgUtil/RemoveRedundantNodesVisitor.html | 84 ++ doc/doc++/osgUtil/RenderBin.html | 250 +++--- doc/doc++/osgUtil/RenderGraph.html | 124 +-- doc/doc++/osgUtil/RenderLeaf.html | 46 +- doc/doc++/osgUtil/RenderStage.html | 212 ++--- doc/doc++/osgUtil/RenderStageLighting.html | 62 +- doc/doc++/osgUtil/RenderToTextureStage.html | 96 +-- doc/doc++/osgUtil/SceneView.html | 544 ++++++------- doc/doc++/osgUtil/SmoothingVisitor.html | 14 +- doc/doc++/osgUtil/StateVisitor.html | 42 +- doc/doc++/osgUtil/Tesselator.html | 194 ++--- doc/doc++/osgUtil/TransformCallback.html | 30 +- doc/doc++/osgUtil/TriStripVisitor.html | 14 +- doc/doc++/osgUtil/UpdateVisitor.html | 160 ++++ doc/doc++/osgUtil/index.html | 4 +- doc/doc++/osgUtil/osgUtil.html | 8 +- doc/doc++/osgUtil/osgUtilGetLibraryName.html | 2 +- doc/doc++/osgUtil/osgUtilGetVersion.html | 2 +- 398 files changed, 20056 insertions(+), 12262 deletions(-) create mode 100644 doc/doc++/osg/DeleteHandler.html create mode 100644 doc/doc++/osg/Extensions.2.html create mode 100644 doc/doc++/osg/Extensions.3.html create mode 100644 doc/doc++/osg/RefMatrix.html create mode 100644 doc/doc++/osg/VectorSizei.2.html create mode 100644 doc/doc++/osg/VectorUByte.2.html create mode 100644 doc/doc++/osg/VectorUInt.2.html create mode 100644 doc/doc++/osg/VectorUShort.2.html create mode 100644 doc/doc++/osg/VertexProgram.html create mode 100644 doc/doc++/osg/xternSG_EXPORTNotifySeverityg_NotifyLevel.html create mode 100644 doc/doc++/osg/xternSG_EXPORTboolg_NotifyInit.html create mode 100644 doc/doc++/osg/xternSG_EXPORTstdauto_ptrstdofstreamg_NotifyNulStream.html create mode 100644 doc/doc++/osgDB/ParameterOutput.html create mode 100644 doc/doc++/osgSim/AzimElevationSector.html create mode 100644 doc/doc++/osgSim/AzimRange.html create mode 100644 doc/doc++/osgSim/AzimSector.html create mode 100644 doc/doc++/osgSim/BlinkSequence.html create mode 100644 doc/doc++/osgSim/ConeSector.html create mode 100644 doc/doc++/osgSim/ElevationRange.html create mode 100644 doc/doc++/osgSim/ElevationSector.html create mode 100644 doc/doc++/osgSim/General.html create mode 100644 doc/doc++/osgSim/HIER.html create mode 100644 doc/doc++/osgSim/HIERjava.html create mode 100644 doc/doc++/osgSim/LightPoint.html create mode 100644 doc/doc++/osgSim/LightPointNode.html create mode 100644 doc/doc++/osgSim/Sector.html create mode 100644 doc/doc++/osgSim/SequenceGroup.html create mode 100644 doc/doc++/osgSim/index.html create mode 100644 doc/doc++/osgSim/osgSim.html create mode 100644 doc/doc++/osgSim/osgSimGetLibraryName.html create mode 100644 doc/doc++/osgSim/osgSimGetVersion.html create mode 100644 doc/doc++/osgText/EncodedText.html create mode 100644 doc/doc++/osgUtil/RemoveRedundantNodesVisitor.html create mode 100644 doc/doc++/osgUtil/UpdateVisitor.html diff --git a/doc/doc++/osg/AlphaFunc.html b/doc/doc++/osg/AlphaFunc.html index 6e2834e3f..d06f0a0f1 100644 --- a/doc/doc++/osg/AlphaFunc.html +++ b/doc/doc++/osg/AlphaFunc.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::AlphaFunc - + @@ -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(osg, 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 getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
-[more]inline void setFunction(ComparisonFunction func, float ref) +[more]inline void setFunction(ComparisonFunction func, float ref)
[more]inline ComparisonFunction getFunction() const
@@ -76,7 +76,7 @@
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
@@ -109,9 +109,9 @@

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -127,7 +127,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -139,26 +139,22 @@

Public Methods

oinline Referenced& operator = (Referenced&)
-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -180,7 +176,7 @@

-

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

@@ -189,7 +185,7 @@

-

ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const +
ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

@@ -231,7 +227,7 @@ -

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

diff --git a/doc/doc++/osg/AnimationPath.html b/doc/doc++/osg/AnimationPath.html index 87807fb01..afcb9800e 100644 --- a/doc/doc++/osg/AnimationPath.html +++ b/doc/doc++/osg/AnimationPath.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::AnimationPath - + @@ -11,11 +11,11 @@


Inheritance:

- - - - - + + + + +
@@ -25,51 +25,91 @@

Public Methods

[more] AnimationPath()
-[more]bool getMatrix(double time, Matrix& matrix) const +[more] AnimationPath(const AnimationPath& ap, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
+[more] META_Object(osg, AnimationPath) +
+[more]bool getMatrix(double time, Matrix& matrix) const
get the transformation matrix for a point in time
-[more]bool getInverse(double time, Matrix& matrix) const +[more]bool getInverse(double time, Matrix& matrix) const
get the inverse transformation matrix for a point in time
-[more]virtual bool getInterpolatedControlPoint(double time, ControlPoint& controlPoint) const +[more]virtual bool getInterpolatedControlPoint(double time, ControlPoint& controlPoint) const
get the local ControlPoint frame for a point in time
-[more]void insert(double time, const ControlPoint& controlPoint) +[more]void insert(double time, const ControlPoint& controlPoint)
-[more]double getFirstTime() const +[more]double getFirstTime() const
-[more]double getLastTime() const +[more]double getLastTime() const
-[more]double getPeriod() const +[more]double getPeriod() const
-[more]void setLoopMode(LoopMode lm) +[more]void setLoopMode(LoopMode lm)
-[more]LoopMode getLoopMode() const +[more]LoopMode getLoopMode() const
-[more]TimeControlPointMap& getTimeControlPointMap() +[more]TimeControlPointMap& getTimeControlPointMap()
-[more]const TimeControlPointMap& getTimeControlPointMap() const +[more]const TimeControlPointMap& getTimeControlPointMap() const

Public Members

-[more]struct ControlPoint +[more]enum LoopMode
-[more]enum LoopMode -
-[more]typedef std::map<double,ControlPoint> TimeControlPointMap +[more]typedef std::map<double,ControlPoint> TimeControlPointMap

Protected Fields

-[more]TimeControlPointMap _timeControlPointMap +[more]TimeControlPointMap _timeControlPointMap
-[more]LoopMode _loopMode +[more]LoopMode _loopMode

Protected Methods

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

+ + +

Inherited from Object:

+
+

+

Public Methods

+ovirtual Object* cloneType() const +
+ovirtual Object* clone(const CopyOp&) const +
+ovirtual bool isSameKindAs(const Object*) const +
+ovirtual const char* libraryName() const +
+ovirtual const char* className() const +
+oinline void setDataVariance(DataVariance dv) +
+oinline DataVariance getDataVariance() const +
+oinline void setUserData(Referenced* obj) +
+oinline Referenced* getUserData() +
+oinline const Referenced* getUserData() const +

+ +

+

Public Members

+oenum DataVariance +

+ +

+

Protected Fields

+oDataVariance _dataVariance +
+oref_ptr<Referenced> _userData

@@ -79,26 +119,22 @@

Public Methods

oinline Referenced& operator = (Referenced&)
-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -115,132 +151,94 @@ be attached directly to Transform nodes to move subgraphs around the scene.
o AnimationPath()

- + -

ostruct ControlPoint -

- - - -
o ControlPoint() +
o AnimationPath(const AnimationPath& ap, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

- - -

o ControlPoint(const osg::Vec3& position) -

- - -

o ControlPoint(const osg::Vec3& position, const osg::Quat& rotation) -

- - -

o ControlPoint(const osg::Vec3& position, const osg::Quat& rotation, const osg::Vec3& scale) -

- - -

oosg::Vec3 _position -

- - -

oosg::Quat _rotation -

- - -

oosg::Vec3 _scale -

- - -

oinline void interpolate(float ratio, const ControlPoint& first, const ControlPoint& second) -

- - -

oinline void getMatrix(Matrix& matrix) const -

- - -

oinline void getInverse(Matrix& matrix) const -

- - + +
o META_Object(osg, AnimationPath) +

+ +

obool getMatrix(double time, Matrix& matrix) const
get the transformation matrix for a point in time

- +

obool getInverse(double time, Matrix& matrix) const
get the inverse transformation matrix for a point in time

- -

ovirtual bool getInterpolatedControlPoint(double time, ControlPoint& controlPoint) const + +
ovirtual bool getInterpolatedControlPoint(double time, ControlPoint& controlPoint) const
get the local ControlPoint frame for a point in time

- -

ovoid insert(double time, const ControlPoint& controlPoint) + +
ovoid insert(double time, const ControlPoint& controlPoint)

- +

odouble getFirstTime() const

- +

odouble getLastTime() const

- +

odouble getPeriod() const

- +

oenum LoopMode

- +
o SWING

- +

o LOOP

- +

o NO_LOOPING

- -
ovoid setLoopMode(LoopMode lm) + +
ovoid setLoopMode(LoopMode lm)

- -

oLoopMode getLoopMode() const + +
oLoopMode getLoopMode() const

- -

otypedef std::map<double,ControlPoint> TimeControlPointMap -

- -

oTimeControlPointMap& getTimeControlPointMap() +
otypedef std::map<double,ControlPoint> TimeControlPointMap

-

oconst TimeControlPointMap& getTimeControlPointMap() const +
oTimeControlPointMap& getTimeControlPointMap() +

+ + +

oconst TimeControlPointMap& getTimeControlPointMap() const

- +

ovirtual ~AnimationPath()

- -

oTimeControlPointMap _timeControlPointMap + +
oTimeControlPointMap _timeControlPointMap

- -

oLoopMode _loopMode + +
oLoopMode _loopMode


This class has no child classes.
diff --git a/doc/doc++/osg/AnimationPathCallback.html b/doc/doc++/osg/AnimationPathCallback.html index 0ce2bee00..d76905558 100644 --- a/doc/doc++/osg/AnimationPathCallback.html +++ b/doc/doc++/osg/AnimationPathCallback.html @@ -2,20 +2,19 @@ - class SG_EXPORT osg::MatrixTransform::AnimationPathCallback - + class SG_EXPORT osg::AnimationPathCallback + -

class SG_EXPORT AnimationPathCallback

Callback which can be attached to a MatrixTransform as an app callback to allow it to follow the path defined by a AnimationPath
-
+

class SG_EXPORT osg::AnimationPathCallback


Inheritance:

- - - - - + + + + +
@@ -23,23 +22,40 @@

Public Fields

-[more]ref_ptr<AnimationPath> _animationPath +[more]ref_ptr<AnimationPath> _animationPath
-[more]double _timeOffset +[more]double _timeOffset
-[more]double _timeMultiplier +[more]double _timeMultiplier
-[more]double _firstTime +[more]double _firstTime +
+[more]mutable double _animationTime

Public Methods

-[more] AnimationPathCallback(AnimationPath* ap, double timeOffset=0.0f, double timeMultiplier=1.0f) +[more] AnimationPathCallback()
-[more]virtual void operator()(Node* node, NodeVisitor* nv) +[more] AnimationPathCallback(const AnimationPathCallback& apc, const CopyOp& copyop) +
+[more]META_Object (osg, AnimationPathCallback)(AnimationPath* ap, double timeOffset=0.0f, double timeMultiplier=1.0f) +
+[more]void setAnimationPath(AnimationPath* path) +
+[more]AnimationPath* getAnimationPath() +
+[more]const AnimationPath* getAnimationPath() const +
+[more]virtual void operator()(Node* node, NodeVisitor* nv)
implements the callback

+

+

Protected Methods

+[more] ~AnimationPathCallback() +

+

Inherited from NodeCallback:

@@ -50,7 +66,9 @@

Public Methods

-ovoid traverse(Node* node, NodeVisitor* nv) +oMETA_Object(osg, NodeCallback) ()(Node* node, NodeVisitor* nv) +
+ovoid traverse(Node* node, NodeVisitor* nv)
ovoid setNestedCallback(NodeCallback* nc)
@@ -61,6 +79,44 @@ oinline void removeNestedCallback(NodeCallback* nc)

+
+

Inherited from Object:

+
+

+

Public Methods

+ovirtual Object* cloneType() const +
+ovirtual Object* clone(const CopyOp&) const +
+ovirtual bool isSameKindAs(const Object*) const +
+ovirtual const char* libraryName() const +
+ovirtual const char* className() const +
+oinline void setDataVariance(DataVariance dv) +
+oinline DataVariance getDataVariance() const +
+oinline void setUserData(Referenced* obj) +
+oinline Referenced* getUserData() +
+oinline const Referenced* getUserData() const +

+ +

+

Public Members

+oenum DataVariance +

+ +

+

Protected Fields

+oDataVariance _dataVariance +
+oref_ptr<Referenced> _userData +

+

Inherited from Referenced:

@@ -68,26 +124,22 @@

Public Methods

oinline Referenced& operator = (Referenced&)
-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -95,34 +147,60 @@

Documentation

-
Callback which can be attached to a MatrixTransform as an app -callback to allow it to follow the path defined by a AnimationPath
- -
o AnimationPathCallback(AnimationPath* ap, double timeOffset=0.0f, double timeMultiplier=1.0f) + +
o AnimationPathCallback() +

+ + +

o AnimationPathCallback(const AnimationPathCallback& apc, const CopyOp& copyop) +

+ + +

oMETA_Object (osg, AnimationPathCallback)(AnimationPath* ap, double timeOffset=0.0f, double timeMultiplier=1.0f) +

+ + +

ovoid setAnimationPath(AnimationPath* path) +

+ + +

oAnimationPath* getAnimationPath() +

+ + +

oconst AnimationPath* getAnimationPath() const

- -

ovirtual void operator()(Node* node, NodeVisitor* nv) + +
ovirtual void operator()(Node* node, NodeVisitor* nv)
implements the callback

- +

oref_ptr<AnimationPath> _animationPath

- +

odouble _timeOffset

- +

odouble _timeMultiplier

- +

odouble _firstTime +

+ + +

omutable double _animationTime +

+ + +

o ~AnimationPathCallback()


This class has no child classes.
diff --git a/doc/doc++/osg/Array.html b/doc/doc++/osg/Array.html index 4881d7671..64a515003 100644 --- a/doc/doc++/osg/Array.html +++ b/doc/doc++/osg/Array.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Array - + @@ -22,52 +22,52 @@

Public Methods

-[more] Array(Type arrayType=ArrayType, GLint dataSize=0, GLenum dataType=0) +[more] Array(Type arrayType=ArrayType, GLint dataSize=0, GLenum dataType=0)
-[more] Array(const Array& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Array(const Array& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
-[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
-[more]virtual const char* className() const +[more]virtual const char* className() const
-[more]virtual void accept(ArrayVisitor&) = 0 +[more]virtual void accept(ArrayVisitor&) = 0
-[more]virtual void accept(ConstArrayVisitor&) const = 0 +[more]virtual void accept(ConstArrayVisitor&) const = 0
-[more]virtual void accept(unsigned int index, ValueVisitor&) = 0 +[more]virtual void accept(unsigned int index, ValueVisitor&) = 0
-[more]virtual void accept(unsigned int index, ConstValueVisitor&) const = 0 +[more]virtual void accept(unsigned int index, ConstValueVisitor&) const = 0
-[more]Type getType() const +[more]Type getType() const
-[more]GLint getDataSize() const +[more]GLint getDataSize() const
-[more]GLenum getDataType() const +[more]GLenum getDataType() const
-[more]virtual const GLvoid* getDataPointer() const = 0 +[more]virtual const GLvoid* getDataPointer() const = 0
-[more]virtual unsigned int getNumElements() const = 0 +[more]virtual unsigned int getNumElements() const = 0

Public Members

-[more]enum Type +[more]enum Type

Protected Fields

-[more]Type _arrayType +[more]Type _arrayType
-[more]GLint _dataSize +[more]GLint _dataSize
-[more]GLenum _dataType +[more]GLenum _dataType

Protected Methods

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

@@ -79,9 +79,9 @@
ovirtual Object* clone(const CopyOp&) const
-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -97,7 +97,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -109,26 +109,22 @@

Public Methods

oinline Referenced& operator = (Referenced&)
-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -139,129 +135,129 @@
- +
oenum Type

- +
o ArrayType

- +

o ByteArrayType

- +

o ShortArrayType

- +

o IntArrayType

- +

o UByteArrayType

- +

o UShortArrayType

- +

o UIntArrayType

- +

o UByte4ArrayType

- +

o FloatArrayType

- +

o Vec2ArrayType

- +

o Vec3ArrayType

- +

o Vec4ArrayType

- -
o Array(Type arrayType=ArrayType, GLint dataSize=0, GLenum dataType=0) + +
o Array(Type arrayType=ArrayType, GLint dataSize=0, GLenum dataType=0)

- -

o Array(const Array& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o Array(const Array& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

- +

ovirtual bool isSameKindAs(const Object* obj) const

- +

ovirtual const char* libraryName() const

- +

ovirtual const char* className() const

- +

ovirtual void accept(ArrayVisitor&) = 0

- +

ovirtual void accept(ConstArrayVisitor&) const = 0

- -

ovirtual void accept(unsigned int index, ValueVisitor&) = 0 + +
ovirtual void accept(unsigned int index, ValueVisitor&) = 0

- -

ovirtual void accept(unsigned int index, ConstValueVisitor&) const = 0 + +
ovirtual void accept(unsigned int index, ConstValueVisitor&) const = 0

- -

oType getType() const + +
oType getType() const

- +

oGLint getDataSize() const

- +

oGLenum getDataType() const

- +

ovirtual const GLvoid* getDataPointer() const = 0

- +

ovirtual unsigned int getNumElements() const = 0

- +

ovirtual ~Array()

- -

oType _arrayType + +
oType _arrayType

- +

oGLint _dataSize

- +

oGLenum _dataType


diff --git a/doc/doc++/osg/ArrayVisitor.html b/doc/doc++/osg/ArrayVisitor.html index dd153869e..525e4f668 100644 --- a/doc/doc++/osg/ArrayVisitor.html +++ b/doc/doc++/osg/ArrayVisitor.html @@ -3,7 +3,7 @@ class osg::ArrayVisitor - + @@ -12,31 +12,31 @@

Public Methods

-[more] ArrayVisitor() +[more] ArrayVisitor()
-[more]virtual void apply(Array&) +[more]virtual void apply(Array&)
-[more]virtual void apply(ByteArray&) +[more]virtual void apply(ByteArray&)
-[more]virtual void apply(ShortArray&) +[more]virtual void apply(ShortArray&)
-[more]virtual void apply(IntArray&) +[more]virtual void apply(IntArray&)
-[more]virtual void apply(UByteArray&) +[more]virtual void apply(UByteArray&)
-[more]virtual void apply(UShortArray&) +[more]virtual void apply(UShortArray&)
-[more]virtual void apply(UIntArray&) +[more]virtual void apply(UIntArray&)
-[more]virtual void apply(UByte4Array&) +[more]virtual void apply(UByte4Array&)
-[more]virtual void apply(FloatArray&) +[more]virtual void apply(FloatArray&)
-[more]virtual void apply(Vec2Array&) +[more]virtual void apply(Vec2Array&)
-[more]virtual void apply(Vec3Array&) +[more]virtual void apply(Vec3Array&)
-[more]virtual void apply(Vec4Array&) +[more]virtual void apply(Vec4Array&)

@@ -47,56 +47,56 @@
- +
o ArrayVisitor()

- +

ovirtual void apply(Array&)

- -

ovirtual void apply(ByteArray&) + +
ovirtual void apply(ByteArray&)

- -

ovirtual void apply(ShortArray&) + +
ovirtual void apply(ShortArray&)

- -

ovirtual void apply(IntArray&) + +
ovirtual void apply(IntArray&)

- -

ovirtual void apply(UByteArray&) + +
ovirtual void apply(UByteArray&)

- -

ovirtual void apply(UShortArray&) + +
ovirtual void apply(UShortArray&)

- -

ovirtual void apply(UIntArray&) + +
ovirtual void apply(UIntArray&)

- -

ovirtual void apply(UByte4Array&) + +
ovirtual void apply(UByte4Array&)

- -

ovirtual void apply(FloatArray&) + +
ovirtual void apply(FloatArray&)

- -

ovirtual void apply(Vec2Array&) + +
ovirtual void apply(Vec2Array&)

- -

ovirtual void apply(Vec3Array&) + +
ovirtual void apply(Vec3Array&)

- -

ovirtual void apply(Vec4Array&) + +
ovirtual void apply(Vec4Array&)


This class has no child classes.
diff --git a/doc/doc++/osg/AttributeFunctor.html b/doc/doc++/osg/AttributeFunctor.html index 5552798ef..e0e94a897 100644 --- a/doc/doc++/osg/AttributeFunctor.html +++ b/doc/doc++/osg/AttributeFunctor.html @@ -3,7 +3,7 @@ class osg::Drawable::AttributeFunctor - + @@ -12,29 +12,29 @@

Public Methods

-[more]virtual ~AttributeFunctor() +[more]virtual ~AttributeFunctor()
-[more]virtual void apply(AttributeType, unsigned int, GLbyte*) +[more]virtual void apply(AttributeType, unsigned int, GLbyte*)
-[more]virtual void apply(AttributeType, unsigned int, GLshort*) +[more]virtual void apply(AttributeType, unsigned int, GLshort*)
-[more]virtual void apply(AttributeType, unsigned int, GLint*) +[more]virtual void apply(AttributeType, unsigned int, GLint*)
-[more]virtual void apply(AttributeType, unsigned int, GLubyte*) +[more]virtual void apply(AttributeType, unsigned int, GLubyte*)
-[more]virtual void apply(AttributeType, unsigned int, GLushort*) +[more]virtual void apply(AttributeType, unsigned int, GLushort*)
-[more]virtual void apply(AttributeType, unsigned int, GLuint*) +[more]virtual void apply(AttributeType, unsigned int, GLuint*)
-[more]virtual void apply(AttributeType, unsigned int, float*) +[more]virtual void apply(AttributeType, unsigned int, float*)
-[more]virtual void apply(AttributeType, unsigned int, Vec2*) +[more]virtual void apply(AttributeType, unsigned int, Vec2*)
-[more]virtual void apply(AttributeType, unsigned int, Vec3*) +[more]virtual void apply(AttributeType, unsigned int, Vec3*)
-[more]virtual void apply(AttributeType, unsigned int, Vec4*) +[more]virtual void apply(AttributeType, unsigned int, Vec4*)
-[more]virtual void apply(AttributeType, unsigned int, UByte4*) +[more]virtual void apply(AttributeType, unsigned int, UByte4*)

@@ -45,52 +45,52 @@
- +
ovirtual ~AttributeFunctor()

- -

ovirtual void apply(AttributeType, unsigned int, GLbyte*) + +
ovirtual void apply(AttributeType, unsigned int, GLbyte*)

- -

ovirtual void apply(AttributeType, unsigned int, GLshort*) + +
ovirtual void apply(AttributeType, unsigned int, GLshort*)

- -

ovirtual void apply(AttributeType, unsigned int, GLint*) + +
ovirtual void apply(AttributeType, unsigned int, GLint*)

- -

ovirtual void apply(AttributeType, unsigned int, GLubyte*) + +
ovirtual void apply(AttributeType, unsigned int, GLubyte*)

- -

ovirtual void apply(AttributeType, unsigned int, GLushort*) + +
ovirtual void apply(AttributeType, unsigned int, GLushort*)

- -

ovirtual void apply(AttributeType, unsigned int, GLuint*) + +
ovirtual void apply(AttributeType, unsigned int, GLuint*)

- -

ovirtual void apply(AttributeType, unsigned int, float*) + +
ovirtual void apply(AttributeType, unsigned int, float*)

- -

ovirtual void apply(AttributeType, unsigned int, Vec2*) + +
ovirtual void apply(AttributeType, unsigned int, Vec2*)

- -

ovirtual void apply(AttributeType, unsigned int, Vec3*) + +
ovirtual void apply(AttributeType, unsigned int, Vec3*)

- -

ovirtual void apply(AttributeType, unsigned int, Vec4*) + +
ovirtual void apply(AttributeType, unsigned int, Vec4*)

- -

ovirtual void apply(AttributeType, unsigned int, UByte4*) + +
ovirtual void apply(AttributeType, unsigned int, UByte4*)


This class has no child classes.
diff --git a/doc/doc++/osg/Billboard.html b/doc/doc++/osg/Billboard.html index f46c2980f..df49819b8 100644 --- a/doc/doc++/osg/Billboard.html +++ b/doc/doc++/osg/Billboard.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Billboard - + @@ -11,11 +11,11 @@

Inheritance:

- - - - - + + + + +
@@ -23,92 +23,92 @@

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(osg, Billboard) +[more] META_Node(osg, Billboard)
-[more]void setMode(Mode mode) +[more]void setMode(Mode mode)
Set the billboard rotation mode.
-[more]inline Mode getMode() const +[more]inline 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]void setNormal(const Vec3& normal) +[more]void setNormal(const Vec3& normal)
Set the normal which defines the billboard's drawable front face, when unrotated.
-[more]inline const Vec3& getNormal() const +[more]inline const Vec3& getNormal() const
Get the normal of billboard's drawable front face.
-[more]inline void setPos(unsigned int i, const Vec3& pos) +[more]inline void setPos(unsigned int i, const Vec3& pos)
Set the position of specified drawable.
-[more]inline const Vec3& getPos(unsigned int i) const +[more]inline const Vec3& getPos(unsigned 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 bool addDrawable( Drawable* gset ) +[more]virtual 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 bool addDrawable(Drawable* gset, const Vec3& pos) +[more]virtual bool addDrawable(Drawable* gset, const Vec3& pos)
Add Drawable to Geode at position pos.
-[more]virtual bool removeDrawable( Drawable* gset ) +[more]virtual bool removeDrawable( Drawable* gset )
Remove Drawable and associated position from Billboard.
-[more]inline bool getMatrix(Matrix& modelview, const Vec3& eye_local, const Vec3& pos_local) const +[more]inline bool getMatrix(Matrix& modelview, const Vec3& eye_local, const Vec3& pos_local) const
-[more]virtual bool computeMatrix(Matrix& modelview, const Vec3& eye_local, const Vec3& pos_local) const +[more]virtual 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

Protected Fields

-[more]Mode _mode +[more]Mode _mode
-[more]Vec3 _axis +[more]Vec3 _axis
-[more]Vec3 _normal +[more]Vec3 _normal
-[more]PositionList _positionList +[more]PositionList _positionList
-[more]int _cachedMode +[more]int _cachedMode
-[more]Vec3 _side +[more]Vec3 _side

Protected Methods

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

Protected Members

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

@@ -118,6 +118,8 @@

Public Methods

ovirtual bool replaceDrawable( Drawable* origDraw, Drawable* newDraw )
+ovirtual bool setDrawable( unsigned int i, Drawable* drawable ) +
oinline unsigned int getNumDrawables() const
oinline Drawable* getDrawable( unsigned int i ) @@ -126,9 +128,7 @@
oinline bool containsDrawable(const Drawable* gset) const
-oinline DrawableList::iterator findDrawable(const Drawable* gset) -
-oinline DrawableList::const_iterator findDrawable(const Drawable* gset) const +oinline unsigned int getDrawableIndex( const Drawable* node ) const
ovoid compileDrawables(State& state)

@@ -140,7 +140,217 @@

Protected Fields

-oDrawableList _drawables +oDrawableList _drawables +

+ + +

Inherited from Node:

+
+

+

Public Methods

+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 +
+ovirtual Group* asGroup() +
+ovirtual const Group* asGroup() const +
+ovirtual Transform* asTransform() +
+ovirtual const Transform* asTransform() const +
+ovirtual void accept(NodeVisitor& nv) +
+ovirtual void ascend(NodeVisitor& nv) +
+ovirtual void traverse(NodeVisitor& ) +
+oinline void setName( const std::string& name ) +
+oinline void setName( const char* name ) +
+oinline const std::string& getName() const +
+oinline const ParentList& getParents() const +
+oinline ParentList getParents() +
+oinline Group* getParent(unsigned int i) +
+oinline const Group* getParent(unsigned int i) const +
+oinline unsigned int getNumParents() const +
+ovoid setUpdateCallback(NodeCallback* nc) +
+oinline NodeCallback* getUpdateCallback() +
+oinline const NodeCallback* getUpdateCallback() const +
+ovoid setAppCallback(NodeCallback* nc) +
+oinline NodeCallback* getAppCallback() +
+oinline const NodeCallback* getAppCallback() const +
+oinline unsigned int getNumChildrenRequiringUpdateTraversal() const +
+ovoid setCullCallback(NodeCallback* nc) +
+oinline NodeCallback* getCullCallback() +
+oinline const NodeCallback* getCullCallback() const +
+ovoid setCullingActive(bool active) +
+oinline bool getCullingActive() const +
+oinline unsigned int getNumChildrenWithCullingDisabled() const +
+oinline bool isCullingActive() const +
+oinline unsigned int getNumChildrenWithOccluderNodes() const +
+obool containsOccluderNodes() const +
+oinline void setNodeMask(NodeMask nm) +
+oinline NodeMask getNodeMask() const +
+oinline const DescriptionList& getDescriptions() const +
+oinline DescriptionList& getDescriptions() +
+oinline const std::string& getDescription(unsigned int i) const +
+oinline std::string& getDescription(unsigned int i) +
+oinline unsigned int getNumDescriptions() const +
+ovoid addDescription(const std::string& desc) +
+oinline void setStateSet(osg::StateSet* dstate) +
+oosg::StateSet* getOrCreateStateSet() +
+oinline osg::StateSet* getStateSet() +
+oinline const osg::StateSet* getStateSet() const +
+oinline const BoundingSphere& getBound() const +
+ovoid dirtyBound() +

+ +

+

Public Members

+otypedef std::vector<Group*> ParentList +
+otypedef unsigned int NodeMask +
+otypedef std::vector<std::string> DescriptionList +

+ +

+

Protected Fields

+omutable BoundingSphere _bsphere +
+omutable bool _bsphere_computed +
+ostd::string _name +
+oParentList _parents +
+oref_ptr<NodeCallback> _updateCallback +
+ounsigned int _numChildrenRequiringUpdateTraversal +
+oref_ptr<NodeCallback> _cullCallback +
+obool _cullingActive +
+ounsigned int _numChildrenWithCullingDisabled +
+ounsigned int _numChildrenWithOccluderNodes +
+oNodeMask _nodeMask +
+oDescriptionList _descriptions +
+oref_ptr<StateSet> _stateset +

+ +

+

Protected Methods

+ovoid addParent(osg::Group* node) +
+ovoid removeParent(osg::Group* node) +
+ovoid setNumChildrenRequiringUpdateTraversal(unsigned int num) +
+ovoid setNumChildrenWithCullingDisabled(unsigned int num) +
+ovoid setNumChildrenWithOccluderNodes(unsigned int num) +

+ +
+

Inherited from Object:

+
+

+

Public Methods

+oinline void setDataVariance(DataVariance dv) +
+oinline DataVariance getDataVariance() const +
+oinline void setUserData(Referenced* obj) +
+oinline Referenced* getUserData() +
+oinline const Referenced* getUserData() const +

+ +

+

Public Members

+oenum DataVariance +

+ +

+

Protected Fields

+oDataVariance _dataVariance +
+oref_ptr<Referenced> _userData +

+ +
+

Inherited from Referenced:

+
+

+

Public Methods

+oinline Referenced& operator = (Referenced&) +
+ostatic void setDeleteHandler(DeleteHandler* handler) +
+ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const +
+oinline void unref_nodelete() const +
+oinline int referenceCount() const +
+oinline void unref() const +

+ +

+

Protected Fields

+omutable int _refCount

@@ -153,93 +363,93 @@ 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(osg, Billboard)

- -

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

- -

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

- +

ovoid setAxis(const Vec3& axis)
Set the axis about which all the billboard's drawable rotate. Only utlized when mode==AXIAL_ROT

- +

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

- +

ovoid setNormal(const Vec3& normal)
Set the normal which defines the billboard's drawable front face, when unrotated.

- +

oinline const Vec3& getNormal() const
Get the normal of billboard's drawable front face.

- +

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

- +

oinline const Vec3& getPos(unsigned 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 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 @@ -247,7 +457,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 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 @@ -255,7 +465,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 bool removeDrawable( Drawable* gset )
Remove Drawable and associated position from Billboard. If gset is contained in Billboard then remove it from the geoset @@ -265,69 +475,69 @@ return true for success. If gset is not found then return false and do not the reference count of gset is left unchanged.

- +

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

- +

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

- +

ovirtual ~Billboard()

- +

ovirtual bool computeBound() const

- +

oenum AxisAligned

- +
o AXIAL_ROT_X_AXIS

- +

o AXIAL_ROT_Y_AXIS

- +

o AXIAL_ROT_Z_AXIS

- +

o CACHE_DIRTY

- -
oMode _mode + +
oMode _mode

- +

oVec3 _axis

- +

oVec3 _normal

- -

oPositionList _positionList + +
oPositionList _positionList

- +

oint _cachedMode

- +

oVec3 _side

- +

ovoid updateCache()

diff --git a/doc/doc++/osg/BlendFunc.html b/doc/doc++/osg/BlendFunc.html index 863159e93..953452433 100644 --- a/doc/doc++/osg/BlendFunc.html +++ b/doc/doc++/osg/BlendFunc.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::BlendFunc - + @@ -23,46 +23,46 @@

Public Methods

-[more] BlendFunc() +[more] BlendFunc()
-[more] BlendFunc(const BlendFunc& trans, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] BlendFunc(const BlendFunc& trans, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, BlendFunc, BLENDFUNC) +[more] META_StateAttribute(osg, BlendFunc, BLENDFUNC)
-[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 getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
-[more]inline void setFunction( GLenum source, GLenum destination ) +[more]inline void setFunction( GLenum source, GLenum destination )
-[more]void setSource(GLenum source) +[more]void setSource(GLenum source)
-[more]inline GLenum getSource() const +[more]inline GLenum getSource() const
-[more]void setDestination(GLenum destination) +[more]void setDestination(GLenum destination)
-[more]inline GLenum getDestination() const +[more]inline GLenum getDestination() const
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

Public Members

-[more]enum BlendFuncMode +[more]enum BlendFuncMode

Protected Fields

-[more]GLenum _source_factor +[more]GLenum _source_factor
-[more]GLenum _destination_factor +[more]GLenum _destination_factor

Protected Methods

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

@@ -80,7 +80,7 @@
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
@@ -113,9 +113,9 @@

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -131,7 +131,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -143,26 +143,22 @@

Public Methods

oinline Referenced& operator = (Referenced&)
-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

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

- -

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

- -

o META_StateAttribute(osg, BlendFunc, BLENDFUNC) + +
o META_StateAttribute(osg, BlendFunc, BLENDFUNC)

- +

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

- -

ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const + +
ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

- +

oenum BlendFuncMode

- +
o DST_ALPHA

- +

o DST_COLOR

- +

o ONE

- +

o ONE_MINUS_DST_ALPHA

- +

o ONE_MINUS_DST_COLOR

- +

o ONE_MINUS_SRC_ALPHA

- +

o ONE_MINUS_SRC_COLOR

- +

o SRC_ALPHA

- +

o SRC_ALPHA_SATURATE

- +

o SRC_COLOR

- +

o ZERO

- +
oinline void setFunction( GLenum source, GLenum destination )

- +

ovoid setSource(GLenum source)

- +

oinline GLenum getSource() const

- +

ovoid setDestination(GLenum destination)

- +

oinline GLenum getDestination() const

- +

ovirtual void apply(State& state) const

- +

ovirtual ~BlendFunc()

- +

oGLenum _source_factor

- +

oGLenum _destination_factor

diff --git a/doc/doc++/osg/BoundingBox.html b/doc/doc++/osg/BoundingBox.html index 1ea69a721..6bc86fc0c 100644 --- a/doc/doc++/osg/BoundingBox.html +++ b/doc/doc++/osg/BoundingBox.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::BoundingBox - + @@ -13,83 +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 bool valid() const +[more]inline bool valid() const
-[more]inline void set(float xmin, float ymin, float zmin, float xmax, float ymax, float zmax) +[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) +[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 float xMin() const +[more]inline float xMin() const
-[more]inline float& yMin() +[more]inline float& yMin()
-[more]inline float yMin() const +[more]inline float yMin() const
-[more]inline float& zMin() +[more]inline float& zMin()
-[more]inline float zMin() const +[more]inline float zMin() const
-[more]inline float& xMax() +[more]inline float& xMax()
-[more]inline float xMax() const +[more]inline float xMax() const
-[more]inline float& yMax() +[more]inline float& yMax()
-[more]inline float yMax() const +[more]inline float yMax() const
-[more]inline float& zMax() +[more]inline float& zMax()
-[more]inline float zMax() const +[more]inline 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 float radius() const +[more]inline float radius() const
Calculate and return the radius of the bounding box
-[more]inline float radius2() const +[more]inline 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]inline void expandBy(const Vec3& v) +[more]inline void expandBy(const Vec3& v)
If the vertex is out-with the box expand to encompass vertex.
-[more]inline void expandBy(float x, float y, float z) +[more]inline void expandBy(float x, float y, float z)
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 bool contains(const Vec3& v) const +[more]inline bool contains(const Vec3& v) const
return true is vertex v is within the box

@@ -104,116 +104,116 @@ 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 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 float xMin() const

- +

oinline float& yMin()

- +

oinline float yMin() const

- +

oinline float& zMin()

- +

oinline float zMin() const

- +

oinline float& xMax()

- +

oinline float xMax() const

- +

oinline float& yMax()

- +

oinline float yMax() const

- +

oinline float& zMax()

- +

oinline float zMax() const

- +

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

- +

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

- +

oinline 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,31 +222,31 @@ bit toggles between y min and y max, third bit toggles between z min and z max.

- +

oinline void 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.

- -

oinline void expandBy(float x, float y, float z) + +
oinline void expandBy(float x, float y, float z)
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 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 cdd8b9d94..240ed074e 100644 --- a/doc/doc++/osg/BoundingSphere.html +++ b/doc/doc++/osg/BoundingSphere.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::BoundingSphere - + @@ -13,65 +13,65 @@

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 bool valid() const +[more]inline 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 float radius() const +[more]inline float radius() const
return the const radius of the bounding sphere
-[more]inline float radius2() const +[more]inline 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]void expandBy(const BoundingBox& bb) +[more]void expandBy(const BoundingBox& bb)
If incomming box is outwith the sphere expand to ecompass incomming box.
-[more]void expandRadiusBy(const BoundingBox& bb) +[more]void expandRadiusBy(const BoundingBox& bb)
If incomming box is outwith the sphere expand radius to ecompass incomming box.
-[more]inline bool contains(const Vec3& v) const +[more]inline bool contains(const Vec3& v) const
return true is vertex v is within the sphere
-[more]inline bool intersects( const BoundingSphere& bs ) const +[more]inline bool intersects( const BoundingSphere& bs ) const
return true if bounding sphere's intersect each other

@@ -88,61 +88,61 @@ 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 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 float radius() const
return the const radius of the bounding sphere

- +

oinline float radius2() const
return the radius squared. Note, for performance reasons, assumes the calling method has ensured @@ -150,7 +150,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 @@ -158,14 +158,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 @@ -173,14 +173,14 @@ 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 @@ -188,19 +188,19 @@ 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 bool contains(const Vec3& v) const
return true is vertex v is within the sphere

- +

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

diff --git a/doc/doc++/osg/Box.html b/doc/doc++/osg/Box.html index cca3a6fe2..4266a70a1 100644 --- a/doc/doc++/osg/Box.html +++ b/doc/doc++/osg/Box.html @@ -3,7 +3,7 @@ class osg::Box - + @@ -22,47 +22,47 @@

Public Methods

-[more] Box() +[more] Box()
-[more] Box(const osg::Vec3& center, float width) +[more] Box(const osg::Vec3& center, float width)
-[more] Box(const osg::Vec3& center, float lengthX, float lengthY, float lengthZ) +[more] Box(const osg::Vec3& center, float lengthX, float lengthY, float lengthZ)
-[more] Box(const Box& box, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Box(const Box& box, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more]META_Shape (osg, Box)() const +[more]META_Shape (osg, Box)() const
-[more]inline void set(const Vec3& center, const Vec3& halfLengths) +[more]inline void set(const Vec3& center, const Vec3& halfLengths)
-[more]inline void setCenter(const Vec3& center) +[more]inline void setCenter(const Vec3& center)
-[more]inline const Vec3& getCenter() const +[more]inline const Vec3& getCenter() const
-[more]inline void setHalfLengths(const Vec3& halfLengths) +[more]inline void setHalfLengths(const Vec3& halfLengths)
-[more]inline const Vec3& getHalfLengths() const +[more]inline const Vec3& getHalfLengths() const
-[more]inline void setRotation(const Quat& quat) +[more]inline void setRotation(const Quat& quat)
-[more]inline const Quat& getRotation() const +[more]inline const Quat& getRotation() const
-[more]inline Matrix getRotationMatrix() const +[more]inline Matrix getRotationMatrix() const
-[more]inline bool zeroRotation() const +[more]inline bool zeroRotation() const

Protected Fields

-[more]Vec3 _center +[more]Vec3 _center
-[more]Vec3 _halfLengths +[more]Vec3 _halfLengths
-[more]Quat _rotation +[more]Quat _rotation

Protected Methods

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

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

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -108,7 +108,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -120,26 +120,22 @@

Public Methods

oinline Referenced& operator = (Referenced&)
-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -150,75 +146,75 @@
- +
o Box()

- -

o Box(const osg::Vec3& center, float width) + +
o Box(const osg::Vec3& center, float width)

- -

o Box(const osg::Vec3& center, float lengthX, float lengthY, float lengthZ) + +
o Box(const osg::Vec3& center, float lengthX, float lengthY, float lengthZ)

- -

o Box(const Box& box, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o Box(const Box& box, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

- -

oMETA_Shape (osg, Box)() const + +
oMETA_Shape (osg, Box)() const

- -

oinline void set(const Vec3& center, const Vec3& halfLengths) + +
oinline void set(const Vec3& center, const Vec3& halfLengths)

- -

oinline void setCenter(const Vec3& center) + +
oinline void setCenter(const Vec3& center)

- +

oinline const Vec3& getCenter() const

- +

oinline void setHalfLengths(const Vec3& halfLengths)

- +

oinline const Vec3& getHalfLengths() const

- +

oinline void setRotation(const Quat& quat)

- +

oinline const Quat& getRotation() const

- +

oinline Matrix getRotationMatrix() const

- +

oinline bool zeroRotation() const

- +

ovirtual ~Box()

- +

oVec3 _center

- +

oVec3 _halfLengths

- +

oQuat _rotation

diff --git a/doc/doc++/osg/COMPARE_StateAttribute_Parameter.html b/doc/doc++/osg/COMPARE_StateAttribute_Parameter.html index 8575d3d74..273c21e69 100644 --- a/doc/doc++/osg/COMPARE_StateAttribute_Parameter.html +++ b/doc/doc++/osg/COMPARE_StateAttribute_Parameter.html @@ -3,7 +3,7 @@ #define osg::COMPARE_StateAttribute_Parameter - + diff --git a/doc/doc++/osg/COMPARE_StateAttribute_Types.html b/doc/doc++/osg/COMPARE_StateAttribute_Types.html index 26dc56e4b..6215519b3 100644 --- a/doc/doc++/osg/COMPARE_StateAttribute_Types.html +++ b/doc/doc++/osg/COMPARE_StateAttribute_Types.html @@ -3,7 +3,7 @@ #define osg::COMPARE_StateAttribute_Types - + diff --git a/doc/doc++/osg/Camera.html b/doc/doc++/osg/Camera.html index dfb61068b..9ba97bb82 100644 --- a/doc/doc++/osg/Camera.html +++ b/doc/doc++/osg/Camera.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Camera - + @@ -29,157 +29,155 @@
[more]Camera& operator=(const Camera&)
-[more]virtual ~Camera() -
-[more]ProjectionType getProjectionType() const +[more]ProjectionType getProjectionType() const
Get the projection type set by setOtho,setOtho2D,setFrustum, and set perspective methods
-[more]void setOrtho(double left, double right, double bottom, double top, double zNear, double zFar) +[more]void setOrtho(double left, double right, double bottom, double top, double zNear, double zFar)
Set a orthographic projection.
-[more]void setOrtho2D(double left, double right, double bottom, double top) +[more]void setOrtho2D(double left, double right, double bottom, double top)
Set a 2D orthographic projection.
-[more]void setFrustum(double left, double right, double bottom, double top, double zNear, double zFar) +[more]void setFrustum(double left, double right, double bottom, double top, double zNear, double zFar)
Set a perspective projection.
-[more]void setPerspective(double fovy, double aspectRatio, double zNear, double zFar) +[more]void setPerspective(double fovy, double aspectRatio, double zNear, double zFar)
Set a symmetrical perspective projection, See gluPerspective for further details.
-[more]void setFOV(double fovx, double fovy, double zNear, double zFar) +[more]void setFOV(double fovx, double fovy, double zNear, double zFar)
Set a sysmmetical perspective projection using field of view
-[more]void setNearFar(double zNear, double zFar) +[more]void setNearFar(double zNear, double zFar)
Set the near and far clipping planes
-[more]void setAdjustAspectRatioMode(AdjustAspectRatioMode aam) +[more]void setAdjustAspectRatioMode(AdjustAspectRatioMode aam)
Set the way that the vertical or horizontal dimensions of the window are adjusted on a resize.
-[more]AdjustAspectRatioMode getAdjustAspectRatioMode() const +[more]AdjustAspectRatioMode getAdjustAspectRatioMode() const
Get the way that the vertical or horizontal dimensions of the window are adjusted on a resize.
-[more]void adjustAspectRatio(double newAspectRatio) +[more]void adjustAspectRatio(double newAspectRatio)
Adjust the clipping planes to account for a new window aspect ratio.
-[more]void adjustAspectRatio(double newAspectRatio, AdjustAspectRatioMode aa) +[more]void adjustAspectRatio(double newAspectRatio, AdjustAspectRatioMode aa)
Adjust the clipping planes to account for a new window aspect ratio.
-[more]double left() const +[more]double left() const
-[more]double right() const +[more]double right() const
-[more]double bottom() const +[more]double bottom() const
-[more]double top() const +[more]double top() const
-[more]double zNear() const +[more]double zNear() const
-[more]double zFar() const +[more]double zFar() const
-[more]double calc_fovy() const +[more]double calc_fovy() const
Calculate and return the equivalent fovx for the current project setting.
-[more]double calc_fovx() const +[more]double calc_fovx() const
Calculate and return the equivalent fovy for the current project setting.
-[more]double calc_aspectRatio() const +[more]double calc_aspectRatio() const
Calculate and return the projection aspect ratio.
-[more]LookAtType getLookAtType() const +[more]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(double eyeX, double eyeY, double eyeZ, double centerX, double centerY, double centerZ, double upX, double upY, double upZ) +[more]void setLookAt(double eyeX, double eyeY, double eyeZ, double centerX, double centerY, double centerZ, double upX, double upY, 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]Vec3 getLookVector() const +[more]Vec3 getLookVector() const
calculate look vector
-[more]Vec3 getSideVector() const +[more]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(TransformMode mode, Matrix* modelTransform=0) +[more]void attachTransform(TransformMode mode, RefMatrix* modelTransform=0)
Attach a transform matrix which is applied after the camera look at.
-[more]Matrix* getTransform(TransformMode mode) +[more]Matrix* getTransform(TransformMode mode)
-[more]const Matrix* getTransform(TransformMode mode) const +[more]const Matrix* getTransform(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]float getFusionDistance() const +[more]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]float getScreenDistance() const +[more]float getScreenDistance() const
Get the physical distance between the viewers eyes and the display system
-[more]Matrix getProjectionMatrix() const +[more]Matrix getProjectionMatrix() const
Get the Projection Matrix
-[more]Matrix getModelViewMatrix() const +[more]Matrix getModelViewMatrix() const
Get the ModelView matrix.
-[more]inline Polytope getViewFrustum() const +[more]inline Polytope getViewFrustum() const
Get the camera view frustum

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
@@ -193,7 +191,7 @@
[more]double _zFar
-[more]LookAtType _lookAtType +[more]LookAtType _lookAtType
[more]Vec3 _eye
@@ -201,21 +199,23 @@
[more]Vec3 _up
-[more]TransformMode _attachedTransformMode +[more]TransformMode _attachedTransformMode
-[more]ref_ptr<Matrix> _eyeToModelTransform +[more]ref_ptr<RefMatrix> _eyeToModelTransform
-[more]ref_ptr<Matrix> _modelToEyeTransform +[more]ref_ptr<RefMatrix> _modelToEyeTransform
[more]float _screenDistance
-[more]FusionDistanceMode _fusionDistanceMode +[more]FusionDistanceMode _fusionDistanceMode
[more]float _fusionDistanceRatio

Protected Methods

+[more]virtual ~Camera() +
[more]void copy(const Camera&)

@@ -226,26 +226,22 @@

Public Methods

oinline Referenced& operator = (Referenced&)
-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -271,12 +267,8 @@ respectively.
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 @@ -286,61 +278,61 @@ and bottom and top and symmetrical.

- +
o ORTHO

- +

o ORTHO2D

- +

o FRUSTUM

- +

o PERSPECTIVE

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

- -

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

- -

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

- -

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

- -

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

- -

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

- -

ovoid setNearFar(double zNear, double zFar) + +
ovoid setNearFar(double zNear, 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 @@ -348,119 +340,119 @@ changes in windows aspect ratio,

- +
o ADJUST_VERTICAL

- +

o ADJUST_HORIZONTAL

- +

o ADJUST_NONE

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

- -

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

- +

ovoid adjustAspectRatio(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(double newAspectRatio, AdjustAspectRatioMode aa) + +
ovoid adjustAspectRatio(double newAspectRatio, 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.

- +

odouble left() const

- +

odouble right() const

- +

odouble bottom() const

- +

odouble top() const

- +

odouble zNear() const

- +

odouble zFar() const

- +

odouble 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.

- +

odouble 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.

- +

odouble 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_HOME_POSITION

- +

o USE_EYE_AND_QUATERNION

- +

o USE_EYE_CENTER_AND_UP

- -
oLookAtType getLookAtType() const + +
oLookAtType 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. @@ -468,78 +460,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(double eyeX, double eyeY, double eyeZ, double centerX, double centerY, double centerZ, double upX, double upY, 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

- +

oVec3 getLookVector() const
calculate look vector

- +

oVec3 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(TransformMode mode, Matrix* modelTransform=0) + +
ovoid attachTransform(TransformMode mode, RefMatrix* 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 @@ -557,74 +549,74 @@ note: Camera internals maintains the both EYE_TO_MODEL and MODEL_TO_EYE internally and ensures that they are the inverse of one another.

- -

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

- -

oconst Matrix* getTransform(TransformMode mode) const + +
oconst Matrix* getTransform(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

- +

ofloat 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.

- +

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

- +

oMatrix getProjectionMatrix() const
Get the Projection Matrix

- +

oMatrix getModelViewMatrix() const
Get the ModelView matrix. If a ModelTransform is supplied then the ModelView matrix is @@ -633,21 +625,25 @@ Otherwise it is simply created by using the current LookAt, equivalent to using gluLookAt.

- +

oinline Polytope getViewFrustum() const
Get the camera view frustum

+ + +

ovirtual ~Camera() +

ovoid copy(const Camera&)

-

oProjectionType _projectionType +
oProjectionType _projectionType

-

oAdjustAspectRatioMode _adjustAspectRatioMode +
oAdjustAspectRatioMode _adjustAspectRatioMode

@@ -675,7 +671,7 @@ equivalent to using gluLookAt.

-

oLookAtType _lookAtType +
oLookAtType _lookAtType

@@ -691,15 +687,15 @@ equivalent to using gluLookAt.

-

oTransformMode _attachedTransformMode +
oTransformMode _attachedTransformMode

-

oref_ptr<Matrix> _eyeToModelTransform +
oref_ptr<RefMatrix> _eyeToModelTransform

-

oref_ptr<Matrix> _modelToEyeTransform +
oref_ptr<RefMatrix> _modelToEyeTransform

@@ -707,7 +703,7 @@ equivalent to using gluLookAt.

-

oFusionDistanceMode _fusionDistanceMode +
oFusionDistanceMode _fusionDistanceMode

diff --git a/doc/doc++/osg/ClearNode.html b/doc/doc++/osg/ClearNode.html index 8e015b591..3712ad64c 100644 --- a/doc/doc++/osg/ClearNode.html +++ b/doc/doc++/osg/ClearNode.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::ClearNode - + @@ -11,11 +11,11 @@


Inheritance:

- - - - - + + + + +
@@ -65,35 +65,35 @@
ovirtual void traverse(NodeVisitor& nv)
-ovirtual bool addChild( Node* child ) +ovirtual bool addChild( Node* child )
-ovirtual bool removeChild( Node* child ) +ovirtual bool removeChild( Node* child )
-ovirtual bool replaceChild( Node* origChild, Node* newChild ) +ovirtual bool removeChild(unsigned int pos, unsigned int numChildrenToRemove=1) +
+ovirtual bool replaceChild( Node* origChild, Node* newChild )
oinline unsigned int getNumChildren() const
-oinline Node* getChild( unsigned int i ) +ovirtual bool setChild( unsigned int i, Node* node )
-oinline const Node* getChild( unsigned int i ) const +oinline Node* getChild( unsigned int i )
-oinline bool containsNode( const Node* node ) const +oinline const Node* getChild( unsigned int i ) const
-oinline ChildList::iterator findNode( const Node* node ) +oinline bool containsNode( const Node* node ) const
-oinline ChildList::const_iterator findNode( const Node* node ) const -
-oinline unsigned int findChildNo( const Node* node ) const +oinline unsigned int getChildIndex( const Node* node ) const

Public Members

-otypedef std::vector<ref_ptr<Node> > ChildList +otypedef std::vector<ref_ptr<Node> > ChildList

Protected Fields

-oChildList _children +oChildList _children

@@ -101,6 +101,210 @@ ovirtual bool computeBound() const

+ +

Inherited from Node:

+
+

+

Public Methods

+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 +
+ovirtual Transform* asTransform() +
+ovirtual const Transform* asTransform() const +
+ovirtual void accept(NodeVisitor& nv) +
+ovirtual void ascend(NodeVisitor& nv) +
+oinline void setName( const std::string& name ) +
+oinline void setName( const char* name ) +
+oinline const std::string& getName() const +
+oinline const ParentList& getParents() const +
+oinline ParentList getParents() +
+oinline Group* getParent(unsigned int i) +
+oinline const Group* getParent(unsigned int i) const +
+oinline unsigned int getNumParents() const +
+ovoid setUpdateCallback(NodeCallback* nc) +
+oinline NodeCallback* getUpdateCallback() +
+oinline const NodeCallback* getUpdateCallback() const +
+ovoid setAppCallback(NodeCallback* nc) +
+oinline NodeCallback* getAppCallback() +
+oinline const NodeCallback* getAppCallback() const +
+oinline unsigned int getNumChildrenRequiringUpdateTraversal() const +
+ovoid setCullCallback(NodeCallback* nc) +
+oinline NodeCallback* getCullCallback() +
+oinline const NodeCallback* getCullCallback() const +
+ovoid setCullingActive(bool active) +
+oinline bool getCullingActive() const +
+oinline unsigned int getNumChildrenWithCullingDisabled() const +
+oinline bool isCullingActive() const +
+oinline unsigned int getNumChildrenWithOccluderNodes() const +
+obool containsOccluderNodes() const +
+oinline void setNodeMask(NodeMask nm) +
+oinline NodeMask getNodeMask() const +
+oinline const DescriptionList& getDescriptions() const +
+oinline DescriptionList& getDescriptions() +
+oinline const std::string& getDescription(unsigned int i) const +
+oinline std::string& getDescription(unsigned int i) +
+oinline unsigned int getNumDescriptions() const +
+ovoid addDescription(const std::string& desc) +
+oinline void setStateSet(osg::StateSet* dstate) +
+oosg::StateSet* getOrCreateStateSet() +
+oinline osg::StateSet* getStateSet() +
+oinline const osg::StateSet* getStateSet() const +
+oinline const BoundingSphere& getBound() const +
+ovoid dirtyBound() +

+ +

+

Public Members

+otypedef std::vector<Group*> ParentList +
+otypedef unsigned int NodeMask +
+otypedef std::vector<std::string> DescriptionList +

+ +

+

Protected Fields

+omutable BoundingSphere _bsphere +
+omutable bool _bsphere_computed +
+ostd::string _name +
+oParentList _parents +
+oref_ptr<NodeCallback> _updateCallback +
+ounsigned int _numChildrenRequiringUpdateTraversal +
+oref_ptr<NodeCallback> _cullCallback +
+obool _cullingActive +
+ounsigned int _numChildrenWithCullingDisabled +
+ounsigned int _numChildrenWithOccluderNodes +
+oNodeMask _nodeMask +
+oDescriptionList _descriptions +
+oref_ptr<StateSet> _stateset +

+ +

+

Protected Methods

+ovoid addParent(osg::Group* node) +
+ovoid removeParent(osg::Group* node) +
+ovoid setNumChildrenRequiringUpdateTraversal(unsigned int num) +
+ovoid setNumChildrenWithCullingDisabled(unsigned int num) +
+ovoid setNumChildrenWithOccluderNodes(unsigned int num) +

+ +
+

Inherited from Object:

+
+

+

Public Methods

+oinline void setDataVariance(DataVariance dv) +
+oinline DataVariance getDataVariance() const +
+oinline void setUserData(Referenced* obj) +
+oinline Referenced* getUserData() +
+oinline const Referenced* getUserData() const +

+ +

+

Public Members

+oenum DataVariance +

+ +

+

Protected Fields

+oDataVariance _dataVariance +
+oref_ptr<Referenced> _userData +

+ +
+

Inherited from Referenced:

+
+

+

Public Methods

+oinline Referenced& operator = (Referenced&) +
+ostatic void setDeleteHandler(DeleteHandler* handler) +
+ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const +
+oinline void unref_nodelete() const +
+oinline int referenceCount() const +
+oinline void unref() const +

+ +

+

Protected Fields

+omutable int _refCount +

+
diff --git a/doc/doc++/osg/ClipNode.html b/doc/doc++/osg/ClipNode.html index 9b5dba4c2..1fb2c54ea 100644 --- a/doc/doc++/osg/ClipNode.html +++ b/doc/doc++/osg/ClipNode.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::ClipNode - + @@ -11,11 +11,11 @@

Inheritance:

- - - - - + + + + +
@@ -93,35 +93,239 @@
ovirtual void traverse(NodeVisitor& nv)
-ovirtual bool addChild( Node* child ) +ovirtual bool addChild( Node* child )
-ovirtual bool removeChild( Node* child ) +ovirtual bool removeChild( Node* child )
-ovirtual bool replaceChild( Node* origChild, Node* newChild ) +ovirtual bool removeChild(unsigned int pos, unsigned int numChildrenToRemove=1) +
+ovirtual bool replaceChild( Node* origChild, Node* newChild )
oinline unsigned int getNumChildren() const
-oinline Node* getChild( unsigned int i ) +ovirtual bool setChild( unsigned int i, Node* node )
-oinline const Node* getChild( unsigned int i ) const +oinline Node* getChild( unsigned int i )
-oinline bool containsNode( const Node* node ) const +oinline const Node* getChild( unsigned int i ) const
-oinline ChildList::iterator findNode( const Node* node ) +oinline bool containsNode( const Node* node ) const
-oinline ChildList::const_iterator findNode( const Node* node ) const -
-oinline unsigned int findChildNo( const Node* node ) const +oinline unsigned int getChildIndex( const Node* node ) const

Public Members

-otypedef std::vector<ref_ptr<Node> > ChildList +otypedef std::vector<ref_ptr<Node> > ChildList

Protected Fields

-oChildList _children +oChildList _children +

+ + +

Inherited from Node:

+
+

+

Public Methods

+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 +
+ovirtual Transform* asTransform() +
+ovirtual const Transform* asTransform() const +
+ovirtual void accept(NodeVisitor& nv) +
+ovirtual void ascend(NodeVisitor& nv) +
+oinline void setName( const std::string& name ) +
+oinline void setName( const char* name ) +
+oinline const std::string& getName() const +
+oinline const ParentList& getParents() const +
+oinline ParentList getParents() +
+oinline Group* getParent(unsigned int i) +
+oinline const Group* getParent(unsigned int i) const +
+oinline unsigned int getNumParents() const +
+ovoid setUpdateCallback(NodeCallback* nc) +
+oinline NodeCallback* getUpdateCallback() +
+oinline const NodeCallback* getUpdateCallback() const +
+ovoid setAppCallback(NodeCallback* nc) +
+oinline NodeCallback* getAppCallback() +
+oinline const NodeCallback* getAppCallback() const +
+oinline unsigned int getNumChildrenRequiringUpdateTraversal() const +
+ovoid setCullCallback(NodeCallback* nc) +
+oinline NodeCallback* getCullCallback() +
+oinline const NodeCallback* getCullCallback() const +
+ovoid setCullingActive(bool active) +
+oinline bool getCullingActive() const +
+oinline unsigned int getNumChildrenWithCullingDisabled() const +
+oinline bool isCullingActive() const +
+oinline unsigned int getNumChildrenWithOccluderNodes() const +
+obool containsOccluderNodes() const +
+oinline void setNodeMask(NodeMask nm) +
+oinline NodeMask getNodeMask() const +
+oinline const DescriptionList& getDescriptions() const +
+oinline DescriptionList& getDescriptions() +
+oinline const std::string& getDescription(unsigned int i) const +
+oinline std::string& getDescription(unsigned int i) +
+oinline unsigned int getNumDescriptions() const +
+ovoid addDescription(const std::string& desc) +
+oinline void setStateSet(osg::StateSet* dstate) +
+oosg::StateSet* getOrCreateStateSet() +
+oinline osg::StateSet* getStateSet() +
+oinline const osg::StateSet* getStateSet() const +
+oinline const BoundingSphere& getBound() const +
+ovoid dirtyBound() +

+ +

+

Public Members

+otypedef std::vector<Group*> ParentList +
+otypedef unsigned int NodeMask +
+otypedef std::vector<std::string> DescriptionList +

+ +

+

Protected Fields

+omutable BoundingSphere _bsphere +
+omutable bool _bsphere_computed +
+ostd::string _name +
+oParentList _parents +
+oref_ptr<NodeCallback> _updateCallback +
+ounsigned int _numChildrenRequiringUpdateTraversal +
+oref_ptr<NodeCallback> _cullCallback +
+obool _cullingActive +
+ounsigned int _numChildrenWithCullingDisabled +
+ounsigned int _numChildrenWithOccluderNodes +
+oNodeMask _nodeMask +
+oDescriptionList _descriptions +
+oref_ptr<StateSet> _stateset +

+ +

+

Protected Methods

+ovoid addParent(osg::Group* node) +
+ovoid removeParent(osg::Group* node) +
+ovoid setNumChildrenRequiringUpdateTraversal(unsigned int num) +
+ovoid setNumChildrenWithCullingDisabled(unsigned int num) +
+ovoid setNumChildrenWithOccluderNodes(unsigned int num) +

+ +
+

Inherited from Object:

+
+

+

Public Methods

+oinline void setDataVariance(DataVariance dv) +
+oinline DataVariance getDataVariance() const +
+oinline void setUserData(Referenced* obj) +
+oinline Referenced* getUserData() +
+oinline const Referenced* getUserData() const +

+ +

+

Public Members

+oenum DataVariance +

+ +

+

Protected Fields

+oDataVariance _dataVariance +
+oref_ptr<Referenced> _userData +

+ +
+

Inherited from Referenced:

+
+

+

Public Methods

+oinline Referenced& operator = (Referenced&) +
+ostatic void setDeleteHandler(DeleteHandler* handler) +
+ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const +
+oinline void unref_nodelete() const +
+oinline int referenceCount() const +
+oinline void unref() const +

+ +

+

Protected Fields

+omutable int _refCount

diff --git a/doc/doc++/osg/ClipPlane.html b/doc/doc++/osg/ClipPlane.html index 7b7a82630..2c27d42b8 100644 --- a/doc/doc++/osg/ClipPlane.html +++ b/doc/doc++/osg/ClipPlane.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::ClipPlane - + @@ -29,17 +29,17 @@
[more]inline ClipPlane(unsigned int no, const Plane& plane)
-[more]inline ClipPlane(unsigned int no, double a, double b, double c, double d) +[more]inline ClipPlane(unsigned int no, double a, double b, double c, double d)
[more] ClipPlane(const ClipPlane& cp, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, ClipPlane, (Type)(CLIPPLANE+_clipPlaneNum)) +[more] META_StateAttribute(osg, ClipPlane, (Type)(CLIPPLANE+_clipPlaneNum))
[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
[more]void setClipPlane(const Vec4& plane)
Set the clip plane, using a Vec4 to define plane. @@ -50,7 +50,7 @@ [more]void setClipPlane(const double* plane)
Set the clip plane, using a double[4] to define plane.
-[more]void setClipPlane(double a, double b, double c, double d) +[more]void setClipPlane(double a, double b, double c, double d)
Set the clip plane, using a a to define plane.
[more]void getClipPlane(Vec4& plane) const @@ -99,7 +99,7 @@
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
@@ -132,9 +132,9 @@

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -150,7 +150,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -162,26 +162,22 @@

Public Methods

oinline Referenced& operator = (Referenced&)
-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -206,7 +202,7 @@

-

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

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

-

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

@@ -224,7 +220,7 @@

-

ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const +
ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

@@ -243,7 +239,7 @@

-

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

diff --git a/doc/doc++/osg/CollectOccludersVisitor.html b/doc/doc++/osg/CollectOccludersVisitor.html index ad07e56ba..5fac69fe8 100644 --- a/doc/doc++/osg/CollectOccludersVisitor.html +++ b/doc/doc++/osg/CollectOccludersVisitor.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::CollectOccludersVisitor - + @@ -34,7 +34,7 @@

[more]virtual float getDistanceFromEyePoint(const Vec3& pos, bool withLODScale) const
-[more]virtual void apply(osg::Node&) +[more]virtual void apply(osg::Node&)
[more]virtual void apply(osg::Transform& node)
@@ -86,9 +86,9 @@ [more]CollectOccludersVisitor& operator = (const CollectOccludersVisitor&)
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)

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

Public Methods

-oinline void setVisitorType(VisitorType type) +oinline void setVisitorType(VisitorType type)
-oinline VisitorType getVisitorType() const +oinline VisitorType getVisitorType() const
oinline void setTraversalNumber(int fn)
@@ -116,29 +116,27 @@
oinline Node::NodeMask getNodeMaskOverride() const
-oinline bool validNodeMask(const osg::Node& node) const +oinline bool validNodeMask(const osg::Node& node) const
-ovoid setTraversalMode(TraversalMode mode) +oinline void setTraversalMode(TraversalMode mode)
-oinline TraversalMode getTraversalMode() const +oinline TraversalMode getTraversalMode() const
-ovoid setTraversalVisitor(NodeVisitor* nv) +oinline void traverse(Node& node)
-oinline NodeVisitor* getTraversalVisitor() -
-oinline void traverse(Node& node) -
-oinline void pushOntoNodePath(Node* node) +oinline void pushOntoNodePath(Node* node)
oinline void popFromNodePath()
-oNodePath& getNodePath() +oNodePath& getNodePath()
-oconst NodePath& getNodePath() const +oconst NodePath& getNodePath() const
-ovirtual bool getLocalToWorldMatrix(Matrix& matrix, Node* node) +ovirtual bool getLocalToWorldMatrix(Matrix& matrix, Node* node)
-ovirtual bool getWorldToLocalMatrix(Matrix& matrix, Node* node) +ovirtual bool getWorldToLocalMatrix(Matrix& matrix, Node* node) +
+ovirtual osg::Vec3 getEyePoint() const

@@ -150,21 +148,19 @@

Protected Fields

-oVisitorType _visitorType +oVisitorType _visitorType
oint _traversalNumber
oref_ptr<FrameStamp> _frameStamp
-oref_ptr<NodeVisitor> _traversalVisitor -
-oTraversalMode _traversalMode +oTraversalMode _traversalMode
oNode::NodeMask _traversalMask
oNode::NodeMask _nodeMaskOverride
-oNodePath _nodePath +oNodePath _nodePath

@@ -172,26 +168,22 @@

Public Methods

-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -209,19 +201,19 @@
ovoid popViewport()
-ovoid pushProjectionMatrix(osg::Matrix* matrix) +ovoid pushProjectionMatrix(osg::RefMatrix* matrix)
ovoid popProjectionMatrix()
-ovoid pushModelViewMatrix(osg::Matrix* matrix) +ovoid pushModelViewMatrix(osg::RefMatrix* matrix)
ovoid popModelViewMatrix()
oinline float getFrustumVolume()
-ovoid setCullingMode(CullingMode mode) +ovoid setCullingMode(CullingMode mode)
-oCullingMode getCullingMode() const +oCullingMode getCullingMode() const
ovoid setLODScale(float bias)
@@ -231,13 +223,13 @@
ofloat getSmallFeatureCullingPixelSize() const
-ofloat pixelSize(const Vec3& v, float radius) const +ofloat pixelSize(const Vec3& v, float radius) const
ofloat pixelSize(const BoundingSphere& bs) const
-oinline void disableAndPushOccludersCurrentMask(NodePath& nodePath) +oinline void disableAndPushOccludersCurrentMask(NodePath& nodePath)
-oinline void popOccludersCurrentMask(NodePath& nodePath) +oinline void popOccludersCurrentMask(NodePath& nodePath)
oinline bool isCulled(const std::vector<Vec3>& vertices)
@@ -245,29 +237,29 @@
oinline bool isCulled(const BoundingSphere& bs)
-oinline bool isCulled(const osg::Node& node) +oinline bool isCulled(const osg::Node& node)
oinline void pushCurrentMask()
oinline void popCurrentMask()
-oCullingStack& getClipSpaceCullingStack() +oCullingStack& getClipSpaceCullingStack()
-oCullingStack& getProjectionCullingStack() +oCullingStack& getProjectionCullingStack()
-oCullingStack& getModelViewCullingStack() +oCullingStack& getModelViewCullingStack()
oCullingSet& getCurrentCullingSet()
oinline osg::Viewport* getViewport()
-oinline osg::Matrix& getModelViewMatrix() +oinline osg::RefMatrix& getModelViewMatrix()
-oinline osg::Matrix& getProjectionMatrix() +oinline osg::RefMatrix& getProjectionMatrix()
oinline osg::Matrix getWindowMatrix()
-oinline const osg::Matrix& getMVPW() +oinline const osg::RefMatrix& getMVPW()
oinline const osg::Vec3& getEyeLocal() const
@@ -277,15 +269,15 @@
oinline Viewport* getViewport()
-oinline Matrix& getModelViewMatrix() +oinline RefMatrix& getModelViewMatrix()
-oinline Matrix& getProjectionMatrix() +oinline RefMatrix& getProjectionMatrix()
oinline Matrix getWindowMatrix()
-oinline const Matrix& getMVPW() +oinline const RefMatrix& getMVPW()
-oinline Matrix* createOrReuseMatrix(const osg::Matrix& value) +oinline RefMatrix* createOrReuseMatrix(const osg::Matrix& value)

@@ -301,7 +293,7 @@

Protected Fields

-oCullingMode _cullingMode +oCullingMode _cullingMode
ofloat _LODScale
@@ -309,21 +301,21 @@
oShadowVolumeOccluderList _occluderList
-oMatrixStack _projectionStack +oMatrixStack _projectionStack
-oMatrixStack _modelviewStack +oMatrixStack _modelviewStack
-oMatrixStack _MVPW_Stack +oMatrixStack _MVPW_Stack
-oViewportStack _viewportStack +oViewportStack _viewportStack
-oEyePointStack _eyePointStack +oEyePointStack _eyePointStack
-oCullingStack _clipspaceCullingStack +oCullingStack _clipspaceCullingStack
-oCullingStack _projectionCullingStack +oCullingStack _projectionCullingStack
-oCullingStack _modelviewCullingStack +oCullingStack _modelviewCullingStack
ofloat _frustumVolume
@@ -331,9 +323,9 @@
ounsigned int _bbCornerFar
-oosg::Matrix _identity +oref_ptr<osg::RefMatrix> _identity
-oMatrixList _reuseMatrixList +oMatrixList _reuseMatrixList
ounsigned int _currentReuseMatrixIndex

@@ -346,18 +338,18 @@
ovoid computeFrustumVolume()
-oinline osg::Matrix* createOrReuseMatrix(const osg::Matrix& value) +oinline osg::RefMatrix* createOrReuseMatrix(const osg::Matrix& value)

Protected Members

-otypedef fast_back_stack< ref_ptr<Matrix> > MatrixStack +otypedef fast_back_stack< ref_ptr<RefMatrix> > MatrixStack
otypedef fast_back_stack<ref_ptr<Viewport> > ViewportStack
otypedef fast_back_stack<Vec3> EyePointStack
-otypedef std::vector< osg::ref_ptr<osg::Matrix> > MatrixList +otypedef std::vector< osg::ref_ptr<osg::RefMatrix> > MatrixList

@@ -397,7 +389,7 @@

-

ovirtual void apply(osg::Node&) +
ovirtual void apply(osg::Node&)

@@ -464,11 +456,11 @@

-

oinline void handle_cull_callbacks_and_traverse(osg::Node& node) +
oinline void handle_cull_callbacks_and_traverse(osg::Node& node)

-

oinline void handle_cull_callbacks_and_accept(osg::Node& node, osg::Node* acceptNode) +
oinline void handle_cull_callbacks_and_accept(osg::Node& node, osg::Node* acceptNode)

diff --git a/doc/doc++/osg/ColorMask.html b/doc/doc++/osg/ColorMask.html index cf5e15b8f..1212ce69d 100644 --- a/doc/doc++/osg/ColorMask.html +++ b/doc/doc++/osg/ColorMask.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::ColorMask - + @@ -28,7 +28,7 @@ [more] ColorMask(const ColorMask& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, ColorMask, COLORMASK) +[more] META_StateAttribute(osg, ColorMask, COLORMASK)
[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs @@ -77,7 +77,7 @@
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
@@ -87,7 +87,7 @@
obool operator != (const StateAttribute& rhs) const
-ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
ovirtual void compile(State&) const

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

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -130,7 +130,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -142,26 +142,22 @@

Public Methods

oinline Referenced& operator = (Referenced&)
-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -183,7 +179,7 @@

-

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

diff --git a/doc/doc++/osg/ColorMatrix.html b/doc/doc++/osg/ColorMatrix.html index c620af6ad..e77801750 100644 --- a/doc/doc++/osg/ColorMatrix.html +++ b/doc/doc++/osg/ColorMatrix.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::ColorMatrix - + @@ -28,7 +28,7 @@ [more] ColorMatrix(const ColorMatrix& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, ColorMatrix, COLORMATRIX) +[more] META_StateAttribute(osg, ColorMatrix, COLORMATRIX)
[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs @@ -71,7 +71,7 @@
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
@@ -81,7 +81,7 @@
obool operator != (const StateAttribute& rhs) const
-ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
ovirtual void compile(State&) const

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

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -124,7 +124,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -136,26 +136,22 @@

Public Methods

oinline Referenced& operator = (Referenced&)
-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -177,7 +173,7 @@

-

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

diff --git a/doc/doc++/osg/CompositeShape.html b/doc/doc++/osg/CompositeShape.html index 3854ba83b..acdf478fb 100644 --- a/doc/doc++/osg/CompositeShape.html +++ b/doc/doc++/osg/CompositeShape.html @@ -3,7 +3,7 @@ class osg::CompositeShape - + @@ -22,52 +22,52 @@

Public Methods

-[more] CompositeShape() +[more] CompositeShape()
-[more] CompositeShape(const CompositeShape& cs, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] CompositeShape(const CompositeShape& cs, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more]META_Shape (osg, CompositeShape)(Shape* shape) +[more]META_Shape (osg, CompositeShape)(Shape* shape)
-[more]Shape* getShape() +[more]Shape* getShape()
Get the shape that encloses all of the children
-[more]const Shape* getShape() const +[more]const Shape* getShape() const
Get the const shape that encloses all of the children
-[more]unsigned int getNumChildren() const +[more]unsigned int getNumChildren() const
Get the number of children of this composite shape
-[more]Shape* getChild(unsigned int i) +[more]Shape* getChild(unsigned int i)
Get a child
-[more]const Shape* getChild(unsigned int i) const +[more]const Shape* getChild(unsigned int i) const
Get a const child
-[more]void addChild(Shape* shape) +[more]void addChild(Shape* shape)
Add a child to the list
-[more]void removeChild(unsigned int i) +[more]void removeChild(unsigned int i)
remove a child from the list
-[more]unsigned int findChildNo(Shape* shape) const +[more]unsigned int findChildNo(Shape* shape) const
find the index number of child, if child is not found then it returns getNumChildren(), so should be used in similar sytle of STL's result!=end()

Public Members

-[more]typedef std::vector< ref_ptr<Shape> > ChildList +[more]typedef std::vector< ref_ptr<Shape> > ChildList

Protected Fields

-[more]ref_ptr<Shape> _shape +[more]ref_ptr<Shape> _shape
-[more]ChildList _children +[more]ChildList _children

Protected Methods

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

@@ -95,9 +95,9 @@

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -113,7 +113,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -125,26 +125,22 @@

Public Methods

oinline Referenced& operator = (Referenced&)
-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -155,73 +151,73 @@
- +
otypedef std::vector< ref_ptr<Shape> > ChildList

- +

o CompositeShape()

- -

o CompositeShape(const CompositeShape& cs, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o CompositeShape(const CompositeShape& cs, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

- -

oMETA_Shape (osg, CompositeShape)(Shape* shape) + +
oMETA_Shape (osg, CompositeShape)(Shape* shape)

- +

oShape* getShape()
Get the shape that encloses all of the children

- +

oconst Shape* getShape() const
Get the const shape that encloses all of the children

- +

ounsigned int getNumChildren() const
Get the number of children of this composite shape

- +

oShape* getChild(unsigned int i)
Get a child

- +

oconst Shape* getChild(unsigned int i) const
Get a const child

- +

ovoid addChild(Shape* shape)
Add a child to the list

- +

ovoid removeChild(unsigned int i)
remove a child from the list

- +

ounsigned int findChildNo(Shape* shape) const
find the index number of child, if child is not found then it returns getNumChildren(), so should be used in similar sytle of STL's result!=end()

- +

o ~CompositeShape()

- +

oref_ptr<Shape> _shape

- -

oChildList _children + +
oChildList _children


This class has no child classes.
diff --git a/doc/doc++/osg/Cone.html b/doc/doc++/osg/Cone.html index 7a6f4833d..096d2d7b2 100644 --- a/doc/doc++/osg/Cone.html +++ b/doc/doc++/osg/Cone.html @@ -3,7 +3,7 @@ class osg::Cone - + @@ -22,55 +22,55 @@

Public Methods

-[more] Cone() +[more] Cone()
-[more] Cone(const osg::Vec3& center, float radius, float height) +[more] Cone(const osg::Vec3& center, float radius, float height)
-[more] Cone(const Cone& cone, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Cone(const Cone& cone, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more]META_Shape (osg, Cone)() const +[more]META_Shape (osg, Cone)() const
-[more]inline void set(const Vec3& center, float radius, float height) +[more]inline void set(const Vec3& center, float radius, float height)
-[more]inline void setCenter(const Vec3& center) +[more]inline void setCenter(const Vec3& center)
-[more]inline const Vec3& getCenter() const +[more]inline const Vec3& getCenter() const
-[more]inline void setRadius(float radius) +[more]inline void setRadius(float radius)
-[more]inline float getRadius() const +[more]inline float getRadius() const
-[more]inline void setHeight(float height) +[more]inline void setHeight(float height)
-[more]inline float getHeight() const +[more]inline float getHeight() const
-[more]inline void setRotation(const Quat& quat) +[more]inline void setRotation(const Quat& quat)
-[more]inline const Quat& getRotation() const +[more]inline const Quat& getRotation() const
-[more]inline Matrix getRotationMatrix() const +[more]inline Matrix getRotationMatrix() const
-[more]inline bool zeroRotation() const +[more]inline bool zeroRotation() const
-[more]inline float getBaseOffsetFactor() const +[more]inline float getBaseOffsetFactor() const
-[more]inline float getBaseOffset() const +[more]inline float getBaseOffset() const

Protected Fields

-[more]Vec3 _center +[more]Vec3 _center
-[more]float _radius +[more]float _radius
-[more]float _height +[more]float _height
-[more]Quat _rotation +[more]Quat _rotation

Protected Methods

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

@@ -98,9 +98,9 @@

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -116,7 +116,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -128,26 +128,22 @@

Public Methods

oinline Referenced& operator = (Referenced&)
-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -158,91 +154,91 @@
- +
o Cone()

- -

o Cone(const osg::Vec3& center, float radius, float height) + +
o Cone(const osg::Vec3& center, float radius, float height)

- -

o Cone(const Cone& cone, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o Cone(const Cone& cone, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

- -

oMETA_Shape (osg, Cone)() const + +
oMETA_Shape (osg, Cone)() const

- -

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

- -

oinline void setCenter(const Vec3& center) + +
oinline void setCenter(const Vec3& center)

- +

oinline const Vec3& getCenter() const

- -

oinline void setRadius(float radius) + +
oinline void setRadius(float radius)

- +

oinline float getRadius() const

- -

oinline void setHeight(float height) + +
oinline void setHeight(float height)

- +

oinline float getHeight() const

- +

oinline void setRotation(const Quat& quat)

- +

oinline const Quat& getRotation() const

- +

oinline Matrix getRotationMatrix() const

- +

oinline bool zeroRotation() const

- +

oinline float getBaseOffsetFactor() const

- +

oinline float getBaseOffset() const

- +

ovirtual ~Cone()

- +

oVec3 _center

- +

ofloat _radius

- +

ofloat _height

- +

oQuat _rotation

diff --git a/doc/doc++/osg/ConstArrayVisitor.html b/doc/doc++/osg/ConstArrayVisitor.html index 7cce56203..ddf7aad63 100644 --- a/doc/doc++/osg/ConstArrayVisitor.html +++ b/doc/doc++/osg/ConstArrayVisitor.html @@ -3,7 +3,7 @@ class osg::ConstArrayVisitor - + @@ -12,9 +12,9 @@

Public Methods

-[more] ConstArrayVisitor() +[more] ConstArrayVisitor()
-[more]virtual void apply(const Vec4Array&) +[more]virtual void apply(const Vec4Array&)

@@ -25,12 +25,12 @@
- +
o ConstArrayVisitor()

- -

ovirtual void apply(const Vec4Array&) + +
ovirtual void apply(const Vec4Array&)


This class has no child classes.
diff --git a/doc/doc++/osg/ConstAttributeFunctor.html b/doc/doc++/osg/ConstAttributeFunctor.html index bad47a377..290ed8a6d 100644 --- a/doc/doc++/osg/ConstAttributeFunctor.html +++ b/doc/doc++/osg/ConstAttributeFunctor.html @@ -3,7 +3,7 @@ class osg::Drawable::ConstAttributeFunctor - + @@ -12,9 +12,9 @@

Public Methods

-[more]virtual ~ConstAttributeFunctor() +[more]virtual ~ConstAttributeFunctor()
-[more]virtual void apply(AttributeType, const unsigned int, const UByte4*) +[more]virtual void apply(AttributeType, const unsigned int, const UByte4*)

@@ -25,12 +25,12 @@
- +
ovirtual ~ConstAttributeFunctor()

- -

ovirtual void apply(AttributeType, const unsigned int, const UByte4*) + +
ovirtual void apply(AttributeType, const unsigned int, const UByte4*)


This class has no child classes.
diff --git a/doc/doc++/osg/ConstShapeVisitor.html b/doc/doc++/osg/ConstShapeVisitor.html index 4c45313e9..770472482 100644 --- a/doc/doc++/osg/ConstShapeVisitor.html +++ b/doc/doc++/osg/ConstShapeVisitor.html @@ -3,7 +3,7 @@ class osg::ConstShapeVisitor - + @@ -12,9 +12,9 @@

Public Methods

-[more] ConstShapeVisitor() +[more] ConstShapeVisitor()
-[more]virtual void apply(const CompositeShape&) +[more]virtual void apply(const CompositeShape&)

@@ -25,11 +25,11 @@
- +
o ConstShapeVisitor()

- +

ovirtual void apply(const CompositeShape&)

diff --git a/doc/doc++/osg/ConstValueVisitor.html b/doc/doc++/osg/ConstValueVisitor.html index 5ee9ad939..4555f8afa 100644 --- a/doc/doc++/osg/ConstValueVisitor.html +++ b/doc/doc++/osg/ConstValueVisitor.html @@ -3,7 +3,7 @@ class osg::ConstValueVisitor - + @@ -12,9 +12,9 @@

Public Methods

-[more] ConstValueVisitor() +[more] ConstValueVisitor()
-[more]virtual void apply(const Vec4&) +[more]virtual void apply(const Vec4&)

@@ -25,11 +25,11 @@
- +
o ConstValueVisitor()

- +

ovirtual void apply(const Vec4&)

diff --git a/doc/doc++/osg/ConvexHull.html b/doc/doc++/osg/ConvexHull.html index 971ee2b36..8dae75978 100644 --- a/doc/doc++/osg/ConvexHull.html +++ b/doc/doc++/osg/ConvexHull.html @@ -3,7 +3,7 @@ class osg::ConvexHull - + @@ -22,11 +22,11 @@

Public Methods

-[more] ConvexHull() +[more] ConvexHull()
-[more] ConvexHull(const ConvexHull& hull, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] ConvexHull(const ConvexHull& hull, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more] META_Shape(osg, TriangleMesh) +[more] META_Shape(osg, TriangleMesh)

@@ -34,11 +34,11 @@

Public Methods

-oMETA_Shape (osg, TriangleMesh)(Vec3Array* vertices) +oMETA_Shape (osg, TriangleMesh)(Vec3Array* vertices)
-oVec3Array* getVertices() +oVec3Array* getVertices()
-oconst Vec3Array* getVertices() const +oconst Vec3Array* getVertices() const
ovoid setIndices(IndexArray* indices)
@@ -49,7 +49,7 @@

Protected Fields

-oref_ptr<Vec3Array> _vertices +oref_ptr<Vec3Array> _vertices
oref_ptr<IndexArray> _indices

@@ -79,9 +79,9 @@

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -97,7 +97,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -109,26 +109,22 @@

Public Methods

oinline Referenced& operator = (Referenced&)
-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -139,15 +135,15 @@
- +
o ConvexHull()

- -

o ConvexHull(const ConvexHull& hull, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o ConvexHull(const ConvexHull& hull, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

- +

o META_Shape(osg, TriangleMesh)

diff --git a/doc/doc++/osg/ConvexPlanarOccluder.html b/doc/doc++/osg/ConvexPlanarOccluder.html index 9aad4b821..d15fbb29e 100644 --- a/doc/doc++/osg/ConvexPlanarOccluder.html +++ b/doc/doc++/osg/ConvexPlanarOccluder.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::ConvexPlanarOccluder - + @@ -27,7 +27,7 @@
[more] ConvexPlanarOccluder(const ConvexPlanarOccluder& cpo, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more]META_Object (osg, ConvexPlanarOccluder)(const ConvexPlanarPolygon& cpp) +[more]META_Object (osg, ConvexPlanarOccluder)(const ConvexPlanarPolygon& cpp)
[more]ConvexPlanarPolygon& getOccluder()
@@ -38,12 +38,6 @@ [more]HoleList& getHoleList()
[more]const HoleList& getHoleList() const -
-[more]void computeAttributes() -
-[more]void computeBound(BoundingBox& bb) const -
-[more]void computeBound(BoundingSphere& bs) const

@@ -53,14 +47,14 @@

Protected Fields

-[more]ConvexPlanarPolygon _occluder +[more]ConvexPlanarPolygon _occluder
-[more]HoleList _holeList +[more]HoleList _holeList

Protected Methods

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

@@ -78,9 +72,9 @@
ovirtual const char* className() const
-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -96,7 +90,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -108,26 +102,22 @@

Public Methods

oinline Referenced& operator = (Referenced&)
-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -149,7 +139,7 @@ When adding planes, their normals should point inwards (into the volume)

-

oMETA_Object (osg, ConvexPlanarOccluder)(const ConvexPlanarPolygon& cpp) +
oMETA_Object (osg, ConvexPlanarOccluder)(const ConvexPlanarPolygon& cpp)

@@ -175,28 +165,16 @@ When adding planes, their normals should point inwards (into the volume)

oconst HoleList& getHoleList() const

- - -

ovoid computeAttributes() -

- - -

ovoid computeBound(BoundingBox& bb) const -

- - -

ovoid computeBound(BoundingSphere& bs) const -

- +

o ~ConvexPlanarOccluder()

- +

oConvexPlanarPolygon _occluder

- +

oHoleList _holeList

diff --git a/doc/doc++/osg/ConvexPlanarPolygon.html b/doc/doc++/osg/ConvexPlanarPolygon.html index 6ef4199c5..cb89d1e34 100644 --- a/doc/doc++/osg/ConvexPlanarPolygon.html +++ b/doc/doc++/osg/ConvexPlanarPolygon.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::ConvexPlanarPolygon - + diff --git a/doc/doc++/osg/CopyOp.html b/doc/doc++/osg/CopyOp.html index fe3576d19..d5685b4f9 100644 --- a/doc/doc++/osg/CopyOp.html +++ b/doc/doc++/osg/CopyOp.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::CopyOp - + @@ -17,11 +17,11 @@

[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 Node* operator() (const Node* node) const +[more]virtual Node* operator() (const Node* node) const
[more]virtual Drawable* operator() (const Drawable* drawable) const
@@ -129,7 +129,7 @@ during copy construction and clone operation

-

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

@@ -137,7 +137,7 @@ during copy construction and clone operation

-

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

diff --git a/doc/doc++/osg/CullFace.html b/doc/doc++/osg/CullFace.html index ff02d3756..2f939b55b 100644 --- a/doc/doc++/osg/CullFace.html +++ b/doc/doc++/osg/CullFace.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::CullFace - + @@ -28,12 +28,12 @@ [more] CullFace(const CullFace& cf, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, CullFace, CULLFACE) +[more] META_StateAttribute(osg, CullFace, CULLFACE)
[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
[more]inline void setMode(Mode mode)
@@ -72,7 +72,7 @@
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
@@ -105,9 +105,9 @@

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -123,7 +123,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -135,26 +135,22 @@

Public Methods

oinline Referenced& operator = (Referenced&)
-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -176,7 +172,7 @@

-

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

@@ -185,7 +181,7 @@

-

ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const +
ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

diff --git a/doc/doc++/osg/CullStack.html b/doc/doc++/osg/CullStack.html index 21fb3e878..d5e470236 100644 --- a/doc/doc++/osg/CullStack.html +++ b/doc/doc++/osg/CullStack.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::CullStack - + @@ -23,175 +23,175 @@

Public Methods

-[more] CullStack() +[more] CullStack()
-[more] ~CullStack() +[more] ~CullStack()
-[more]void reset() +[more]void reset()
-[more]void setOccluderList(const ShadowVolumeOccluderList& svol) +[more]void setOccluderList(const ShadowVolumeOccluderList& svol)
-[more]ShadowVolumeOccluderList& getOccluderList() +[more]ShadowVolumeOccluderList& getOccluderList()
-[more]const ShadowVolumeOccluderList& getOccluderList() const +[more]const ShadowVolumeOccluderList& getOccluderList() const
-[more]void pushViewport(osg::Viewport* viewport) +[more]void pushViewport(osg::Viewport* viewport)
-[more]void popViewport() +[more]void popViewport()
-[more]void pushProjectionMatrix(osg::Matrix* matrix) +[more]void pushProjectionMatrix(osg::RefMatrix* matrix)
-[more]void popProjectionMatrix() +[more]void popProjectionMatrix()
-[more]void pushModelViewMatrix(osg::Matrix* matrix) +[more]void pushModelViewMatrix(osg::RefMatrix* matrix)
-[more]void popModelViewMatrix() +[more]void popModelViewMatrix()
-[more]inline float getFrustumVolume() +[more]inline float getFrustumVolume()
-[more]void setCullingMode(CullingMode mode) +[more]void setCullingMode(CullingMode mode)
Sets the current CullingMode
-[more]CullingMode getCullingMode() const +[more]CullingMode getCullingMode() const
Returns the current CullingMode
-[more]void setLODScale(float bias) +[more]void setLODScale(float bias)
-[more]float getLODScale() const +[more]float getLODScale() const
-[more]void setSmallFeatureCullingPixelSize(float value) +[more]void setSmallFeatureCullingPixelSize(float value)
-[more]float getSmallFeatureCullingPixelSize() const +[more]float getSmallFeatureCullingPixelSize() const
-[more]float pixelSize(const Vec3& v, float radius) const +[more]float pixelSize(const Vec3& v, float radius) const
Compute the pixel of an object at position v, with specified radius
-[more]float pixelSize(const BoundingSphere& bs) const +[more]float pixelSize(const BoundingSphere& bs) const
Compute the pixel of an bounding sphere
-[more]inline void disableAndPushOccludersCurrentMask(NodePath& nodePath) +[more]inline void disableAndPushOccludersCurrentMask(NodePath& nodePath)
-[more]inline void popOccludersCurrentMask(NodePath& nodePath) +[more]inline void popOccludersCurrentMask(NodePath& nodePath)
-[more]inline bool isCulled(const std::vector<Vec3>& vertices) +[more]inline bool isCulled(const std::vector<Vec3>& vertices)
-[more]inline bool isCulled(const BoundingBox& bb) +[more]inline bool isCulled(const BoundingBox& bb)
-[more]inline bool isCulled(const BoundingSphere& bs) +[more]inline bool isCulled(const BoundingSphere& bs)
-[more]inline bool isCulled(const osg::Node& node) +[more]inline bool isCulled(const osg::Node& node)
-[more]inline void pushCurrentMask() +[more]inline void pushCurrentMask()
-[more]inline void popCurrentMask() +[more]inline void popCurrentMask()
-[more]CullingStack& getClipSpaceCullingStack() +[more]CullingStack& getClipSpaceCullingStack()
-[more]CullingStack& getProjectionCullingStack() +[more]CullingStack& getProjectionCullingStack()
-[more]CullingStack& getModelViewCullingStack() +[more]CullingStack& getModelViewCullingStack()
-[more]CullingSet& getCurrentCullingSet() +[more]CullingSet& getCurrentCullingSet()
-[more]inline osg::Viewport* getViewport() +[more]inline osg::Viewport* getViewport()
-[more]inline osg::Matrix& getModelViewMatrix() +[more]inline osg::RefMatrix& getModelViewMatrix()
-[more]inline osg::Matrix& getProjectionMatrix() +[more]inline osg::RefMatrix& getProjectionMatrix()
-[more]inline osg::Matrix getWindowMatrix() +[more]inline osg::Matrix getWindowMatrix()
-[more]inline const osg::Matrix& getMVPW() +[more]inline const osg::RefMatrix& getMVPW()
-[more]inline const osg::Vec3& getEyeLocal() const +[more]inline const osg::Vec3& getEyeLocal() const
-[more]inline const osg::Vec3 getUpLocal() const +[more]inline const osg::Vec3 getUpLocal() const
-[more]inline const osg::Vec3 getLookVectorLocal() const +[more]inline const osg::Vec3 getLookVectorLocal() const
-[more]inline Viewport* getViewport() +[more]inline Viewport* getViewport()
-[more]inline Matrix& getModelViewMatrix() +[more]inline RefMatrix& getModelViewMatrix()
-[more]inline Matrix& getProjectionMatrix() +[more]inline RefMatrix& getProjectionMatrix()
-[more]inline Matrix getWindowMatrix() +[more]inline Matrix getWindowMatrix()
-[more]inline const Matrix& getMVPW() +[more]inline const RefMatrix& getMVPW()
-[more]inline Matrix* createOrReuseMatrix(const osg::Matrix& value) +[more]inline RefMatrix* createOrReuseMatrix(const osg::Matrix& value)

Public Members

-[more]typedef std::vector<ShadowVolumeOccluder> OccluderList +[more]typedef std::vector<ShadowVolumeOccluder> OccluderList
-[more]enum CullingModeValues +[more]enum CullingModeValues
-[more]typedef unsigned int CullingMode +[more]typedef unsigned int CullingMode
-[more]typedef fast_back_stack<ref_ptr<CullingSet> > CullingStack +[more]typedef fast_back_stack<ref_ptr<CullingSet> > CullingStack

Protected Fields

-[more]CullingMode _cullingMode +[more]CullingMode _cullingMode
-[more]float _LODScale +[more]float _LODScale
-[more]float _smallFeatureCullingPixelSize +[more]float _smallFeatureCullingPixelSize
-[more]ShadowVolumeOccluderList _occluderList +[more]ShadowVolumeOccluderList _occluderList
-[more]MatrixStack _projectionStack +[more]MatrixStack _projectionStack
-[more]MatrixStack _modelviewStack +[more]MatrixStack _modelviewStack
-[more]MatrixStack _MVPW_Stack +[more]MatrixStack _MVPW_Stack
-[more]ViewportStack _viewportStack +[more]ViewportStack _viewportStack
-[more]EyePointStack _eyePointStack +[more]EyePointStack _eyePointStack
-[more]CullingStack _clipspaceCullingStack +[more]CullingStack _clipspaceCullingStack
-[more]CullingStack _projectionCullingStack +[more]CullingStack _projectionCullingStack
-[more]CullingStack _modelviewCullingStack +[more]CullingStack _modelviewCullingStack
-[more]float _frustumVolume +[more]float _frustumVolume
-[more]unsigned int _bbCornerNear +[more]unsigned int _bbCornerNear
-[more]unsigned int _bbCornerFar +[more]unsigned int _bbCornerFar
-[more]osg::Matrix _identity +[more]ref_ptr<osg::RefMatrix> _identity
-[more]MatrixList _reuseMatrixList +[more]MatrixList _reuseMatrixList
-[more]unsigned int _currentReuseMatrixIndex +[more]unsigned int _currentReuseMatrixIndex

Protected Methods

-[more]void pushCullingSet() +[more]void pushCullingSet()
-[more]void popCullingSet() +[more]void popCullingSet()
-[more]void computeFrustumVolume() +[more]void computeFrustumVolume()
-[more]inline osg::Matrix* createOrReuseMatrix(const osg::Matrix& value) +[more]inline osg::RefMatrix* createOrReuseMatrix(const osg::Matrix& value)

Protected Members

-[more]typedef fast_back_stack< ref_ptr<Matrix> > MatrixStack +[more]typedef fast_back_stack< ref_ptr<RefMatrix> > MatrixStack
-[more]typedef fast_back_stack<ref_ptr<Viewport> > ViewportStack +[more]typedef fast_back_stack<ref_ptr<Viewport> > ViewportStack
-[more]typedef fast_back_stack<Vec3> EyePointStack +[more]typedef fast_back_stack<Vec3> EyePointStack
-[more]typedef std::vector< osg::ref_ptr<osg::Matrix> > MatrixList +[more]typedef std::vector< osg::ref_ptr<osg::RefMatrix> > MatrixList

@@ -204,346 +204,346 @@ and the CullingSet.
- +
o CullStack()

- +

o ~CullStack()

- +

otypedef std::vector<ShadowVolumeOccluder> OccluderList

- +

oenum CullingModeValues

- +
o NO_CULLING

- +

o VIEW_FRUSTUM_CULLING

- +

o NEAR_PLANE_CULLING

- +

o FAR_PLANE_CULLING

- +

o SMALL_FEATURE_CULLING

- +

o SHADOW_OCCLUSION_CULLING

- +

o ENABLE_ALL_CULLING

- +
otypedef unsigned int CullingMode

- +

ovoid reset()

- +

ovoid setOccluderList(const ShadowVolumeOccluderList& svol)

- +

oShadowVolumeOccluderList& getOccluderList()

- +

oconst ShadowVolumeOccluderList& getOccluderList() const

- +

ovoid pushViewport(osg::Viewport* viewport)

- +

ovoid popViewport()

- -

ovoid pushProjectionMatrix(osg::Matrix* matrix) + +
ovoid pushProjectionMatrix(osg::RefMatrix* matrix)

- +

ovoid popProjectionMatrix()

- -

ovoid pushModelViewMatrix(osg::Matrix* matrix) + +
ovoid pushModelViewMatrix(osg::RefMatrix* matrix)

- +

ovoid popModelViewMatrix()

- +

oinline float getFrustumVolume()

- -

ovoid setCullingMode(CullingMode mode) + +
ovoid setCullingMode(CullingMode mode)
Sets the current CullingMode

- -

oCullingMode getCullingMode() const + +
oCullingMode getCullingMode() const
Returns the current CullingMode

- +

ovoid setLODScale(float bias)

- +

ofloat getLODScale() const

- +

ovoid setSmallFeatureCullingPixelSize(float value)

- +

ofloat getSmallFeatureCullingPixelSize() const

- -

ofloat pixelSize(const Vec3& v, float radius) const + +
ofloat pixelSize(const Vec3& v, float radius) const
Compute the pixel of an object at position v, with specified radius

- +

ofloat pixelSize(const BoundingSphere& bs) const
Compute the pixel of an bounding sphere

- -

oinline void disableAndPushOccludersCurrentMask(NodePath& nodePath) + +
oinline void disableAndPushOccludersCurrentMask(NodePath& nodePath)

- -

oinline void popOccludersCurrentMask(NodePath& nodePath) + +
oinline void popOccludersCurrentMask(NodePath& nodePath)

- +

oinline bool isCulled(const std::vector<Vec3>& vertices)

- +

oinline bool isCulled(const BoundingBox& bb)

- +

oinline bool isCulled(const BoundingSphere& bs)

- -

oinline bool isCulled(const osg::Node& node) + +
oinline bool isCulled(const osg::Node& node)

- +

oinline void pushCurrentMask()

- +

oinline void popCurrentMask()

- +

otypedef fast_back_stack<ref_ptr<CullingSet> > CullingStack

- -

oCullingStack& getClipSpaceCullingStack() + +
oCullingStack& getClipSpaceCullingStack()

- -

oCullingStack& getProjectionCullingStack() + +
oCullingStack& getProjectionCullingStack()

- -

oCullingStack& getModelViewCullingStack() + +
oCullingStack& getModelViewCullingStack()

- +

oCullingSet& getCurrentCullingSet()

- +

oinline osg::Viewport* getViewport()

- -

oinline osg::Matrix& getModelViewMatrix() + +
oinline osg::RefMatrix& getModelViewMatrix()

- -

oinline osg::Matrix& getProjectionMatrix() + +
oinline osg::RefMatrix& getProjectionMatrix()

- +

oinline osg::Matrix getWindowMatrix()

- -

oinline const osg::Matrix& getMVPW() + +
oinline const osg::RefMatrix& getMVPW()

- +

oinline const osg::Vec3& getEyeLocal() const

- +

oinline const osg::Vec3 getUpLocal() const

- +

oinline const osg::Vec3 getLookVectorLocal() const

- +

ovoid pushCullingSet()

- +

ovoid popCullingSet()

- -

oCullingMode _cullingMode + +
oCullingMode _cullingMode

- +

ofloat _LODScale

- +

ofloat _smallFeatureCullingPixelSize

- +

oShadowVolumeOccluderList _occluderList

- -

otypedef fast_back_stack< ref_ptr<Matrix> > MatrixStack + +
otypedef fast_back_stack< ref_ptr<RefMatrix> > MatrixStack

- -

oMatrixStack _projectionStack + +
oMatrixStack _projectionStack

- -

oMatrixStack _modelviewStack + +
oMatrixStack _modelviewStack

- -

oMatrixStack _MVPW_Stack + +
oMatrixStack _MVPW_Stack

- +

otypedef fast_back_stack<ref_ptr<Viewport> > ViewportStack

- -

oViewportStack _viewportStack + +
oViewportStack _viewportStack

- +

otypedef fast_back_stack<Vec3> EyePointStack

- -

oEyePointStack _eyePointStack + +
oEyePointStack _eyePointStack

- -

oCullingStack _clipspaceCullingStack + +
oCullingStack _clipspaceCullingStack

- -

oCullingStack _projectionCullingStack + +
oCullingStack _projectionCullingStack

- -

oCullingStack _modelviewCullingStack + +
oCullingStack _modelviewCullingStack

- +

ovoid computeFrustumVolume()

- +

ofloat _frustumVolume

- +

ounsigned int _bbCornerNear

- +

ounsigned int _bbCornerFar

- -

oosg::Matrix _identity + +
oref_ptr<osg::RefMatrix> _identity

- -

otypedef std::vector< osg::ref_ptr<osg::Matrix> > MatrixList + +
otypedef std::vector< osg::ref_ptr<osg::RefMatrix> > MatrixList

- -

oMatrixList _reuseMatrixList + +
oMatrixList _reuseMatrixList

- +

ounsigned int _currentReuseMatrixIndex

- -

oinline osg::Matrix* createOrReuseMatrix(const osg::Matrix& value) + +
oinline osg::RefMatrix* createOrReuseMatrix(const osg::Matrix& value)

- +

oinline Viewport* getViewport()

- -

oinline Matrix& getModelViewMatrix() + +
oinline RefMatrix& getModelViewMatrix()

- -

oinline Matrix& getProjectionMatrix() + +
oinline RefMatrix& getProjectionMatrix()

- +

oinline Matrix getWindowMatrix()

- -

oinline const Matrix& getMVPW() + +
oinline const RefMatrix& getMVPW()

- -

oinline Matrix* createOrReuseMatrix(const osg::Matrix& value) + +
oinline RefMatrix* createOrReuseMatrix(const osg::Matrix& value)


Direct child classes: diff --git a/doc/doc++/osg/CullingSet.html b/doc/doc++/osg/CullingSet.html index 467d80153..5f9a0092c 100644 --- a/doc/doc++/osg/CullingSet.html +++ b/doc/doc++/osg/CullingSet.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::CullingSet - + @@ -23,75 +23,78 @@

Public Methods

-[more] CullingSet() +[more] CullingSet()
-[more] CullingSet(const CullingSet& cs, const Matrix& matrix, const Vec4& pixelSizeVector) +[more] CullingSet(const CullingSet& cs, const Matrix& matrix, const Vec4& pixelSizeVector)
-[more] ~CullingSet() +[more]void setCullingMask(Mask mask)
-[more]void setCullingMask(Mask mask) +[more]void setFrustum(Polytope& cv)
-[more]void setFrustum(Polytope& cv) +[more]Polytope& getFrustum()
-[more]Polytope& getFrustum() +[more]const Polytope& getFrustum() const
-[more]const Polytope& getFrustum() const +[more]void addOccluder(ShadowVolumeOccluder& cv)
-[more]void addOccluder(ShadowVolumeOccluder& cv) +[more]void setPixelSizeVector(const Vec4& v)
-[more]void setPixelSizeVector(const Vec4& v) +[more]Vec4& getPixelSizeVector()
-[more]Vec4& getPixelSizeVector() +[more]const Vec4& getPixelSizeVector() const
-[more]const Vec4& getPixelSizeVector() const +[more]void setSmallFeatureCullingPixelSize(float value)
-[more]void setSmallFeatureCullingPixelSize(float value) +[more]float& getSmallFeatureCullingPixelSize()
-[more]float& getSmallFeatureCullingPixelSize() +[more]float getSmallFeatureCullingPixelSize() const
-[more]float getSmallFeatureCullingPixelSize() const -
-[more]float pixelSize(const Vec3& v, float radius) const +[more]float pixelSize(const Vec3& v, float radius) const
Compute the pixel of an object at position v, with specified radius
-[more]float pixelSize(const BoundingSphere& bs) const +[more]float pixelSize(const BoundingSphere& bs) const
Compute the pixel of an bounding sphere
-[more]inline bool isCulled(const std::vector<Vec3>& vertices) +[more]inline bool isCulled(const std::vector<Vec3>& vertices)
-[more]inline bool isCulled(const BoundingBox& bb) +[more]inline bool isCulled(const BoundingBox& bb)
-[more]inline bool isCulled(const BoundingSphere& bs) +[more]inline bool isCulled(const BoundingSphere& bs)
-[more]inline void pushCurrentMask() +[more]inline void pushCurrentMask()
-[more]inline void popCurrentMask() +[more]inline void popCurrentMask()
-[more]void disableAndPushOccludersCurrentMask(NodePath& nodePath) +[more]void disableAndPushOccludersCurrentMask(NodePath& nodePath)
-[more]void popOccludersCurrentMask(NodePath& nodePath) +[more]void popOccludersCurrentMask(NodePath& nodePath)

Public Members

-[more]typedef std::vector<ShadowVolumeOccluder> OccluderList +[more]typedef std::vector<ShadowVolumeOccluder> OccluderList
-[more]typedef unsigned int Mask +[more]typedef unsigned int Mask
-[more]enum MaskValues +[more]enum MaskValues

Protected Fields

-[more]Mask _mask +[more]Mask _mask
-[more]Polytope _frustum +[more]Polytope _frustum
-[more]OccluderList _occluderList +[more]OccluderList _occluderList
-[more]Vec4 _pixelSizeVector +[more]Vec4 _pixelSizeVector
-[more]float _smallFeatureCullingPixelSize +[more]float _smallFeatureCullingPixelSize +

+ +

+

Protected Methods

+[more]virtual ~CullingSet()

@@ -101,26 +104,22 @@

Public Methods

oinline Referenced& operator = (Referenced&)
-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -132,147 +131,147 @@
- +
o CullingSet()

- -

o CullingSet(const CullingSet& cs, const Matrix& matrix, const Vec4& pixelSizeVector) -

- - -

o ~CullingSet() + +
o CullingSet(const CullingSet& cs, const Matrix& matrix, const Vec4& pixelSizeVector)

- +

otypedef std::vector<ShadowVolumeOccluder> OccluderList

- +

otypedef unsigned int Mask

- +

oenum MaskValues

- +
o VIEW_FRUSTUM_CULLING

- +

o SMALL_FEATURE_CULLING

- +

o SHADOW_OCCLUSION_CULLING

- +

o ALL_CULLING

- -
ovoid setCullingMask(Mask mask) + +
ovoid setCullingMask(Mask mask)

- +

ovoid setFrustum(Polytope& cv)

- +

oPolytope& getFrustum()

- +

oconst Polytope& getFrustum() const

- +

ovoid addOccluder(ShadowVolumeOccluder& cv)

- +

ovoid setPixelSizeVector(const Vec4& v)

- +

oVec4& getPixelSizeVector()

- +

oconst Vec4& getPixelSizeVector() const

- +

ovoid setSmallFeatureCullingPixelSize(float value)

- +

ofloat& getSmallFeatureCullingPixelSize()

- +

ofloat getSmallFeatureCullingPixelSize() const

- -

ofloat pixelSize(const Vec3& v, float radius) const + +
ofloat pixelSize(const Vec3& v, float radius) const
Compute the pixel of an object at position v, with specified radius

- +

ofloat pixelSize(const BoundingSphere& bs) const
Compute the pixel of an bounding sphere

- +

oinline bool isCulled(const std::vector<Vec3>& vertices)

- +

oinline bool isCulled(const BoundingBox& bb)

- +

oinline bool isCulled(const BoundingSphere& bs)

- +

oinline void pushCurrentMask()

- +

oinline void popCurrentMask()

- -

ovoid disableAndPushOccludersCurrentMask(NodePath& nodePath) + +
ovoid disableAndPushOccludersCurrentMask(NodePath& nodePath)

- -

ovoid popOccludersCurrentMask(NodePath& nodePath) + +
ovoid popOccludersCurrentMask(NodePath& nodePath) +

+ + +

ovirtual ~CullingSet()

- -

oMask _mask + +
oMask _mask

- +

oPolytope _frustum

- -

oOccluderList _occluderList + +
oOccluderList _occluderList

- +

oVec4 _pixelSizeVector

- +

ofloat _smallFeatureCullingPixelSize

diff --git a/doc/doc++/osg/Cylinder.html b/doc/doc++/osg/Cylinder.html index 291c949a2..0ddbc2dab 100644 --- a/doc/doc++/osg/Cylinder.html +++ b/doc/doc++/osg/Cylinder.html @@ -3,7 +3,7 @@ class osg::Cylinder - + @@ -22,51 +22,51 @@

Public Methods

-[more] Cylinder() +[more] Cylinder()
-[more] Cylinder(const osg::Vec3& center, float radius, float height) +[more] Cylinder(const osg::Vec3& center, float radius, float height)
-[more] Cylinder(const Cylinder& cylinder, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Cylinder(const Cylinder& cylinder, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more]META_Shape (osg, Cylinder)() const +[more]META_Shape (osg, Cylinder)() const
-[more]inline void set(const Vec3& center, float radius, float height) +[more]inline void set(const Vec3& center, float radius, float height)
-[more]inline void setCenter(const Vec3& center) +[more]inline void setCenter(const Vec3& center)
-[more]inline const Vec3& getCenter() const +[more]inline const Vec3& getCenter() const
-[more]inline void setRadius(float radius) +[more]inline void setRadius(float radius)
-[more]inline float getRadius() const +[more]inline float getRadius() const
-[more]inline void setHeight(float height) +[more]inline void setHeight(float height)
-[more]inline float getHeight() const +[more]inline float getHeight() const
-[more]inline void setRotation(const Quat& quat) +[more]inline void setRotation(const Quat& quat)
-[more]inline const Quat& getRotation() const +[more]inline const Quat& getRotation() const
-[more]inline Matrix getRotationMatrix() const +[more]inline Matrix getRotationMatrix() const
-[more]bool zeroRotation() const +[more]bool zeroRotation() const

Protected Fields

-[more]Vec3 _center +[more]Vec3 _center
-[more]float _radius +[more]float _radius
-[more]float _height +[more]float _height
-[more]Quat _rotation +[more]Quat _rotation

Protected Methods

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

@@ -94,9 +94,9 @@

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -112,7 +112,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -124,26 +124,22 @@

Public Methods

oinline Referenced& operator = (Referenced&)
-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -154,83 +150,83 @@
- +
o Cylinder()

- -

o Cylinder(const osg::Vec3& center, float radius, float height) + +
o Cylinder(const osg::Vec3& center, float radius, float height)

- -

o Cylinder(const Cylinder& cylinder, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o Cylinder(const Cylinder& cylinder, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

- -

oMETA_Shape (osg, Cylinder)() const + +
oMETA_Shape (osg, Cylinder)() const

- -

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

- -

oinline void setCenter(const Vec3& center) + +
oinline void setCenter(const Vec3& center)

- +

oinline const Vec3& getCenter() const

- -

oinline void setRadius(float radius) + +
oinline void setRadius(float radius)

- +

oinline float getRadius() const

- -

oinline void setHeight(float height) + +
oinline void setHeight(float height)

- +

oinline float getHeight() const

- +

oinline void setRotation(const Quat& quat)

- +

oinline const Quat& getRotation() const

- +

oinline Matrix getRotationMatrix() const

- +

obool zeroRotation() const

- +

ovirtual ~Cylinder()

- +

oVec3 _center

- +

ofloat _radius

- +

ofloat _height

- +

oQuat _rotation

diff --git a/doc/doc++/osg/DOFTransform.html b/doc/doc++/osg/DOFTransform.html index 6971185c2..2ede5eb01 100644 --- a/doc/doc++/osg/DOFTransform.html +++ b/doc/doc++/osg/DOFTransform.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::DOFTransform - + @@ -11,11 +11,11 @@

Inheritance:

- - - - - + + + + +
@@ -23,134 +23,138 @@

Public Methods

-[more] DOFTransform() +[more] DOFTransform()
constructor
-[more] DOFTransform(const DOFTransform& dof, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] DOFTransform(const DOFTransform& dof, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
copy constructor
-[more] META_Node(osg, DOFTransform) +[more] META_Node(osg, DOFTransform)
-[more]virtual void traverse(NodeVisitor& nv) +[more]virtual DOFTransform* asDOFTransform()
-[more]void setMinHPR(const Vec3& hpr) +[more]virtual const DOFTransform* asDOFTransform() const
-[more]const Vec3& getMinHPR() const +[more]virtual void traverse(NodeVisitor& nv)
-[more]void setMaxHPR(const Vec3& hpr) +[more]void setMinHPR(const Vec3& hpr)
-[more]const Vec3& getMaxHPR() const +[more]const Vec3& getMinHPR() const
-[more]void setIncrementHPR(const Vec3& hpr) +[more]void setMaxHPR(const Vec3& hpr)
-[more]const Vec3& getIncrementHPR() const +[more]const Vec3& getMaxHPR() const
-[more]void setCurrentHPR(const Vec3& hpr) +[more]void setIncrementHPR(const Vec3& hpr)
-[more]const Vec3& getCurrentHPR() const +[more]const Vec3& getIncrementHPR() const
-[more]void updateCurrentHPR(const Vec3& hpr) +[more]void setCurrentHPR(const Vec3& hpr)
-[more]void setMinTranslate(const Vec3& translate) +[more]const Vec3& getCurrentHPR() const
-[more]const Vec3& getMinTranslate() const +[more]void updateCurrentHPR(const Vec3& hpr)
-[more]void setMaxTranslate(const Vec3& translate) +[more]void setMinTranslate(const Vec3& translate)
-[more]const Vec3& getMaxTranslate() const +[more]const Vec3& getMinTranslate() const
-[more]void setIncrementTranslate(const Vec3& translate) +[more]void setMaxTranslate(const Vec3& translate)
-[more]const Vec3& getIncrementTranslate() const +[more]const Vec3& getMaxTranslate() const
-[more]void setCurrentTranslate(const Vec3& translate) +[more]void setIncrementTranslate(const Vec3& translate)
-[more]inline const Vec3& getCurrentTranslate() const +[more]const Vec3& getIncrementTranslate() const
-[more]void updateCurrentTranslate(const Vec3& translate) +[more]void setCurrentTranslate(const Vec3& translate)
-[more]void setMinScale(const Vec3& scale) +[more]inline const Vec3& getCurrentTranslate() const
-[more]const Vec3& getMinScale() const +[more]void updateCurrentTranslate(const Vec3& translate)
-[more]void setMaxScale(const Vec3& scale) +[more]void setMinScale(const Vec3& scale)
-[more]const Vec3& getMaxScale() const +[more]const Vec3& getMinScale() const
-[more]void setIncrementScale(const Vec3& scale) +[more]void setMaxScale(const Vec3& scale)
-[more]const Vec3& getIncrementScale() const +[more]const Vec3& getMaxScale() const
-[more]void setCurrentScale(const Vec3& scale) +[more]void setIncrementScale(const Vec3& scale)
-[more]inline const Vec3& getCurrentScale() const +[more]const Vec3& getIncrementScale() const
-[more]void updateCurrentScale(const Vec3& scale) +[more]void setCurrentScale(const Vec3& scale)
-[more]void setPutMatrix(const Matrix& put) +[more]inline const Vec3& getCurrentScale() const
-[more]inline const Matrix& getPutMatrix() const +[more]void updateCurrentScale(const Vec3& scale)
-[more]void setInversePutMatrix(const Matrix& inversePut) +[more]void setPutMatrix(const Matrix& put)
-[more]inline const Matrix& getInversePutMatrix() const +[more]inline const Matrix& getPutMatrix() const
-[more]void setLimitationFlags(unsigned long flags) +[more]void setInversePutMatrix(const Matrix& inversePut)
-[more]inline unsigned long getLimitationFlags() const +[more]inline const Matrix& getInversePutMatrix() const
-[more]inline void setAnimationOn(bool do_animate) +[more]void setLimitationFlags(unsigned long flags)
-[more]inline bool getAnimationOn() const +[more]inline unsigned long getLimitationFlags() const
-[more]void animate() +[more]inline void setAnimationOn(bool do_animate)
-[more]virtual bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const +[more]inline bool getAnimationOn() const
-[more]virtual bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const +[more]void animate() +
+[more]virtual bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const +
+[more]virtual bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const

Protected Fields

-[more]Vec3 _minHPR +[more]Vec3 _minHPR
-[more]Vec3 _maxHPR +[more]Vec3 _maxHPR
-[more]Vec3 _currentHPR +[more]Vec3 _currentHPR
-[more]Vec3 _incrementHPR +[more]Vec3 _incrementHPR
-[more]Vec3 _minTranslate +[more]Vec3 _minTranslate
-[more]Vec3 _maxTranslate +[more]Vec3 _maxTranslate
-[more]Vec3 _currentTranslate +[more]Vec3 _currentTranslate
-[more]Vec3 _incrementTranslate +[more]Vec3 _incrementTranslate
-[more]Vec3 _minScale +[more]Vec3 _minScale
-[more]Vec3 _maxScale +[more]Vec3 _maxScale
-[more]Vec3 _currentScale +[more]Vec3 _currentScale
-[more]Vec3 _incrementScale +[more]Vec3 _incrementScale
-[more]Matrix _Put +[more]Matrix _Put
-[more]Matrix _inversePut +[more]Matrix _inversePut
-[more]unsigned long _limitationFlags +[more]unsigned long _limitationFlags
-[more]bool _animationOn +[more]bool _animationOn
-[more]unsigned short _increasingFlags +[more]unsigned short _increasingFlags
flags indicating whether value is incerasing or decreasing in animation bits form right to left, 1 means increasing while 0 is decreasing 0 = x translation 1 = y translation 2 = z translation 3 = pitch 4 = roll 5 = yaw 6 = x scale 7 = y scale 8 = z scale

Protected Methods

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

@@ -162,15 +166,23 @@
ovirtual const Transform* asTransform() const
-ovoid setReferenceFrame(ReferenceFrame rf) +ovirtual MatrixTransform* asMatrixTransform()
-oReferenceFrame getReferenceFrame() const +ovirtual const MatrixTransform* asMatrixTransform() const
-ovoid setComputeTransformCallback(ComputeTransformCallback* ctc) +ovirtual PositionAttitudeTransform* asPositionAttitudeTransform()
-oComputeTransformCallback* getComputeTransformCallback() +ovirtual const PositionAttitudeTransform* asPositionAttitudeTransform() const
-oconst ComputeTransformCallback* getComputeTransformCallback() const +ovoid setReferenceFrame(ReferenceFrame rf) +
+oReferenceFrame getReferenceFrame() const +
+ovoid setComputeTransformCallback(ComputeTransformCallback* ctc) +
+oComputeTransformCallback* getComputeTransformCallback() +
+oconst ComputeTransformCallback* getComputeTransformCallback() const
oinline bool getLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const
@@ -181,14 +193,14 @@

Public Members

oenum ReferenceFrame
-ostruct ComputeTransformCallback: public osg::Referenced +ostruct ComputeTransformCallback: public virtual osg::Referenced

Protected Fields

-oref_ptr<ComputeTransformCallback> _computeTransformCallback +oref_ptr<ComputeTransformCallback> _computeTransformCallback
-oReferenceFrame _referenceFrame +oReferenceFrame _referenceFrame

@@ -205,35 +217,235 @@
ovirtual const Group* asGroup() const
-ovirtual bool addChild( Node* child ) +ovirtual bool addChild( Node* child )
-ovirtual bool removeChild( Node* child ) +ovirtual bool removeChild( Node* child )
-ovirtual bool replaceChild( Node* origChild, Node* newChild ) +ovirtual bool removeChild(unsigned int pos, unsigned int numChildrenToRemove=1) +
+ovirtual bool replaceChild( Node* origChild, Node* newChild )
oinline unsigned int getNumChildren() const
-oinline Node* getChild( unsigned int i ) +ovirtual bool setChild( unsigned int i, Node* node )
-oinline const Node* getChild( unsigned int i ) const +oinline Node* getChild( unsigned int i )
-oinline bool containsNode( const Node* node ) const +oinline const Node* getChild( unsigned int i ) const
-oinline ChildList::iterator findNode( const Node* node ) +oinline bool containsNode( const Node* node ) const
-oinline ChildList::const_iterator findNode( const Node* node ) const -
-oinline unsigned int findChildNo( const Node* node ) const +oinline unsigned int getChildIndex( const Node* node ) const

Public Members

-otypedef std::vector<ref_ptr<Node> > ChildList +otypedef std::vector<ref_ptr<Node> > ChildList

Protected Fields

-oChildList _children +oChildList _children +

+ + +

Inherited from Node:

+
+

+

Public Methods

+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 +
+ovirtual void accept(NodeVisitor& nv) +
+ovirtual void ascend(NodeVisitor& nv) +
+oinline void setName( const std::string& name ) +
+oinline void setName( const char* name ) +
+oinline const std::string& getName() const +
+oinline const ParentList& getParents() const +
+oinline ParentList getParents() +
+oinline Group* getParent(unsigned int i) +
+oinline const Group* getParent(unsigned int i) const +
+oinline unsigned int getNumParents() const +
+ovoid setUpdateCallback(NodeCallback* nc) +
+oinline NodeCallback* getUpdateCallback() +
+oinline const NodeCallback* getUpdateCallback() const +
+ovoid setAppCallback(NodeCallback* nc) +
+oinline NodeCallback* getAppCallback() +
+oinline const NodeCallback* getAppCallback() const +
+oinline unsigned int getNumChildrenRequiringUpdateTraversal() const +
+ovoid setCullCallback(NodeCallback* nc) +
+oinline NodeCallback* getCullCallback() +
+oinline const NodeCallback* getCullCallback() const +
+ovoid setCullingActive(bool active) +
+oinline bool getCullingActive() const +
+oinline unsigned int getNumChildrenWithCullingDisabled() const +
+oinline bool isCullingActive() const +
+oinline unsigned int getNumChildrenWithOccluderNodes() const +
+obool containsOccluderNodes() const +
+oinline void setNodeMask(NodeMask nm) +
+oinline NodeMask getNodeMask() const +
+oinline const DescriptionList& getDescriptions() const +
+oinline DescriptionList& getDescriptions() +
+oinline const std::string& getDescription(unsigned int i) const +
+oinline std::string& getDescription(unsigned int i) +
+oinline unsigned int getNumDescriptions() const +
+ovoid addDescription(const std::string& desc) +
+oinline void setStateSet(osg::StateSet* dstate) +
+oosg::StateSet* getOrCreateStateSet() +
+oinline osg::StateSet* getStateSet() +
+oinline const osg::StateSet* getStateSet() const +
+oinline const BoundingSphere& getBound() const +
+ovoid dirtyBound() +

+ +

+

Public Members

+otypedef std::vector<Group*> ParentList +
+otypedef unsigned int NodeMask +
+otypedef std::vector<std::string> DescriptionList +

+ +

+

Protected Fields

+omutable BoundingSphere _bsphere +
+omutable bool _bsphere_computed +
+ostd::string _name +
+oParentList _parents +
+oref_ptr<NodeCallback> _updateCallback +
+ounsigned int _numChildrenRequiringUpdateTraversal +
+oref_ptr<NodeCallback> _cullCallback +
+obool _cullingActive +
+ounsigned int _numChildrenWithCullingDisabled +
+ounsigned int _numChildrenWithOccluderNodes +
+oNodeMask _nodeMask +
+oDescriptionList _descriptions +
+oref_ptr<StateSet> _stateset +

+ +

+

Protected Methods

+ovoid addParent(osg::Group* node) +
+ovoid removeParent(osg::Group* node) +
+ovoid setNumChildrenRequiringUpdateTraversal(unsigned int num) +
+ovoid setNumChildrenWithCullingDisabled(unsigned int num) +
+ovoid setNumChildrenWithOccluderNodes(unsigned int num) +

+ +
+

Inherited from Object:

+
+

+

Public Methods

+oinline void setDataVariance(DataVariance dv) +
+oinline DataVariance getDataVariance() const +
+oinline void setUserData(Referenced* obj) +
+oinline Referenced* getUserData() +
+oinline const Referenced* getUserData() const +

+ +

+

Public Members

+oenum DataVariance +

+ +

+

Protected Fields

+oDataVariance _dataVariance +
+oref_ptr<Referenced> _userData +

+ +
+

Inherited from Referenced:

+
+

+

Public Methods

+oinline Referenced& operator = (Referenced&) +
+ostatic void setDeleteHandler(DeleteHandler* handler) +
+ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const +
+oinline void unref_nodelete() const +
+oinline int referenceCount() const +
+oinline void unref() const +

+ +

+

Protected Fields

+omutable int _refCount

@@ -245,245 +457,253 @@
- +
o DOFTransform()
constructor

- -

o DOFTransform(const DOFTransform& dof, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o DOFTransform(const DOFTransform& dof, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
copy constructor

- +

o META_Node(osg, DOFTransform)

+ + +

ovirtual DOFTransform* asDOFTransform() +

+ + +

ovirtual const DOFTransform* asDOFTransform() const +

- +

ovirtual void traverse(NodeVisitor& nv)

- +

ovoid setMinHPR(const Vec3& hpr)

- +

oconst Vec3& getMinHPR() const

- +

ovoid setMaxHPR(const Vec3& hpr)

- +

oconst Vec3& getMaxHPR() const

- +

ovoid setIncrementHPR(const Vec3& hpr)

- +

oconst Vec3& getIncrementHPR() const

- +

ovoid setCurrentHPR(const Vec3& hpr)

- +

oconst Vec3& getCurrentHPR() const

- +

ovoid updateCurrentHPR(const Vec3& hpr)

- -

ovoid setMinTranslate(const Vec3& translate) + +
ovoid setMinTranslate(const Vec3& translate)

- +

oconst Vec3& getMinTranslate() const

- -

ovoid setMaxTranslate(const Vec3& translate) + +
ovoid setMaxTranslate(const Vec3& translate)

- +

oconst Vec3& getMaxTranslate() const

- -

ovoid setIncrementTranslate(const Vec3& translate) + +
ovoid setIncrementTranslate(const Vec3& translate)

- +

oconst Vec3& getIncrementTranslate() const

- -

ovoid setCurrentTranslate(const Vec3& translate) + +
ovoid setCurrentTranslate(const Vec3& translate)

- +

oinline const Vec3& getCurrentTranslate() const

- -

ovoid updateCurrentTranslate(const Vec3& translate) + +
ovoid updateCurrentTranslate(const Vec3& translate)

- -

ovoid setMinScale(const Vec3& scale) + +
ovoid setMinScale(const Vec3& scale)

- +

oconst Vec3& getMinScale() const

- -

ovoid setMaxScale(const Vec3& scale) + +
ovoid setMaxScale(const Vec3& scale)

- +

oconst Vec3& getMaxScale() const

- -

ovoid setIncrementScale(const Vec3& scale) + +
ovoid setIncrementScale(const Vec3& scale)

- +

oconst Vec3& getIncrementScale() const

- -

ovoid setCurrentScale(const Vec3& scale) + +
ovoid setCurrentScale(const Vec3& scale)

- +

oinline const Vec3& getCurrentScale() const

- -

ovoid updateCurrentScale(const Vec3& scale) + +
ovoid updateCurrentScale(const Vec3& scale)

- +

ovoid setPutMatrix(const Matrix& put)

- +

oinline const Matrix& getPutMatrix() const

- +

ovoid setInversePutMatrix(const Matrix& inversePut)

- +

oinline const Matrix& getInversePutMatrix() const

- +

ovoid setLimitationFlags(unsigned long flags)

- +

oinline unsigned long getLimitationFlags() const

- +

oinline void setAnimationOn(bool do_animate)

- +

oinline bool getAnimationOn() const

- +

ovoid animate()

- +

ovirtual bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const

- +

ovirtual bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const

- +

ovirtual ~DOFTransform()

- +

oVec3 _minHPR

- +

oVec3 _maxHPR

- +

oVec3 _currentHPR

- +

oVec3 _incrementHPR

- +

oVec3 _minTranslate

- +

oVec3 _maxTranslate

- +

oVec3 _currentTranslate

- +

oVec3 _incrementTranslate

- +

oVec3 _minScale

- +

oVec3 _maxScale

- +

oVec3 _currentScale

- +

oVec3 _incrementScale

- +

oMatrix _Put

- +

oMatrix _inversePut

- +

ounsigned long _limitationFlags

- +

obool _animationOn

- +

ounsigned short _increasingFlags
flags indicating whether value is incerasing or decreasing in animation bits form right to left, 1 means increasing while 0 is decreasing diff --git a/doc/doc++/osg/DeleteHandler.html b/doc/doc++/osg/DeleteHandler.html new file mode 100644 index 000000000..55afaba3f --- /dev/null +++ b/doc/doc++/osg/DeleteHandler.html @@ -0,0 +1,69 @@ + + + + + class osg::DeleteHandler + + + + +

class osg::DeleteHandler

Class for override the default delete behavior so that users can implment their own object deletion schemes.
+
+ +
+

+

Public Methods

+[more]virtual ~DeleteHandler() +
+[more]virtual void flush() +
flush any cache of objects that need to be deleted by doing an actual delete +
+[more]inline void doDelete(const Referenced* object) +
+[more]virtual void requestDelete(const Referenced* object) +
Request the deletion of an object. +

+ +
+ + +
+

Documentation

+
Class for override the default delete behavior so that users can implment their own object +deletion schemes. This might be done to help implement protection of multiple threads from deleting +objects unintentionally. +Note, the DeleteHandler cannot itself be reference counted, otherwise it +would be responsible for deleting itself! +An static auto_ptr<> is used internally in Referenced.cpp to manage the +DeleteHandler's memory.
+
+ + + +
ovirtual ~DeleteHandler() +

+ + +

ovirtual void flush() +
flush any cache of objects that need to be deleted by doing an actual delete +

+ + +

oinline void doDelete(const Referenced* object) +

+ + +

ovirtual void requestDelete(const Referenced* object) +
Request the deletion of an object. +Depending on users implementation of DeleteHandler, the delete of the object may occur +straight away or be delayed until doDelete is called. +The default implementation does a delete straight away. +

+ +
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++/osg/Depth.html b/doc/doc++/osg/Depth.html index 94e83f160..d8587b10f 100644 --- a/doc/doc++/osg/Depth.html +++ b/doc/doc++/osg/Depth.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Depth - + @@ -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(osg, 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 getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
-[more]inline void setFunction(Function func) +[more]inline void setFunction(Function func)
-[more]inline Function getFunction() const +[more]inline Function getFunction() const
-[more]inline void setWriteMask(bool mask) +[more]inline void setWriteMask(bool mask)
-[more]inline bool getWriteMask() const +[more]inline bool getWriteMask() const
-[more]inline void setRange(double zNear, double zFar) +[more]inline void setRange(double zNear, double zFar)
-[more]inline double getZNear() const +[more]inline double getZNear() const
-[more]inline double getZFar() const +[more]inline 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()

@@ -88,7 +88,7 @@
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
@@ -121,9 +121,9 @@

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -139,7 +139,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -151,26 +151,22 @@

Public Methods

oinline Referenced& operator = (Referenced&)
-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -182,115 +178,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(osg, 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 getAssociatedModes(std::vector<GLMode>& modes) 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(Function func) + +
oinline void setFunction(Function func)

- -

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

- +

oinline void setWriteMask(bool mask)

- +

oinline bool getWriteMask() const

- -

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

- +

oinline double getZNear() const

- +

oinline 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 599586801..144242397 100644 --- a/doc/doc++/osg/DisplaySettings.html +++ b/doc/doc++/osg/DisplaySettings.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::DisplaySettings - + @@ -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]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(bool on) +[more]void setStereo(bool on)
-[more]bool getStereo() const +[more]bool getStereo() const
-[more]void setStereoMode(StereoMode mode) +[more]void setStereoMode(StereoMode mode)
-[more]StereoMode getStereoMode() const +[more]StereoMode getStereoMode() const
-[more]void setEyeSeparation(float eyeSeparation) +[more]void setEyeSeparation(float eyeSeparation)
-[more]float getEyeSeparation() const +[more]float getEyeSeparation() const
-[more]void setScreenDistance(float distance) +[more]void setScreenDistance(float distance)
-[more]float getScreenDistance() const +[more]float getScreenDistance() const
-[more]void setSplitStereoHorizontalEyeMapping(SplitStereoHorizontalEyeMapping m) +[more]void setSplitStereoHorizontalEyeMapping(SplitStereoHorizontalEyeMapping m)
-[more]SplitStereoHorizontalEyeMapping getSplitStereoHorizontalEyeMapping() const +[more]SplitStereoHorizontalEyeMapping getSplitStereoHorizontalEyeMapping() const
-[more]void setSplitStereoHorizontalSeparation(int s) +[more]void setSplitStereoHorizontalSeparation(int s)
-[more]int getSplitStereoHorizontalSeparation() const +[more]int getSplitStereoHorizontalSeparation() const
-[more]void setSplitStereoVerticalEyeMapping(SplitStereoVerticalEyeMapping m) +[more]void setSplitStereoVerticalEyeMapping(SplitStereoVerticalEyeMapping m)
-[more]SplitStereoVerticalEyeMapping getSplitStereoVerticalEyeMapping() const +[more]SplitStereoVerticalEyeMapping getSplitStereoVerticalEyeMapping() const
-[more]void setSplitStereoVerticalSeparation(int s) +[more]void setSplitStereoVerticalSeparation(int s)
-[more]int getSplitStereoVerticalSeparation() const +[more]int getSplitStereoVerticalSeparation() const
-[more]void setScreenHeight(float height) +[more]void setScreenHeight(float height)
-[more]float getScreenHeight() const +[more]float getScreenHeight() const
-[more]void setDoubleBuffer(bool flag) +[more]void setDoubleBuffer(bool flag)
-[more]bool getDoubleBuffer() const +[more]bool getDoubleBuffer() const
-[more]void setRGB(bool flag) +[more]void setRGB(bool flag)
-[more]bool getRGB() const +[more]bool getRGB() const
-[more]void setDepthBuffer(bool flag) +[more]void setDepthBuffer(bool flag)
-[more]bool getDepthBuffer() const +[more]bool getDepthBuffer() const
-[more]void setMinimumNumAlphaBits(unsigned int bits) +[more]void setMinimumNumAlphaBits(unsigned int bits)
-[more]unsigned int getMinimumNumAlphaBits() const +[more]unsigned int getMinimumNumAlphaBits() const
-[more]bool getAlphaBuffer() const +[more]bool getAlphaBuffer() const
-[more]void setMinimumNumStencilBits(unsigned int bits) +[more]void setMinimumNumStencilBits(unsigned int bits)
-[more]unsigned int getMinimumNumStencilBits() const +[more]unsigned int getMinimumNumStencilBits() const
-[more]bool getStencilBuffer() const +[more]bool getStencilBuffer() const
-[more]void setMaxNumberOfGraphicsContexts(unsigned int num) +[more]void setMaxNumberOfGraphicsContexts(unsigned int num)
-[more]unsigned int getMaxNumberOfGraphicsContexts() const +[more]unsigned 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 _eyeSeparation +[more]float _eyeSeparation
-[more]float _screenDistance +[more]float _screenDistance
-[more]float _screenHeight +[more]float _screenHeight
-[more]SplitStereoHorizontalEyeMapping _splitStereoHorizontalEyeMapping +[more]SplitStereoHorizontalEyeMapping _splitStereoHorizontalEyeMapping
-[more]int _splitStereoHorizontalSeparation +[more]int _splitStereoHorizontalSeparation
-[more]SplitStereoVerticalEyeMapping _splitStereoVerticalEyeMapping +[more]SplitStereoVerticalEyeMapping _splitStereoVerticalEyeMapping
-[more]int _splitStereoVerticalSeparation +[more]int _splitStereoVerticalSeparation
-[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]unsigned int _maxNumOfGraphicsContexts +[more]unsigned int _maxNumOfGraphicsContexts

Protected Methods

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

@@ -162,26 +162,22 @@

Public Methods

-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -194,295 +190,295 @@ 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) -

- - -

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

- +

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(bool on)

- +

obool getStereo() const

- +

oenum StereoMode

- +
o QUAD_BUFFER

- +

o ANAGLYPHIC

- +

o HORIZONTAL_SPLIT

- +

o VERTICAL_SPLIT

- +

o LEFT_EYE

- +

o RIGHT_EYE

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

- -

oStereoMode getStereoMode() const + +
oStereoMode getStereoMode() const

- +

ovoid setEyeSeparation(float eyeSeparation)

- +

ofloat getEyeSeparation() const

- -

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

- +

ofloat 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 setSplitStereoHorizontalSeparation(int s) + +
ovoid setSplitStereoHorizontalSeparation(int s)

- +

oint getSplitStereoHorizontalSeparation() 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 setSplitStereoVerticalSeparation(int s) + +
ovoid setSplitStereoVerticalSeparation(int s)

- +

oint getSplitStereoVerticalSeparation() const

- -

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

- +

ofloat getScreenHeight() const

- +

ovoid setDoubleBuffer(bool flag)

- +

obool getDoubleBuffer() const

- +

ovoid setRGB(bool flag)

- +

obool getRGB() const

- +

ovoid setDepthBuffer(bool flag)

- +

obool getDepthBuffer() const

- +

ovoid setMinimumNumAlphaBits(unsigned int bits)

- +

ounsigned int getMinimumNumAlphaBits() const

- +

obool getAlphaBuffer() const

- +

ovoid setMinimumNumStencilBits(unsigned int bits)

- +

ounsigned int getMinimumNumStencilBits() const

- +

obool getStencilBuffer() const

- +

ovoid setMaxNumberOfGraphicsContexts(unsigned int num)

- +

ounsigned int getMaxNumberOfGraphicsContexts() const

+ + +

ovirtual ~DisplaySettings() +

- +

ovoid copy(const DisplaySettings& vs)

- +

obool _stereo

- -

oStereoMode _stereoMode + +
oStereoMode _stereoMode

- +

ofloat _eyeSeparation

- +

ofloat _screenDistance

- +

ofloat _screenHeight

- -

oSplitStereoHorizontalEyeMapping _splitStereoHorizontalEyeMapping + +
oSplitStereoHorizontalEyeMapping _splitStereoHorizontalEyeMapping

- +

oint _splitStereoHorizontalSeparation

- -

oSplitStereoVerticalEyeMapping _splitStereoVerticalEyeMapping + +
oSplitStereoVerticalEyeMapping _splitStereoVerticalEyeMapping

- +

oint _splitStereoVerticalSeparation

- +

obool _doubleBuffer

- +

obool _RGB

- +

obool _depthBuffer

- +

ounsigned int _minimumNumberAlphaBits

- +

ounsigned int _minimumNumberStencilBits

- +

ounsigned int _maxNumOfGraphicsContexts

diff --git a/doc/doc++/osg/DrawArrayLengths.html b/doc/doc++/osg/DrawArrayLengths.html index ac26eb41b..0fb1c6a74 100644 --- a/doc/doc++/osg/DrawArrayLengths.html +++ b/doc/doc++/osg/DrawArrayLengths.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::DrawArrayLengths - + @@ -22,46 +22,51 @@

Public Methods

-[more] DrawArrayLengths(GLenum mode=0) +[more] DrawArrayLengths(GLenum mode=0)
-[more] DrawArrayLengths(const DrawArrayLengths& dal, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] DrawArrayLengths(const DrawArrayLengths& dal, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more] DrawArrayLengths(GLenum mode, GLint first, unsigned int no, GLsizei* ptr) +[more] DrawArrayLengths(GLenum mode, GLint first, unsigned int no, GLsizei* ptr)
-[more] DrawArrayLengths(GLenum mode, GLint first, unsigned int no) +[more] DrawArrayLengths(GLenum mode, GLint first, unsigned int no)
-[more]template<class InputIterator> DrawArrayLengths(GLenum mode, GLint first, InputIterator firstItr, InputIterator lastItr) +[more] DrawArrayLengths(GLenum mode, GLint first)
-[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* libraryName() const +[more]virtual const char* libraryName() const
-[more]virtual const char* className() const +[more]virtual const char* className() const
-[more]void setFirst(GLint first) +[more]void setFirst(GLint first)
-[more]GLint getFirst() const +[more]GLint getFirst() const
-[more]virtual void draw() const +[more]virtual void draw() const
-[more]virtual void accept(Drawable::PrimitiveFunctor& functor) const +[more]virtual void accept(Drawable::PrimitiveFunctor& functor) const
-[more]virtual unsigned int getNumIndices() const +[more]virtual unsigned int getNumIndices() const
-[more]virtual unsigned int index(unsigned int pos) const +[more]virtual unsigned int index(unsigned int pos) const
-[more]virtual void offsetIndices(int offset) +[more]virtual void offsetIndices(int offset)
-[more]virtual unsigned int getNumPrimitives() const +[more]virtual unsigned int getNumPrimitives() const

Protected Fields

-[more]GLint _first +[more]GLint _first +

+ +

+

Protected Methods

+[more]virtual ~DrawArrayLengths()

@@ -69,7 +74,7 @@

Public Methods

-oType getType() const +oType getType() const
ovoid setMode(GLenum mode)
@@ -85,7 +90,7 @@

Protected Fields

-oType _primitiveType +oType _primitiveType
oGLenum _mode

@@ -95,9 +100,9 @@

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -113,7 +118,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -125,26 +130,22 @@

Public Methods

oinline Referenced& operator = (Referenced&)
-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -155,79 +156,83 @@
- +
o DrawArrayLengths(GLenum mode=0)

- -

o DrawArrayLengths(const DrawArrayLengths& dal, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o DrawArrayLengths(const DrawArrayLengths& dal, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

- -

o DrawArrayLengths(GLenum mode, GLint first, unsigned int no, GLsizei* ptr) + +
o DrawArrayLengths(GLenum mode, GLint first, unsigned int no, GLsizei* ptr)

- -

o DrawArrayLengths(GLenum mode, GLint first, unsigned int no) + +
o DrawArrayLengths(GLenum mode, GLint first, unsigned int no)

- -

otemplate<class InputIterator> DrawArrayLengths(GLenum mode, GLint first, InputIterator firstItr, InputIterator lastItr) + +
o DrawArrayLengths(GLenum mode, GLint first)

- +

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 setFirst(GLint first) + +
ovoid setFirst(GLint first)

- +

oGLint getFirst() const

- +

ovirtual void draw() const

- +

ovirtual void accept(Drawable::PrimitiveFunctor& functor) const

- +

ovirtual unsigned int getNumIndices() const

- +

ovirtual unsigned int index(unsigned int pos) const

- +

ovirtual void offsetIndices(int offset)

- +

ovirtual unsigned int getNumPrimitives() const

+ + +

ovirtual ~DrawArrayLengths() +

- +

oGLint _first

diff --git a/doc/doc++/osg/DrawArrays.html b/doc/doc++/osg/DrawArrays.html index 48ec22d08..28d841d4e 100644 --- a/doc/doc++/osg/DrawArrays.html +++ b/doc/doc++/osg/DrawArrays.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::DrawArrays - + @@ -22,48 +22,53 @@

Public Methods

-[more] DrawArrays(GLenum mode=0) +[more] DrawArrays(GLenum mode=0)
-[more] DrawArrays(GLenum mode, GLint first, GLsizei count) +[more] DrawArrays(GLenum mode, GLint first, GLsizei count)
-[more] DrawArrays(const DrawArrays& da, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] DrawArrays(const DrawArrays& da, 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* libraryName() const +[more]virtual const char* libraryName() const
-[more]virtual const char* className() const +[more]virtual const char* className() const
-[more]void set(GLenum mode, GLint first, GLsizei count) +[more]void set(GLenum mode, GLint first, GLsizei count)
-[more]void setFirst(GLint first) +[more]void setFirst(GLint first)
-[more]GLint getFirst() const +[more]GLint getFirst() const
-[more]void setCount(GLsizei count) +[more]void setCount(GLsizei count)
-[more]GLsizei getCount() const +[more]GLsizei getCount() const
-[more]virtual void draw() const +[more]virtual void draw() const
-[more]virtual void accept(Drawable::PrimitiveFunctor& functor) const +[more]virtual void accept(Drawable::PrimitiveFunctor& functor) const
-[more]virtual unsigned int getNumIndices() const +[more]virtual unsigned int getNumIndices() const
-[more]virtual unsigned int index(unsigned int pos) const +[more]virtual unsigned int index(unsigned int pos) const
-[more]virtual void offsetIndices(int offset) +[more]virtual void offsetIndices(int offset)

Protected Fields

-[more]GLint _first +[more]GLint _first
-[more]GLsizei _count +[more]GLsizei _count +

+ +

+

Protected Methods

+[more]virtual ~DrawArrays()

@@ -71,7 +76,7 @@

Public Methods

-oType getType() const +oType getType() const
ovoid setMode(GLenum mode)
@@ -89,7 +94,7 @@

Protected Fields

-oType _primitiveType +oType _primitiveType
oGLenum _mode

@@ -99,9 +104,9 @@

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -117,7 +122,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -129,26 +134,22 @@

Public Methods

oinline Referenced& operator = (Referenced&)
-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -159,83 +160,87 @@
- +
o DrawArrays(GLenum mode=0)

- -

o DrawArrays(GLenum mode, GLint first, GLsizei count) + +
o DrawArrays(GLenum mode, GLint first, GLsizei count)

- -

o DrawArrays(const DrawArrays& da, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o DrawArrays(const DrawArrays& da, 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

- -

ovoid set(GLenum mode, GLint first, GLsizei count) + +
ovoid set(GLenum mode, GLint first, GLsizei count)

- -

ovoid setFirst(GLint first) + +
ovoid setFirst(GLint first)

- +

oGLint getFirst() const

- +

ovoid setCount(GLsizei count)

- +

oGLsizei getCount() const

- +

ovirtual void draw() const

- +

ovirtual void accept(Drawable::PrimitiveFunctor& functor) const

- +

ovirtual unsigned int getNumIndices() const

- +

ovirtual unsigned int index(unsigned int pos) const

- +

ovirtual void offsetIndices(int offset)

+ + +

ovirtual ~DrawArrays() +

- +

oGLint _first

- +

oGLsizei _count

diff --git a/doc/doc++/osg/DrawElementsUByte.html b/doc/doc++/osg/DrawElementsUByte.html index 1b561ffa1..b349983f7 100644 --- a/doc/doc++/osg/DrawElementsUByte.html +++ b/doc/doc++/osg/DrawElementsUByte.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::DrawElementsUByte - + @@ -22,35 +22,38 @@

Public Methods

-[more] DrawElementsUByte(GLenum mode=0) +[more] DrawElementsUByte(GLenum mode=0)
-[more] DrawElementsUByte(const DrawElementsUByte& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] DrawElementsUByte(const DrawElementsUByte& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more] DrawElementsUByte(GLenum mode, unsigned int no, GLubyte* ptr) +[more] DrawElementsUByte(GLenum mode, unsigned int no, GLubyte* ptr)
-[more] DrawElementsUByte(GLenum mode, unsigned int no) +[more] DrawElementsUByte(GLenum mode, unsigned int no)
-[more]template<class InputIterator> DrawElementsUByte(GLenum mode, InputIterator first, InputIterator last) +[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* libraryName() const
-[more]virtual const char* libraryName() const +[more]virtual const char* className() const
-[more]virtual const char* className() const +[more]virtual void draw() const
-[more]virtual void draw() const +[more]virtual void accept(Drawable::PrimitiveFunctor& functor) const
-[more]virtual void accept(Drawable::PrimitiveFunctor& functor) const +[more]virtual unsigned int getNumIndices() const
-[more]virtual unsigned int getNumIndices() const +[more]virtual unsigned int index(unsigned int pos) const
-[more]virtual unsigned int index(unsigned int pos) const -
-[more]virtual void offsetIndices(int offset) +[more]virtual void offsetIndices(int offset) +

+ +

+

Protected Methods

+[more]virtual ~DrawElementsUByte()

@@ -58,7 +61,7 @@

Public Methods

-oType getType() const +oType getType() const
ovoid setMode(GLenum mode)
@@ -76,7 +79,7 @@

Protected Fields

-oType _primitiveType +oType _primitiveType
oGLenum _mode

@@ -86,9 +89,9 @@

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -104,7 +107,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -116,26 +119,22 @@

Public Methods

oinline Referenced& operator = (Referenced&)
-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -146,64 +145,64 @@
- +
o DrawElementsUByte(GLenum mode=0)

- -

o DrawElementsUByte(const DrawElementsUByte& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o DrawElementsUByte(const DrawElementsUByte& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

- -

o DrawElementsUByte(GLenum mode, unsigned int no, GLubyte* ptr) + +
o DrawElementsUByte(GLenum mode, unsigned int no, GLubyte* ptr)

- +

o DrawElementsUByte(GLenum mode, unsigned int no)

- - -

otemplate<class InputIterator> DrawElementsUByte(GLenum mode, InputIterator first, InputIterator last) -

- +

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

- +

ovirtual void draw() const

- +

ovirtual void accept(Drawable::PrimitiveFunctor& functor) const

- +

ovirtual unsigned int getNumIndices() const

- +

ovirtual unsigned int index(unsigned int pos) const

- +

ovirtual void offsetIndices(int offset) +

+ + +

ovirtual ~DrawElementsUByte()


This class has no child classes.
diff --git a/doc/doc++/osg/DrawElementsUInt.html b/doc/doc++/osg/DrawElementsUInt.html index 4b0d50ed6..5e642f0a6 100644 --- a/doc/doc++/osg/DrawElementsUInt.html +++ b/doc/doc++/osg/DrawElementsUInt.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::DrawElementsUInt - + @@ -22,35 +22,38 @@

Public Methods

-[more] DrawElementsUInt(GLenum mode=0) +[more] DrawElementsUInt(GLenum mode=0)
-[more] DrawElementsUInt(const DrawElementsUInt& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] DrawElementsUInt(const DrawElementsUInt& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more] DrawElementsUInt(GLenum mode, unsigned int no, GLuint* ptr) +[more] DrawElementsUInt(GLenum mode, unsigned int no, GLuint* ptr)
-[more] DrawElementsUInt(GLenum mode, unsigned int no) +[more] DrawElementsUInt(GLenum mode, unsigned int no)
-[more]template<class InputIterator> DrawElementsUInt(GLenum mode, InputIterator first, InputIterator last) +[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* libraryName() const
-[more]virtual const char* libraryName() const +[more]virtual const char* className() const
-[more]virtual const char* className() const +[more]virtual void draw() const
-[more]virtual void draw() const +[more]virtual void accept(Drawable::PrimitiveFunctor& functor) const
-[more]virtual void accept(Drawable::PrimitiveFunctor& functor) const +[more]virtual unsigned int getNumIndices() const
-[more]virtual unsigned int getNumIndices() const +[more]virtual unsigned int index(unsigned int pos) const
-[more]virtual unsigned int index(unsigned int pos) const -
-[more]virtual void offsetIndices(int offset) +[more]virtual void offsetIndices(int offset) +

+ +

+

Protected Methods

+[more]virtual ~DrawElementsUInt()

@@ -58,7 +61,7 @@

Public Methods

-oType getType() const +oType getType() const
ovoid setMode(GLenum mode)
@@ -76,7 +79,7 @@

Protected Fields

-oType _primitiveType +oType _primitiveType
oGLenum _mode

@@ -86,9 +89,9 @@

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -104,7 +107,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -116,26 +119,22 @@

Public Methods

oinline Referenced& operator = (Referenced&)
-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -146,64 +145,64 @@
- +
o DrawElementsUInt(GLenum mode=0)

- -

o DrawElementsUInt(const DrawElementsUInt& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o DrawElementsUInt(const DrawElementsUInt& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

- -

o DrawElementsUInt(GLenum mode, unsigned int no, GLuint* ptr) + +
o DrawElementsUInt(GLenum mode, unsigned int no, GLuint* ptr)

- +

o DrawElementsUInt(GLenum mode, unsigned int no)

- - -

otemplate<class InputIterator> DrawElementsUInt(GLenum mode, InputIterator first, InputIterator last) -

- +

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

- +

ovirtual void draw() const

- +

ovirtual void accept(Drawable::PrimitiveFunctor& functor) const

- +

ovirtual unsigned int getNumIndices() const

- +

ovirtual unsigned int index(unsigned int pos) const

- +

ovirtual void offsetIndices(int offset) +

+ + +

ovirtual ~DrawElementsUInt()


This class has no child classes.
diff --git a/doc/doc++/osg/DrawElementsUShort.html b/doc/doc++/osg/DrawElementsUShort.html index 89fba63bc..e65aade92 100644 --- a/doc/doc++/osg/DrawElementsUShort.html +++ b/doc/doc++/osg/DrawElementsUShort.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::DrawElementsUShort - + @@ -22,35 +22,40 @@

Public Methods

-[more] DrawElementsUShort(GLenum mode=0) +[more] DrawElementsUShort(GLenum mode=0)
-[more] DrawElementsUShort(const DrawElementsUShort& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] DrawElementsUShort(const DrawElementsUShort& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more] DrawElementsUShort(GLenum mode, unsigned int no, GLushort* ptr) +[more] DrawElementsUShort(GLenum mode, unsigned int no, GLushort* ptr)
-[more] DrawElementsUShort(GLenum mode, unsigned int no) +[more] DrawElementsUShort(GLenum mode, unsigned int no)
-[more]template<class InputIterator> DrawElementsUShort(GLenum mode, InputIterator first, InputIterator last) +[more]template<class InputIterator> DrawElementsUShort(GLenum mode, InputIterator first, InputIterator last)
-[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* libraryName() const +[more]virtual const char* libraryName() const
-[more]virtual const char* className() const +[more]virtual const char* className() const
-[more]virtual void draw() const +[more]virtual void draw() const
-[more]virtual void accept(Drawable::PrimitiveFunctor& functor) const +[more]virtual void accept(Drawable::PrimitiveFunctor& functor) const
-[more]virtual unsigned int getNumIndices() const +[more]virtual unsigned int getNumIndices() const
-[more]virtual unsigned int index(unsigned int pos) const +[more]virtual unsigned int index(unsigned int pos) const
-[more]virtual void offsetIndices(int offset) +[more]virtual void offsetIndices(int offset) +

+ +

+

Protected Methods

+[more]virtual ~DrawElementsUShort()

@@ -58,7 +63,7 @@

Public Methods

-oType getType() const +oType getType() const
ovoid setMode(GLenum mode)
@@ -76,7 +81,7 @@

Protected Fields

-oType _primitiveType +oType _primitiveType
oGLenum _mode

@@ -86,9 +91,9 @@

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -104,7 +109,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -116,26 +121,22 @@

Public Methods

oinline Referenced& operator = (Referenced&)
-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -146,64 +147,68 @@
- +
o DrawElementsUShort(GLenum mode=0)

- -

o DrawElementsUShort(const DrawElementsUShort& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o DrawElementsUShort(const DrawElementsUShort& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

- -

o DrawElementsUShort(GLenum mode, unsigned int no, GLushort* ptr) + +
o DrawElementsUShort(GLenum mode, unsigned int no, GLushort* ptr)

- +

o DrawElementsUShort(GLenum mode, unsigned int no)

- -

otemplate<class InputIterator> DrawElementsUShort(GLenum mode, InputIterator first, InputIterator last) + +
otemplate<class InputIterator> DrawElementsUShort(GLenum mode, InputIterator first, InputIterator last)

- +

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

- +

ovirtual void draw() const

- +

ovirtual void accept(Drawable::PrimitiveFunctor& functor) const

- +

ovirtual unsigned int getNumIndices() const

- +

ovirtual unsigned int index(unsigned int pos) const

- +

ovirtual void offsetIndices(int offset) +

+ + +

ovirtual ~DrawElementsUShort()


This class has no child classes.
diff --git a/doc/doc++/osg/DrawPixels.html b/doc/doc++/osg/DrawPixels.html index 5f5736757..8d6f383b4 100644 --- a/doc/doc++/osg/DrawPixels.html +++ b/doc/doc++/osg/DrawPixels.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::DrawPixels - + @@ -23,68 +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* libraryName() const +[more]virtual const char* libraryName() const
-[more]virtual const char* className() const +[more]virtual const char* className() const
-[more]void setPosition(const osg::Vec3& position) +[more]void setPosition(const osg::Vec3& position)
-[more]osg::Vec3& getPosition() +[more]osg::Vec3& getPosition()
-[more]const osg::Vec3& getPosition() const +[more]const osg::Vec3& getPosition() const
-[more]void setImage(osg::Image* image) +[more]void setImage(osg::Image* image)
-[more]osg::Image* getImage() +[more]osg::Image* getImage()
-[more]const osg::Image* getImage() const +[more]const osg::Image* getImage() const
-[more]void setUseCompleteImage() +[more]void setUseCompleteImage()
-[more]void setSubImageDimensions(unsigned int offsetX, unsigned int offsetY, unsigned int width, unsigned int height) +[more]void setSubImageDimensions(unsigned int offsetX, unsigned int offsetY, unsigned int width, unsigned int height)
-[more]void getSubImageDimensions(unsigned int& offsetX, unsigned int& offsetY, unsigned int& width, unsigned int& height) const +[more]void getSubImageDimensions(unsigned int& offsetX, unsigned int& offsetY, unsigned int& width, unsigned int& height) const
-[more]bool getUseSubImage() const +[more]bool getUseSubImage() const
-[more]virtual void drawImplementation(State& state) const +[more]virtual void drawImplementation(State& state) const

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 bool computeBound() const +[more]virtual bool computeBound() const

@@ -96,13 +96,13 @@
ovirtual const Geometry* asGeometry() const
-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
-oinline ParentList getParents() +oinline ParentList getParents()
-oinline Node* getParent(unsigned int i) +oinline Node* getParent(unsigned int i)
-oinline const Node* getParent(unsigned int i) const +oinline const Node* getParent(unsigned int i) const
oinline unsigned int getNumParents() const
@@ -134,29 +134,33 @@
ovoid dirtyDisplayList()
-ovoid compile(State& state) +ovirtual void compile(State& state) const
-ovoid setAppCallback(AppCallback* ac) +ovoid setUpdateCallback(UpdateCallback* ac)
-oAppCallback* getAppCallback() +oUpdateCallback* getUpdateCallback()
-oconst AppCallback* getAppCallback() const +ovoid setAppCallback(AppCallback* ac)
-ovoid setCullCallback(CullCallback* cc) +oAppCallback* getAppCallback()
-oCullCallback* getCullCallback() +oconst AppCallback* getAppCallback() const
-oconst CullCallback* getCullCallback() const +ovoid setCullCallback(CullCallback* cc)
-ovoid setDrawCallback(DrawCallback* dc) +oCullCallback* getCullCallback()
-oDrawCallback* getDrawCallback() +oconst CullCallback* getCullCallback() const
-oconst DrawCallback* getDrawCallback() const +ovoid setDrawCallback(DrawCallback* dc)
-ostatic void deleteDisplayList(uint contextID, uint globj) +oDrawCallback* getDrawCallback()
-ostatic void flushDeletedDisplayLists(uint contextID) +oconst DrawCallback* getDrawCallback() const +
+ostatic void deleteDisplayList(uint contextID, uint globj) +
+ostatic void flushDeletedDisplayLists(uint contextID)
ovirtual bool supports(AttributeFunctor&) const
@@ -170,18 +174,20 @@
ovirtual void accept(PrimitiveFunctor&) const
-oinline void draw(State& state) +oinline void draw(State& state) const

Public Members

-otypedef std::vector<Node*> ParentList +otypedef std::vector<Node*> ParentList
-ostruct AppCallback: public osg::Referenced +ostruct UpdateCallback: public virtual osg::Referenced
-ostruct CullCallback: public osg::Referenced +ostruct AppCallback: public UpdateCallback
-ostruct DrawCallback: public osg::Referenced +ostruct CullCallback: public virtual osg::Referenced +
+ostruct DrawCallback: public virtual osg::Referenced
oenum AttributeType
@@ -194,7 +200,7 @@ class PrimitiveFunctor

Protected Fields

-oParentList _parents +oParentList _parents
oref_ptr<StateSet> _stateset
@@ -208,29 +214,25 @@ class PrimitiveFunctor
obool _useDisplayList
-omutable GLObjectList _globjList +omutable GLObjectList _globjList
-oref_ptr<AppCallback> _appCallback +oref_ptr<UpdateCallback> _updateCallback
-oref_ptr<DrawCallback> _drawCallback +oref_ptr<DrawCallback> _drawCallback
-oref_ptr<CullCallback> _cullCallback -
-ostatic DeletedDisplayListCache s_deletedDisplayListCache +oref_ptr<CullCallback> _cullCallback

Protected Methods

-ovoid addParent(osg::Node* node) +ovoid addParent(osg::Node* node)
-ovoid removeParent(osg::Node* node) +ovoid removeParent(osg::Node* node)

Protected Members

-otypedef std::vector<uint> GLObjectList -
-otypedef std::map<uint,std::set<uint> > DeletedDisplayListCache +otypedef osg::buffered_value<uint> GLObjectList

@@ -238,9 +240,9 @@ class PrimitiveFunctor

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -256,7 +258,7 @@ class PrimitiveFunctor

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -266,26 +268,22 @@ class PrimitiveFunctor

Public Methods

-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -298,116 +296,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

- +

obool getUseSubImage() const

- +

ovirtual void drawImplementation(State& state) const

- +

oDrawPixels& operator = (const DrawPixels&)

- +

ovirtual ~DrawPixels()

- +

ovirtual 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 3519aec81..b7a7b1bf1 100644 --- a/doc/doc++/osg/Drawable.html +++ b/doc/doc++/osg/Drawable.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Drawable - + @@ -23,154 +23,162 @@

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* libraryName() const +[more]virtual const char* libraryName() const
-[more]virtual const char* className() const +[more]virtual const char* className() const
-[more]virtual Geometry* asGeometry() +[more]virtual Geometry* asGeometry()
convert 'this' into a Geometry pointer if Drawable is a Geometry, otherwise return 0.
-[more]virtual const Geometry* asGeometry() const +[more]virtual const Geometry* asGeometry() const
convert 'const this' into a const Geometry pointer if Drawable is a Geometry, otherwise return 0.
-[more]inline const ParentList& getParents() 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(unsigned int i) +[more]inline Node* getParent(unsigned int i)
Get a single parent of Drawable.
-[more]inline const Node* getParent(unsigned int i) const +[more]inline const Node* getParent(unsigned int i) const
Get a single const parent of Drawable.
-[more]inline unsigned int getNumParents() const +[more]inline 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]StateSet* getOrCreateStateSet() +[more]StateSet* getOrCreateStateSet()
Get the attached const StateSet, if one is not already attach create one, attach it to the drawable and return a pointer to it
-[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]inline void setShape(Shape* shape) +[more]inline void setShape(Shape* shape)
Set the Shape of the drawable.
-[more]inline Shape* getShape() +[more]inline Shape* getShape()
Get the Shape of the Drawable
-[more]inline const Shape* getShape() const +[more]inline const Shape* getShape() const
Get the const Shape of the const Drawable
-[more]void setSupportsDisplayList(bool flag) +[more]void setSupportsDisplayList(bool flag)
Set the drawable to it can or cannot be used in conjunction with OpenGL display lists.
-[more]inline bool getSupportsDisplayList() const +[more]inline bool getSupportsDisplayList() const
Get whether display lists are supported for this drawable instance
-[more]void setUseDisplayList(bool flag) +[more]void setUseDisplayList(bool flag)
When set to true, force the draw method to use OpenGL Display List for rendering.
-[more]inline bool getUseDisplayList() const +[more]inline 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 compile(State& state) +[more]virtual void compile(State& state) const
Immediately compile this drawable into an OpenGL Display List.
-[more]void setAppCallback(AppCallback* ac) -
Set the AppCallback which allows users to attach customize the undating of an object during the app traversal +[more]void setUpdateCallback(UpdateCallback* ac) +
Set the UpdateCallback which allows users to attach customize the undating of an object during the app traversal
-[more]AppCallback* getAppCallback() -
Get the non const AppCallback +[more]UpdateCallback* getUpdateCallback() +
Get the non const UpdateCallback
-[more]const AppCallback* getAppCallback() const -
Get the const AppCallback +[more]void setAppCallback(AppCallback* ac) +
deprecated
-[more]void setCullCallback(CullCallback* cc) +[more]AppCallback* getAppCallback() +
deprecated +
+[more]const AppCallback* getAppCallback() const +
deprecated +
+[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 +[more]const CullCallback* getCullCallback() const
Get the const CullCallback
-[more]void setDrawCallback(DrawCallback* dc) +[more]void setDrawCallback(DrawCallback* dc)
Set the DrawCallback which allows users to attach customize the drawing of existing Drawable object
-[more]DrawCallback* getDrawCallback() +[more]DrawCallback* getDrawCallback()
Get the non const DrawCallback
-[more]const DrawCallback* getDrawCallback() const +[more]const DrawCallback* getDrawCallback() const
Get the const DrawCallback
-[more]virtual void drawImplementation(State& state) const = 0 +[more]virtual void drawImplementation(State& state) const = 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 supports(AttributeFunctor&) const +[more]virtual bool supports(AttributeFunctor&) const
return true if the Drawable subclass supports accept(AttributeFunctor&)
-[more]virtual void accept(AttributeFunctor&) +[more]virtual void accept(AttributeFunctor&)
accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has.
-[more]virtual bool supports(ConstAttributeFunctor&) const +[more]virtual bool supports(ConstAttributeFunctor&) const
return true if the Drawable subclass supports accept(ConstAttributeFunctor&)
-[more]virtual void accept(ConstAttributeFunctor&) const +[more]virtual void accept(ConstAttributeFunctor&) const
accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has.
-[more]virtual bool supports(PrimitiveFunctor&) const +[more]virtual bool supports(PrimitiveFunctor&) const
return true if the Drawable subclass supports accept(PrimitiveFunctor&)
-[more]virtual void accept(PrimitiveFunctor&) const +[more]virtual void accept(PrimitiveFunctor&) const
accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has.
-[more]inline void draw(State& state) +[more]inline void draw(State& state) const
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 AppCallback: public osg::Referenced +[more]struct UpdateCallback: public virtual osg::Referenced
-[more]struct CullCallback: public osg::Referenced +[more]struct AppCallback: public UpdateCallback
-[more]struct DrawCallback: public osg::Referenced +[more]struct CullCallback: public virtual osg::Referenced +
+[more]struct DrawCallback: public virtual osg::Referenced
Callback attached to an Drawable which allows the users to customize the drawing of an exist Drawable object.
-[more]enum AttributeType +[more]enum AttributeType
class AttributeFunctor
@@ -181,50 +189,46 @@ class PrimitiveFunctor

Protected Fields

-[more]ParentList _parents +[more]ParentList _parents
-[more]ref_ptr<StateSet> _stateset +[more]ref_ptr<StateSet> _stateset
-[more]mutable BoundingBox _bbox +[more]mutable BoundingBox _bbox
-[more]mutable bool _bbox_computed +[more]mutable bool _bbox_computed
-[more]ref_ptr<Shape> _shape +[more]ref_ptr<Shape> _shape
-[more]bool _supportsDisplayList +[more]bool _supportsDisplayList
-[more]bool _useDisplayList +[more]bool _useDisplayList
-[more]mutable GLObjectList _globjList +[more]mutable GLObjectList _globjList
-[more]ref_ptr<AppCallback> _appCallback +[more]ref_ptr<UpdateCallback> _updateCallback
-[more]ref_ptr<DrawCallback> _drawCallback +[more]ref_ptr<DrawCallback> _drawCallback
-[more]ref_ptr<CullCallback> _cullCallback -
-[more]static DeletedDisplayListCache s_deletedDisplayListCache +[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 bool computeBound() const +[more]virtual bool computeBound() const
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 -
-[more]typedef std::map<uint,std::set<uint> > DeletedDisplayListCache +[more]typedef osg::buffered_value<uint> GLObjectList

@@ -236,9 +240,9 @@ class PrimitiveFunctor
ovirtual Object* clone(const CopyOp&) const
-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -254,7 +258,7 @@ class PrimitiveFunctor

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -264,26 +268,22 @@ class PrimitiveFunctor

Public Methods

-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -299,132 +299,132 @@ be shared for optimal memory usage and graphics performance.
- +
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

- +

ovirtual Geometry* asGeometry()
convert 'this' into a Geometry pointer if Drawable is a Geometry, otherwise return 0. Equivalent to dynamic_cast(this).

- +

ovirtual const Geometry* asGeometry() const
convert 'const this' into a const Geometry pointer if Drawable is a Geometry, otherwise return 0. Equivalent to dynamic_cast(this).

- -

otypedef std::vector<Node*> ParentList + +
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(unsigned int i) + +
oinline Node* getParent(unsigned int i)
Get a single parent of Drawable. -
Parameters:
i - index of the parent to get. +
Parameters:
i - index of the parent to get.
Returns:
the parent i.

- -

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

- +

oinline 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

- +

oStateSet* getOrCreateStateSet()
Get the attached const StateSet, if one is not already attach create one, attach it to the drawable and return a pointer to it

- +

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.

- +

oinline void setShape(Shape* shape)
Set the Shape of the drawable. The shape can be used to speed up collision detection or as a guide for produral geometry generation - see osg::ProduralGeometry.

- +

oinline Shape* getShape()
Get the Shape of the Drawable

- +

oinline const Shape* getShape() const
Get the const Shape of the const Drawable

- +

ovoid setSupportsDisplayList(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, @@ -435,89 +435,114 @@ on objects with dynamic internal data such as continuous Level of Detail algorithms.

- +

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

- +

ovoid setUseDisplayList(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 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 compile(State& state) + +
ovirtual void compile(State& state) const
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 + + +
ostruct UpdateCallback: public virtual osg::Referenced

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

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

+ + +

oUpdateCallback* getUpdateCallback() +
Get the non const UpdateCallback +

+ + +

ostruct AppCallback: public UpdateCallback +

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

+ + +

ovirtual void update(osg::NodeVisitor* visitor, osg::Drawable* drawable) +

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

- -

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

- -

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

- -

ostruct CullCallback: public osg::Referenced + +
ostruct CullCallback: public virtual 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) + +
ovoid setCullCallback(CullCallback* cc)
Set the CullCallback which allows users to attach customize the culling of Drawable during the cull traversal

- -

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

- -

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

- -

ostruct DrawCallback: public osg::Referenced + +
ostruct DrawCallback: public virtual 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 drawImplementation() method, if the the user intends to decorate the exist draw code then simple call the drawable->drawImplementation() from @@ -526,130 +551,130 @@ without fuss and can even diable the inner draw in required.

- +
ovirtual void drawImplementation(State& state, const 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

- +

ovirtual void drawImplementation(State& state) const = 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) + +
ostatic 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

- -

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

- +

oenum AttributeType

- +
o VERTICES

- +

o NORMALS

- +

o COLORS

- +

o TEXTURE_COORDS

- +

o TEXTURE_COORDS_0

- +

o TEXTURE_COORDS_1

- +

o TEXTURE_COORDS_2

- +

o TEXTURE_COORDS_3

- +

o TEXTURE_COORDS_4

- +

o TEXTURE_COORDS_5

- +

o TEXTURE_COORDS_6

- +

o TEXTURE_COORDS_7

- +
ovirtual bool supports(AttributeFunctor&) const
return true if the Drawable subclass supports accept(AttributeFunctor&)

- +

ovirtual void accept(AttributeFunctor&)
accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has. return true if functor handled by drawable, return false on failure of drawable to generate functor calls.

- +

ovirtual bool supports(ConstAttributeFunctor&) const
return true if the Drawable subclass supports accept(ConstAttributeFunctor&)

- +

ovirtual void accept(ConstAttributeFunctor&) const
accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has. return true if functor handled by drawable, return false on failure of drawable to generate functor calls.

- +

ovirtual bool supports(PrimitiveFunctor&) const
return true if the Drawable subclass supports accept(PrimitiveFunctor&)

- +

ovirtual void accept(PrimitiveFunctor&) const
accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has. return true if functor handled by drawable, return false on failure of drawable to generate functor calls. @@ -657,86 +682,78 @@ Note, PrimtiveFunctor only provide const access of the primtives, as primitives so one cannot modify it.

- +

oDrawable& operator = (const Drawable&)

- +

ovirtual ~Drawable()

- +

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

- -

ovoid addParent(osg::Node* node) + +
ovoid addParent(osg::Node* node)

- -

ovoid removeParent(osg::Node* node) + +
ovoid removeParent(osg::Node* node)

- -

oParentList _parents + +
oParentList _parents

- +

oref_ptr<StateSet> _stateset

- +

omutable BoundingBox _bbox

- +

omutable bool _bbox_computed

- +

oref_ptr<Shape> _shape

- +

obool _supportsDisplayList

- +

obool _useDisplayList

- -

otypedef std::vector<uint> GLObjectList + +
otypedef osg::buffered_value<uint> GLObjectList

- -

omutable GLObjectList _globjList + +
omutable GLObjectList _globjList

- - -

oref_ptr<AppCallback> _appCallback + + +
oref_ptr<UpdateCallback> _updateCallback

- -

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

- -

oref_ptr<CullCallback> _cullCallback -

- - -

otypedef std::map<uint,std::set<uint> > DeletedDisplayListCache -

- - -

ostatic DeletedDisplayListCache s_deletedDisplayListCache + +
oref_ptr<CullCallback> _cullCallback

- -

oinline void draw(State& state) + +
oinline void draw(State& state) const
draw OpenGL primitives. If the drawable has _useDisplayList set to true then use an OpenGL display list, automatically compiling one if required. @@ -753,7 +770,7 @@ manages the optional display list. DrawPixels
-
Friends:
class Node
class Geode

Alphabetic index HTML hierarchy of classes or Java


+
Friends:
class Node
class Geode

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++. diff --git a/doc/doc++/osg/Extensions.2.html b/doc/doc++/osg/Extensions.2.html new file mode 100644 index 000000000..76c32e668 --- /dev/null +++ b/doc/doc++/osg/Extensions.2.html @@ -0,0 +1,189 @@ + + + + + class osg::Texture3D::Extensions + + + + +

class Extensions

Extensions class which encapsulates the querring of extensions and associated function pointers, and provide convinience wrappers to check for the extensions or use the associated functions
+
+ +

Inheritance:

+ + + + + + + +
+ +
+

+

Public Methods

+[more] Extensions() +
+[more] Extensions(const Extensions& rhs) +
+[more]void lowestCommonDenominator(const Extensions& rhs) +
+[more]void setupGLExtenions() +
+[more]bool isTexture3DSupported() const +
+[more]bool isTexture3DFast() const +
+[more]GLint maxTexture3DSize() const +
+[more]void glTexImage3D( GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels) const +
+[more]void glTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels) const +
+[more]void glCopyTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height ) const +
+[more]void gluBuild3DMipmaps( GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* data) const +

+ +

+

Protected Fields

+[more]bool _isTexture3DSupported +
+[more]bool _isTexture3DFast +
+[more]GLint _maxTexture3DSize +
+[more]void* _glTexImage3D +
+[more]void* _glTexSubImage3D +
+[more]void* _glCopyTexSubImage3D +
+[more]void* _gluBuild3DMipmaps +

+ +

+

Protected Methods

+[more] ~Extensions() +

+ +
+

Inherited from Referenced:

+
+

+

Public Methods

+oinline Referenced& operator = (Referenced&) +
+ostatic void setDeleteHandler(DeleteHandler* handler) +
+ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const +
+oinline void unref_nodelete() const +
+oinline int referenceCount() const +
+oinline void unref() const +

+ +

+

Protected Fields

+omutable int _refCount +

+ +
+ + +
+

Documentation

+
Extensions class which encapsulates the querring of extensions and +associated function pointers, and provide convinience wrappers to +check for the extensions or use the associated functions
+
+ + + +
o Extensions() +

+ + +

o Extensions(const Extensions& rhs) +

+ + +

ovoid lowestCommonDenominator(const Extensions& rhs) +

+ + +

ovoid setupGLExtenions() +

+ + +

obool isTexture3DSupported() const +

+ + +

obool isTexture3DFast() const +

+ + +

oGLint maxTexture3DSize() const +

+ + +

ovoid glTexImage3D( GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels) const +

+ + +

ovoid glTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels) const +

+ + +

ovoid glCopyTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height ) const +

+ + +

ovoid gluBuild3DMipmaps( GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* data) const +

+ + +

o ~Extensions() +

+ + +

obool _isTexture3DSupported +

+ + +

obool _isTexture3DFast +

+ + +

oGLint _maxTexture3DSize +

+ + +

ovoid* _glTexImage3D +

+ + +

ovoid* _glTexSubImage3D +

+ + +

ovoid* _glCopyTexSubImage3D +

+ + +

ovoid* _gluBuild3DMipmaps +

+ +
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++/osg/Extensions.3.html b/doc/doc++/osg/Extensions.3.html new file mode 100644 index 000000000..adc84fc7f --- /dev/null +++ b/doc/doc++/osg/Extensions.3.html @@ -0,0 +1,117 @@ + + + + + class osg::TextureCubeMap::Extensions + + + + +

class Extensions

Extensions class which encapsulates the querring of extensions and associated function pointers, and provide convinience wrappers to check for the extensions or use the associated functions
+
+ +

Inheritance:

+ + + + + + + +
+ +
+

+

Public Methods

+[more] Extensions() +
+[more] Extensions(const Extensions& rhs) +
+[more]void lowestCommonDenominator(const Extensions& rhs) +
+[more]void setupGLExtenions() +
+[more]bool isCubeMapSupported() const +

+ +

+

Protected Fields

+[more]bool _isCubeMapSupported +

+ +

+

Protected Methods

+[more] ~Extensions() +

+ +
+

Inherited from Referenced:

+
+

+

Public Methods

+oinline Referenced& operator = (Referenced&) +
+ostatic void setDeleteHandler(DeleteHandler* handler) +
+ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const +
+oinline void unref_nodelete() const +
+oinline int referenceCount() const +
+oinline void unref() const +

+ +

+

Protected Fields

+omutable int _refCount +

+ +
+ + +
+

Documentation

+
Extensions class which encapsulates the querring of extensions and +associated function pointers, and provide convinience wrappers to +check for the extensions or use the associated functions
+
+ + + +
o Extensions() +

+ + +

o Extensions(const Extensions& rhs) +

+ + +

ovoid lowestCommonDenominator(const Extensions& rhs) +

+ + +

ovoid setupGLExtenions() +

+ + +

obool isCubeMapSupported() const +

+ + +

o ~Extensions() +

+ + +

obool _isCubeMapSupported +

+ +
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++/osg/Extensions.html b/doc/doc++/osg/Extensions.html index 0e7afdefb..4c267bd40 100644 --- a/doc/doc++/osg/Extensions.html +++ b/doc/doc++/osg/Extensions.html @@ -3,7 +3,7 @@ class osg::Texture::Extensions - + @@ -23,55 +23,55 @@

Public Methods

-[more] Extensions() +[more] Extensions()
-[more] Extensions(const Extensions& rhs) +[more] Extensions(const Extensions& rhs)
-[more]void lowestCommonDenominator(const Extensions& rhs) +[more]void lowestCommonDenominator(const Extensions& rhs)
-[more]void setupGLExtenions() +[more]void setupGLExtenions()
-[more]bool isTextureFilterAnisotropicSupported() const +[more]bool isTextureFilterAnisotropicSupported() const
-[more]bool isTextureCompressionARBSupported() const +[more]bool isTextureCompressionARBSupported() const
-[more]bool isTextureCompressionS3TCSupported() const +[more]bool isTextureCompressionS3TCSupported() const
-[more]bool isTextureMirroredRepeatSupported() const +[more]bool isTextureMirroredRepeatSupported() const
-[more]bool isTextureEdgeClampSupported() const +[more]bool isTextureEdgeClampSupported() const
-[more]bool isTextureBorderClampSupported() const +[more]bool isTextureBorderClampSupported() const
-[more]GLint maxTextureSize() const +[more]GLint maxTextureSize() const
-[more]bool isCompressedTexImage2DSupported() const +[more]bool isCompressedTexImage2DSupported() const
-[more]void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data) const +[more]void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data) const

Protected Fields

-[more]bool _isTextureFilterAnisotropicSupported +[more]bool _isTextureFilterAnisotropicSupported
-[more]bool _isTextureCompressionARBSupported +[more]bool _isTextureCompressionARBSupported
-[more]bool _isTextureCompressionS3TCSupported +[more]bool _isTextureCompressionS3TCSupported
-[more]bool _isTextureMirroredRepeatSupported +[more]bool _isTextureMirroredRepeatSupported
-[more]bool _isTextureEdgeClampSupported +[more]bool _isTextureEdgeClampSupported
-[more]bool _isTextureBorderClampSupported +[more]bool _isTextureBorderClampSupported
-[more]GLint _maxTextureSize +[more]GLint _maxTextureSize
-[more]void* _glCompressedTexImage2D +[more]void* _glCompressedTexImage2D

Protected Methods

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

@@ -81,26 +81,22 @@

Public Methods

oinline Referenced& operator = (Referenced&)
-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -114,91 +110,91 @@ check for the extensions or use the associated functions
- +
o Extensions()

- -

o Extensions(const Extensions& rhs) + +
o Extensions(const Extensions& rhs)

- +

ovoid lowestCommonDenominator(const Extensions& rhs)

- +

ovoid setupGLExtenions()

- +

obool isTextureFilterAnisotropicSupported() const

- +

obool isTextureCompressionARBSupported() const

- +

obool isTextureCompressionS3TCSupported() const

- +

obool isTextureMirroredRepeatSupported() const

- +

obool isTextureEdgeClampSupported() const

- +

obool isTextureBorderClampSupported() const

- +

oGLint maxTextureSize() const

- +

obool isCompressedTexImage2DSupported() const

- -

ovoid glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data) const + +
ovoid glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data) const

- +

o ~Extensions()

- +

obool _isTextureFilterAnisotropicSupported

- +

obool _isTextureCompressionARBSupported

- +

obool _isTextureCompressionS3TCSupported

- +

obool _isTextureMirroredRepeatSupported

- +

obool _isTextureEdgeClampSupported

- +

obool _isTextureBorderClampSupported

- +

oGLint _maxTextureSize

- +

ovoid* _glCompressedTexImage2D

diff --git a/doc/doc++/osg/Fog.html b/doc/doc++/osg/Fog.html index 198d882fe..91ad22bf9 100644 --- a/doc/doc++/osg/Fog.html +++ b/doc/doc++/osg/Fog.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Fog - + @@ -23,70 +23,70 @@

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(osg, 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 getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
-[more]inline void setMode( Mode mode ) +[more]inline void setMode( Mode mode )
-[more]inline Mode getMode() const +[more]inline Mode getMode() const
-[more]inline void setDensity( float density ) +[more]inline void setDensity( float density )
-[more]inline float getDensity() const +[more]inline float getDensity() const
-[more]inline void setStart( float start ) +[more]inline void setStart( float start )
-[more]inline float getStart() const +[more]inline float getStart() const
-[more]inline void setEnd( float end ) +[more]inline void setEnd( float end )
-[more]inline float getEnd() const +[more]inline 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]inline void setFogCoordinateSource(GLint source) +[more]inline void setFogCoordinateSource(GLint source)
-[more]inline GLint getFogCoordinateSource() const +[more]inline GLint getFogCoordinateSource() const
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

Public Members

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

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
-[more]GLint _fogCoordinateSource +[more]GLint _fogCoordinateSource

Protected Methods

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

@@ -104,7 +104,7 @@
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
@@ -137,9 +137,9 @@

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -155,7 +155,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -167,26 +167,22 @@

Public Methods

oinline Referenced& operator = (Referenced&)
-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -198,137 +194,137 @@
- +
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(osg, 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 getAssociatedModes(std::vector<GLMode>& modes) const + +
ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

- +

oenum Mode

- +
o LINEAR

- +

o EXP

- +

o EXP2

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

- -

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

- +

oinline void setDensity( float density )

- +

oinline float getDensity() const

- -

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

- +

oinline float getStart() const

- -

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

- +

oinline float getEnd() const

- +

oinline void setColor( const Vec4 &color )

- +

oinline const Vec4& getColor() const

- +

oenum FogCoordinateSource

- +
o FOG_COORDINATE

- +

o FRAGMENT_DEPTH

- +
oinline void setFogCoordinateSource(GLint source)

- +

oinline GLint getFogCoordinateSource() const

- +

ovirtual void apply(State& state) const

- +

ovirtual ~Fog()

- -

oMode _mode + +
oMode _mode

- +

ofloat _density

- +

ofloat _start

- +

ofloat _end

- +

oVec4 _color

- +

oGLint _fogCoordinateSource

diff --git a/doc/doc++/osg/FrameStamp.html b/doc/doc++/osg/FrameStamp.html index d66b07335..2649315ae 100644 --- a/doc/doc++/osg/FrameStamp.html +++ b/doc/doc++/osg/FrameStamp.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::FrameStamp - + @@ -23,50 +23,50 @@

Public Methods

-[more] FrameStamp() +[more] FrameStamp()
-[more] FrameStamp(const FrameStamp& fs) +[more] FrameStamp(const FrameStamp& fs)
-[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 +[more]virtual ~FrameStamp()

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

@@ -74,26 +74,22 @@

Public Methods

-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

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

- -

o FrameStamp(const FrameStamp& fs) -

- - -

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

- +

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

+ + +

ovirtual ~FrameStamp() +

- +

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 45178ecb0..126be88df 100644 --- a/doc/doc++/osg/FrontFace.html +++ b/doc/doc++/osg/FrontFace.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::FrontFace - + @@ -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(osg, 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(Mode mode) +[more]inline void setMode(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()

@@ -70,7 +70,7 @@
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
@@ -80,7 +80,7 @@
obool operator != (const StateAttribute& rhs) const
-ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
ovirtual void compile(State&) const

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

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -123,7 +123,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -135,26 +135,22 @@

Public Methods

oinline Referenced& operator = (Referenced&)
-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -166,56 +162,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(osg, 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(Mode mode) + +
oinline void setMode(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 26b411116..08612d1ad 100644 --- a/doc/doc++/osg/General.html +++ b/doc/doc++/osg/General.html @@ -3,7 +3,7 @@ General Bits - + @@ -34,9 +34,6 @@ o#define OSG_BOUNDSCHECKING
-o#define -OSG_BUFFERED_VALUE
- o#define OSG_CAMERA
@@ -70,11 +67,14 @@ o#define OSG_CULLFACE
+o#define +OSG_CULLSTACK
+ o#define OSG_CullingSet
-o#define -OSG_CULLSTACK
+o#define +OSG_DOFTRANSFORM
o#define OSG_DEPTH
@@ -82,15 +82,12 @@ o#define OSG_DisplaySettings
-o#define -OSG_DOFTRANSFORM
+o#define +OSG_DRAWPIXELS
o#define OSG_DRAWABLE
-o#define -OSG_DRAWPIXELS
- o#define OSG_EXPORT
@@ -112,9 +109,6 @@ o#define NULL((void *)
-o#define -OSG_FAST_BACK_STACK
- o#define OSG_FOG
@@ -133,15 +127,6 @@ o#define OSG_FRONTFACE
-o#define -OSG_GEODE
- -o#define -OSG_GEOMETRY
- -o#define -OSG_GEOSET
- o#define OSG_GL
@@ -160,6 +145,15 @@ o#define OSG_GLU
+o#define +OSG_GEOSET
+ +o#define +OSG_GEODE
+ +o#define +OSG_GEOMETRY
+ o#define OSG_GROUP
@@ -172,6 +166,9 @@ o#define OSG_ImpostorSprite
+o#define +OSG_LOD
+ o#define OSG_LIGHT
@@ -190,9 +187,6 @@ o#define OSG_LineWidth
-o#define -OSG_LOD
- o#define OSG_MATERIAL
@@ -205,83 +199,11 @@ o#define OSG_MATRIXTRANSFORM
-o#define -_H_MMGR
+o#define +OSG_NODE
-oSG_EXPORT extern const unsigned int -m_alloc_unknown
- -oSG_EXPORT extern const unsigned int -m_alloc_new
- -oSG_EXPORT extern const unsigned int -m_alloc_new_array
- -oSG_EXPORT extern const unsigned int -m_alloc_malloc
- -oSG_EXPORT extern const unsigned int -m_alloc_calloc
- -oSG_EXPORT extern const unsigned int -m_alloc_realloc
- -oSG_EXPORT extern const unsigned int -m_alloc_delete
- -oSG_EXPORT extern const unsigned int -m_alloc_delete_array
- -oSG_EXPORT extern const unsigned int -m_alloc_free
- -oSG_EXPORT extern void -m_setOwner(const char* file, unsigned int line)
- -oSG_EXPORT extern bool& -m_breakOnRealloc(void* reportedAddress)
- -oSG_EXPORT extern bool& -m_breakOnDealloc(void* reportedAddress)
- -oSG_EXPORT extern void -m_breakOnAllocation(unsigned int count)
- -oSG_EXPORT extern void* -m_allocator(const char* sourceFile, unsigned int sourceLine, unsigned int allocationType, const size_t reportedSize)
- -oSG_EXPORT extern void* -m_reallocator(const char* sourceFile, unsigned int sourceLine, unsigned int reallocationType, const size_t reportedSize, void* reportedAddress)
- -oSG_EXPORT extern void -m_deallocator(const char* sourceFile, unsigned int sourceLine, unsigned int deallocationType, const void* reportedAddress)
- -oSG_EXPORT extern bool -m_validateAddress(const void* reportedAddress)
- -oSG_EXPORT extern bool -m_validateAllocUnit(const sAllocUnit* allocUnit)
- -oSG_EXPORT extern bool -m_validateAllAllocUnits()
- -oSG_EXPORT extern unsigned int -m_calcUnused(const sAllocUnit* allocUnit)
- -oSG_EXPORT extern unsigned int -m_calcAllUnused()
- -oSG_EXPORT extern void -m_dumpAllocUnit(const sAllocUnit* allocUnit, const char* prefix = "")
- -oSG_EXPORT extern void -m_dumpMemoryReport(const char* filename = "memreport.log", bool overwrite = true)
- -oSG_EXPORT extern sMStats -m_getMemoryStatistics()
- -odefine -osgNew(m_setOwner (__FILE__, __LINE__), false)
+o#define +OSG_NODECALLBACK
o#define OSG_NODEVISITOR
@@ -328,9 +250,6 @@ o#define OSG_REFERENCED
-o#define -OSG_REF_PTR
- o#define OSG_SEQUENCE
@@ -544,12 +463,15 @@ opragmaoptimize("", on) (x)(".byte 0x0f, 0x31" : "=A" (x))
-odefineCLK +odefineCLK(x)((x)=0) (x)(".byte 0x0f, 0x31" : "=A" (x))
o#define OSG_TRANSFORM
+o#define +OSG_TRIANGLEFUNCTOR
+ o#define OSG_TYPES
@@ -571,8 +493,257 @@ o#define OSG_VERSION
+o#define +OSG_VERTEXPROGRAM
+ +o#define +GL_VERTEX_PROGRAM_ARB
+ +o#define +GL_VERTEX_PROGRAM_POINT_SIZE_ARB
+ +o#define +GL_VERTEX_PROGRAM_TWO_SIDE_ARB
+ +o#define +GL_COLOR_SUM_ARB
+ +o#define +GL_PROGRAM_FORMAT_ASCII_ARB
+ +o#define +GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB
+ +o#define +GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB
+ +o#define +GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB
+ +o#define +GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB
+ +o#define +GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB
+ +o#define +GL_CURRENT_VERTEX_ATTRIB_ARB
+ +o#define +GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB
+ +o#define +GL_PROGRAM_LENGTH_ARB
+ +o#define +GL_PROGRAM_FORMAT_ARB
+ +o#define +GL_PROGRAM_BINDING_ARB
+ +o#define +GL_PROGRAM_INSTRUCTIONS_ARB
+ +o#define +GL_MAX_PROGRAM_INSTRUCTIONS_ARB
+ +o#define +GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB
+ +o#define +GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB
+ +o#define +GL_PROGRAM_TEMPORARIES_ARB
+ +o#define +GL_MAX_PROGRAM_TEMPORARIES_ARB
+ +o#define +GL_PROGRAM_NATIVE_TEMPORARIES_ARB
+ +o#define +GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB
+ +o#define +GL_PROGRAM_PARAMETERS_ARB
+ +o#define +GL_MAX_PROGRAM_PARAMETERS_ARB
+ +o#define +GL_PROGRAM_NATIVE_PARAMETERS_ARB
+ +o#define +GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB
+ +o#define +GL_PROGRAM_ATTRIBS_ARB
+ +o#define +GL_MAX_PROGRAM_ATTRIBS_ARB
+ +o#define +GL_PROGRAM_NATIVE_ATTRIBS_ARB
+ +o#define +GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB
+ +o#define +GL_PROGRAM_ADDRESS_REGISTERS_ARB
+ +o#define +GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB
+ +o#define +GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB
+ +o#define +GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB
+ +o#define +GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB
+ +o#define +GL_MAX_PROGRAM_ENV_PARAMETERS_ARB
+ +o#define +GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB
+ +o#define +GL_PROGRAM_STRING_ARB
+ +o#define +GL_PROGRAM_ERROR_POSITION_ARB
+ +o#define +GL_CURRENT_MATRIX_ARB
+ +o#define +GL_TRANSPOSE_CURRENT_MATRIX_ARB
+ +o#define +GL_CURRENT_MATRIX_STACK_DEPTH_ARB
+ +o#define +GL_MAX_VERTEX_ATTRIBS_ARB
+ +o#define +GL_MAX_PROGRAM_MATRICES_ARB
+ +o#define +GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB
+ +o#define +GL_PROGRAM_ERROR_STRING_ARB
+ +o#define +GL_MATRIX0_ARB
+ +o#define +GL_MATRIX1_ARB
+ +o#define +GL_MATRIX2_ARB
+ +o#define +GL_MATRIX3_ARB
+ +o#define +GL_MATRIX4_ARB
+ +o#define +GL_MATRIX5_ARB
+ +o#define +GL_MATRIX6_ARB
+ +o#define +GL_MATRIX7_ARB
+ +o#define +GL_MATRIX8_ARB
+ +o#define +GL_MATRIX9_ARB
+ +o#define +GL_MATRIX10_ARB
+ +o#define +GL_MATRIX11_ARB
+ +o#define +GL_MATRIX12_ARB
+ +o#define +GL_MATRIX13_ARB
+ +o#define +GL_MATRIX14_ARB
+ +o#define +GL_MATRIX15_ARB
+ +o#define +GL_MATRIX16_ARB
+ +o#define +GL_MATRIX17_ARB
+ +o#define +GL_MATRIX18_ARB
+ +o#define +GL_MATRIX19_ARB
+ +o#define +GL_MATRIX20_ARB
+ +o#define +GL_MATRIX21_ARB
+ +o#define +GL_MATRIX22_ARB
+ +o#define +GL_MATRIX23_ARB
+ +o#define +GL_MATRIX24_ARB
+ +o#define +GL_MATRIX25_ARB
+ +o#define +GL_MATRIX26_ARB
+ +o#define +GL_MATRIX27_ARB
+ +o#define +GL_MATRIX28_ARB
+ +o#define +GL_MATRIX29_ARB
+ +o#define +GL_MATRIX30_ARB
+ +o#define +GL_MATRIX31_ARB
+ o#define -OSG_VIEWPORT
+OSG_VIEWPORT
+ +o#define +OSG_BUFFERED_VALUE
+ +o#define +OSG_FAST_BACK_STACK
+ +o#define +OSG_REF_PTR

Alphabetic index Hierarchy of classes



This page was generated with the help of DOC++. diff --git a/doc/doc++/osg/GeoSet.html b/doc/doc++/osg/GeoSet.html index e8cc8b14e..421786500 100644 --- a/doc/doc++/osg/GeoSet.html +++ b/doc/doc++/osg/GeoSet.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::GeoSet - + @@ -261,9 +261,9 @@
[more]enum InterleaveArrayType
-[more]struct IndexPointer +[more]struct SG_EXPORT IndexPointer
-[more]struct AttributeDeleteFunctor: public osg::Referenced +[more]struct SG_EXPORT AttributeDeleteFunctor: public osg::Referenced
function object which is used to handling the clean up of attribute arrays associated with GeoSet's.

@@ -350,13 +350,13 @@
ovirtual const Geometry* asGeometry() const
-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
-oinline ParentList getParents() +oinline ParentList getParents()
-oinline Node* getParent(unsigned int i) +oinline Node* getParent(unsigned int i)
-oinline const Node* getParent(unsigned int i) const +oinline const Node* getParent(unsigned int i) const
oinline unsigned int getNumParents() const
@@ -388,42 +388,48 @@
ovoid dirtyDisplayList()
-ovoid compile(State& state) +ovirtual void compile(State& state) const
-ovoid setAppCallback(AppCallback* ac) +ovoid setUpdateCallback(UpdateCallback* ac)
-oAppCallback* getAppCallback() +oUpdateCallback* getUpdateCallback()
-oconst AppCallback* getAppCallback() const +ovoid setAppCallback(AppCallback* ac)
-ovoid setCullCallback(CullCallback* cc) +oAppCallback* getAppCallback()
-oCullCallback* getCullCallback() +oconst AppCallback* getAppCallback() const
-oconst CullCallback* getCullCallback() const +ovoid setCullCallback(CullCallback* cc)
-ovoid setDrawCallback(DrawCallback* dc) +oCullCallback* getCullCallback()
-oDrawCallback* getDrawCallback() +oconst CullCallback* getCullCallback() const
-oconst DrawCallback* getDrawCallback() const +ovoid setDrawCallback(DrawCallback* dc)
-ostatic void deleteDisplayList(uint contextID, uint globj) +oDrawCallback* getDrawCallback()
-ostatic void flushDeletedDisplayLists(uint contextID) +oconst DrawCallback* getDrawCallback() const
-oinline void draw(State& state) +ostatic void deleteDisplayList(uint contextID, uint globj) +
+ostatic void flushDeletedDisplayLists(uint contextID) +
+oinline void draw(State& state) const

Public Members

-otypedef std::vector<Node*> ParentList +otypedef std::vector<Node*> ParentList
-ostruct AppCallback: public osg::Referenced +ostruct UpdateCallback: public virtual osg::Referenced
-ostruct CullCallback: public osg::Referenced +ostruct AppCallback: public UpdateCallback
-ostruct DrawCallback: public osg::Referenced +ostruct CullCallback: public virtual osg::Referenced +
+ostruct DrawCallback: public virtual osg::Referenced
oenum AttributeType
@@ -436,7 +442,7 @@ class PrimitiveFunctor

Protected Fields

-oParentList _parents +oParentList _parents
oref_ptr<StateSet> _stateset
@@ -450,29 +456,25 @@ class PrimitiveFunctor
obool _useDisplayList
-omutable GLObjectList _globjList +omutable GLObjectList _globjList
-oref_ptr<AppCallback> _appCallback +oref_ptr<UpdateCallback> _updateCallback
-oref_ptr<DrawCallback> _drawCallback +oref_ptr<DrawCallback> _drawCallback
-oref_ptr<CullCallback> _cullCallback -
-ostatic DeletedDisplayListCache s_deletedDisplayListCache +oref_ptr<CullCallback> _cullCallback

Protected Methods

-ovoid addParent(osg::Node* node) +ovoid addParent(osg::Node* node)
-ovoid removeParent(osg::Node* node) +ovoid removeParent(osg::Node* node)

Protected Members

-otypedef std::vector<uint> GLObjectList -
-otypedef std::map<uint,std::set<uint> > DeletedDisplayListCache +otypedef osg::buffered_value<uint> GLObjectList

@@ -480,9 +482,9 @@ class PrimitiveFunctor

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -498,7 +500,7 @@ class PrimitiveFunctor

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -508,26 +510,22 @@ class PrimitiveFunctor

Public Methods

-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -703,20 +701,20 @@ be shared for optimal memory usage and graphics performance. -
ostruct IndexPointer +
ostruct SG_EXPORT IndexPointer

-
omutable uint _size +
omutable uint _size

obool _is_ushort

- + -

ounion +
ounion _TPtr

@@ -750,15 +748,15 @@ be shared for optimal memory usage and graphics performance.

-

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

-

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

-

oinline uint maxIndex() const +
oinline uint maxIndex() const

@@ -1118,7 +1116,7 @@ and is the method to override when deriving from GeoSet for user-drawn objects.

-

ostruct AttributeDeleteFunctor: public osg::Referenced +
ostruct SG_EXPORT 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 momory attached to the GeoSet is owned by this GeoSet and can be deleted diff --git a/doc/doc++/osg/Geode.html b/doc/doc++/osg/Geode.html index 5eb4a30f9..a0bb603fd 100644 --- a/doc/doc++/osg/Geode.html +++ b/doc/doc++/osg/Geode.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Geode - + @@ -11,11 +11,11 @@

Inheritance:

- - - - - + + + + +
@@ -23,59 +23,272 @@

Public Methods

-[more] Geode() +[more] 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(osg, Geode) +[more] META_Node(osg, Geode)
-[more]virtual bool addDrawable( Drawable* drawable ) +[more]virtual bool addDrawable( Drawable* drawable )
Add Drawable to Geode.
-[more]virtual bool removeDrawable( Drawable* drawable ) +[more]virtual bool removeDrawable( Drawable* drawable )
Remove Drawable from Geode.
-[more]virtual bool replaceDrawable( Drawable* origDraw, Drawable* newDraw ) +[more]virtual bool removeDrawable(unsigned int i, unsigned int numDrawablesToRemove=1) +
Remove drawable(s) from the specified position in Geode's drawable list +
+[more]virtual bool replaceDrawable( Drawable* origDraw, Drawable* newDraw )
Replace specified Drawable with another Drawable.
-[more]inline unsigned int getNumDrawables() const -
return the number of geoset's +[more]virtual bool setDrawable( unsigned int i, Drawable* drawable ) +
set drawable at position i.
-[more]inline Drawable* getDrawable( unsigned int i ) -
return geoset at position i +[more]inline unsigned int getNumDrawables() const +
return the number of drawable's
-[more]inline const Drawable* getDrawable( unsigned int i ) const -
return geoset at position i +[more]inline Drawable* getDrawable( unsigned int i ) +
return drawable at position i
-[more]inline bool containsDrawable(const Drawable* gset) const -
return true if geoset is contained within Geode +[more]inline const Drawable* getDrawable( unsigned int i ) const +
return drawable at position i
-[more]inline DrawableList::iterator findDrawable(const Drawable* gset) -
return the iterator position for specified Drawable. +[more]inline bool containsDrawable(const Drawable* gset) const +
return true if drawable is contained within Geode
-[more]inline DrawableList::const_iterator findDrawable(const Drawable* gset) const -
return the const_iterator position for specified Drawable. +[more]inline unsigned int getDrawableIndex( const Drawable* node ) const +
Get the index number of drawable, return a value between 0 and _drawablessize()-1 if found, if not found then return _drawablessize()
-[more]void compileDrawables(State& state) -
compile OpenGL Display List for each geoset +[more]void compileDrawables(State& state) +
compile OpenGL Display List for each drawable

Public Members

-[more]typedef std::vector< ref_ptr<Drawable> > DrawableList +[more]typedef std::vector< ref_ptr<Drawable> > DrawableList

Protected Fields

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

Protected Methods

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

+ +
+

Inherited from Node:

+
+

+

Public Methods

+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 +
+ovirtual Group* asGroup() +
+ovirtual const Group* asGroup() const +
+ovirtual Transform* asTransform() +
+ovirtual const Transform* asTransform() const +
+ovirtual void accept(NodeVisitor& nv) +
+ovirtual void ascend(NodeVisitor& nv) +
+ovirtual void traverse(NodeVisitor& ) +
+oinline void setName( const std::string& name ) +
+oinline void setName( const char* name ) +
+oinline const std::string& getName() const +
+oinline const ParentList& getParents() const +
+oinline ParentList getParents() +
+oinline Group* getParent(unsigned int i) +
+oinline const Group* getParent(unsigned int i) const +
+oinline unsigned int getNumParents() const +
+ovoid setUpdateCallback(NodeCallback* nc) +
+oinline NodeCallback* getUpdateCallback() +
+oinline const NodeCallback* getUpdateCallback() const +
+ovoid setAppCallback(NodeCallback* nc) +
+oinline NodeCallback* getAppCallback() +
+oinline const NodeCallback* getAppCallback() const +
+oinline unsigned int getNumChildrenRequiringUpdateTraversal() const +
+ovoid setCullCallback(NodeCallback* nc) +
+oinline NodeCallback* getCullCallback() +
+oinline const NodeCallback* getCullCallback() const +
+ovoid setCullingActive(bool active) +
+oinline bool getCullingActive() const +
+oinline unsigned int getNumChildrenWithCullingDisabled() const +
+oinline bool isCullingActive() const +
+oinline unsigned int getNumChildrenWithOccluderNodes() const +
+obool containsOccluderNodes() const +
+oinline void setNodeMask(NodeMask nm) +
+oinline NodeMask getNodeMask() const +
+oinline const DescriptionList& getDescriptions() const +
+oinline DescriptionList& getDescriptions() +
+oinline const std::string& getDescription(unsigned int i) const +
+oinline std::string& getDescription(unsigned int i) +
+oinline unsigned int getNumDescriptions() const +
+ovoid addDescription(const std::string& desc) +
+oinline void setStateSet(osg::StateSet* dstate) +
+oosg::StateSet* getOrCreateStateSet() +
+oinline osg::StateSet* getStateSet() +
+oinline const osg::StateSet* getStateSet() const +
+oinline const BoundingSphere& getBound() const +
+ovoid dirtyBound() +

+ +

+

Public Members

+otypedef std::vector<Group*> ParentList +
+otypedef unsigned int NodeMask +
+otypedef std::vector<std::string> DescriptionList +

+ +

+

Protected Fields

+omutable BoundingSphere _bsphere +
+omutable bool _bsphere_computed +
+ostd::string _name +
+oParentList _parents +
+oref_ptr<NodeCallback> _updateCallback +
+ounsigned int _numChildrenRequiringUpdateTraversal +
+oref_ptr<NodeCallback> _cullCallback +
+obool _cullingActive +
+ounsigned int _numChildrenWithCullingDisabled +
+ounsigned int _numChildrenWithOccluderNodes +
+oNodeMask _nodeMask +
+oDescriptionList _descriptions +
+oref_ptr<StateSet> _stateset +

+ +

+

Protected Methods

+ovoid addParent(osg::Group* node) +
+ovoid removeParent(osg::Group* node) +
+ovoid setNumChildrenRequiringUpdateTraversal(unsigned int num) +
+ovoid setNumChildrenWithCullingDisabled(unsigned int num) +
+ovoid setNumChildrenWithOccluderNodes(unsigned int num) +

+ +
+

Inherited from Object:

+
+

+

Public Methods

+oinline void setDataVariance(DataVariance dv) +
+oinline DataVariance getDataVariance() const +
+oinline void setUserData(Referenced* obj) +
+oinline Referenced* getUserData() +
+oinline const Referenced* getUserData() const +

+ +

+

Public Members

+oenum DataVariance +

+ +

+

Protected Fields

+oDataVariance _dataVariance +
+oref_ptr<Referenced> _userData +

+ +
+

Inherited from Referenced:

+
+

+

Public Methods

+oinline Referenced& operator = (Referenced&) +
+ostatic void setDeleteHandler(DeleteHandler* handler) +
+ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const +
+oinline void unref_nodelete() const +
+oinline int referenceCount() const +
+oinline void unref() const +

+ +

+

Protected Fields

+omutable int _refCount

@@ -87,24 +300,24 @@
- +
otypedef std::vector< ref_ptr<Drawable> > DrawableList

- +

o 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(osg, Geode)

- +

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

- +

ovirtual bool removeDrawable( Drawable* drawable )
Remove Drawable from Geode. -If gset is contained in Geode then remove it from the geoset -list and decrement its reference count, and dirty the -bounding sphere to force it to recompute on next getBound() and -return true for success. If gset is not found then return false -and do not change the reference count of gset. +Equivalent to setDrawabke(getDrawableIndex(orignChild),node), +see docs for setNode for futher details on implementation. +

+ + +

ovirtual bool removeDrawable(unsigned int i, unsigned int numDrawablesToRemove=1) +
Remove drawable(s) from the specified position in Geode's drawable list

- +

ovirtual bool replaceDrawable( Drawable* origDraw, Drawable* newDraw )
Replace specified Drawable with another Drawable. +Equivalent to setDrawable(getDrawableIndex(orignChild),node), +see docs for setDrawable for futher details on implementation. +

+ + +

ovirtual bool setDrawable( unsigned int i, Drawable* drawable ) +
set drawable at position i. +return true if set correctly, false on failure (if node==NULL || i is out of range). Decrement the reference count origGSet and increments the reference count of newGset, and dirty the bounding sphere to force it to recompute on next getBound() and returns true. @@ -134,53 +357,48 @@ add newGset. If newGset is NULL then return false and do not remove origGset.

- +

oinline unsigned int getNumDrawables() const -
return the number of geoset's +
return the number of drawable's

- +

oinline Drawable* getDrawable( unsigned int i ) -
return geoset at position i +
return drawable at position i

- +

oinline const Drawable* getDrawable( unsigned int i ) const -
return geoset at position i +
return drawable at position i

- +

oinline bool containsDrawable(const Drawable* gset) const -
return true if geoset is contained within Geode +
return true if drawable 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. + + +
oinline unsigned int getDrawableIndex( const Drawable* node ) const +
Get the index number of drawable, return a value between +0 and _drawablessize()-1 if found, if not found then +return _drawablessize()

- +

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

- +

ovirtual ~Geode()

- +

ovirtual bool computeBound() const

- -

oDrawableList _drawables + +
oDrawableList _drawables


Direct child classes: diff --git a/doc/doc++/osg/Geometry.html b/doc/doc++/osg/Geometry.html index 43243d1f2..791e92ae1 100644 --- a/doc/doc++/osg/Geometry.html +++ b/doc/doc++/osg/Geometry.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Geometry - + @@ -22,217 +22,230 @@

Public Methods

-[more] Geometry() +[more] Geometry()
-[more] Geometry(const Geometry& geometry, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Geometry(const Geometry& geometry, 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* libraryName() const +[more]virtual const char* libraryName() const
-[more]virtual const char* className() const +[more]virtual const char* className() const
-[more]virtual Geometry* asGeometry() +[more]virtual Geometry* asGeometry()
-[more]virtual const Geometry* asGeometry() const +[more]virtual const Geometry* asGeometry() const
-[more]void setVertexArray(Vec3Array* array) +[more]void setVertexArray(Vec3Array* array)
-[more]Vec3Array* getVertexArray() +[more]Vec3Array* getVertexArray()
-[more]const Vec3Array* getVertexArray() const +[more]const Vec3Array* getVertexArray() const
-[more]void setVertexIndices(IndexArray* array) +[more]void setVertexIndices(IndexArray* array)
-[more]IndexArray* getVertexIndices() +[more]IndexArray* getVertexIndices()
-[more]const IndexArray* getVertexIndices() const +[more]const IndexArray* getVertexIndices() const
-[more]void setNormalBinding(AttributeBinding ab) +[more]void setNormalBinding(AttributeBinding ab)
-[more]AttributeBinding getNormalBinding() const +[more]AttributeBinding getNormalBinding() const
-[more]void setNormalArray(Vec3Array* array) +[more]void setNormalArray(Vec3Array* array)
-[more]Vec3Array* getNormalArray() +[more]Vec3Array* getNormalArray()
-[more]const Vec3Array* getNormalArray() const +[more]const Vec3Array* getNormalArray() const
-[more]void setNormalIndices(IndexArray* array) +[more]void setNormalIndices(IndexArray* array)
-[more]IndexArray* getNormalIndices() +[more]IndexArray* getNormalIndices()
-[more]const IndexArray* getNormalIndices() const +[more]const IndexArray* getNormalIndices() const
-[more]void setColorBinding(AttributeBinding ab) +[more]void setColorBinding(AttributeBinding ab)
-[more]AttributeBinding getColorBinding() const +[more]AttributeBinding getColorBinding() const
-[more]void setColorArray(Array* array) +[more]void setColorArray(Array* array)
-[more]Array* getColorArray() +[more]Array* getColorArray()
-[more]const Array* getColorArray() const +[more]const Array* getColorArray() const
-[more]void setColorIndices(IndexArray* array) +[more]void setColorIndices(IndexArray* array)
-[more]IndexArray* getColorIndices() +[more]IndexArray* getColorIndices()
-[more]const IndexArray* getColorIndices() const +[more]const IndexArray* getColorIndices() const
-[more]void setSecondaryColorBinding(AttributeBinding ab) +[more]void setSecondaryColorBinding(AttributeBinding ab)
-[more]AttributeBinding getSecondaryColorBinding() const +[more]AttributeBinding getSecondaryColorBinding() const
-[more]void setSecondaryColorArray(Array* array) +[more]void setSecondaryColorArray(Array* array)
-[more]Array* getSecondaryColorArray() +[more]Array* getSecondaryColorArray()
-[more]const Array* getSecondaryColorArray() const +[more]const Array* getSecondaryColorArray() const
-[more]void setSecondaryColorIndices(IndexArray* array) +[more]void setSecondaryColorIndices(IndexArray* array)
-[more]IndexArray* getSecondaryColorIndices() +[more]IndexArray* getSecondaryColorIndices()
-[more]const IndexArray* getSecondaryColorIndices() const +[more]const IndexArray* getSecondaryColorIndices() const
-[more]void setFogCoordBinding(AttributeBinding ab) +[more]void setFogCoordBinding(AttributeBinding ab)
-[more]AttributeBinding getFogCoordBinding() const +[more]AttributeBinding getFogCoordBinding() const
-[more]void setFogCoordArray(FloatArray* array) +[more]void setFogCoordArray(Array* array)
-[more]FloatArray* getFogCoordArray() +[more]Array* getFogCoordArray()
-[more]const FloatArray* getFogCoordArray() const +[more]const Array* getFogCoordArray() const
-[more]void setFogCoordIndices(IndexArray* array) +[more]void setFogCoordIndices(IndexArray* array)
-[more]IndexArray* getFogCoordIndices() +[more]IndexArray* getFogCoordIndices()
-[more]const IndexArray* getFogCoordIndices() const +[more]const IndexArray* getFogCoordIndices() const
-[more]void setTexCoordArray(unsigned int unit, Array*) +[more]void setTexCoordArray(unsigned int unit, Array*)
-[more]Array* getTexCoordArray(unsigned int unit) +[more]Array* getTexCoordArray(unsigned int unit)
-[more]const Array* getTexCoordArray(unsigned int unit) const +[more]const Array* getTexCoordArray(unsigned int unit) const
-[more]void setTexCoordIndices(unsigned int unit, IndexArray*) +[more]void setTexCoordIndices(unsigned int unit, IndexArray*)
-[more]IndexArray* getTexCoordIndices(unsigned int unit) +[more]IndexArray* getTexCoordIndices(unsigned int unit)
-[more]const IndexArray* getTexCoordIndices(unsigned int unit) const +[more]const IndexArray* getTexCoordIndices(unsigned int unit) const
-[more]unsigned int getNumTexCoordArrays() const +[more]unsigned int getNumTexCoordArrays() const
-[more]TexCoordArrayList& getTexCoordArrayList() +[more]TexCoordArrayList& getTexCoordArrayList()
-[more]const TexCoordArrayList& getTexCoordArrayList() const +[more]const TexCoordArrayList& getTexCoordArrayList() const
-[more]void setPrimitiveSetList(const PrimitiveSetList& primitives) +[more]void setPrimitiveSetList(const PrimitiveSetList& primitives)
-[more]PrimitiveSetList& getPrimitiveSetList() +[more]PrimitiveSetList& getPrimitiveSetList()
-[more]const PrimitiveSetList& getPrimitiveSetList() const +[more]const PrimitiveSetList& getPrimitiveSetList() const
-[more]unsigned int getNumPrimitiveSets() const +[more]unsigned int getNumPrimitiveSets() const
-[more]PrimitiveSet* getPrimitiveSet(unsigned int pos) +[more]PrimitiveSet* getPrimitiveSet(unsigned int pos)
-[more]const PrimitiveSet* getPrimitiveSet(unsigned int pos) const +[more]const PrimitiveSet* getPrimitiveSet(unsigned int pos) const
-[more]void addPrimitiveSet(PrimitiveSet* primitive) +[more]bool addPrimitiveSet(PrimitiveSet* primitiveset) +
Add a primitive set to the geometry
-[more]bool areFastPathsUsed() const +[more]bool setPrimitiveSet(unsigned int i, PrimitiveSet* primitiveset) +
Set a primitive set to the specified position in geometry's primitive set list +
+[more]bool insertPrimitiveSet(unsigned int i, PrimitiveSet* primitiveset) +
Insert a primitive set to the specified position in geometry's primitive set list +
+[more]bool removePrimitiveSet(unsigned int i, unsigned int numElementsToRemove=1) +
Remove primitive set(s) from the specified position in geometry's primitive set list +
+[more]unsigned int getPrimitiveSetIndex(const PrimitiveSet* primitiveset) const +
Get the index number of a primitive set, return a value between 0 and getNumPrimitiveSet()-1 if found, if not found then return getNumPrimitiveSet(). +
+[more]bool areFastPathsUsed() const
return true if OpenGL fast paths will be used with drawing this Geometry.
-[more]bool verifyBindings() const +[more]bool verifyBindings() const
-[more]void computeCorrectBindingsAndArraySizes() +[more]void computeCorrectBindingsAndArraySizes()
-[more]virtual void drawImplementation(State& state) const +[more]virtual void drawImplementation(State& state) const
draw Geometry directly ignoring an OpenGL display list which could be attached.
-[more]virtual bool supports(AttributeFunctor&) const +[more]virtual bool supports(AttributeFunctor&) const
return true, osg::Geometry does support accept(AttributeFunctor&)
-[more]virtual void accept(AttributeFunctor& af) +[more]virtual void accept(AttributeFunctor& af)
accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has
-[more]virtual bool supports(ConstAttributeFunctor&) const +[more]virtual bool supports(ConstAttributeFunctor&) const
return true, osg::Geometry does support accept(ConstAttributeFunctor&)
-[more]virtual void accept(ConstAttributeFunctor& af) const +[more]virtual void accept(ConstAttributeFunctor& af) const
accept an ConstAttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has
-[more]virtual bool supports(PrimitiveFunctor&) const +[more]virtual bool supports(PrimitiveFunctor&) const
return true, osg::Geometry does support accept(PrimitiveFunctor&)
-[more]virtual void accept(PrimitiveFunctor& pf) const -
accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has +[more]virtual void accept(PrimitiveFunctor& pf) const +
accept a PrimitiveFunctor and call its methods to tell it about the interal primitives that this Drawable has

Public Members

-[more]enum AttributeBinding +[more]enum AttributeBinding
-[more]typedef std::pair< ref_ptr<Array>, ref_ptr<IndexArray> > TexCoordArrayPair +[more]typedef std::pair< ref_ptr<Array>, ref_ptr<IndexArray> > TexCoordArrayPair
-[more]typedef std::vector< TexCoordArrayPair > TexCoordArrayList +[more]typedef std::vector< TexCoordArrayPair > TexCoordArrayList
-[more]typedef std::vector< ref_ptr<PrimitiveSet> > PrimitiveSetList +[more]typedef std::vector< ref_ptr<PrimitiveSet> > PrimitiveSetList

Protected Fields

-[more]PrimitiveSetList _primitives +[more]PrimitiveSetList _primitives
-[more]ref_ptr<Vec3Array> _vertexArray +[more]ref_ptr<Vec3Array> _vertexArray
-[more]ref_ptr<IndexArray> _vertexIndices +[more]ref_ptr<IndexArray> _vertexIndices
-[more]mutable AttributeBinding _normalBinding +[more]mutable AttributeBinding _normalBinding
-[more]ref_ptr<Vec3Array> _normalArray +[more]ref_ptr<Vec3Array> _normalArray
-[more]ref_ptr<IndexArray> _normalIndices +[more]ref_ptr<IndexArray> _normalIndices
-[more]mutable AttributeBinding _colorBinding +[more]mutable AttributeBinding _colorBinding
-[more]ref_ptr<Array> _colorArray +[more]ref_ptr<Array> _colorArray
-[more]ref_ptr<IndexArray> _colorIndices +[more]ref_ptr<IndexArray> _colorIndices
-[more]mutable AttributeBinding _secondaryColorBinding +[more]mutable AttributeBinding _secondaryColorBinding
-[more]ref_ptr<Array> _secondaryColorArray +[more]ref_ptr<Array> _secondaryColorArray
-[more]ref_ptr<IndexArray> _secondaryColorIndices +[more]ref_ptr<IndexArray> _secondaryColorIndices
-[more]mutable AttributeBinding _fogCoordBinding +[more]mutable AttributeBinding _fogCoordBinding
-[more]ref_ptr<FloatArray> _fogCoordArray +[more]ref_ptr<Array> _fogCoordArray
-[more]ref_ptr<IndexArray> _fogCoordIndices +[more]ref_ptr<IndexArray> _fogCoordIndices
-[more]TexCoordArrayList _texCoordList +[more]TexCoordArrayList _texCoordList
-[more]mutable bool _fastPathComputed +[more]mutable bool _fastPathComputed
-[more]mutable bool _fastPath +[more]mutable bool _fastPath

Protected Methods

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

@@ -240,13 +253,13 @@

Public Methods

-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
-oinline ParentList getParents() +oinline ParentList getParents()
-oinline Node* getParent(unsigned int i) +oinline Node* getParent(unsigned int i)
-oinline const Node* getParent(unsigned int i) const +oinline const Node* getParent(unsigned int i) const
oinline unsigned int getNumParents() const
@@ -278,42 +291,48 @@
ovoid dirtyDisplayList()
-ovoid compile(State& state) +ovirtual void compile(State& state) const
-ovoid setAppCallback(AppCallback* ac) +ovoid setUpdateCallback(UpdateCallback* ac)
-oAppCallback* getAppCallback() +oUpdateCallback* getUpdateCallback()
-oconst AppCallback* getAppCallback() const +ovoid setAppCallback(AppCallback* ac)
-ovoid setCullCallback(CullCallback* cc) +oAppCallback* getAppCallback()
-oCullCallback* getCullCallback() +oconst AppCallback* getAppCallback() const
-oconst CullCallback* getCullCallback() const +ovoid setCullCallback(CullCallback* cc)
-ovoid setDrawCallback(DrawCallback* dc) +oCullCallback* getCullCallback()
-oDrawCallback* getDrawCallback() +oconst CullCallback* getCullCallback() const
-oconst DrawCallback* getDrawCallback() const +ovoid setDrawCallback(DrawCallback* dc)
-ostatic void deleteDisplayList(uint contextID, uint globj) +oDrawCallback* getDrawCallback()
-ostatic void flushDeletedDisplayLists(uint contextID) +oconst DrawCallback* getDrawCallback() const
-oinline void draw(State& state) +ostatic void deleteDisplayList(uint contextID, uint globj) +
+ostatic void flushDeletedDisplayLists(uint contextID) +
+oinline void draw(State& state) const

Public Members

-otypedef std::vector<Node*> ParentList +otypedef std::vector<Node*> ParentList
-ostruct AppCallback: public osg::Referenced +ostruct UpdateCallback: public virtual osg::Referenced
-ostruct CullCallback: public osg::Referenced +ostruct AppCallback: public UpdateCallback
-ostruct DrawCallback: public osg::Referenced +ostruct CullCallback: public virtual osg::Referenced +
+ostruct DrawCallback: public virtual osg::Referenced
oenum AttributeType
@@ -326,7 +345,7 @@ class PrimitiveFunctor

Protected Fields

-oParentList _parents +oParentList _parents
oref_ptr<StateSet> _stateset
@@ -340,31 +359,27 @@ class PrimitiveFunctor
obool _useDisplayList
-omutable GLObjectList _globjList +omutable GLObjectList _globjList
-oref_ptr<AppCallback> _appCallback +oref_ptr<UpdateCallback> _updateCallback
-oref_ptr<DrawCallback> _drawCallback +oref_ptr<DrawCallback> _drawCallback
-oref_ptr<CullCallback> _cullCallback -
-ostatic DeletedDisplayListCache s_deletedDisplayListCache +oref_ptr<CullCallback> _cullCallback

Protected Methods

ovirtual bool computeBound() const
-ovoid addParent(osg::Node* node) +ovoid addParent(osg::Node* node)
-ovoid removeParent(osg::Node* node) +ovoid removeParent(osg::Node* node)

Protected Members

-otypedef std::vector<uint> GLObjectList -
-otypedef std::map<uint,std::set<uint> > DeletedDisplayListCache +otypedef osg::buffered_value<uint> GLObjectList

@@ -372,9 +387,9 @@ class PrimitiveFunctor

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -390,7 +405,7 @@ class PrimitiveFunctor

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -400,26 +415,22 @@ class PrimitiveFunctor

Public Methods

-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -430,427 +441,450 @@ class PrimitiveFunctor
- +
o Geometry()

- -

o Geometry(const Geometry& geometry, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o Geometry(const Geometry& geometry, 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

- +

ovirtual Geometry* asGeometry()

- +

ovirtual const Geometry* asGeometry() const

- +

oenum AttributeBinding

- +
o BIND_OFF

- +

o BIND_OVERALL

- +

o BIND_PER_PRIMITIVE_SET

- +

o BIND_PER_PRIMITIVE

- +

o BIND_PER_VERTEX

- -
ovoid setVertexArray(Vec3Array* array) + +
ovoid setVertexArray(Vec3Array* array)

- -

oVec3Array* getVertexArray() + +
oVec3Array* getVertexArray()

- -

oconst Vec3Array* getVertexArray() const + +
oconst Vec3Array* getVertexArray() const

- +

ovoid setVertexIndices(IndexArray* array)

- +

oIndexArray* getVertexIndices()

- +

oconst IndexArray* getVertexIndices() const

- -

ovoid setNormalBinding(AttributeBinding ab) + +
ovoid setNormalBinding(AttributeBinding ab)

- -

oAttributeBinding getNormalBinding() const + +
oAttributeBinding getNormalBinding() const

- -

ovoid setNormalArray(Vec3Array* array) + +
ovoid setNormalArray(Vec3Array* array)

- -

oVec3Array* getNormalArray() + +
oVec3Array* getNormalArray()

- -

oconst Vec3Array* getNormalArray() const + +
oconst Vec3Array* getNormalArray() const

- +

ovoid setNormalIndices(IndexArray* array)

- +

oIndexArray* getNormalIndices()

- +

oconst IndexArray* getNormalIndices() const

- -

ovoid setColorBinding(AttributeBinding ab) + +
ovoid setColorBinding(AttributeBinding ab)

- -

oAttributeBinding getColorBinding() const + +
oAttributeBinding getColorBinding() const

- +

ovoid setColorArray(Array* array)

- +

oArray* getColorArray()

- +

oconst Array* getColorArray() const

- +

ovoid setColorIndices(IndexArray* array)

- +

oIndexArray* getColorIndices()

- +

oconst IndexArray* getColorIndices() const

- -

ovoid setSecondaryColorBinding(AttributeBinding ab) + +
ovoid setSecondaryColorBinding(AttributeBinding ab)

- -

oAttributeBinding getSecondaryColorBinding() const + +
oAttributeBinding getSecondaryColorBinding() const

- +

ovoid setSecondaryColorArray(Array* array)

- +

oArray* getSecondaryColorArray()

- +

oconst Array* getSecondaryColorArray() const

- +

ovoid setSecondaryColorIndices(IndexArray* array)

- +

oIndexArray* getSecondaryColorIndices()

- +

oconst IndexArray* getSecondaryColorIndices() const

- -

ovoid setFogCoordBinding(AttributeBinding ab) + +
ovoid setFogCoordBinding(AttributeBinding ab)

- -

oAttributeBinding getFogCoordBinding() const + +
oAttributeBinding getFogCoordBinding() const

- -

ovoid setFogCoordArray(FloatArray* array) + +
ovoid setFogCoordArray(Array* array)

- -

oFloatArray* getFogCoordArray() + +
oArray* getFogCoordArray()

- -

oconst FloatArray* getFogCoordArray() const + +
oconst Array* getFogCoordArray() const

- +

ovoid setFogCoordIndices(IndexArray* array)

- +

oIndexArray* getFogCoordIndices()

- +

oconst IndexArray* getFogCoordIndices() const

- +

otypedef std::pair< ref_ptr<Array>, ref_ptr<IndexArray> > TexCoordArrayPair

- -

otypedef std::vector< TexCoordArrayPair > TexCoordArrayList + +
otypedef std::vector< TexCoordArrayPair > TexCoordArrayList

- +

ovoid setTexCoordArray(unsigned int unit, Array*)

- +

oArray* getTexCoordArray(unsigned int unit)

- +

oconst Array* getTexCoordArray(unsigned int unit) const

- +

ovoid setTexCoordIndices(unsigned int unit, IndexArray*)

- +

oIndexArray* getTexCoordIndices(unsigned int unit)

- +

oconst IndexArray* getTexCoordIndices(unsigned int unit) const

- +

ounsigned int getNumTexCoordArrays() const

- -

oTexCoordArrayList& getTexCoordArrayList() + +
oTexCoordArrayList& getTexCoordArrayList()

- -

oconst TexCoordArrayList& getTexCoordArrayList() const + +
oconst TexCoordArrayList& getTexCoordArrayList() const

- +

otypedef std::vector< ref_ptr<PrimitiveSet> > PrimitiveSetList

- -

ovoid setPrimitiveSetList(const PrimitiveSetList& primitives) + +
ovoid setPrimitiveSetList(const PrimitiveSetList& primitives)

- -

oPrimitiveSetList& getPrimitiveSetList() + +
oPrimitiveSetList& getPrimitiveSetList()

- -

oconst PrimitiveSetList& getPrimitiveSetList() const + +
oconst PrimitiveSetList& getPrimitiveSetList() const

- +

ounsigned int getNumPrimitiveSets() const

- +

oPrimitiveSet* getPrimitiveSet(unsigned int pos)

- +

oconst PrimitiveSet* getPrimitiveSet(unsigned int pos) const

- -

ovoid addPrimitiveSet(PrimitiveSet* primitive) + +
obool addPrimitiveSet(PrimitiveSet* primitiveset) +
Add a primitive set to the geometry +

+ + +

obool setPrimitiveSet(unsigned int i, PrimitiveSet* primitiveset) +
Set a primitive set to the specified position in geometry's primitive set list +

+ + +

obool insertPrimitiveSet(unsigned int i, PrimitiveSet* primitiveset) +
Insert a primitive set to the specified position in geometry's primitive set list +

+ + +

obool removePrimitiveSet(unsigned int i, unsigned int numElementsToRemove=1) +
Remove primitive set(s) from the specified position in geometry's primitive set list +

+ + +

ounsigned int getPrimitiveSetIndex(const PrimitiveSet* primitiveset) const +
Get the index number of a primitive set, return a value between +0 and getNumPrimitiveSet()-1 if found, if not found then return getNumPrimitiveSet(). +When checking for a valid find value use if ((value=geoemtry->getPrimitiveSetIndex(primitive))!=geometry.getNumPrimitiveSet()) as

- +

obool areFastPathsUsed() const
return true if OpenGL fast paths will be used with drawing this Geometry. Fast paths use vertex arrays, and glDrawArrays/glDrawElements. Slow paths -use glBegin()/glVertex.../glEnd(). Use of per primtive bindings or per vertex indexed +use glBegin()/glVertex.../glEnd(). Use of per primitive bindings or per vertex indexed arrays will drop the rendering path off the fast path.

- +

obool verifyBindings() const

- +

ovoid computeCorrectBindingsAndArraySizes()

- +

ovirtual void drawImplementation(State& state) const
draw Geometry directly ignoring an OpenGL display list which could be attached. This is the internal draw method which does the drawing itself, and is the method to override when deriving from Geometry for user-drawn objects.

- +

ovirtual bool supports(AttributeFunctor&) const
return true, osg::Geometry does support accept(AttributeFunctor&)

- +

ovirtual void accept(AttributeFunctor& af)
accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has

- +

ovirtual bool supports(ConstAttributeFunctor&) const
return true, osg::Geometry does support accept(ConstAttributeFunctor&)

- +

ovirtual void accept(ConstAttributeFunctor& af) const
accept an ConstAttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has

- +

ovirtual bool supports(PrimitiveFunctor&) const
return true, osg::Geometry does support accept(PrimitiveFunctor&)

- +

ovirtual void accept(PrimitiveFunctor& pf) const -
accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has +
accept a PrimitiveFunctor and call its methods to tell it about the interal primitives that this Drawable has

- +

oGeometry& operator = (const Geometry&)

- +

ovirtual ~Geometry()

- -

oPrimitiveSetList _primitives + +
oPrimitiveSetList _primitives

- -

oref_ptr<Vec3Array> _vertexArray + +
oref_ptr<Vec3Array> _vertexArray

- +

oref_ptr<IndexArray> _vertexIndices

- -

omutable AttributeBinding _normalBinding + +
omutable AttributeBinding _normalBinding

- -

oref_ptr<Vec3Array> _normalArray + +
oref_ptr<Vec3Array> _normalArray

- +

oref_ptr<IndexArray> _normalIndices

- -

omutable AttributeBinding _colorBinding + +
omutable AttributeBinding _colorBinding

- +

oref_ptr<Array> _colorArray

- +

oref_ptr<IndexArray> _colorIndices

- -

omutable AttributeBinding _secondaryColorBinding + +
omutable AttributeBinding _secondaryColorBinding

- +

oref_ptr<Array> _secondaryColorArray

- +

oref_ptr<IndexArray> _secondaryColorIndices

- -

omutable AttributeBinding _fogCoordBinding + +
omutable AttributeBinding _fogCoordBinding

- -

oref_ptr<FloatArray> _fogCoordArray + +
oref_ptr<Array> _fogCoordArray

- +

oref_ptr<IndexArray> _fogCoordIndices

- -

oTexCoordArrayList _texCoordList + +
oTexCoordArrayList _texCoordList

- +

omutable bool _fastPathComputed

- +

omutable bool _fastPath

diff --git a/doc/doc++/osg/Grid.html b/doc/doc++/osg/Grid.html index 2356e2472..78174e073 100644 --- a/doc/doc++/osg/Grid.html +++ b/doc/doc++/osg/Grid.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Grid - + @@ -22,30 +22,30 @@

Public Methods

-[more] Grid() +[more] Grid()
-[more] Grid(const Grid& mesh, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Grid(const Grid& mesh, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more]META_Shape (osg, Grid)(unsigned int numColumns, unsigned int numRows) +[more]META_Shape (osg, Grid)(unsigned int numColumns, unsigned int numRows)
-[more]void setHeight(unsigned int c, unsigned int r, float value) +[more]void setHeight(unsigned int c, unsigned int r, float value)
-[more]virtual float getHeight(unsigned int c, unsigned int r) const +[more]virtual float getHeight(unsigned int c, unsigned int r) const

Protected Fields

-[more]HeightList _heights +[more]HeightList _heights

Protected Methods

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

Protected Members

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

@@ -79,7 +79,7 @@
oinline float getYInterval() const
-ovirtual Vec3 getNormal(unsigned int c, unsigned int r) const +ovirtual Vec3 getNormal(unsigned int c, unsigned int r) const
oinline void setRotation(const Quat& quat)
@@ -120,9 +120,9 @@

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -138,7 +138,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -150,26 +150,22 @@

Public Methods

oinline Referenced& operator = (Referenced&)
-oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
-oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
-oinline static int createdCount() -
-oinline static int deletedCount() +oinline void unref() const

Protected Fields

omutable int _refCount -
-ostatic int _createdCount -
-ostatic int _deletedCount

@@ -180,36 +176,36 @@
- +
o Grid()

- -

o Grid(const Grid& mesh, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o Grid(const Grid& mesh, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

- -

oMETA_Shape (osg, Grid)(unsigned int numColumns, unsigned int numRows) + +
oMETA_Shape (osg, Grid)(unsigned int numColumns, unsigned int numRows)

- -

ovoid setHeight(unsigned int c, unsigned int r, float value) + +
ovoid setHeight(unsigned int c, unsigned int r, float value)

- -

ovirtual float getHeight(unsigned int c, unsigned int r) const + +
ovirtual float getHeight(unsigned int c, unsigned int r) const

- +

o ~Grid()

- +

otypedef std::vector<float> HeightList

- -

oHeightList _heights + +
oHeightList _heights


This class has no child classes.
diff --git a/doc/doc++/osg/Group.html b/doc/doc++/osg/Group.html index 8d503bb81..f433a1897 100644 --- a/doc/doc++/osg/Group.html +++ b/doc/doc++/osg/Group.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Group - + @@ -11,11 +11,11 @@

Inheritance:

- - - - - + + + + +
@@ -23,65 +23,268 @@

Public Methods

-[more] Group() +[more] 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(osg, Group) +[more] META_Node(osg, Group)
-[more]virtual Group* asGroup() +[more]virtual Group* asGroup()
-[more]virtual const Group* asGroup() const +[more]virtual const Group* asGroup() const
-[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 removeChild(unsigned int pos, unsigned int numChildrenToRemove=1) +
+[more]virtual bool replaceChild( Node* origChild, Node* newChild )
Replace specified Node with another Node.
-[more]inline unsigned int getNumChildren() const +[more]inline unsigned int getNumChildren() const
return the number of chilren nodes
-[more]inline Node* getChild( unsigned int i ) +[more]virtual bool setChild( unsigned int i, Node* node ) +
set child node at position i. +
+[more]inline Node* getChild( unsigned int i )
return child node at position i
-[more]inline const Node* getChild( unsigned int i ) const +[more]inline const Node* getChild( 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 ) -
return the iterator position for specified Node. -
-[more]inline ChildList::const_iterator findNode( const Node* node ) const -
return the const_iterator position for specified Node. -
-[more]inline unsigned int findChildNo( const Node* node ) const -
Find the index number of child, return a value between 0 and _childrensize()-1 if found, if not found then return _childrensize() +[more]inline unsigned int getChildIndex( const Node* node ) const +
Get the index number of child, return a value between 0 and _childrensize()-1 if found, if not found then return _childrensize()

Public Members

-[more]typedef std::vector<ref_ptr<Node> > ChildList +[more]typedef std::vector<ref_ptr<Node> > ChildList

Protected Fields

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

Protected Methods

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

+ +
+

Inherited from Node:

+
+

+

Public Methods

+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 +
+ovirtual Transform* asTransform() +
+ovirtual const Transform* asTransform() const +
+ovirtual void accept(NodeVisitor& nv) +
+ovirtual void ascend(NodeVisitor& nv) +
+oinline void setName( const std::string& name ) +
+oinline void setName( const char* name ) +
+oinline const std::string& getName() const +
+oinline const ParentList& getParents() const +
+oinline ParentList getParents() +
+oinline Group* getParent(unsigned int i) +
+oinline const Group* getParent(unsigned int i) const +
+oinline unsigned int getNumParents() const +
+ovoid setUpdateCallback(NodeCallback* nc) +
+oinline NodeCallback* getUpdateCallback() +
+oinline const NodeCallback* getUpdateCallback() const +
+ovoid setAppCallback(NodeCallback* nc) +
+oinline NodeCallback* getAppCallback() +
+oinline const NodeCallback* getAppCallback() const +
+oinline unsigned int getNumChildrenRequiringUpdateTraversal() const +
+ovoid setCullCallback(NodeCallback* nc) +
+oinline NodeCallback* getCullCallback() +
+oinline const NodeCallback* getCullCallback() const +
+ovoid setCullingActive(bool active) +
+oinline bool getCullingActive() const +
+oinline unsigned int getNumChildrenWithCullingDisabled() const +
+oinline bool isCullingActive() const +
+oinline unsigned int getNumChildrenWithOccluderNodes() const +
+obool containsOccluderNodes() const +
+oinline void setNodeMask(NodeMask nm) +
+oinline NodeMask getNodeMask() const +
+oinline const DescriptionList& getDescriptions() const +
+oinline DescriptionList& getDescriptions() +
+oinline const std::string& getDescription(unsigned int i) const +
+oinline std::string& getDescription(unsigned int i) +
+oinline unsigned int getNumDescriptions() const +
+ovoid addDescription(const std::string& desc) +
+oinline void setStateSet(osg::StateSet* dstate) +
+oosg::StateSet* getOrCreateStateSet() +
+oinline osg::StateSet* getStateSet() +
+oinline const osg::StateSet* getStateSet() const +
+oinline const BoundingSphere& getBound() const +
+ovoid dirtyBound() +

+ +

+

Public Members

+otypedef std::vector<Group*> ParentList +
+otypedef unsigned int NodeMask +
+otypedef std::vector<std::string> DescriptionList +

+ +

+

Protected Fields

+omutable BoundingSphere _bsphere +
+omutable bool _bsphere_computed +
+ostd::string _name +
+oParentList _parents +
+oref_ptr<NodeCallback> _updateCallback +
+ounsigned int _numChildrenRequiringUpdateTraversal +
+oref_ptr<NodeCallback> _cullCallback +
+obool _cullingActive +
+ounsigned int _numChildrenWithCullingDisabled +
+ounsigned int _numChildrenWithOccluderNodes +
+oNodeMask _nodeMask +
+oDescriptionList _descriptions +
+oref_ptr<StateSet> _stateset +

+ +

+

Protected Methods

+ovoid addParent(osg::Group* node) +
+ovoid removeParent(osg::Group* node) +
+ovoid setNumChildrenRequiringUpdateTraversal(unsigned int num) +
+ovoid setNumChildrenWithCullingDisabled(unsigned int num) +
+ovoid setNumChildrenWithOccluderNodes(unsigned int num) +

+ +
+

Inherited from Object:

+
+

+

Public Methods

+oinline void setDataVariance(DataVariance dv) +
+oinline DataVariance getDataVariance() const +
+oinline void setUserData(Referenced* obj) +
+oinline Referenced* getUserData() +
+oinline const Referenced* getUserData() const +

+ +

+

Public Members

+oenum DataVariance +

+ +

+

Protected Fields

+oDataVariance _dataVariance +
+oref_ptr<Referenced> _userData +

+ +
+

Inherited from Referenced:

+
+

+

Public Methods

+oinline Referenced& operator = (Referenced&) +
+ostatic void setDeleteHandler(DeleteHandler* handler) +
+ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const +
+oinline void unref_nodelete() const +
+oinline int referenceCount() const +
+oinline void unref() const +

+ +

+

Protected Fields

+omutable int _refCount

@@ -95,37 +298,37 @@ with memory management handled automatically via osg::Referenced.
- -
otypedef std::vector<ref_ptr<Node> > ChildList + +
otypedef std::vector<ref_ptr<Node> > ChildList

- +

o 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(osg, Group)

- +

ovirtual Group* asGroup()

- +

ovirtual const Group* asGroup() const

- +

ovirtual void traverse(NodeVisitor& nv)

- -

ovirtual bool addChild( Node* child ) + +
ovirtual bool addChild( Node* child )
Add Node to Group. If node is not NULL and is not contained in Group then increment its reference count, add it to the child list and dirty the bounding @@ -133,8 +336,8 @@ 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 ) + +
ovirtual bool removeChild( Node* child )
Remove Node from Group. If Node is contained in Group then remove it from the child list, decrement its reference count, and dirty the @@ -142,72 +345,73 @@ bounding sphere to force it to recompute on next getBound() and return true for success. If Node is not found then return false and do not change the reference count of the Node.

+ + +

ovirtual bool removeChild(unsigned int pos, unsigned int numChildrenToRemove=1) +

- -

ovirtual bool replaceChild( Node* origChild, Node* newChild ) + +
ovirtual bool replaceChild( Node* origChild, Node* newChild )
Replace specified Node with another Node. -Decrement the reference count origNode and increments the +Equivalent to setChild(getChildIndex(orignChild),node), +see docs for setChild for futher details on implementation. +

+ + +

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

+ + +

ovirtual bool setChild( unsigned int i, Node* node ) +
set child node at position i. +return true if set correctly, false on failure (if node==NULL || i is out of range). +When set can be successful applied, the algorithm is : decrement the reference count origNode and increments the reference count of newNode, and dirty the bounding sphere to force it to recompute on next getBound() and returns true. If origNode is not found then return false and do not add newNode. If newNode is NULL then return false and do not remove origNode. Also returns false if newChild is a Scene node.

- - -

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

- -

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

- -

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

- -

oinline bool containsNode( const Node* node ) const + +
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. -

- - -

oinline unsigned int findChildNo( const Node* node ) const -
Find the index number of child, return a value between + + +
oinline unsigned int getChildIndex( const Node* node ) const +
Get the index number of child, return a value between 0 and _childrensize()-1 if found, if not found then return _childrensize()

- +

ovirtual ~Group()

- +

ovirtual bool computeBound() const

- -

oChildList _children + +
oChildList _children


Direct child classes:
Transform
Switch
+Sequence
Projection
OccluderNode
LightSource
diff --git a/doc/doc++/osg/HIER.html b/doc/doc++/osg/HIER.html index 8d8c3f73d..8c6346232 100644 --- a/doc/doc++/osg/HIER.html +++ b/doc/doc++/osg/HIER.html @@ -3,7 +3,7 @@ Hierarchy of Classes - +

Hierarchy of Classes

@@ -23,31 +23,10 @@
  • osg::CollectOccludersVisitor -
  • osg::Geode
  • osg::Plane
  • + + + + + + + @@ -92,18 +99,11 @@ - - - - - - - - - - - - + + + + + @@ -127,11 +127,11 @@ - - - - - + + + + + diff --git a/doc/doc++/osg/HeightField.html b/doc/doc++/osg/HeightField.html index bc97f356e..b880910b4 100644 --- a/doc/doc++/osg/HeightField.html +++ b/doc/doc++/osg/HeightField.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::HeightField - + @@ -22,67 +22,67 @@

    Public Methods

    -[more] HeightField() +[more] HeightField()
    -[more] HeightField(const HeightField& mesh, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] HeightField(const HeightField& mesh, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    -[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
    -[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
    -[more]virtual const char* className() const +[more]virtual const char* className() const
    -[more]virtual void accept(osg::ShapeVisitor& sv) +[more]virtual void accept(osg::ShapeVisitor& sv)
    -[more]virtual void accept(osg::ConstShapeVisitor& csv) const +[more]virtual void accept(osg::ConstShapeVisitor& csv) const
    -[more]inline unsigned int getNumColumns() const +[more]inline unsigned int getNumColumns() const
    -[more]inline unsigned int getNumRows() const +[more]inline unsigned int getNumRows() const
    -[more]inline void setOrigin(const osg::Vec3& origin) +[more]inline void setOrigin(const osg::Vec3& origin)
    -[more]inline const osg::Vec3& getOrigin() const +[more]inline const osg::Vec3& getOrigin() const
    -[more]inline void setXInterval(float dx) +[more]inline void setXInterval(float dx)
    -[more]inline float getXInterval() const +[more]inline float getXInterval() const
    -[more]inline void setYInterval(float dy) +[more]inline void setYInterval(float dy)
    -[more]inline float getYInterval() const +[more]inline float getYInterval() const
    -[more]virtual float getHeight(unsigned int c, unsigned int r) const = 0 +[more]virtual float getHeight(unsigned int c, unsigned int r) const = 0
    -[more]virtual Vec3 getNormal(unsigned int c, unsigned int r) const +[more]virtual Vec3 getNormal(unsigned int c, unsigned int r) const
    -[more]inline void setRotation(const Quat& quat) +[more]inline void setRotation(const Quat& quat)
    -[more]inline const Quat& getRotation() const +[more]inline const Quat& getRotation() const
    -[more]inline Matrix getRotationMatrix() const +[more]inline Matrix getRotationMatrix() const
    -[more]inline bool zeroRotation() const +[more]inline bool zeroRotation() const

    Protected Fields

    -[more]unsigned int _columns +[more]unsigned int _columns
    -[more]unsigned int _rows +[more]unsigned int _rows
    -[more]osg::Vec3 _origin +[more]osg::Vec3 _origin
    -[more]float _dx +[more]float _dx
    -[more]float _dy +[more]float _dy
    -[more]Quat _rotation +[more]Quat _rotation

    Protected Methods

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

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

    Public Methods

    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -118,7 +118,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -130,26 +130,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -160,115 +156,115 @@
    - +
    o HeightField()

    - -

    o HeightField(const HeightField& mesh, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o HeightField(const HeightField& mesh, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

    - +

    ovirtual bool isSameKindAs(const Object* obj) const

    - +

    ovirtual const char* libraryName() const

    - +

    ovirtual const char* className() const

    - +

    ovirtual void accept(osg::ShapeVisitor& sv)

    - +

    ovirtual void accept(osg::ConstShapeVisitor& csv) const

    - +

    oinline unsigned int getNumColumns() const

    - +

    oinline unsigned int getNumRows() const

    - +

    oinline void setOrigin(const osg::Vec3& origin)

    - +

    oinline const osg::Vec3& getOrigin() const

    - +

    oinline void setXInterval(float dx)

    - +

    oinline float getXInterval() const

    - +

    oinline void setYInterval(float dy)

    - +

    oinline float getYInterval() const

    - -

    ovirtual float getHeight(unsigned int c, unsigned int r) const = 0 + +
    ovirtual float getHeight(unsigned int c, unsigned int r) const = 0

    - -

    ovirtual Vec3 getNormal(unsigned int c, unsigned int r) const + +
    ovirtual Vec3 getNormal(unsigned int c, unsigned int r) const

    - +

    oinline void setRotation(const Quat& quat)

    - +

    oinline const Quat& getRotation() const

    - +

    oinline Matrix getRotationMatrix() const

    - +

    oinline bool zeroRotation() const

    - +

    o ~HeightField()

    - +

    ounsigned int _columns

    - +

    ounsigned int _rows

    - +

    oosg::Vec3 _origin

    - +

    ofloat _dx

    - +

    ofloat _dy

    - +

    oQuat _rotation


    diff --git a/doc/doc++/osg/Image.html b/doc/doc++/osg/Image.html index 20638397b..2a66928ec 100644 --- a/doc/doc++/osg/Image.html +++ b/doc/doc++/osg/Image.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Image - + @@ -23,155 +23,158 @@

    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* libraryName() const +[more]virtual const char* libraryName() const
    -[more]virtual const char* className() const +[more]virtual const char* className() const
    -[more]void setFileName(const std::string& fileName) +[more]void setFileName(const std::string& fileName)
    -[more]inline const std::string& getFileName() const +[more]inline const std::string& getFileName() const
    -[more]void allocateImage(int s, int t, int r, GLenum format, GLenum type, int packing=1) +[more]void allocateImage(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) +[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(int s, int t, int r) +[more]void scaleImage(int s, int t, int r)
    Scale image to specified size.
    -[more]void copySubImage(int s_offset, int t_offset, int r_offset, osg::Image* source) +[more]void copySubImage(int s_offset, int t_offset, int r_offset, osg::Image* source)
    Copy a source Image into a subpart of this Image at specified position.
    -[more]inline int s() const +[more]inline int s() const
    Width of image
    -[more]inline int t() const +[more]inline int t() const
    Height of image
    -[more]inline int r() const +[more]inline int r() const
    Depth of image
    -[more]void setInternalTextureFormat(GLint internalFormat) +[more]void setInternalTextureFormat(GLint internalFormat)
    -[more]inline GLint getInternalTextureFormat() const +[more]inline GLint getInternalTextureFormat() const
    -[more]void setPixelFormat(GLenum format) +[more]void setPixelFormat(GLenum format)
    -[more]inline GLenum getPixelFormat() const +[more]inline GLenum getPixelFormat() const
    -[more]inline GLenum getDataType() const +[more]inline GLenum getDataType() const
    -[more]inline unsigned int getPacking() const +[more]inline unsigned int getPacking() const
    -[more]inline unsigned int getPixelSizeInBits() const +[more]inline unsigned int getPixelSizeInBits() const
    return the numbers of bits required for each pixel
    -[more]inline unsigned int getRowSizeInBytes() const +[more]inline unsigned int getRowSizeInBytes() const
    return the numbers of bytes each row of pixels occupies once it has been packed
    -[more]inline unsigned int getImageSizeInBytes() const +[more]inline unsigned int getImageSizeInBytes() const
    return the numbers of bytes each image (_s*_t) of pixels occupies
    -[more]inline unsigned int getTotalSizeInBytes() const +[more]inline 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]inline unsigned char* data(int column, int row=0, int image=0) const +[more]inline unsigned char* data(int column, int row=0, int image=0) const
    -[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(GLint maxTextureSize) +[more]void ensureValidSizeForTexturing(GLint maxTextureSize)
    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(unsigned int value) +[more]inline void setModifiedTag(unsigned int value)
    Set the modified tag value, only used by osg::Texture when using texture subloading.
    -[more]inline unsigned int getModifiedTag() const +[more]inline unsigned int getModifiedTag() const
    Get modified tag value, only used by osg::Texture when using texture subloading.
    -[more]static bool isPackedType(GLenum type) +[more]static bool isPackedType(GLenum type)
    -[more]static unsigned int computeNumComponents(GLenum format) +[more]static unsigned int computeNumComponents(GLenum format)
    -[more]static unsigned int computePixelSizeInBits(GLenum format, GLenum type) +[more]static unsigned int computePixelSizeInBits(GLenum format, GLenum type)
    -[more]static unsigned int computeRowWidthInBytes(int width, GLenum format, GLenum type, int packing) +[more]static unsigned int computeRowWidthInBytes(int width, GLenum format, GLenum type, int packing)
    -[more]static unsigned int computeNearestPowerOfTwo(unsigned int s, float bias=0.5f) +[more]static unsigned int computeNearestPowerOfTwo(unsigned int s, float bias=0.5f)
    -[more]inline bool isMipmap() const +[more]inline bool isMipmap() const
    -[more]unsigned int getNumMipmapLevels() const +[more]unsigned int getNumMipmapLevels() 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
    -[more]void computeMipMaps() +[more]void computeMipMaps()
    converts a single image into mip mapped version image +
    +[more]bool isImageTranslucent() const +
    return true of this image is translucent - ie.

    Public Members

    -[more]typedef std::vector< unsigned int > MipmapDataType +[more]typedef std::vector< unsigned int > MipmapDataType

    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&)

    @@ -179,9 +182,9 @@

    Public Methods

    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -197,7 +200,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -207,26 +210,22 @@

    Public Methods

    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -238,49 +237,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 allocateImage(int s, int t, int r, GLenum format, GLenum type, int packing=1) + +
    ovoid allocateImage(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, @@ -288,19 +287,19 @@ 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(int s, int t, int r) + +
    ovoid scaleImage(int s, int t, int r)
    Scale image to specified size.

    - +

    ovoid copySubImage(int s_offset, int t_offset, int r_offset, osg::Image* source)
    Copy a source Image into a subpart of this Image at specified position. Typically used to copy to an already allocated image, such as creating @@ -310,207 +309,212 @@ accomodate the imaging image in its offset position. If source is NULL then no operation happens, this Image is left unchanged.

    - +

    oinline int s() const
    Width of image

    - +

    oinline int t() const
    Height of image

    - +

    oinline int r() const
    Depth of image

    - +

    ovoid setInternalTextureFormat(GLint internalFormat)

    - +

    oinline GLint getInternalTextureFormat() const

    - +

    ovoid setPixelFormat(GLenum format)

    - +

    oinline GLenum getPixelFormat() const

    - +

    oinline GLenum getDataType() const

    - +

    oinline unsigned int getPacking() const

    - +

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

    - +

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

    - +

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

    - +

    oinline 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

    - +

    oinline unsigned char* data(int column, int row=0, int image=0) const

    - +

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

    - +

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

    - -

    ovoid ensureValidSizeForTexturing(GLint maxTextureSize) + +
    ovoid ensureValidSizeForTexturing(GLint maxTextureSize)
    Ensure image dimensions are a power of two. Mip Mapped texture require the image dimensions to be 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(unsigned int value)
    Set the modified tag value, only used by osg::Texture when using texture subloading.

    - +

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

    - +

    ostatic bool isPackedType(GLenum type)

    - +

    ostatic unsigned int computeNumComponents(GLenum format)

    - +

    ostatic unsigned int computePixelSizeInBits(GLenum format, GLenum type)

    - -

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

    - -

    ostatic unsigned int computeNearestPowerOfTwo(unsigned int s, float bias=0.5f) + +
    ostatic unsigned int computeNearestPowerOfTwo(unsigned int s, float bias=0.5f)

    - +

    otypedef std::vector< unsigned int > MipmapDataType

    - +

    oinline bool isMipmap() const

    - +

    ounsigned int getNumMipmapLevels() const

    - -

    oinline void setMipmapData(const MipmapDataType& mipmapDataVector) + +
    oinline void setMipmapData(const MipmapDataType& mipmapDataVector)

    - +

    oinline unsigned char* getMipmapData(unsigned int mipmapNumber) const

    - +

    ovoid computeMipMaps()
    converts a single image into mip mapped version image

    + + +

    obool isImageTranslucent() const +
    return true of this image is translucent - ie. it has alpha values that are less 1.0 (when normalized). +

    - +

    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 + +
    oMipmapDataType _mipmapData


    This class has no child classes.
    diff --git a/doc/doc++/osg/Impostor.html b/doc/doc++/osg/Impostor.html index 9a20962ef..0488cea4d 100644 --- a/doc/doc++/osg/Impostor.html +++ b/doc/doc++/osg/Impostor.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Impostor - + @@ -11,11 +11,11 @@

    Inheritance:

    - - - - - + + + + +
    @@ -23,52 +23,52 @@

    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(osg, 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 float getImpostorThreshold() const +[more]inline float getImpostorThreshold() const
    -[more]inline float getImpostorThreshold2() const +[more]inline 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

    Public Members

    -[more]typedef std::vector< ref_ptr<ImpostorSprite> > ImpostorSpriteList +[more]typedef std::vector< ref_ptr<ImpostorSprite> > ImpostorSpriteList

    Protected Fields

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

    Protected Methods

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

    @@ -78,17 +78,17 @@

    Public Methods

    ovirtual void traverse(NodeVisitor& nv)
    -ovirtual bool addChild(Node* child) +ovirtual bool addChild(Node* child)
    -ovirtual bool addChild(Node* child, float min, float max) +ovirtual bool addChild(Node* child, float min, float max)
    -ovirtual bool removeChild(Node* child) +ovirtual bool removeChild(Node* child)
    -ovoid setCenterMode(CenterMode mode) +ovoid setCenterMode(CenterMode mode)
    -oCenterMode getCenterMode() const +oCenterMode getCenterMode() const
    -oinline void setCenter(const Vec3& center) +oinline void setCenter(const Vec3& center)
    oinline const Vec3& getCenter() const
    @@ -100,27 +100,27 @@
    oinline unsigned int getNumRanges() const
    -oinline RangeList& getRangeList() +oinline RangeList& getRangeList()
    -oinline const RangeList& getRangeList() const +oinline const RangeList& getRangeList() const

    Public Members

    otypedef std::pair<float,float> MinMaxPair
    -otypedef std::vector<MinMaxPair> RangeList +otypedef std::vector<MinMaxPair> RangeList
    oenum CenterMode

    Protected Fields

    -oCenterMode _centerMode +oCenterMode _centerMode
    oVec3 _userDefinedCenter
    -oRangeList _rangeList +oRangeList _rangeList

    @@ -132,31 +132,233 @@
    ovirtual const Group* asGroup() const
    -ovirtual bool replaceChild( Node* origChild, Node* newChild ) +ovirtual bool replaceChild( Node* origChild, Node* newChild )
    oinline unsigned int getNumChildren() const
    -oinline Node* getChild( unsigned int i ) +ovirtual bool setChild( unsigned int i, Node* node )
    -oinline const Node* getChild( unsigned int i ) const +oinline Node* getChild( unsigned int i )
    -oinline bool containsNode( const Node* node ) const +oinline const Node* getChild( unsigned int i ) const
    -oinline ChildList::iterator findNode( const Node* node ) +oinline bool containsNode( const Node* node ) const
    -oinline ChildList::const_iterator findNode( const Node* node ) const -
    -oinline unsigned int findChildNo( const Node* node ) const +oinline unsigned int getChildIndex( const Node* node ) const

    Public Members

    -otypedef std::vector<ref_ptr<Node> > ChildList +otypedef std::vector<ref_ptr<Node> > ChildList

    Protected Fields

    -oChildList _children +oChildList _children +

    + + +

    Inherited from Node:

    +
    +

    +

    Public Methods

    +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 +
    +ovirtual Transform* asTransform() +
    +ovirtual const Transform* asTransform() const +
    +ovirtual void accept(NodeVisitor& nv) +
    +ovirtual void ascend(NodeVisitor& nv) +
    +oinline void setName( const std::string& name ) +
    +oinline void setName( const char* name ) +
    +oinline const std::string& getName() const +
    +oinline const ParentList& getParents() const +
    +oinline ParentList getParents() +
    +oinline Group* getParent(unsigned int i) +
    +oinline const Group* getParent(unsigned int i) const +
    +oinline unsigned int getNumParents() const +
    +ovoid setUpdateCallback(NodeCallback* nc) +
    +oinline NodeCallback* getUpdateCallback() +
    +oinline const NodeCallback* getUpdateCallback() const +
    +ovoid setAppCallback(NodeCallback* nc) +
    +oinline NodeCallback* getAppCallback() +
    +oinline const NodeCallback* getAppCallback() const +
    +oinline unsigned int getNumChildrenRequiringUpdateTraversal() const +
    +ovoid setCullCallback(NodeCallback* nc) +
    +oinline NodeCallback* getCullCallback() +
    +oinline const NodeCallback* getCullCallback() const +
    +ovoid setCullingActive(bool active) +
    +oinline bool getCullingActive() const +
    +oinline unsigned int getNumChildrenWithCullingDisabled() const +
    +oinline bool isCullingActive() const +
    +oinline unsigned int getNumChildrenWithOccluderNodes() const +
    +obool containsOccluderNodes() const +
    +oinline void setNodeMask(NodeMask nm) +
    +oinline NodeMask getNodeMask() const +
    +oinline const DescriptionList& getDescriptions() const +
    +oinline DescriptionList& getDescriptions() +
    +oinline const std::string& getDescription(unsigned int i) const +
    +oinline std::string& getDescription(unsigned int i) +
    +oinline unsigned int getNumDescriptions() const +
    +ovoid addDescription(const std::string& desc) +
    +oinline void setStateSet(osg::StateSet* dstate) +
    +oosg::StateSet* getOrCreateStateSet() +
    +oinline osg::StateSet* getStateSet() +
    +oinline const osg::StateSet* getStateSet() const +
    +oinline const BoundingSphere& getBound() const +
    +ovoid dirtyBound() +

    + +

    +

    Public Members

    +otypedef std::vector<Group*> ParentList +
    +otypedef unsigned int NodeMask +
    +otypedef std::vector<std::string> DescriptionList +

    + +

    +

    Protected Fields

    +omutable BoundingSphere _bsphere +
    +omutable bool _bsphere_computed +
    +ostd::string _name +
    +oParentList _parents +
    +oref_ptr<NodeCallback> _updateCallback +
    +ounsigned int _numChildrenRequiringUpdateTraversal +
    +oref_ptr<NodeCallback> _cullCallback +
    +obool _cullingActive +
    +ounsigned int _numChildrenWithCullingDisabled +
    +ounsigned int _numChildrenWithOccluderNodes +
    +oNodeMask _nodeMask +
    +oDescriptionList _descriptions +
    +oref_ptr<StateSet> _stateset +

    + +

    +

    Protected Methods

    +ovoid addParent(osg::Group* node) +
    +ovoid removeParent(osg::Group* node) +
    +ovoid setNumChildrenRequiringUpdateTraversal(unsigned int num) +
    +ovoid setNumChildrenWithCullingDisabled(unsigned int num) +
    +ovoid setNumChildrenWithOccluderNodes(unsigned int num) +

    + +
    +

    Inherited from Object:

    +
    +

    +

    Public Methods

    +oinline void setDataVariance(DataVariance dv) +
    +oinline DataVariance getDataVariance() const +
    +oinline void setUserData(Referenced* obj) +
    +oinline Referenced* getUserData() +
    +oinline const Referenced* getUserData() const +

    + +

    +

    Public Members

    +oenum DataVariance +

    + +

    +

    Protected Fields

    +oDataVariance _dataVariance +
    +oref_ptr<Referenced> _userData +

    + +
    +

    Inherited from Referenced:

    +
    +

    +

    Public Methods

    +oinline Referenced& operator = (Referenced&) +
    +ostatic void setDeleteHandler(DeleteHandler* handler) +
    +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const +
    +oinline void unref_nodelete() const +
    +oinline int referenceCount() const +
    +oinline void unref() const +

    + +

    +

    Protected Fields

    +omutable int _refCount

    @@ -204,76 +406,76 @@ 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(osg, Impostor)

    - +

    otypedef std::vector< ref_ptr<ImpostorSprite> > ImpostorSpriteList

    - -

    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 float getImpostorThreshold() const

    - +

    oinline 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() + +
    oinline ImpostorSpriteList& getImpostorSpriteList()
    Get the list of ImpostorSprites attached to this Impostor

    - -

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

    - +

    ovirtual ~Impostor()

    - +

    ovirtual bool computeBound() const

    - -

    oImpostorSpriteList _impostorSpriteList + +
    oImpostorSpriteList _impostorSpriteList

    - +

    ofloat _impostorThreshold

    diff --git a/doc/doc++/osg/ImpostorSprite.html b/doc/doc++/osg/ImpostorSprite.html index 46d88ca6a..2054fba90 100644 --- a/doc/doc++/osg/ImpostorSprite.html +++ b/doc/doc++/osg/ImpostorSprite.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::ImpostorSprite - + @@ -21,132 +21,137 @@
    +

    +

    Public Fields

    +[more]Vec4 _color +

    +

    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* libraryName() const +[more]virtual const char* libraryName() const
    -[more]virtual const char* className() const +[more]virtual const char* className() const
    -[more]void setParent(Impostor* parent) +[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(int frameNumber) +[more]inline void setLastFrameUsed(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]float calcPixelError(const Matrix& MVPW) const +[more]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(Texture2D* tex, int s, int t) +[more]void setTexture(Texture2D* tex, int s, int t)
    -[more]Texture2D* getTexture() +[more]Texture2D* getTexture()
    -[more]const Texture2D* getTexture() const +[more]const Texture2D* getTexture() const
    -[more]int s() const +[more]int s() const
    -[more]int t() const +[more]int t() const
    -[more]virtual void drawImplementation(State& state) const +[more]virtual void drawImplementation(State& state) const
    draw ImpostorSprite directly.
    -[more]virtual bool supports(AttributeFunctor&) const +[more]virtual bool supports(AttributeFunctor&) const
    return true, osg::ImpostorSprite does support accept(AttributeFunctor&)
    -[more]virtual void accept(AttributeFunctor& af) +[more]virtual void accept(AttributeFunctor& af)
    accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has
    -[more]virtual bool supports(ConstAttributeFunctor&) const +[more]virtual bool supports(ConstAttributeFunctor&) const
    return true, osg::ImpostorSprite does support accept(ConstAttributeFunctor&)
    -[more]virtual void accept(ConstAttributeFunctor& af) const +[more]virtual void accept(ConstAttributeFunctor& af) const
    accept an ConstAttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has
    -[more]virtual bool supports(PrimitiveFunctor&) const +[more]virtual bool supports(PrimitiveFunctor&) const
    return true, osg::ImpostorSprite does support accept(PrimitiveFunctor&)
    -[more]virtual void accept(PrimitiveFunctor& pf) const +[more]virtual void accept(PrimitiveFunctor& pf) const
    accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has

    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]Texture2D* _texture +[more]Texture2D* _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 bool computeBound() const +[more]virtual bool computeBound() const

    @@ -158,9 +163,9 @@
    ovirtual const Geometry* asGeometry() const
    -oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
    -oinline ParentList getParents() +oinline ParentList getParents()
    oinline unsigned int getNumParents() const
    @@ -192,42 +197,48 @@
    ovoid dirtyDisplayList()
    -ovoid compile(State& state) +ovirtual void compile(State& state) const
    -ovoid setAppCallback(AppCallback* ac) +ovoid setUpdateCallback(UpdateCallback* ac)
    -oAppCallback* getAppCallback() +oUpdateCallback* getUpdateCallback()
    -oconst AppCallback* getAppCallback() const +ovoid setAppCallback(AppCallback* ac)
    -ovoid setCullCallback(CullCallback* cc) +oAppCallback* getAppCallback()
    -oCullCallback* getCullCallback() +oconst AppCallback* getAppCallback() const
    -oconst CullCallback* getCullCallback() const +ovoid setCullCallback(CullCallback* cc)
    -ovoid setDrawCallback(DrawCallback* dc) +oCullCallback* getCullCallback()
    -oDrawCallback* getDrawCallback() +oconst CullCallback* getCullCallback() const
    -oconst DrawCallback* getDrawCallback() const +ovoid setDrawCallback(DrawCallback* dc)
    -ostatic void deleteDisplayList(uint contextID, uint globj) +oDrawCallback* getDrawCallback()
    -ostatic void flushDeletedDisplayLists(uint contextID) +oconst DrawCallback* getDrawCallback() const
    -oinline void draw(State& state) +ostatic void deleteDisplayList(uint contextID, uint globj) +
    +ostatic void flushDeletedDisplayLists(uint contextID) +
    +oinline void draw(State& state) const

    Public Members

    -otypedef std::vector<Node*> ParentList +otypedef std::vector<Node*> ParentList
    -ostruct AppCallback: public osg::Referenced +ostruct UpdateCallback: public virtual osg::Referenced
    -ostruct CullCallback: public osg::Referenced +ostruct AppCallback: public UpdateCallback
    -ostruct DrawCallback: public osg::Referenced +ostruct CullCallback: public virtual osg::Referenced +
    +ostruct DrawCallback: public virtual osg::Referenced
    oenum AttributeType
    @@ -240,7 +251,7 @@ class PrimitiveFunctor

    Protected Fields

    -oParentList _parents +oParentList _parents
    oref_ptr<StateSet> _stateset
    @@ -254,29 +265,25 @@ class PrimitiveFunctor
    obool _useDisplayList
    -omutable GLObjectList _globjList +omutable GLObjectList _globjList
    -oref_ptr<AppCallback> _appCallback +oref_ptr<UpdateCallback> _updateCallback
    -oref_ptr<DrawCallback> _drawCallback +oref_ptr<DrawCallback> _drawCallback
    -oref_ptr<CullCallback> _cullCallback -
    -ostatic DeletedDisplayListCache s_deletedDisplayListCache +oref_ptr<CullCallback> _cullCallback

    Protected Methods

    -ovoid addParent(osg::Node* node) +ovoid addParent(osg::Node* node)
    -ovoid removeParent(osg::Node* node) +ovoid removeParent(osg::Node* node)

    Protected Members

    -otypedef std::vector<uint> GLObjectList -
    -otypedef std::map<uint,std::set<uint> > DeletedDisplayListCache +otypedef osg::buffered_value<uint> GLObjectList

    @@ -284,9 +291,9 @@ class PrimitiveFunctor

    Public Methods

    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -302,7 +309,7 @@ class PrimitiveFunctor

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -312,26 +319,22 @@ class PrimitiveFunctor

    Public Methods

    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -347,93 +350,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(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 @@ -448,133 +451,137 @@ 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

    - +

    ofloat 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(Texture2D* tex, int s, int t) + +
    ovoid setTexture(Texture2D* tex, int s, int t)

    - +

    oTexture2D* getTexture()

    - +

    oconst Texture2D* getTexture() const

    - +

    oint s() const

    - +

    oint t() const

    - +

    ovirtual void drawImplementation(State& state) const
    draw ImpostorSprite directly.

    - +

    ovirtual bool supports(AttributeFunctor&) const
    return true, osg::ImpostorSprite does support accept(AttributeFunctor&)

    - +

    ovirtual void accept(AttributeFunctor& af)
    accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has

    - +

    ovirtual bool supports(ConstAttributeFunctor&) const
    return true, osg::ImpostorSprite does support accept(ConstAttributeFunctor&)

    - +

    ovirtual void accept(ConstAttributeFunctor& af) const
    accept an ConstAttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has

    - +

    ovirtual bool supports(PrimitiveFunctor&) const
    return true, osg::ImpostorSprite does support accept(PrimitiveFunctor&)

    - +

    ovirtual void accept(PrimitiveFunctor& pf) const
    accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has

    + + +

    oVec4 _color +

    - -

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

    - +

    oImpostorSprite& operator = (const ImpostorSprite&)

    - +

    ovirtual ~ImpostorSprite()

    - +

    ovirtual bool computeBound() const

    - +

    oImpostor* _parent

    - +

    oImpostorSpriteManager* _ism

    - +

    oImpostorSprite* _previous

    - +

    oImpostorSprite* _next

    - +

    oint _lastFrameUsed

    - +

    oVec3 _storedLocalEyePoint

    - +

    oVec3 _coords[4]

    - +

    oVec2 _texcoords[4]

    - +

    oVec3 _controlcoords[4]

    - +

    oTexture2D* _texture

    - +

    oint _s

    - +

    oint _t

    diff --git a/doc/doc++/osg/ImpostorSpriteManager.html b/doc/doc++/osg/ImpostorSpriteManager.html index a4993a8f5..a3a451ecd 100644 --- a/doc/doc++/osg/ImpostorSpriteManager.html +++ b/doc/doc++/osg/ImpostorSpriteManager.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::ImpostorSpriteManager - + @@ -23,35 +23,35 @@

    Public Methods

    -[more] ImpostorSpriteManager() +[more] ImpostorSpriteManager()
    -[more]bool empty() const +[more]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()

    @@ -61,26 +61,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -92,51 +88,51 @@
    - +
    o ImpostorSpriteManager()

    - +

    obool 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/IndexArray.html b/doc/doc++/osg/IndexArray.html index c1f097d17..ee381197b 100644 --- a/doc/doc++/osg/IndexArray.html +++ b/doc/doc++/osg/IndexArray.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::IndexArray - + @@ -22,18 +22,18 @@

    Public Methods

    -[more] IndexArray(Type arrayType=ArrayType, GLint dataSize=0, GLenum dataType=0) +[more] IndexArray(Type arrayType=ArrayType, GLint dataSize=0, GLenum dataType=0)
    -[more] IndexArray(const Array& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] IndexArray(const Array& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    -[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
    -[more]virtual unsigned int index(unsigned int pos) const = 0 +[more]virtual unsigned int index(unsigned int pos) const = 0

    Protected Methods

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

    @@ -49,11 +49,11 @@
    ovirtual void accept(ConstArrayVisitor&) const
    -ovirtual void accept(unsigned int index, ValueVisitor&) +ovirtual void accept(unsigned int index, ValueVisitor&)
    -ovirtual void accept(unsigned int index, ConstValueVisitor&) const +ovirtual void accept(unsigned int index, ConstValueVisitor&) const
    -oType getType() const +oType getType() const
    oGLint getDataSize() const
    @@ -71,7 +71,7 @@

    Protected Fields

    -oType _arrayType +oType _arrayType
    oGLint _dataSize
    @@ -87,9 +87,9 @@
    ovirtual Object* clone(const CopyOp&) const
    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -105,7 +105,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -117,26 +117,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -147,23 +143,23 @@
    - -
    o IndexArray(Type arrayType=ArrayType, GLint dataSize=0, GLenum dataType=0) + +
    o IndexArray(Type arrayType=ArrayType, GLint dataSize=0, GLenum dataType=0)

    - +

    o IndexArray(const Array& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

    - +

    ovirtual bool isSameKindAs(const Object* obj) const

    - +

    ovirtual unsigned int index(unsigned int pos) const = 0

    - +

    ovirtual ~IndexArray()


    diff --git a/doc/doc++/osg/InfinitePlane.html b/doc/doc++/osg/InfinitePlane.html index 5fc55b27e..b13923cb6 100644 --- a/doc/doc++/osg/InfinitePlane.html +++ b/doc/doc++/osg/InfinitePlane.html @@ -3,7 +3,7 @@ class osg::InfinitePlane - + @@ -17,6 +17,19 @@
    +
    + +
    +

    +

    Public Methods

    +[more] InfinitePlane() +
    +[more] InfinitePlane(const InfinitePlane& plane, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
    +[more] META_Shape(osg, InfinitePlane) +

    + +

    Inherited from Shape:

    @@ -41,9 +54,9 @@

    Public Methods

    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -59,7 +72,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -71,26 +84,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -100,7 +109,7 @@

    Public Methods

    oinline void set(const Plane& pl)
    -oinline void set(float a, float b, float c, float d) +oinline void set(float a, float b, float c, float d)
    oinline void set(const Vec4& vec)
    @@ -118,6 +127,16 @@
    oinline bool valid() const
    +oinline bool operator == (const Plane& plane) const +
    +oinline bool operator != (const Plane& plane) const +
    +oinline bool operator < (const Plane& plane) const +
    +oinline float* ptr() +
    +oinline const float* ptr() const +
    oinline Vec4& asVec4()
    oinline const Vec4& asVec4() const @@ -155,6 +174,20 @@

    Documentation

    +
    + + + +
    o InfinitePlane() +

    + + +

    o InfinitePlane(const InfinitePlane& plane, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +

    + + +

    o META_Shape(osg, InfinitePlane) +


    This class has no child classes.
    diff --git a/doc/doc++/osg/LOD.html b/doc/doc++/osg/LOD.html index ae9292a40..2afb19766 100644 --- a/doc/doc++/osg/LOD.html +++ b/doc/doc++/osg/LOD.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::LOD - + @@ -11,11 +11,11 @@

    Inheritance:

    - - - - - + + + + +
    @@ -23,71 +23,71 @@

    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(osg, LOD) +[more] META_Node(osg, LOD)
    -[more]virtual void traverse(NodeVisitor& nv) +[more]virtual void traverse(NodeVisitor& nv)
    -[more]virtual bool addChild(Node* child) +[more]virtual bool addChild(Node* child)
    -[more]virtual bool addChild(Node* child, float min, float max) +[more]virtual bool addChild(Node* child, float min, float max)
    -[more]virtual bool removeChild(Node* child) +[more]virtual bool removeChild(Node* child)
    -[more]void setCenterMode(CenterMode mode) +[more]void setCenterMode(CenterMode mode)
    -[more]CenterMode getCenterMode() const +[more]CenterMode getCenterMode() const
    -[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 setRange(unsigned int childNo, float min, float max) +[more]void setRange(unsigned int childNo, float min, float max)
    Sets the min and max visible ranges of range of specifiec child.
    -[more]inline float getMinRange(unsigned int childNo) const +[more]inline float getMinRange(unsigned int childNo) const
    returns the min visible range for specified child
    -[more]inline float getMaxRange(unsigned int childNo) const +[more]inline float getMaxRange(unsigned int childNo) const
    returns the max visible range for specified child
    -[more]inline unsigned int getNumRanges() const +[more]inline unsigned int getNumRanges() const
    returns the number of ranges currently set.
    -[more]inline RangeList& getRangeList() +[more]inline RangeList& getRangeList()
    return the list of MinMax ranges for each child
    -[more]inline const RangeList& getRangeList() const +[more]inline const RangeList& getRangeList() const
    return the list of MinMax ranges for each child

    Public Members

    -[more]typedef std::pair<float,float> MinMaxPair +[more]typedef std::pair<float,float> MinMaxPair
    -[more]typedef std::vector<MinMaxPair> RangeList +[more]typedef std::vector<MinMaxPair> RangeList
    -[more]enum CenterMode +[more]enum CenterMode

    Protected Fields

    -[more]CenterMode _centerMode +[more]CenterMode _centerMode
    -[more]Vec3 _userDefinedCenter +[more]Vec3 _userDefinedCenter
    -[more]RangeList _rangeList +[more]RangeList _rangeList

    Protected Methods

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

    @@ -99,31 +99,29 @@
    ovirtual const Group* asGroup() const
    -ovirtual bool replaceChild( Node* origChild, Node* newChild ) +ovirtual bool replaceChild( Node* origChild, Node* newChild )
    oinline unsigned int getNumChildren() const
    -oinline Node* getChild( unsigned int i ) +ovirtual bool setChild( unsigned int i, Node* node )
    -oinline const Node* getChild( unsigned int i ) const +oinline Node* getChild( unsigned int i )
    -oinline bool containsNode( const Node* node ) const +oinline const Node* getChild( unsigned int i ) const
    -oinline ChildList::iterator findNode( const Node* node ) +oinline bool containsNode( const Node* node ) const
    -oinline ChildList::const_iterator findNode( const Node* node ) const -
    -oinline unsigned int findChildNo( const Node* node ) const +oinline unsigned int getChildIndex( const Node* node ) const

    Public Members

    -otypedef std::vector<ref_ptr<Node> > ChildList +otypedef std::vector<ref_ptr<Node> > ChildList

    Protected Fields

    -oChildList _children +oChildList _children

    @@ -131,6 +129,210 @@ ovirtual bool computeBound() const

    + +

    Inherited from Node:

    +
    +

    +

    Public Methods

    +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 +
    +ovirtual Transform* asTransform() +
    +ovirtual const Transform* asTransform() const +
    +ovirtual void accept(NodeVisitor& nv) +
    +ovirtual void ascend(NodeVisitor& nv) +
    +oinline void setName( const std::string& name ) +
    +oinline void setName( const char* name ) +
    +oinline const std::string& getName() const +
    +oinline const ParentList& getParents() const +
    +oinline ParentList getParents() +
    +oinline Group* getParent(unsigned int i) +
    +oinline const Group* getParent(unsigned int i) const +
    +oinline unsigned int getNumParents() const +
    +ovoid setUpdateCallback(NodeCallback* nc) +
    +oinline NodeCallback* getUpdateCallback() +
    +oinline const NodeCallback* getUpdateCallback() const +
    +ovoid setAppCallback(NodeCallback* nc) +
    +oinline NodeCallback* getAppCallback() +
    +oinline const NodeCallback* getAppCallback() const +
    +oinline unsigned int getNumChildrenRequiringUpdateTraversal() const +
    +ovoid setCullCallback(NodeCallback* nc) +
    +oinline NodeCallback* getCullCallback() +
    +oinline const NodeCallback* getCullCallback() const +
    +ovoid setCullingActive(bool active) +
    +oinline bool getCullingActive() const +
    +oinline unsigned int getNumChildrenWithCullingDisabled() const +
    +oinline bool isCullingActive() const +
    +oinline unsigned int getNumChildrenWithOccluderNodes() const +
    +obool containsOccluderNodes() const +
    +oinline void setNodeMask(NodeMask nm) +
    +oinline NodeMask getNodeMask() const +
    +oinline const DescriptionList& getDescriptions() const +
    +oinline DescriptionList& getDescriptions() +
    +oinline const std::string& getDescription(unsigned int i) const +
    +oinline std::string& getDescription(unsigned int i) +
    +oinline unsigned int getNumDescriptions() const +
    +ovoid addDescription(const std::string& desc) +
    +oinline void setStateSet(osg::StateSet* dstate) +
    +oosg::StateSet* getOrCreateStateSet() +
    +oinline osg::StateSet* getStateSet() +
    +oinline const osg::StateSet* getStateSet() const +
    +oinline const BoundingSphere& getBound() const +
    +ovoid dirtyBound() +

    + +

    +

    Public Members

    +otypedef std::vector<Group*> ParentList +
    +otypedef unsigned int NodeMask +
    +otypedef std::vector<std::string> DescriptionList +

    + +

    +

    Protected Fields

    +omutable BoundingSphere _bsphere +
    +omutable bool _bsphere_computed +
    +ostd::string _name +
    +oParentList _parents +
    +oref_ptr<NodeCallback> _updateCallback +
    +ounsigned int _numChildrenRequiringUpdateTraversal +
    +oref_ptr<NodeCallback> _cullCallback +
    +obool _cullingActive +
    +ounsigned int _numChildrenWithCullingDisabled +
    +ounsigned int _numChildrenWithOccluderNodes +
    +oNodeMask _nodeMask +
    +oDescriptionList _descriptions +
    +oref_ptr<StateSet> _stateset +

    + +

    +

    Protected Methods

    +ovoid addParent(osg::Group* node) +
    +ovoid removeParent(osg::Group* node) +
    +ovoid setNumChildrenRequiringUpdateTraversal(unsigned int num) +
    +ovoid setNumChildrenWithCullingDisabled(unsigned int num) +
    +ovoid setNumChildrenWithOccluderNodes(unsigned int num) +

    + +
    +

    Inherited from Object:

    +
    +

    +

    Public Methods

    +oinline void setDataVariance(DataVariance dv) +
    +oinline DataVariance getDataVariance() const +
    +oinline void setUserData(Referenced* obj) +
    +oinline Referenced* getUserData() +
    +oinline const Referenced* getUserData() const +

    + +

    +

    Public Members

    +oenum DataVariance +

    + +

    +

    Protected Fields

    +oDataVariance _dataVariance +
    +oref_ptr<Referenced> _userData +

    + +
    +

    Inherited from Referenced:

    +
    +

    +

    Public Methods

    +oinline Referenced& operator = (Referenced&) +
    +ostatic void setDeleteHandler(DeleteHandler* handler) +
    +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const +
    +oinline void unref_nodelete() const +
    +oinline int referenceCount() const +
    +oinline void unref() const +

    + +

    +

    Protected Fields

    +omutable int _refCount +

    +
    @@ -152,122 +354,122 @@ 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(osg, LOD)

    - +

    ovirtual void traverse(NodeVisitor& nv)

    - -

    ovirtual bool addChild(Node* child) + +
    ovirtual bool addChild(Node* child)

    - -

    ovirtual bool addChild(Node* child, float min, float max) + +
    ovirtual bool addChild(Node* child, float min, float max)

    - -

    ovirtual bool removeChild(Node* child) + +
    ovirtual bool removeChild(Node* child)

    - +

    otypedef std::pair<float,float> MinMaxPair

    - -

    otypedef std::vector<MinMaxPair> RangeList + +
    otypedef std::vector<MinMaxPair> RangeList

    - +

    oenum CenterMode

    - +
    o USE_BOUNDING_SPHERE_CENTER

    - +

    o USER_DEFINED_CENTER

    - -
    ovoid setCenterMode(CenterMode mode) + +
    ovoid setCenterMode(CenterMode mode)

    - -

    oCenterMode getCenterMode() const + +
    oCenterMode getCenterMode() const

    - -

    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.

    - +

    ovoid setRange(unsigned int childNo, float min, float max)
    Sets the min and max visible ranges of range of specifiec child. Values are floating point distance specified in local objects coordinates.

    - +

    oinline float getMinRange(unsigned int childNo) const
    returns the min visible range for specified child

    - +

    oinline float getMaxRange(unsigned int childNo) const
    returns the max visible range for specified child

    - +

    oinline unsigned int getNumRanges() const
    returns the number of ranges currently set. An LOD which has been fully set up will have getNumChildren()==getNumRanges().

    - -

    oinline RangeList& getRangeList() + +
    oinline RangeList& getRangeList()
    return the list of MinMax ranges for each child

    - -

    oinline const RangeList& getRangeList() const + +
    oinline const RangeList& getRangeList() const
    return the list of MinMax ranges for each child

    - +

    ovirtual ~LOD()

    - -

    oCenterMode _centerMode + +
    oCenterMode _centerMode

    - +

    oVec3 _userDefinedCenter

    - -

    oRangeList _rangeList + +
    oRangeList _rangeList


    Direct child classes: diff --git a/doc/doc++/osg/Light.html b/doc/doc++/osg/Light.html index 4b2c762ec..f4e5e13f7 100644 --- a/doc/doc++/osg/Light.html +++ b/doc/doc++/osg/Light.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Light - + @@ -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(osg, 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 getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
    -[more]void setLightNum(int num) +[more]void setLightNum(int num)
    Set which OpenGL light to operate on
    -[more]int getLightNum() const +[more]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( float constant_attenuation ) +[more]inline void setConstantAttenuation( float constant_attenuation )
    Set the constant attenuation of the light.
    -[more]inline float getConstantAttenuation() const +[more]inline float getConstantAttenuation() const
    Get the constant attenuation of the light.
    -[more]inline void setLinearAttenuation( float linear_attenuation ) +[more]inline void setLinearAttenuation( float linear_attenuation )
    Set the linear attenuation of the light.
    -[more]inline float getLinearAttenuation() const +[more]inline float getLinearAttenuation() const
    Get the linear attenuation of the light.
    -[more]inline void setQuadraticAttenuation( float quadratic_attenuation ) +[more]inline void setQuadraticAttenuation( float quadratic_attenuation )
    Set the quadratic attenuation of the light.
    -[more]inline float getQuadraticAttenuation() const +[more]inline float getQuadraticAttenuation() const
    Get the quadratic attenuation of the light.
    -[more]inline void setSpotExponent( float spot_exponent ) +[more]inline void setSpotExponent( float spot_exponent )
    Set the spot exponent of the light.
    -[more]inline float getSpotExponent() const +[more]inline float getSpotExponent() const
    Get the spot exponent of the light.
    -[more]inline void setSpotCutoff( float spot_cutoff ) +[more]inline void setSpotCutoff( float spot_cutoff )
    Set the spot cutoff of the light.
    -[more]inline float getSpotCutoff() const +[more]inline 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.

    @@ -156,7 +156,7 @@
    ovirtual const char* className() const
    -ovirtual Type getType() const +ovirtual Type getType() const
    ovirtual bool isTextureAttribute() const
    @@ -189,9 +189,9 @@

    Public Methods

    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -207,7 +207,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -219,26 +219,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -250,200 +246,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(osg, 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 getAssociatedModes(std::vector<GLMode>& modes) const + +
    ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

    - +

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

    - +

    oint 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( float constant_attenuation )
    Set the constant attenuation of the light.

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

    oinline 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 54e6bf7a2..a52059507 100644 --- a/doc/doc++/osg/LightModel.html +++ b/doc/doc++/osg/LightModel.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::LightModel - + @@ -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(osg, 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(ColorControl cc) +[more]void setColorControl(ColorControl cc)
    -[more]inline ColorControl getColorControl() const +[more]inline ColorControl getColorControl() const
    -[more]void setLocalViewer(bool localViewer) +[more]void setLocalViewer(bool localViewer)
    -[more]inline bool getLocalViewer() const +[more]inline bool getLocalViewer() const
    -[more]void setTwoSided(bool twoSided) +[more]void setTwoSided(bool twoSided)
    -[more]inline bool getTwoSided() const +[more]inline 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()

    @@ -87,7 +87,7 @@
    ovirtual const char* className() const
    -ovirtual Type getType() const +ovirtual Type getType() const
    ovirtual bool isTextureAttribute() const
    @@ -97,7 +97,7 @@
    obool operator != (const StateAttribute& rhs) const
    -ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
    ovirtual void compile(State&) const

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

    Public Methods

    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -140,7 +140,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -152,26 +152,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -182,91 +178,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(osg, 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 SEPARATE_SPECULAR_COLOR

    - +

    o SINGLE_COLOR

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

    - -

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

    - +

    ovoid setLocalViewer(bool localViewer)

    - +

    oinline bool getLocalViewer() const

    - +

    ovoid setTwoSided(bool twoSided)

    - +

    oinline 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 5e06a3382..8cb8a8790 100644 --- a/doc/doc++/osg/LightSource.html +++ b/doc/doc++/osg/LightSource.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::LightSource - + @@ -11,11 +11,11 @@

    Inheritance:

    - - - - - + + + + +
    @@ -23,40 +23,52 @@

    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(osg, LightSource) +[more] META_Node(osg, LightSource)
    -[more]void setLight(StateAttribute* light) +[more]void setReferenceFrame(ReferenceFrame rf) +
    Set the light sources's ReferenceFrame, either to be relative to its parent reference frame, or relative to an absolute coordinate frame. +
    +[more]ReferenceFrame getReferenceFrame() const +
    +[more]void setLight(StateAttribute* light)
    Set the attached light
    -[more]inline StateAttribute* getLight() +[more]inline StateAttribute* getLight()
    Get the attached light
    -[more]inline const StateAttribute* getLight() const +[more]inline const StateAttribute* getLight() const
    Get the const attached light
    -[more]void setStateSetModes(StateSet&, StateAttribute::GLModeValue) const +[more]void setStateSetModes(StateSet&, StateAttribute::GLModeValue) const
    Set the GLModes on StateSet associated with the LightSource
    -[more]void setLocalStateSetModes(StateAttribute::GLModeValue=StateAttribute::ON) +[more]void setLocalStateSetModes(StateAttribute::GLModeValue=StateAttribute::ON)
    Set up the local StateSet

    +

    +

    Public Members

    +[more]enum ReferenceFrame +

    +

    Protected Fields

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

    Protected Methods

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

    @@ -70,35 +82,239 @@
    ovirtual void traverse(NodeVisitor& nv)
    -ovirtual bool addChild( Node* child ) +ovirtual bool addChild( Node* child )
    -ovirtual bool removeChild( Node* child ) +ovirtual bool removeChild( Node* child )
    -ovirtual bool replaceChild( Node* origChild, Node* newChild ) +ovirtual bool removeChild(unsigned int pos, unsigned int numChildrenToRemove=1) +
    +ovirtual bool replaceChild( Node* origChild, Node* newChild )
    oinline unsigned int getNumChildren() const
    -oinline Node* getChild( unsigned int i ) +ovirtual bool setChild( unsigned int i, Node* node )
    -oinline const Node* getChild( unsigned int i ) const +oinline Node* getChild( unsigned int i )
    -oinline bool containsNode( const Node* node ) const +oinline const Node* getChild( unsigned int i ) const
    -oinline ChildList::iterator findNode( const Node* node ) +oinline bool containsNode( const Node* node ) const
    -oinline ChildList::const_iterator findNode( const Node* node ) const -
    -oinline unsigned int findChildNo( const Node* node ) const +oinline unsigned int getChildIndex( const Node* node ) const

    Public Members

    -otypedef std::vector<ref_ptr<Node> > ChildList +otypedef std::vector<ref_ptr<Node> > ChildList

    Protected Fields

    -oChildList _children +oChildList _children +

    + + +

    Inherited from Node:

    +
    +

    +

    Public Methods

    +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 +
    +ovirtual Transform* asTransform() +
    +ovirtual const Transform* asTransform() const +
    +ovirtual void accept(NodeVisitor& nv) +
    +ovirtual void ascend(NodeVisitor& nv) +
    +oinline void setName( const std::string& name ) +
    +oinline void setName( const char* name ) +
    +oinline const std::string& getName() const +
    +oinline const ParentList& getParents() const +
    +oinline ParentList getParents() +
    +oinline Group* getParent(unsigned int i) +
    +oinline const Group* getParent(unsigned int i) const +
    +oinline unsigned int getNumParents() const +
    +ovoid setUpdateCallback(NodeCallback* nc) +
    +oinline NodeCallback* getUpdateCallback() +
    +oinline const NodeCallback* getUpdateCallback() const +
    +ovoid setAppCallback(NodeCallback* nc) +
    +oinline NodeCallback* getAppCallback() +
    +oinline const NodeCallback* getAppCallback() const +
    +oinline unsigned int getNumChildrenRequiringUpdateTraversal() const +
    +ovoid setCullCallback(NodeCallback* nc) +
    +oinline NodeCallback* getCullCallback() +
    +oinline const NodeCallback* getCullCallback() const +
    +ovoid setCullingActive(bool active) +
    +oinline bool getCullingActive() const +
    +oinline unsigned int getNumChildrenWithCullingDisabled() const +
    +oinline bool isCullingActive() const +
    +oinline unsigned int getNumChildrenWithOccluderNodes() const +
    +obool containsOccluderNodes() const +
    +oinline void setNodeMask(NodeMask nm) +
    +oinline NodeMask getNodeMask() const +
    +oinline const DescriptionList& getDescriptions() const +
    +oinline DescriptionList& getDescriptions() +
    +oinline const std::string& getDescription(unsigned int i) const +
    +oinline std::string& getDescription(unsigned int i) +
    +oinline unsigned int getNumDescriptions() const +
    +ovoid addDescription(const std::string& desc) +
    +oinline void setStateSet(osg::StateSet* dstate) +
    +oosg::StateSet* getOrCreateStateSet() +
    +oinline osg::StateSet* getStateSet() +
    +oinline const osg::StateSet* getStateSet() const +
    +oinline const BoundingSphere& getBound() const +
    +ovoid dirtyBound() +

    + +

    +

    Public Members

    +otypedef std::vector<Group*> ParentList +
    +otypedef unsigned int NodeMask +
    +otypedef std::vector<std::string> DescriptionList +

    + +

    +

    Protected Fields

    +omutable BoundingSphere _bsphere +
    +omutable bool _bsphere_computed +
    +ostd::string _name +
    +oParentList _parents +
    +oref_ptr<NodeCallback> _updateCallback +
    +ounsigned int _numChildrenRequiringUpdateTraversal +
    +oref_ptr<NodeCallback> _cullCallback +
    +obool _cullingActive +
    +ounsigned int _numChildrenWithCullingDisabled +
    +ounsigned int _numChildrenWithOccluderNodes +
    +oNodeMask _nodeMask +
    +oDescriptionList _descriptions +
    +oref_ptr<StateSet> _stateset +

    + +

    +

    Protected Methods

    +ovoid addParent(osg::Group* node) +
    +ovoid removeParent(osg::Group* node) +
    +ovoid setNumChildrenRequiringUpdateTraversal(unsigned int num) +
    +ovoid setNumChildrenWithCullingDisabled(unsigned int num) +
    +ovoid setNumChildrenWithOccluderNodes(unsigned int num) +

    + +
    +

    Inherited from Object:

    +
    +

    +

    Public Methods

    +oinline void setDataVariance(DataVariance dv) +
    +oinline DataVariance getDataVariance() const +
    +oinline void setUserData(Referenced* obj) +
    +oinline Referenced* getUserData() +
    +oinline const Referenced* getUserData() const +

    + +

    +

    Public Members

    +oenum DataVariance +

    + +

    +

    Protected Fields

    +oDataVariance _dataVariance +
    +oref_ptr<Referenced> _userData +

    + +
    +

    Inherited from Referenced:

    +
    +

    +

    Public Methods

    +oinline Referenced& operator = (Referenced&) +
    +ostatic void setDeleteHandler(DeleteHandler* handler) +
    +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const +
    +oinline void unref_nodelete() const +
    +oinline int referenceCount() const +
    +oinline void unref() const +

    + +

    +

    Protected Fields

    +omutable int _refCount

    @@ -110,57 +326,93 @@
    - +
    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(osg, LightSource)

    + + +

    oenum ReferenceFrame +

    + + + +
    o RELATIVE_TO_PARENTS +

    + + +

    o RELATIVE_TO_ABSOLUTE +

    + + + +
    ovoid setReferenceFrame(ReferenceFrame rf) +
    Set the light sources's ReferenceFrame, either to be relative to its +parent reference frame, or relative to an absolute coordinate +frame. RELATIVE_TO_PARENTS is the default. +Note: setting the ReferenceFrame to be RELATIVE_TO_ABSOLUTE will +also set the CullingActive flag on the light source, and hence all +of its parents, to false, thereby disabling culling of it and +all its parents. This is neccessary to prevent inappropriate +culling, but may impact cull times if the absolute light source is +deep in the scene graph. It is therefore recommend to only use +absolute light source at the top of the scene. +

    + + +

    oReferenceFrame getReferenceFrame() const +

    - +

    ovoid setLight(StateAttribute* light)
    Set the attached light

    - +

    oinline StateAttribute* getLight()
    Get the attached light

    - +

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

    - +

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

    - +

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

    - +

    ovirtual ~LightSource()

    - +

    ovirtual bool computeBound() const

    - +

    oStateAttribute::GLModeValue _value

    - +

    oref_ptr<StateAttribute> _light +

    + + +

    oReferenceFrame _referenceFrame


    This class has no child classes.
    diff --git a/doc/doc++/osg/LineSegment.html b/doc/doc++/osg/LineSegment.html index 6e219a822..580edcbc0 100644 --- a/doc/doc++/osg/LineSegment.html +++ b/doc/doc++/osg/LineSegment.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::LineSegment - + @@ -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 bool valid() const +[more]inline bool valid() const
    -[more]bool intersect(const BoundingBox& bb) const +[more]bool intersect(const BoundingBox& bb) const
    return true if segment intersects BoundingBox
    -[more]bool intersect(const BoundingBox& bb, float& r1, float& r2) const +[more]bool intersect(const BoundingBox& bb, float& r1, float& r2) const
    return true if segment intersects BoundingBox and return the intersection ratio's
    -[more]bool intersect(const BoundingSphere& bs) const +[more]bool intersect(const BoundingSphere& bs) const
    return true if segment intersects BoundingSphere
    -[more]bool intersect(const BoundingSphere& bs, float& r1, float& r2) const +[more]bool intersect(const BoundingSphere& bs, float& r1, float& r2) const
    return true if segment intersects BoundingSphere and return the intersection ratio's
    -[more]bool intersect(const Vec3& v1, const Vec3& v2, const Vec3& v3, float& r) +[more]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 bool intersectAndClip(Vec3& s, Vec3& e, const BoundingBox& bb) +[more]static bool intersectAndClip(Vec3& s, Vec3& e, const BoundingBox& bb)

    @@ -84,26 +84,22 @@

    Public Methods

    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -115,94 +111,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 bool valid() const

    - +

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

    - +

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

    - +

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

    - +

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

    - -

    obool intersect(const Vec3& v1, const Vec3& v2, const Vec3& v3, float& r) + +
    obool 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 bool intersectAndClip(Vec3& s, Vec3& e, const BoundingBox& bb) + +
    ostatic 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 74a51aa8f..7ce041ed5 100644 --- a/doc/doc++/osg/LineStipple.html +++ b/doc/doc++/osg/LineStipple.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::LineStipple - + @@ -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(osg, 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 getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
    -[more]void setFactor(GLint factor) +[more]void setFactor(GLint factor)
    -[more]inline GLint getFactor() const +[more]inline GLint getFactor() const
    -[more]void setPattern(GLushort pattern) +[more]void setPattern(GLushort pattern)
    -[more]inline GLushort getPattern() const +[more]inline GLushort getPattern() const
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

    Protected Fields

    -[more]GLint _factor +[more]GLint _factor
    -[more]GLushort _pattern +[more]GLushort _pattern

    Protected Methods

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

    @@ -72,7 +72,7 @@
    ovirtual const char* className() const
    -ovirtual Type getType() const +ovirtual Type getType() const
    ovirtual bool isTextureAttribute() const
    @@ -105,9 +105,9 @@

    Public Methods

    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -123,7 +123,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -135,26 +135,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -165,57 +161,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(osg, 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 getAssociatedModes(std::vector<GLMode>& modes) const + +
    ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

    - +

    ovoid setFactor(GLint factor)

    - +

    oinline GLint getFactor() const

    - +

    ovoid setPattern(GLushort pattern)

    - +

    oinline GLushort getPattern() const

    - +

    ovirtual void apply(State& state) const

    - +

    ovirtual ~LineStipple()

    - +

    oGLint _factor

    - +

    oGLushort _pattern

    diff --git a/doc/doc++/osg/LineWidth.html b/doc/doc++/osg/LineWidth.html index 6119227ab..b5959d927 100644 --- a/doc/doc++/osg/LineWidth.html +++ b/doc/doc++/osg/LineWidth.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::LineWidth - + @@ -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(osg, 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(float width) +[more]void setWidth(float width)
    -[more]inline float getWidth() const +[more]inline 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()

    @@ -65,7 +65,7 @@
    ovirtual const char* className() const
    -ovirtual Type getType() const +ovirtual Type getType() const
    ovirtual bool isTextureAttribute() const
    @@ -75,7 +75,7 @@
    obool operator != (const StateAttribute& rhs) const
    -ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
    ovirtual void compile(State&) const

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

    Public Methods

    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -118,7 +118,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -130,26 +130,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -161,41 +157,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(osg, 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(float width) + +
    ovoid setWidth(float width)

    - +

    oinline float getWidth() const

    - +

    ovirtual void apply(State& state) const

    - +

    ovirtual ~LineWidth()

    - +

    ofloat _width

    diff --git a/doc/doc++/osg/META_Node.html b/doc/doc++/osg/META_Node.html index 0220fb70e..3ac0a693b 100644 --- a/doc/doc++/osg/META_Node.html +++ b/doc/doc++/osg/META_Node.html @@ -3,11 +3,11 @@ #define osg::META_Node - + -

    #define osg::META_Node

    (name)

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

    #define osg::META_Node

    (library, name)

    META_Node macro define the standard clone, isSameKindAs, className and accept methods.

    diff --git a/doc/doc++/osg/META_Object.html b/doc/doc++/osg/META_Object.html index 4edcc0d91..ed820fb18 100644 --- a/doc/doc++/osg/META_Object.html +++ b/doc/doc++/osg/META_Object.html @@ -3,11 +3,11 @@ #define osg::META_Object - + -

    #define osg::META_Object

    (library, name)

    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_Shape.html b/doc/doc++/osg/META_Shape.html index 90e0bbfed..e3c294b6d 100644 --- a/doc/doc++/osg/META_Shape.html +++ b/doc/doc++/osg/META_Shape.html @@ -3,11 +3,11 @@ #define osg::META_Shape - + -

    #define osg::META_Shape

    (library, name)

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

    #define osg::META_Shape

    (library, name)

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

    diff --git a/doc/doc++/osg/META_StateAttribute.html b/doc/doc++/osg/META_StateAttribute.html index df15f4f73..3ca3ba3fb 100644 --- a/doc/doc++/osg/META_StateAttribute.html +++ b/doc/doc++/osg/META_StateAttribute.html @@ -3,11 +3,11 @@ #define osg::META_StateAttribute - + -

    #define osg::META_StateAttribute

    (library, 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 cb5df2cc5..ec8129f0c 100644 --- a/doc/doc++/osg/Material.html +++ b/doc/doc++/osg/Material.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Material - + @@ -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(osg, 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 getAssociatedModes(std::vector<GLMode>& modes) 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(ColorMode mode) +[more]inline void setColorMode(ColorMode mode)
    -[more]inline ColorMode getColorMode() const +[more]inline ColorMode getColorMode() const
    -[more]void setAmbient( Face face, const Vec4& ambient ) +[more]void setAmbient( Face face, const Vec4& ambient )
    -[more]const Vec4& getAmbient(Face face) const +[more]const Vec4& getAmbient(Face face) const
    -[more]inline bool getAmbientFrontAndBack() const +[more]inline bool getAmbientFrontAndBack() const
    -[more]void setDiffuse( Face face, const Vec4& diffuse ) +[more]void setDiffuse( Face face, const Vec4& diffuse )
    -[more]const Vec4& getDiffuse(Face face) const +[more]const Vec4& getDiffuse(Face face) const
    -[more]inline bool getDiffuseFrontAndBack() const +[more]inline bool getDiffuseFrontAndBack() const
    -[more]void setSpecular( Face face, const Vec4& specular ) +[more]void setSpecular( 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(Face face) const +[more]const Vec4& getSpecular(Face face) const
    Get the specular value for specified face
    -[more]inline bool getSpecularFrontAndBack() const +[more]inline bool getSpecularFrontAndBack() const
    Get the whether specular values are equal for front and back faces
    -[more]void setEmission( Face face, const Vec4& emission ) +[more]void setEmission( 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(Face face) const +[more]const Vec4& getEmission(Face face) const
    Get the emmsion value for specified face
    -[more]inline bool getEmissionFrontAndBack() const +[more]inline bool getEmissionFrontAndBack() const
    Get the whether emission values are equal for front and back faces
    -[more]void setShininess(Face face, float shininess ) +[more]void setShininess(Face face, float shininess )
    Set shininess of specified face(s) of the material, valid shininess range is 00 to 1280
    -[more]float getShininess(Face face) const +[more]float getShininess(Face face) const
    Get the shininess value for specified face
    -[more]inline bool getShininessFrontAndBack() const +[more]inline bool getShininessFrontAndBack() const
    Get the whether shininess values are equal for front and back faces
    -[more]void setTransparency(Face face, float trans) +[more]void setTransparency(Face face, float trans)
    Set the alpha value of ambient,diffuse,specular and emission colors, of specified face, to 1-transparency.
    -[more]void setAlpha(Face face, float alpha) +[more]void setAlpha(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()

    @@ -149,7 +149,7 @@
    ovirtual const char* className() const
    -ovirtual Type getType() const +ovirtual Type getType() const
    ovirtual bool isTextureAttribute() const
    @@ -182,9 +182,9 @@

    Public Methods

    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -200,7 +200,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -212,26 +212,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -243,236 +239,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(osg, 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 getAssociatedModes(std::vector<GLMode>& modes) 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(ColorMode mode) + +
    oinline void setColorMode(ColorMode mode)

    - -

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

    - -

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

    - -

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

    - +

    oinline bool getAmbientFrontAndBack() const

    - -

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

    - -

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

    - +

    oinline bool getDiffuseFrontAndBack() const

    - -

    ovoid setSpecular( Face face, const Vec4& specular ) + +
    ovoid setSpecular( 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(Face face) const + +
    oconst Vec4& getSpecular(Face face) const
    Get the specular value for specified face

    - +

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

    - -

    ovoid setEmission( Face face, const Vec4& emission ) + +
    ovoid setEmission( 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(Face face) const + +
    oconst Vec4& getEmission(Face face) const
    Get the emmsion value for specified face

    - +

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

    - -

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

    - -

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

    - +

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

    - -

    ovoid setTransparency(Face face, float trans) + +
    ovoid setTransparency(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(Face face, float alpha) + +
    ovoid setAlpha(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 5569071fc..be9680002 100644 --- a/doc/doc++/osg/Matrix.html +++ b/doc/doc++/osg/Matrix.html @@ -3,18 +3,18 @@ class SG_EXPORT osg::Matrix - +

    class SG_EXPORT osg::Matrix


    Inheritance:

    - - - - - + + + + +
    @@ -22,257 +22,192 @@

    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] ~Matrix()
    -[more]virtual Object* clone(const CopyOp&) const +[more]int compare(const Matrix& m) const
    -[more]virtual bool isSameKindAs(const Object* obj) const +[more]bool operator < (const Matrix& m) const
    -[more]virtual const char* libraryName() const +[more]bool operator == (const Matrix& m) const
    -[more]virtual const char* className() const +[more]bool operator != (const Matrix& m) const
    -[more]virtual ~Matrix() +[more]inline float& operator()(int row, int col)
    -[more]int compare(const Matrix& m) const +[more]inline float operator()(int row, int col) const
    -[more]bool operator < (const Matrix& m) const +[more]inline bool valid() const
    -[more]bool operator == (const Matrix& m) const +[more]inline bool isNaN() const
    -[more]bool operator != (const Matrix& m) const +[more]inline Matrix& operator = (const Matrix& other)
    -[more]inline float& operator()(int row, int col) +[more]inline void set(const Matrix& other)
    -[more]inline float operator()(int row, int col) const +[more]inline void set(float const* const ptr)
    -[more]inline bool valid() const +[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 bool isNaN() const +[more]float* ptr() const
    -[more]inline Matrix& operator = (const Matrix& other) +[more]void makeIdentity()
    -[more]inline void set(const Matrix& other) +[more]void makeScale( const Vec3& )
    -[more]inline void set(float const* const ptr) +[more]void makeScale( float, float, float )
    -[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]void makeTranslate( const Vec3& )
    -[more]float* ptr() const +[more]void makeTranslate( float, float, float )
    -[more]void makeIdentity() +[more]void makeRotate( const Vec3& from, const Vec3& to )
    -[more]void makeScale( const Vec3& ) +[more]void makeRotate( float angle, const Vec3& axis )
    -[more]void makeScale( float, float, float ) +[more]void makeRotate( float angle, float x, float y, float z )
    -[more]void makeTranslate( const Vec3& ) +[more]void makeRotate( const Quat& )
    -[more]void makeTranslate( float, float, float ) +[more]void makeRotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)
    -[more]void makeRotate( const Vec3& from, const Vec3& to ) -
    -[more]void makeRotate( float angle, const Vec3& axis ) -
    -[more]void makeRotate( float angle, float x, float y, float z ) -
    -[more]void makeRotate( const Quat& ) -
    -[more]void makeRotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3) -
    -[more]void makeOrtho(double left, double right, double bottom, double top, double zNear, double zFar) +[more]void makeOrtho(double left, double right, double bottom, double top, double zNear, double zFar)
    Set to a orthographic projection.
    -[more]inline void makeOrtho2D(double left, double right, double bottom, double top) +[more]inline void makeOrtho2D(double left, double right, double bottom, double top)
    Set to a 2D orthographic projection.
    -[more]void makeFrustum(double left, double right, double bottom, double top, double zNear, double zFar) +[more]void makeFrustum(double left, double right, double bottom, double top, double zNear, double zFar)
    Set to a perspective projection.
    -[more]void makePerspective(double fovy, double aspectRatio, double zNear, double zFar) +[more]void makePerspective(double fovy, double aspectRatio, double zNear, 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 angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3) +[more]inline static Matrix rotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)
    -[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(double left, double right, double bottom, double top, double zNear, double zFar) +[more]inline static Matrix ortho(double left, double right, double bottom, double top, double zNear, double zFar)
    Create a orthographic projection.
    -[more]inline static Matrix ortho2D(double left, double right, double bottom, double top) +[more]inline static Matrix ortho2D(double left, double right, double bottom, double top)
    Create a 2D orthographic projection.
    -[more]inline static Matrix frustum(double left, double right, double bottom, double top, double zNear, double zFar) +[more]inline static Matrix frustum(double left, double right, double bottom, double top, double zNear, double zFar)
    Create a perspective projection.
    -[more]inline static Matrix perspective(double fovy, double aspectRatio, double zNear, double zFar) +[more]inline static Matrix perspective(double fovy, double aspectRatio, double zNear, 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 angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3) +[more]inline Matrix rotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)
    -[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(double left, double right, double bottom, double top, double zNear, double zFar) +[more]inline Matrix ortho(double left, double right, double bottom, double top, double zNear, double zFar)
    -[more]inline Matrix ortho2D(double left, double right, double bottom, double top) +[more]inline Matrix ortho2D(double left, double right, double bottom, double top)
    -[more]inline Matrix frustum(double left, double right, double bottom, double top, double zNear, double zFar) +[more]inline Matrix frustum(double left, double right, double bottom, double top, double zNear, double zFar)
    -[more]inline Matrix perspective(double fovy, double aspectRatio, double zNear, double zFar) +[more]inline Matrix perspective(double fovy, double aspectRatio, double zNear, 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

    Protected Fields

    -[more]float _mat[4][4] -

    - -
    -

    Inherited from Object:

    -
    -

    -

    Public Methods

    -oinline void setDataVariance(DataVariance dv) -
    -oinline DataVariance getDataVariance() const -
    -oinline void setUserData(Referenced* obj) -
    -oinline Referenced* getUserData() -
    -oinline const Referenced* getUserData() const -

    - -

    -

    Public Members

    -oenum DataVariance -

    - -

    -

    Protected Fields

    -oDataVariance _dataVariance -
    -oref_ptr<Referenced> _userData -

    - -
    -

    Inherited from Referenced:

    -
    -

    -

    Public Methods

    -oinline void ref() const -
    -oinline void unref() const -
    -oinline void unref_nodelete() const -
    -oinline int referenceCount() const -
    -oinline static int createdCount() -
    -oinline static int deletedCount() -

    - -

    -

    Protected Fields

    -omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount +[more]float _mat[4][4]

    @@ -283,385 +218,367 @@
    - +
    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() + +
    o ~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 bool valid() const

    - +

    oinline 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() 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 angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)

    - -

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

    - -

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

    - -

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

    - -

    ovoid makePerspective(double fovy, double aspectRatio, double zNear, double zFar) + +
    ovoid makePerspective(double fovy, double aspectRatio, double zNear, 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 angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)

    - +

    oinline static Matrix rotate( const Quat& quat)

    - +

    oinline static Matrix inverse( const Matrix& matrix)

    - -

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

    - -

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

    - -

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

    - -

    oinline static Matrix perspective(double fovy, double aspectRatio, double zNear, double zFar) + +
    oinline static Matrix perspective(double fovy, double aspectRatio, double zNear, 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

    - +

    ofloat _mat[4][4]

    - +

    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 angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)

    - +

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

    - +

    oinline Matrix inverse( const Matrix& matrix)

    - -

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

    - -

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

    - -

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

    - -

    oinline Matrix perspective(double fovy, double aspectRatio, double zNear, double zFar) + +
    oinline Matrix perspective(double fovy, double aspectRatio, double zNear, 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

    - -
    This class has no child classes.
    +
    +
    Direct child classes: +
    RefMatrix
    +

    Alphabetic index HTML hierarchy of classes or Java



    diff --git a/doc/doc++/osg/MatrixTransform.html b/doc/doc++/osg/MatrixTransform.html index 1ae93636d..9a199d855 100644 --- a/doc/doc++/osg/MatrixTransform.html +++ b/doc/doc++/osg/MatrixTransform.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::MatrixTransform - + @@ -11,11 +11,11 @@

    Inheritance:

    - - - - - + + + + +
    @@ -23,53 +23,51 @@

    Public Methods

    -[more] MatrixTransform() +[more] MatrixTransform()
    -[more] MatrixTransform(const MatrixTransform&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] MatrixTransform(const MatrixTransform&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] MatrixTransform(const Matrix& matix) +[more] MatrixTransform(const Matrix& matix)
    -[more] META_Node(osg, MatrixTransform) +[more] META_Node(osg, MatrixTransform)
    -[more]void setMatrix(const Matrix& mat) +[more]virtual MatrixTransform* asMatrixTransform() +
    +[more]virtual const MatrixTransform* asMatrixTransform() const +
    +[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 matrix.
    -[more]void preMult(const Matrix& mat) +[more]void preMult(const Matrix& mat)
    pre multiply the transforms matrix
    -[more]void postMult(const Matrix& mat) +[more]void postMult(const Matrix& mat)
    post multiply the transforms matrix
    -[more]inline const Matrix& getInverseMatrix() const +[more]inline const Matrix& getInverseMatrix() const
    Get the inverse matrix.
    -[more]virtual bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor*) const +[more]virtual bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor*) const
    -[more]virtual bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor*) const -

    - -

    -

    Public Members

    -class SG_EXPORT AnimationPathCallback: public NodeCallback -
    Callback which can be attached to a MatrixTransform as an app callback to allow it to follow the path defined by a AnimationPath +[more]virtual bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor*) const

    Protected Fields

    -[more]ref_ptr<Matrix> _matrix +[more]Matrix _matrix
    -[more]mutable ref_ptr<Matrix> _inverse +[more]mutable Matrix _inverse
    -[more]mutable bool _inverseDirty +[more]mutable bool _inverseDirty

    Protected Methods

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

    @@ -81,15 +79,23 @@ class SG_EXPORT AnimationPathCallback ovirtual const Transform* asTransform() const
    -ovoid setReferenceFrame(ReferenceFrame rf) +ovirtual PositionAttitudeTransform* asPositionAttitudeTransform()
    -oReferenceFrame getReferenceFrame() const +ovirtual const PositionAttitudeTransform* asPositionAttitudeTransform() const
    -ovoid setComputeTransformCallback(ComputeTransformCallback* ctc) +ovirtual DOFTransform* asDOFTransform()
    -oComputeTransformCallback* getComputeTransformCallback() +ovirtual const DOFTransform* asDOFTransform() const
    -oconst ComputeTransformCallback* getComputeTransformCallback() const +ovoid setReferenceFrame(ReferenceFrame rf) +
    +oReferenceFrame getReferenceFrame() const +
    +ovoid setComputeTransformCallback(ComputeTransformCallback* ctc) +
    +oComputeTransformCallback* getComputeTransformCallback() +
    +oconst ComputeTransformCallback* getComputeTransformCallback() const
    oinline bool getLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const
    @@ -100,14 +106,14 @@ class SG_EXPORT AnimationPathCallback

    Public Members

    oenum ReferenceFrame
    -ostruct ComputeTransformCallback: public osg::Referenced +ostruct ComputeTransformCallback: public virtual osg::Referenced

    Protected Fields

    -oref_ptr<ComputeTransformCallback> _computeTransformCallback +oref_ptr<ComputeTransformCallback> _computeTransformCallback
    -oReferenceFrame _referenceFrame +oReferenceFrame _referenceFrame

    @@ -126,35 +132,235 @@ class SG_EXPORT AnimationPathCallback ovirtual void traverse(NodeVisitor& nv)
    -ovirtual bool addChild( Node* child ) +ovirtual bool addChild( Node* child )
    -ovirtual bool removeChild( Node* child ) +ovirtual bool removeChild( Node* child )
    -ovirtual bool replaceChild( Node* origChild, Node* newChild ) +ovirtual bool removeChild(unsigned int pos, unsigned int numChildrenToRemove=1) +
    +ovirtual bool replaceChild( Node* origChild, Node* newChild )
    oinline unsigned int getNumChildren() const
    -oinline Node* getChild( unsigned int i ) +ovirtual bool setChild( unsigned int i, Node* node )
    -oinline const Node* getChild( unsigned int i ) const +oinline Node* getChild( unsigned int i )
    -oinline bool containsNode( const Node* node ) const +oinline const Node* getChild( unsigned int i ) const
    -oinline ChildList::iterator findNode( const Node* node ) +oinline bool containsNode( const Node* node ) const
    -oinline ChildList::const_iterator findNode( const Node* node ) const -
    -oinline unsigned int findChildNo( const Node* node ) const +oinline unsigned int getChildIndex( const Node* node ) const

    Public Members

    -otypedef std::vector<ref_ptr<Node> > ChildList +otypedef std::vector<ref_ptr<Node> > ChildList

    Protected Fields

    -oChildList _children +oChildList _children +

    + + +

    Inherited from Node:

    +
    +

    +

    Public Methods

    +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 +
    +ovirtual void accept(NodeVisitor& nv) +
    +ovirtual void ascend(NodeVisitor& nv) +
    +oinline void setName( const std::string& name ) +
    +oinline void setName( const char* name ) +
    +oinline const std::string& getName() const +
    +oinline const ParentList& getParents() const +
    +oinline ParentList getParents() +
    +oinline Group* getParent(unsigned int i) +
    +oinline const Group* getParent(unsigned int i) const +
    +oinline unsigned int getNumParents() const +
    +ovoid setUpdateCallback(NodeCallback* nc) +
    +oinline NodeCallback* getUpdateCallback() +
    +oinline const NodeCallback* getUpdateCallback() const +
    +ovoid setAppCallback(NodeCallback* nc) +
    +oinline NodeCallback* getAppCallback() +
    +oinline const NodeCallback* getAppCallback() const +
    +oinline unsigned int getNumChildrenRequiringUpdateTraversal() const +
    +ovoid setCullCallback(NodeCallback* nc) +
    +oinline NodeCallback* getCullCallback() +
    +oinline const NodeCallback* getCullCallback() const +
    +ovoid setCullingActive(bool active) +
    +oinline bool getCullingActive() const +
    +oinline unsigned int getNumChildrenWithCullingDisabled() const +
    +oinline bool isCullingActive() const +
    +oinline unsigned int getNumChildrenWithOccluderNodes() const +
    +obool containsOccluderNodes() const +
    +oinline void setNodeMask(NodeMask nm) +
    +oinline NodeMask getNodeMask() const +
    +oinline const DescriptionList& getDescriptions() const +
    +oinline DescriptionList& getDescriptions() +
    +oinline const std::string& getDescription(unsigned int i) const +
    +oinline std::string& getDescription(unsigned int i) +
    +oinline unsigned int getNumDescriptions() const +
    +ovoid addDescription(const std::string& desc) +
    +oinline void setStateSet(osg::StateSet* dstate) +
    +oosg::StateSet* getOrCreateStateSet() +
    +oinline osg::StateSet* getStateSet() +
    +oinline const osg::StateSet* getStateSet() const +
    +oinline const BoundingSphere& getBound() const +
    +ovoid dirtyBound() +

    + +

    +

    Public Members

    +otypedef std::vector<Group*> ParentList +
    +otypedef unsigned int NodeMask +
    +otypedef std::vector<std::string> DescriptionList +

    + +

    +

    Protected Fields

    +omutable BoundingSphere _bsphere +
    +omutable bool _bsphere_computed +
    +ostd::string _name +
    +oParentList _parents +
    +oref_ptr<NodeCallback> _updateCallback +
    +ounsigned int _numChildrenRequiringUpdateTraversal +
    +oref_ptr<NodeCallback> _cullCallback +
    +obool _cullingActive +
    +ounsigned int _numChildrenWithCullingDisabled +
    +ounsigned int _numChildrenWithOccluderNodes +
    +oNodeMask _nodeMask +
    +oDescriptionList _descriptions +
    +oref_ptr<StateSet> _stateset +

    + +

    +

    Protected Methods

    +ovoid addParent(osg::Group* node) +
    +ovoid removeParent(osg::Group* node) +
    +ovoid setNumChildrenRequiringUpdateTraversal(unsigned int num) +
    +ovoid setNumChildrenWithCullingDisabled(unsigned int num) +
    +ovoid setNumChildrenWithOccluderNodes(unsigned int num) +

    + +
    +

    Inherited from Object:

    +
    +

    +

    Public Methods

    +oinline void setDataVariance(DataVariance dv) +
    +oinline DataVariance getDataVariance() const +
    +oinline void setUserData(Referenced* obj) +
    +oinline Referenced* getUserData() +
    +oinline const Referenced* getUserData() const +

    + +

    +

    Public Members

    +oenum DataVariance +

    + +

    +

    Protected Fields

    +oDataVariance _dataVariance +
    +oref_ptr<Referenced> _userData +

    + +
    +

    Inherited from Referenced:

    +
    +

    +

    Public Methods

    +oinline Referenced& operator = (Referenced&) +
    +ostatic void setDeleteHandler(DeleteHandler* handler) +
    +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const +
    +oinline void unref_nodelete() const +
    +oinline int referenceCount() const +
    +oinline void unref() const +

    + +

    +

    Protected Fields

    +omutable int _refCount

    @@ -168,69 +374,77 @@ into the Transform's parent coordinates
    - +
    o MatrixTransform()

    - -

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

    - +

    o MatrixTransform(const Matrix& matix)

    - +

    o META_Node(osg, MatrixTransform)

    + + +

    ovirtual MatrixTransform* asMatrixTransform() +

    + + +

    ovirtual const MatrixTransform* asMatrixTransform() const +

    - +

    ovoid setMatrix(const Matrix& mat)
    Set the transform's matrix

    - +

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

    - +

    ovoid preMult(const Matrix& mat)
    pre multiply the transforms matrix

    - +

    ovoid postMult(const Matrix& mat)
    post multiply the transforms matrix

    - +

    oinline const Matrix& getInverseMatrix() const
    Get the inverse matrix.

    - +

    ovirtual bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor*) const

    - +

    ovirtual bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor*) const

    - +

    ovirtual ~MatrixTransform()

    - -

    oref_ptr<Matrix> _matrix + +
    oMatrix _matrix

    - -

    omutable ref_ptr<Matrix> _inverse + +
    omutable Matrix _inverse

    - +

    omutable bool _inverseDirty

    diff --git a/doc/doc++/osg/Node.html b/doc/doc++/osg/Node.html index 792385e7e..6ed4adfb1 100644 --- a/doc/doc++/osg/Node.html +++ b/doc/doc++/osg/Node.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Node - + @@ -11,11 +11,11 @@

    Inheritance:

    - - - - - + + + + +
    @@ -23,182 +23,249 @@

    Public Methods

    -[more] Node() +[more] Node()
    Construct a node.
    -[more] Node(const Node&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Node(const Node&, 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
    clone the an object of the same type as the node
    -[more]virtual Object* clone(const CopyOp& copyop) const +[more]virtual Object* clone(const CopyOp& copyop) const
    return a clone of a node, 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 node's library +
    +[more]virtual const char* className() const
    return the name of the node's class type
    -[more]virtual void accept(NodeVisitor& nv) +[more]virtual Group* asGroup() +
    convert 'this' into a Group pointer if Node is a Group, otherwise return 0. +
    +[more]virtual const Group* asGroup() const +
    convert 'const this' into a const Group pointer if Node is a Group, otherwise return 0. +
    +[more]virtual Transform* asTransform() +
    convert 'this' into a Transform pointer if Node is a Transform, otherwise return 0. +
    +[more]virtual const Transform* asTransform() const +
    convert 'const this' into a const Transform pointer if Node is a Transform, otherwise return 0. +
    +[more]virtual void accept(NodeVisitor& nv)
    Visitor Pattern : calls the apply method of a NodeVisitor with this node's type
    -[more]virtual void ascend(NodeVisitor& nv) +[more]virtual void ascend(NodeVisitor& nv)
    Traverse upwards : calls parents' accept method with NodeVisitor
    -[more]virtual void traverse(NodeVisitor& ) +[more]virtual void traverse(NodeVisitor& )
    Traverse downwards : calls children's accept method with NodeVisitor
    -[more]inline void setName( const std::string& name ) +[more]inline void setName( const std::string& name )
    Set the name of node using C++ style string
    -[more]inline void setName( const char* name ) +[more]inline void setName( const char* name )
    Set the name of node using a C style string
    -[more]inline const std::string& getName() const +[more]inline const std::string& getName() const
    Get the name of node
    -[more]inline const ParentList& getParents() const +[more]inline const ParentList& getParents() const
    Get the parent list of node.
    -[more]inline ParentList getParents() +[more]inline ParentList getParents()
    Get the a copy of parent list of node.
    -[more]inline Group* getParent(const int i) +[more]inline Group* getParent(unsigned int i)
    -[more]inline const Group* getParent(const int i) const +[more]inline const Group* getParent(unsigned int i) const
    Get a single const parent of node.
    -[more]inline const int getNumParents() const +[more]inline unsigned int getNumParents() const
    Get the number of parents of node.
    -[more]void setAppCallback(NodeCallback* nc) -
    Set app node callback, called during app traversal. +[more]void setUpdateCallback(NodeCallback* nc) +
    Set update node callback, called during update traversal.
    -[more]inline NodeCallback* getAppCallback() -
    Get app node callback, called during app traversal. +[more]inline NodeCallback* getUpdateCallback() +
    Get update node callback, called during update traversal.
    -[more]inline const NodeCallback* getAppCallback() const -
    Get const app node callback, called during app traversal. +[more]inline const NodeCallback* getUpdateCallback() const +
    Get const update node callback, called during update traversal.
    -[more]inline const int getNumChildrenRequiringAppTraversal() const +[more]void setAppCallback(NodeCallback* nc) +
    deprecated. +
    +[more]inline NodeCallback* getAppCallback() +
    deprecated. +
    +[more]inline const NodeCallback* getAppCallback() const +
    deprecated. +
    +[more]inline unsigned int getNumChildrenRequiringUpdateTraversal() const
    Get the number of Children of this node which require App traversal, since they have an AppCallback attached to them or their children
    -[more]void setCullingActive(const bool active) +[more]void setCullCallback(NodeCallback* nc) +
    Set cull node callback, called during cull traversal. +
    +[more]inline NodeCallback* getCullCallback() +
    Get cull node callback, called during cull traversal. +
    +[more]inline const NodeCallback* getCullCallback() const +
    Get const cull node callback, called during cull traversal. +
    +[more]void setCullingActive(bool active)
    Set the view frustum/small feature culling of this node to be active or inactive.
    -[more]inline const bool getCullingActive() const -
    Get the view frustum/small feature _cullingActive flag. +[more]inline bool getCullingActive() const +
    Get the view frustum/small feature _cullingActive flag for this node.
    -[more]inline const int getNumChildrenWithCullingDisabled() const +[more]inline unsigned int getNumChildrenWithCullingDisabled() const
    Get the number of Children of this node which have culling disabled
    -[more]inline void setUserData(osg::Referenced* obj) -
    Set user data, data must be subclased from Referenced to allow automatic memory handling. +[more]inline bool isCullingActive() const +
    Return true if this node can be culled by view frustum, occlusion or small feature culling during the cull traversal.
    -[more]inline Referenced* getUserData() -
    Get user data +[more]inline unsigned int getNumChildrenWithOccluderNodes() const +
    Get the number of Children of this node which are or have OccluderNode's
    -[more]inline const Referenced* getUserData() const -
    Get const user data +[more]bool containsOccluderNodes() const +
    return true if this node is an OccluderNode or the subgraph below this node are OccluderNodes
    -[more]inline void setNodeMask(const NodeMask nm) +[more]inline void setNodeMask(NodeMask nm)
    Set the node mask.
    -[more]inline const NodeMask getNodeMask() const +[more]inline NodeMask getNodeMask() const
    Get the node Mask.
    -[more]inline const DescriptionList& getDescriptions() const +[more]inline const DescriptionList& getDescriptions() const
    Get the description list of the const node
    -[more]inline DescriptionList& getDescriptions() +[more]inline DescriptionList& getDescriptions()
    Get the description list of the const node
    -[more]inline const std::string& getDescription(const int i) const +[more]inline const std::string& getDescription(unsigned int i) const
    Get a single const description of the const node
    -[more]inline std::string& getDescription(const int i) +[more]inline std::string& getDescription(unsigned int i)
    Get a single description of the node
    -[more]inline const int getNumDescriptions() const +[more]inline unsigned int getNumDescriptions() const
    Get the number of descriptions of the node
    -[more]void addDescription(const std::string& desc) +[more]void addDescription(const std::string& desc)
    Add a description string to the node
    -[more]inline void setStateSet(osg::StateSet* dstate) +[more]inline void setStateSet(osg::StateSet* dstate)
    set the node's StateSet
    -[more]inline osg::StateSet* getStateSet() -
    return the node's StateSet +[more]osg::StateSet* getOrCreateStateSet() +
    return the node's StateSet, if one does not already exist create it set the node and return the newly created StateSet.
    -[more]inline const osg::StateSet* getStateSet() const -
    return the node's const StateSet +[more]inline osg::StateSet* getStateSet() +
    return the node's StateSet.
    -[more]inline const BoundingSphere& getBound() const +[more]inline const osg::StateSet* getStateSet() const +
    return the node's const StateSet. +
    +[more]inline const BoundingSphere& getBound() const
    get the bounding sphere of node.
    -[more]void dirtyBound() +[more]void dirtyBound()
    Mark this node's bounding sphere dirty.

    Public Members

    -[more]typedef std::vector<Group*> ParentList +[more]typedef std::vector<Group*> ParentList
    A vector of osg::Group pointers which is used to store the parent(s) of node
    -[more]typedef std::vector<std::string> DescriptionList +[more]typedef unsigned int NodeMask +
    +[more]typedef std::vector<std::string> DescriptionList
    A vector of std::string's which are used to describe the object

    Protected Fields

    -[more]mutable BoundingSphere _bsphere +[more]mutable BoundingSphere _bsphere
    -[more]mutable bool _bsphere_computed +[more]mutable bool _bsphere_computed
    -[more]std::string _name +[more]std::string _name
    -[more]ParentList _parents +[more]ParentList _parents
    -[more]ref_ptr<NodeCallback> _appCallback +[more]ref_ptr<NodeCallback> _updateCallback
    -[more]int _numChildrenRequiringAppTraversal +[more]unsigned int _numChildrenRequiringUpdateTraversal
    -[more]bool _cullingActive +[more]ref_ptr<NodeCallback> _cullCallback
    -[more]int _numChildrenWithCullingDisabled +[more]bool _cullingActive
    -[more]osg::ref_ptr<Referenced> _userData +[more]unsigned int _numChildrenWithCullingDisabled
    -[more]NodeMask _nodeMask +[more]unsigned int _numChildrenWithOccluderNodes
    -[more]DescriptionList _descriptions +[more]NodeMask _nodeMask
    -[more]ref_ptr<StateSet> _dstate +[more]DescriptionList _descriptions +
    +[more]ref_ptr<StateSet> _stateset

    Protected Methods

    -[more]virtual ~Node() +[more]virtual ~Node()
    Node destructor.
    -[more]virtual const bool computeBound() const +[more]virtual bool computeBound() const
    Compute the bounding sphere around Node's geometry or children.
    -[more]void addParent(osg::Group* node) +[more]void addParent(osg::Group* node)
    -[more]void removeParent(osg::Group* node) +[more]void removeParent(osg::Group* node)
    -[more]void setNumChildrenRequiringAppTraversal(const int num) +[more]void setNumChildrenRequiringUpdateTraversal(unsigned int num)
    -[more]void setNumChildrenWithCullingDisabled(const int num) +[more]void setNumChildrenWithCullingDisabled(unsigned int num) +
    +[more]void setNumChildrenWithOccluderNodes(unsigned int num)


    Inherited from Object:

    +

    +

    Public Methods

    +oinline void setDataVariance(DataVariance dv) +
    +oinline DataVariance getDataVariance() const +
    +oinline void setUserData(Referenced* obj) +
    +oinline Referenced* getUserData() +
    +oinline const Referenced* getUserData() const +

    + +

    +

    Public Members

    +oenum DataVariance +

    + +

    +

    Protected Fields

    +oDataVariance _dataVariance +
    +oref_ptr<Referenced> _userData +

    +

    Inherited from Referenced:

    @@ -206,11 +273,17 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    +ostatic void setDeleteHandler(DeleteHandler* handler) +
    +ostatic DeleteHandler* getDeleteHandler() +
    oinline void ref() const
    -oinline void unref() const +oinline void unref_nodelete() const
    -oinline const int referenceCount() const +oinline int referenceCount() const +
    +oinline void unref() const

    @@ -228,234 +301,301 @@ Provides interface for most common node operations (Composite Pattern). - +
    o Node()
    Construct a node. Initialize the parent list to empty, node name to "" and bounding sphere dirty flag to true.

    - -

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

    - +

    ovirtual Object* cloneType() const
    clone the an object of the same type as the node

    - +

    ovirtual Object* clone(const CopyOp& copyop) const
    return a clone of a node, with Object* return type

    - +

    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 node's library +

    - +

    ovirtual const char* className() const
    return the name of the node's class type

    + + +

    ovirtual Group* asGroup() +
    convert 'this' into a Group pointer if Node is a Group, otherwise return 0. +Equivalent to dynamic_cast(this). +

    + + +

    ovirtual const Group* asGroup() const +
    convert 'const this' into a const Group pointer if Node is a Group, otherwise return 0. +Equivalent to dynamic_cast(this). +

    + + +

    ovirtual Transform* asTransform() +
    convert 'this' into a Transform pointer if Node is a Transform, otherwise return 0. +Equivalent to dynamic_cast(this). +

    + + +

    ovirtual const Transform* asTransform() const +
    convert 'const this' into a const Transform pointer if Node is a Transform, otherwise return 0. +Equivalent to dynamic_cast(this). +

    - +

    ovirtual void accept(NodeVisitor& nv)
    Visitor Pattern : calls the apply method of a NodeVisitor with this node's type

    - +

    ovirtual void ascend(NodeVisitor& nv)
    Traverse upwards : calls parents' accept method with NodeVisitor

    - +

    ovirtual void traverse(NodeVisitor& )
    Traverse downwards : calls children's accept method with NodeVisitor

    - -

    oinline void setName( const std::string& name ) + +
    oinline void setName( const std::string& name )
    Set the name of node using C++ style string

    - -

    oinline void setName( const char* name ) + +
    oinline void setName( const char* name )
    Set the name of node using a C style string

    - +

    oinline const std::string& getName() const
    Get the name of node

    - +

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

    - -

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

    - -

    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 Group* getParent(const int i) + +
    oinline Group* getParent(unsigned int i)

    - -

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

    - -

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

    + + +

    ovoid setUpdateCallback(NodeCallback* nc) +
    Set update node callback, called during update traversal. +

    + + +

    oinline NodeCallback* getUpdateCallback() +
    Get update node callback, called during update traversal. +

    + + +

    oinline const NodeCallback* getUpdateCallback() const +
    Get const update node callback, called during update traversal. +

    - +

    ovoid setAppCallback(NodeCallback* nc) -
    Set app node callback, called during app traversal. +
    deprecated.

    - +

    oinline NodeCallback* getAppCallback() -
    Get app node callback, called during app traversal. +
    deprecated.

    - +

    oinline const NodeCallback* getAppCallback() const -
    Get const app node callback, called during app traversal. +
    deprecated.

    - - -

    oinline const int getNumChildrenRequiringAppTraversal() const + + +
    oinline unsigned int getNumChildrenRequiringUpdateTraversal() const
    Get the number of Children of this node which require App traversal, since they have an AppCallback attached to them or their children

    + + +

    ovoid setCullCallback(NodeCallback* nc) +
    Set cull node callback, called during cull traversal. +

    + + +

    oinline NodeCallback* getCullCallback() +
    Get cull node callback, called during cull traversal. +

    + + +

    oinline const NodeCallback* getCullCallback() const +
    Get const cull node callback, called during cull traversal. +

    - -

    ovoid setCullingActive(const bool active) + +
    ovoid setCullingActive(bool active)
    Set the view frustum/small feature culling of this node to be active or inactive. The default value to true for _cullingActive. Used a guide to the cull traversal.

    - -

    oinline const bool getCullingActive() const -
    Get the view frustum/small feature _cullingActive flag. Used a guide + +
    oinline bool getCullingActive() const +
    Get the view frustum/small feature _cullingActive flag for this node. Used a guide to the cull traversal.

    - -

    oinline const int getNumChildrenWithCullingDisabled() const + +
    oinline unsigned int getNumChildrenWithCullingDisabled() const
    Get the number of Children of this node which have culling disabled

    - - -

    oinline void setUserData(osg::Referenced* obj) -
    -Set user data, data must be subclased from Referenced to allow -automatic memory handling. If you own data isn't directly -subclassed from Referenced then create and adapter object -which points to your own objects and handles the memory addressing. + + +
    oinline bool isCullingActive() const +
    Return true if this node can be culled by view frustum, occlusion or small feature culling during the cull traversal. +note, return true only if no children have culling disabled, and the local _cullingActive flag is true.

    - - -

    oinline Referenced* getUserData() -
    Get user data + + +
    oinline unsigned int getNumChildrenWithOccluderNodes() const +
    Get the number of Children of this node which are or have OccluderNode's

    - - -

    oinline const Referenced* getUserData() const -
    Get const user data + + +
    obool containsOccluderNodes() const +
    return true if this node is an OccluderNode or the subgraph below this node are OccluderNodes +

    + + +

    otypedef unsigned int NodeMask

    - -

    oinline void setNodeMask(const NodeMask nm) + +
    oinline void setNodeMask(NodeMask nm)
    Set the node mask. Note, node mask is will be replaced by TraversalMask.

    - -

    oinline const NodeMask getNodeMask() const + +
    oinline NodeMask getNodeMask() const
    Get the node Mask. Note, node mask is will be replaced by TraversalMask.

    - +

    otypedef std::vector<std::string> DescriptionList
    A vector of std::string's which are used to describe the object

    - -

    oinline const DescriptionList& getDescriptions() const + +
    oinline const DescriptionList& getDescriptions() const
    Get the description list of the const node

    - -

    oinline DescriptionList& getDescriptions() + +
    oinline DescriptionList& getDescriptions()
    Get the description list of the const node

    - -

    oinline const std::string& getDescription(const int i) const + +
    oinline const std::string& getDescription(unsigned int i) const
    Get a single const description of the const node

    - -

    oinline std::string& getDescription(const int i) + +
    oinline std::string& getDescription(unsigned int i)
    Get a single description of the node

    - -

    oinline const int getNumDescriptions() const + +
    oinline unsigned int getNumDescriptions() const
    Get the number of descriptions of the node

    - +

    ovoid addDescription(const std::string& desc)
    Add a description string to the node

    - +

    oinline void setStateSet(osg::StateSet* dstate)
    set the node's StateSet

    - - -

    oinline osg::StateSet* getStateSet() -
    return the node's StateSet + + +
    oosg::StateSet* getOrCreateStateSet() +
    return the node's StateSet, if one does not already exist create it +set the node and return the newly created StateSet. This ensures +that a valid StateSet is always returned and can be used directly.

    - + +

    oinline osg::StateSet* getStateSet() +
    return the node's StateSet. returns NULL if a stateset is not attached. +

    + +

    oinline const osg::StateSet* getStateSet() const -
    return the node's const StateSet +
    return the node's const StateSet. returns NULL if a stateset is not attached.

    - +

    oinline const BoundingSphere& getBound() const
    get the bounding sphere of node. Using lazy evaluation computes the bounding sphere if it is 'dirty'.

    - +

    ovoid dirtyBound()
    Mark this node's bounding sphere dirty. Forcing it to be computed on the next call to getBound().

    - +

    ovirtual ~Node()
    Node destructor. Note, is protected so that Nodes cannot be deleted other than by being dereferenced and the reference @@ -466,84 +606,91 @@ forcing all nodes to be created on the heap i.e Node* node = new Node().

    - -

    ovirtual const bool computeBound() const + +
    ovirtual bool computeBound() const
    Compute the bounding sphere around Node's geometry or children. This method is automatically called by getBound() when the bounding sphere has been marked dirty via dirtyBound().

    - +

    omutable BoundingSphere _bsphere

    - +

    omutable bool _bsphere_computed

    - +

    ostd::string _name

    - +

    ovoid addParent(osg::Group* node)

    - +

    ovoid removeParent(osg::Group* node)

    - -

    oParentList _parents + +
    oParentList _parents

    - - -

    oref_ptr<NodeCallback> _appCallback + + +
    oref_ptr<NodeCallback> _updateCallback

    - - -

    oint _numChildrenRequiringAppTraversal + + +
    ounsigned int _numChildrenRequiringUpdateTraversal

    - - -

    ovoid setNumChildrenRequiringAppTraversal(const int num) + + +
    ovoid setNumChildrenRequiringUpdateTraversal(unsigned int num) +

    + + +

    oref_ptr<NodeCallback> _cullCallback

    - +

    obool _cullingActive

    - -

    oint _numChildrenWithCullingDisabled + +
    ounsigned int _numChildrenWithCullingDisabled

    - -

    ovoid setNumChildrenWithCullingDisabled(const int num) + +
    ovoid setNumChildrenWithCullingDisabled(unsigned int num)

    - - -

    oosg::ref_ptr<Referenced> _userData + + +
    ounsigned int _numChildrenWithOccluderNodes +

    + + +

    ovoid setNumChildrenWithOccluderNodes(unsigned int num)

    - -

    oNodeMask _nodeMask + +
    oNodeMask _nodeMask

    - -

    oDescriptionList _descriptions + +
    oDescriptionList _descriptions

    - - -

    oref_ptr<StateSet> _dstate + + +
    oref_ptr<StateSet> _stateset


    Direct child classes: -
    LightSource
    -Group
    +
    Group
    Geode
    -
    Friends:
    class osg::Group

    Alphabetic index HTML hierarchy of classes or Java


    +
    Friends:
    class osg::Group
    class osg::Drawable

    Alphabetic index HTML hierarchy of classes or Java



    This page was generated with the help of DOC++. diff --git a/doc/doc++/osg/NodeAcceptOp.html b/doc/doc++/osg/NodeAcceptOp.html index 82897b169..9eef73b54 100644 --- a/doc/doc++/osg/NodeAcceptOp.html +++ b/doc/doc++/osg/NodeAcceptOp.html @@ -3,7 +3,7 @@ struct osg::NodeAcceptOp - + @@ -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,20 +29,20 @@
    - +
    oNodeVisitor& _nv

    - +

    o NodeAcceptOp(NodeVisitor& nv)

    - -

    ovoid operator () (Node* node) + +
    ovoid operator () (Node* node)

    - -

    ovoid operator () (ref_ptr<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 355b360a5..1a68055de 100644 --- a/doc/doc++/osg/NodeCallback.html +++ b/doc/doc++/osg/NodeCallback.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::NodeCallback - + @@ -11,10 +11,10 @@

    Inheritance:

    - - - - + + + +
    @@ -22,28 +22,70 @@

    Public Fields

    -[more]ref_ptr<NodeCallback> _nestedCallback +[more]ref_ptr<NodeCallback> _nestedCallback

    Public Methods

    -[more] NodeCallback() +[more] NodeCallback()
    -[more]virtual ~NodeCallback() +[more] NodeCallback(const NodeCallback&, const CopyOp&)
    -[more]virtual void operator()(Node* node, NodeVisitor* nv) -
    Callback method call by the NodeVisitor when visiting a node +[more]META_Object(osg, NodeCallback) ()(Node* node, NodeVisitor* nv)
    -[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) +

    + +

    +

    Protected Methods

    +[more]virtual ~NodeCallback() +

    + +
    +

    Inherited from Object:

    +
    +

    +

    Public Methods

    +ovirtual Object* cloneType() const +
    +ovirtual Object* clone(const CopyOp&) const +
    +ovirtual bool isSameKindAs(const Object*) const +
    +ovirtual const char* libraryName() const +
    +ovirtual const char* className() const +
    +oinline void setDataVariance(DataVariance dv) +
    +oinline DataVariance getDataVariance() const +
    +oinline void setUserData(Referenced* obj) +
    +oinline Referenced* getUserData() +
    +oinline const Referenced* getUserData() const +

    + +

    +

    Public Members

    +oenum DataVariance +

    + +

    +

    Protected Fields

    +oDataVariance _dataVariance +
    +oref_ptr<Referenced> _userData

    @@ -53,26 +95,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -83,47 +121,49 @@
    - +
    o NodeCallback()

    - - -

    ovirtual ~NodeCallback() + + +
    o NodeCallback(const NodeCallback&, const CopyOp&)

    - - -

    ovirtual void operator()(Node* node, NodeVisitor* nv) -
    Callback method call by the NodeVisitor when visiting a node + + +
    oMETA_Object(osg, NodeCallback) ()(Node* node, NodeVisitor* nv)

    - -

    ovoid traverse(Node* node, NodeVisitor* nv) + +
    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 +

    + + +

    ovirtual ~NodeCallback()


    Direct child classes: -
    AnimationPathCallback
    -AnimationPathCallback
    +
    AnimationPathCallback

    Alphabetic index HTML hierarchy of classes or Java


    diff --git a/doc/doc++/osg/NodePath.html b/doc/doc++/osg/NodePath.html index a2eb69c9a..43550096d 100644 --- a/doc/doc++/osg/NodePath.html +++ b/doc/doc++/osg/NodePath.html @@ -2,12 +2,12 @@ - typedef std::vector<Node*> NodePath - + typedef std::vector<Node*> osg::NodePath + -

    typedef std::vector<Node*> NodePath

    A vector of Nodes pointers which is used to describe the path from a root node to a descendant
    +

    typedef std::vector<Node*> osg::NodePath

    A vector of Nodes pointers which is used to describe the path from a root node to a descendant

    diff --git a/doc/doc++/osg/NodeVisitor.html b/doc/doc++/osg/NodeVisitor.html index 00ec95afe..7fd6c73cc 100644 --- a/doc/doc++/osg/NodeVisitor.html +++ b/doc/doc++/osg/NodeVisitor.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::NodeVisitor - + @@ -23,146 +23,141 @@

    Public Methods

    -[more] NodeVisitor(TraversalMode tm=TRAVERSE_NONE) +[more] NodeVisitor(TraversalMode tm=TRAVERSE_NONE)
    -[more] NodeVisitor(VisitorType type, TraversalMode tm=TRAVERSE_NONE) +[more] NodeVisitor(VisitorType type, 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 setVisitorType(VisitorType type) +[more]inline void setVisitorType(VisitorType type)
    Set the VisitorType, used to distingush different visitors during traversal of the scene, typically used in the Node::traverse() method to select which behaviour to use for different types of traversal/visitors
    -[more]inline VisitorType getVisitorType() const +[more]inline VisitorType getVisitorType() const
    Get the VisitorType
    -[more]inline void setTraversalNumber(int fn) +[more]inline void setTraversalNumber(int fn)
    Set the traversal number.
    -[more]inline int getTraversalNumber() const +[more]inline 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(Node::NodeMask mask) +[more]inline void setTraversalMask(Node::NodeMask mask)
    Set the TraversalMask of this NodeVisitor.
    -[more]inline Node::NodeMask getTraversalMask() const +[more]inline Node::NodeMask getTraversalMask() const
    Get the TraversalMask
    -[more]inline void setNodeMaskOverride(Node::NodeMask mask) +[more]inline void setNodeMaskOverride(Node::NodeMask mask)
    Set the NodeMaskOverride mask.
    -[more]inline Node::NodeMask getNodeMaskOverride() const +[more]inline Node::NodeMask getNodeMaskOverride() const
    Get the NodeMaskOverride mask
    -[more]inline bool validNodeMask(const osg::Node& node) const +[more]inline 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(TraversalMode mode) +[more]inline void setTraversalMode(TraversalMode mode)
    Set the traversal mode for Node::traverse() to use when deciding which children of a node to traverse.
    -[more]inline TraversalMode getTraversalMode() const +[more]inline TraversalMode getTraversalMode() const
    Get the traversal mode
    -[more]void setTraversalVisitor(NodeVisitor* nv) -
    Set a visitor to handle traversal. -
    -[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]virtual bool getLocalToWorldMatrix(Matrix& matrix, Node* node) +[more]virtual bool getLocalToWorldMatrix(Matrix& matrix, Node* node)
    Get the Local To World Matrix from the NodePath for specified Transform::Mode, and u
    -[more]virtual bool getWorldToLocalMatrix(Matrix& matrix, Node* node) +[more]virtual bool getWorldToLocalMatrix(Matrix& matrix, Node* node)
    Get the World To Local Matrix from the NodePath for specified Transform::Mode
    -[more]virtual float getDistanceToEyePoint(const Vec3& , bool ) const +[more]virtual osg::Vec3 getEyePoint() const +
    Get the eye point in local coordinates. +
    +[more]virtual float getDistanceToEyePoint(const Vec3& , bool ) const
    Get the distance from a point to the eye point, distance value in local coordinate system.
    -[more]virtual float getDistanceFromEyePoint(const Vec3& , bool ) const +[more]virtual float getDistanceFromEyePoint(const Vec3& , bool ) const
    Get the distance of a point from the eye point, distance value in the eye coordinate system.
    -[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(Group& node) +[more]virtual void apply(Group& node)
    -[more]virtual void apply(Projection& node) +[more]virtual void apply(Projection& node)
    -[more]virtual void apply(ClipNode& node) +[more]virtual void apply(ClipNode& node)
    -[more]virtual void apply(LightSource& node) +[more]virtual void apply(LightSource& node)
    -[more]virtual void apply(Transform& node) +[more]virtual void apply(Transform& node)
    -[more]virtual void apply(DOFTransform& node) +[more]virtual void apply(DOFTransform& node)
    -[more]virtual void apply(MatrixTransform& node) +[more]virtual void apply(MatrixTransform& node)
    -[more]virtual void apply(PositionAttitudeTransform& node) +[more]virtual void apply(PositionAttitudeTransform& node)
    -[more]virtual void apply(Switch& node) +[more]virtual void apply(Switch& node)
    -[more]virtual void apply(Sequence& node) +[more]virtual void apply(Sequence& 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(ClearNode& node) +[more]virtual void apply(ClearNode& node)
    -[more]virtual void apply(OccluderNode& node) +[more]virtual void apply(OccluderNode& node)

    Public Members

    -[more]enum TraversalMode +[more]enum TraversalMode
    -[more]enum VisitorType +[more]enum VisitorType

    Protected Fields

    -[more]VisitorType _visitorType +[more]VisitorType _visitorType
    -[more]int _traversalNumber +[more]int _traversalNumber
    -[more]ref_ptr<FrameStamp> _frameStamp +[more]ref_ptr<FrameStamp> _frameStamp
    -[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

    @@ -172,26 +167,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -216,67 +207,63 @@ not be called.
    - +
    oenum TraversalMode

    - +
    o TRAVERSE_NONE

    - +

    o TRAVERSE_PARENTS

    - +

    o TRAVERSE_ALL_CHILDREN

    - +

    o TRAVERSE_ACTIVE_CHILDREN -

    - - -

    o TRAVERSE_VISITOR

    - +
    oenum VisitorType

    - +
    o NODE_VISITOR

    - - -

    o APP_VISITOR + + +
    o UPDATE_VISITOR

    - +

    o COLLECT_OCCLUDER_VISITOR

    - +

    o CULL_VISITOR

    - -
    o NodeVisitor(TraversalMode tm=TRAVERSE_NONE) + +
    o NodeVisitor(TraversalMode tm=TRAVERSE_NONE)

    - -

    o NodeVisitor(VisitorType type, TraversalMode tm=TRAVERSE_NONE) + +
    o NodeVisitor(VisitorType type, 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. @@ -284,39 +271,39 @@ To flush that state for the next traversal than call reset() prior to each traversal.

    - -

    oinline void setVisitorType(VisitorType type) + +
    oinline void setVisitorType(VisitorType type)
    Set the VisitorType, used to distingush different visitors during traversal of the scene, typically used in the Node::traverse() method to select which behaviour to use for different types of traversal/visitors

    - -

    oinline VisitorType getVisitorType() const + +
    oinline VisitorType getVisitorType() const
    Get the VisitorType

    - +

    oinline void setTraversalNumber(int fn)
    Set the traversal number. Typically used to denote the frame count.

    - +

    oinline 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(Node::NodeMask mask)
    Set the TraversalMask of this NodeVisitor. The TraversalMask is used by the NodeVisitor::validNodeMask() method @@ -329,12 +316,12 @@ _nodeMaskOverride to 0xffffffff will allow a visitor to work on all nodes regardless of their own Node::_nodeMask state.

    - +

    oinline Node::NodeMask getTraversalMask() const
    Get the TraversalMask

    - +

    oinline void setNodeMaskOverride(Node::NodeMask mask)
    Set the NodeMaskOverride mask. Used in validNodeMask() to determine whether to operate on a node or its @@ -343,13 +330,13 @@ Typically used to force on nodes which may have been switched off by their own Node::_nodeMask.

    - +

    oinline Node::NodeMask getNodeMaskOverride() const
    Get the NodeMaskOverride mask

    - -

    oinline bool validNodeMask(const osg::Node& node) const + +
    oinline 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. Return true if the result of a bit wise and of the NodeVisitor::_traversalMask @@ -358,8 +345,8 @@ default values for _traversalMask is 0xffffffff, _nodeMaskOverride is 0x0, and osg::Node::_nodeMask is 0xffffffff.

    - -

    ovoid setTraversalMode(TraversalMode mode) + +
    oinline void setTraversalMode(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() @@ -367,32 +354,21 @@ and the new mode is not TRAVERSE_VISITOR then the attached visitor is detached. Default mode is TRAVERSE_NONE.

    - -

    oinline TraversalMode getTraversalMode() const + +
    oinline 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) + +
    oinline void traverse(Node& node)
    Method for handling traversal of a nodes. If you intend to use the visitor for actively traversing the scene graph then make sure the accept() methods call this method unless they handle traversal directly.

    - -

    oinline void pushOntoNodePath(Node* node) + +
    oinline void pushOntoNodePath(Node* node)
    Method called by osg::Node::accept() method before a call the NodeVisitor::apply(). The back of the list will, therefore, be the current node being visited inside the apply(..), @@ -402,7 +378,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(). @@ -410,140 +386,142 @@ Note, the user does not typically call pushNodeOnPath() as it will be called automatically by the Node::accept() method.

    - -

    oNodePath& getNodePath() + +
    oNodePath& getNodePath()
    Get the non const NodePath from the top most node applied down to the current Node being visited

    - -

    oconst NodePath& getNodePath() const + +
    oconst NodePath& getNodePath() const
    Get the const NodePath from the top most node applied down to the current Node being visited

    - -

    ovirtual bool getLocalToWorldMatrix(Matrix& matrix, Node* node) + +
    ovirtual bool getLocalToWorldMatrix(Matrix& matrix, Node* node)
    Get the Local To World Matrix from the NodePath for specified Transform::Mode, and u

    - -

    ovirtual bool getWorldToLocalMatrix(Matrix& matrix, Node* node) + +
    ovirtual bool getWorldToLocalMatrix(Matrix& matrix, Node* node)
    Get the World To Local Matrix from the NodePath for specified Transform::Mode

    + + +

    ovirtual osg::Vec3 getEyePoint() const +
    Get the eye point in local coordinates. +Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. +

    - +

    ovirtual float getDistanceToEyePoint(const Vec3& , bool ) const
    Get the distance from a point to the eye point, distance value in local coordinate system. Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. If the getDistianceFromEyePoint(pos) is not implmented than a default value of 0.0 is returned.

    - +

    ovirtual float getDistanceFromEyePoint(const Vec3& , bool ) const
    Get the distance of a point from the eye point, distance value in the eye coordinate system. Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. If the getDistianceFromEyePoint(pos) is not implmented than a default value of 0.0 is returned.

    - -

    ovirtual void apply(Node& node) + +
    ovirtual void apply(Node& node)

    - +

    ovirtual void apply(Geode& node)

    - +

    ovirtual void apply(Billboard& node)

    - +

    ovirtual void apply(Group& node)

    - +

    ovirtual void apply(Projection& node)

    - +

    ovirtual void apply(ClipNode& node)

    - +

    ovirtual void apply(LightSource& node)

    - +

    ovirtual void apply(Transform& node)

    - +

    ovirtual void apply(DOFTransform& node)

    - +

    ovirtual void apply(MatrixTransform& node)

    - +

    ovirtual void apply(PositionAttitudeTransform& node)

    - +

    ovirtual void apply(Switch& node)

    - +

    ovirtual void apply(Sequence& node)

    - +

    ovirtual void apply(LOD& node)

    - +

    ovirtual void apply(Impostor& node)

    - +

    ovirtual void apply(ClearNode& node)

    - +

    ovirtual void apply(OccluderNode& node)

    - -

    oVisitorType _visitorType + +
    oVisitorType _visitorType

    - +

    oint _traversalNumber

    - +

    oref_ptr<FrameStamp> _frameStamp

    - - -

    oref_ptr<NodeVisitor> _traversalVisitor -

    - -

    oTraversalMode _traversalMode + +
    oTraversalMode _traversalMode

    - +

    oNode::NodeMask _traversalMask

    - +

    oNode::NodeMask _nodeMaskOverride

    - -

    oNodePath _nodePath + +
    oNodePath _nodePath


    Direct child classes: diff --git a/doc/doc++/osg/NotifySeverity.html b/doc/doc++/osg/NotifySeverity.html index b7001be32..0632ee22a 100644 --- a/doc/doc++/osg/NotifySeverity.html +++ b/doc/doc++/osg/NotifySeverity.html @@ -3,7 +3,7 @@ enum osg::NotifySeverity - + @@ -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/OSGUTX_ADD_TESTCASE.html b/doc/doc++/osg/OSGUTX_ADD_TESTCASE.html index 9cc661df9..a24c1f305 100644 --- a/doc/doc++/osg/OSGUTX_ADD_TESTCASE.html +++ b/doc/doc++/osg/OSGUTX_ADD_TESTCASE.html @@ -3,7 +3,7 @@ #define OSGUTX_ADD_TESTCASE - + diff --git a/doc/doc++/osg/OSGUTX_ADD_TESTSUITE.html b/doc/doc++/osg/OSGUTX_ADD_TESTSUITE.html index 38e3e04b8..f9a129314 100644 --- a/doc/doc++/osg/OSGUTX_ADD_TESTSUITE.html +++ b/doc/doc++/osg/OSGUTX_ADD_TESTSUITE.html @@ -3,7 +3,7 @@ #define OSGUTX_ADD_TESTSUITE - + diff --git a/doc/doc++/osg/OSGUTX_AUTOREGISTER_TESTSUITE.html b/doc/doc++/osg/OSGUTX_AUTOREGISTER_TESTSUITE.html index d87af0fd7..bf303f7ae 100644 --- a/doc/doc++/osg/OSGUTX_AUTOREGISTER_TESTSUITE.html +++ b/doc/doc++/osg/OSGUTX_AUTOREGISTER_TESTSUITE.html @@ -3,7 +3,7 @@ #define OSGUTX_AUTOREGISTER_TESTSUITE - + diff --git a/doc/doc++/osg/OSGUTX_AUTOREGISTER_TESTSUITE_AT.html b/doc/doc++/osg/OSGUTX_AUTOREGISTER_TESTSUITE_AT.html index c9dea2859..33ff8d5cb 100644 --- a/doc/doc++/osg/OSGUTX_AUTOREGISTER_TESTSUITE_AT.html +++ b/doc/doc++/osg/OSGUTX_AUTOREGISTER_TESTSUITE_AT.html @@ -3,7 +3,7 @@ #define OSGUTX_AUTOREGISTER_TESTSUITE_AT - + diff --git a/doc/doc++/osg/OSGUTX_BEGIN_TESTSUITE.html b/doc/doc++/osg/OSGUTX_BEGIN_TESTSUITE.html index aea23f523..37499f0e9 100644 --- a/doc/doc++/osg/OSGUTX_BEGIN_TESTSUITE.html +++ b/doc/doc++/osg/OSGUTX_BEGIN_TESTSUITE.html @@ -3,7 +3,7 @@ #define OSGUTX_BEGIN_TESTSUITE - + diff --git a/doc/doc++/osg/OSGUTX_END_TESTSUITE.html b/doc/doc++/osg/OSGUTX_END_TESTSUITE.html index 6df20c99b..960b16ced 100644 --- a/doc/doc++/osg/OSGUTX_END_TESTSUITE.html +++ b/doc/doc++/osg/OSGUTX_END_TESTSUITE.html @@ -3,7 +3,7 @@ #define OSGUTX_END_TESTSUITE - + diff --git a/doc/doc++/osg/OSGUTX_TESTSUITE.html b/doc/doc++/osg/OSGUTX_TESTSUITE.html index 45b7ce9ff..5e8a3aa56 100644 --- a/doc/doc++/osg/OSGUTX_TESTSUITE.html +++ b/doc/doc++/osg/OSGUTX_TESTSUITE.html @@ -3,7 +3,7 @@ #define OSGUTX_TESTSUITE - + diff --git a/doc/doc++/osg/OSGUTX_TEST_E.html b/doc/doc++/osg/OSGUTX_TEST_E.html index c1303681a..b22dc3954 100644 --- a/doc/doc++/osg/OSGUTX_TEST_E.html +++ b/doc/doc++/osg/OSGUTX_TEST_E.html @@ -3,7 +3,7 @@ #define OSGUTX_TEST_E - + diff --git a/doc/doc++/osg/OSGUTX_TEST_F.html b/doc/doc++/osg/OSGUTX_TEST_F.html index d5569116c..c30f06bf7 100644 --- a/doc/doc++/osg/OSGUTX_TEST_F.html +++ b/doc/doc++/osg/OSGUTX_TEST_F.html @@ -3,7 +3,7 @@ #define OSGUTX_TEST_F - + diff --git a/doc/doc++/osg/OSG_GL_DEBUG.html b/doc/doc++/osg/OSG_GL_DEBUG.html index d5b10f3bd..4ff76344f 100644 --- a/doc/doc++/osg/OSG_GL_DEBUG.html +++ b/doc/doc++/osg/OSG_GL_DEBUG.html @@ -3,7 +3,7 @@ #define osg::OSG_GL_DEBUG - + diff --git a/doc/doc++/osg/Object.html b/doc/doc++/osg/Object.html index 682c11db2..412168e3a 100644 --- a/doc/doc++/osg/Object.html +++ b/doc/doc++/osg/Object.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Object - + @@ -11,11 +11,11 @@

    Inheritance:

    - - - - - + + + + +
    @@ -23,57 +23,57 @@

    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* libraryName() const = 0 +[more]virtual const char* libraryName() const = 0
    return the name of the object's library.
    -[more]virtual const char* className() const = 0 +[more]virtual const char* className() const = 0
    return the name of the object's class type.
    -[more]inline void setDataVariance(DataVariance dv) +[more]inline void setDataVariance(DataVariance dv)
    Set the data variance of this object.
    -[more]inline DataVariance getDataVariance() const +[more]inline DataVariance getDataVariance() const
    Get the data variance of this object
    -[more]inline void setUserData(Referenced* obj) +[more]inline void setUserData(Referenced* obj)
    Set user data, data must be subclased from Referenced to allow automatic memory handling.
    -[more]inline Referenced* getUserData() +[more]inline Referenced* getUserData()
    Get user data
    -[more]inline const Referenced* getUserData() const +[more]inline const Referenced* getUserData() const
    Get const user data

    Public Members

    -[more]enum DataVariance +[more]enum DataVariance

    Protected Fields

    -[more]DataVariance _dataVariance +[more]DataVariance _dataVariance
    -[more]ref_ptr<Referenced> _userData +[more]ref_ptr<Referenced> _userData

    Protected Methods

    -[more]virtual ~Object() +[more]virtual ~Object()
    Object destructor.

    @@ -84,26 +84,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -117,7 +113,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 @@ -125,69 +121,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(DataVariance dv) + +
    oinline void setDataVariance(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 DataVariance getDataVariance() const + +
    oinline DataVariance getDataVariance() const
    Get the data variance of this object

    - +

    oinline void setUserData(Referenced* obj)
    Set user data, data must be subclased from Referenced to allow @@ -196,17 +192,17 @@ subclassed from Referenced then create and adapter object which points to your own objects and handles the memory addressing.

    - +

    oinline Referenced* getUserData()
    Get user data

    - +

    oinline const Referenced* getUserData() const
    Get const user data

    - +

    ovirtual ~Object()
    Object destructor. Note, is protected so that Objects cannot be deleted other than by being dereferenced and the reference @@ -217,11 +213,11 @@ forcing all nodes to be created on the heap i.e Node* node = new Node().

    - -

    oDataVariance _dataVariance + +
    oDataVariance _dataVariance

    - +

    oref_ptr<Referenced> _userData


    @@ -230,12 +226,15 @@ forcing all nodes to be created on the heap i.e Node* node StateSet
    StateAttribute
    Shape
    +RefMatrix
    PrimitiveSet
    -Matrix
    +NodeCallback
    +Node
    Image
    Drawable
    ConvexPlanarOccluder
    Array
    +AnimationPath

    Alphabetic index HTML hierarchy of classes or Java


    diff --git a/doc/doc++/osg/OccluderNode.html b/doc/doc++/osg/OccluderNode.html index d21305f58..516db2a77 100644 --- a/doc/doc++/osg/OccluderNode.html +++ b/doc/doc++/osg/OccluderNode.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::OccluderNode - + @@ -11,11 +11,11 @@

    Inheritance:

    - - - - - + + + + +
    @@ -23,33 +23,33 @@

    Public Methods

    -[more] OccluderNode() +[more] OccluderNode()
    -[more] OccluderNode(const OccluderNode&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] OccluderNode(const OccluderNode&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] META_Node(osg, OccluderNode) +[more] META_Node(osg, OccluderNode)
    -[more]void setOccluder(ConvexPlanarOccluder* occluder) +[more]void setOccluder(ConvexPlanarOccluder* occluder)
    Attach a ConvexPlanarOccluder to an OccluderNode
    -[more]ConvexPlanarOccluder* getOccluder() +[more]ConvexPlanarOccluder* getOccluder()
    Get the ConvexPlanarOccluder* attached to a OccluderNode.
    -[more]const ConvexPlanarOccluder* getOccluder() const +[more]const ConvexPlanarOccluder* getOccluder() const
    Get the const ConvexPlanarOccluder* attached to a OccluderNode

    Protected Fields

    -[more]ref_ptr<ConvexPlanarOccluder> _occluder +[more]ref_ptr<ConvexPlanarOccluder> _occluder

    Protected Methods

    -[more]virtual ~OccluderNode() +[more]virtual ~OccluderNode()
    -[more]virtual bool computeBound() const +[more]virtual bool computeBound() const
    Override's Group's computeBound

    @@ -64,35 +64,239 @@
    ovirtual void traverse(NodeVisitor& nv)
    -ovirtual bool addChild( Node* child ) +ovirtual bool addChild( Node* child )
    -ovirtual bool removeChild( Node* child ) +ovirtual bool removeChild( Node* child )
    -ovirtual bool replaceChild( Node* origChild, Node* newChild ) +ovirtual bool removeChild(unsigned int pos, unsigned int numChildrenToRemove=1) +
    +ovirtual bool replaceChild( Node* origChild, Node* newChild )
    oinline unsigned int getNumChildren() const
    -oinline Node* getChild( unsigned int i ) +ovirtual bool setChild( unsigned int i, Node* node )
    -oinline const Node* getChild( unsigned int i ) const +oinline Node* getChild( unsigned int i )
    -oinline bool containsNode( const Node* node ) const +oinline const Node* getChild( unsigned int i ) const
    -oinline ChildList::iterator findNode( const Node* node ) +oinline bool containsNode( const Node* node ) const
    -oinline ChildList::const_iterator findNode( const Node* node ) const -
    -oinline unsigned int findChildNo( const Node* node ) const +oinline unsigned int getChildIndex( const Node* node ) const

    Public Members

    -otypedef std::vector<ref_ptr<Node> > ChildList +otypedef std::vector<ref_ptr<Node> > ChildList

    Protected Fields

    -oChildList _children +oChildList _children +

    + + +

    Inherited from Node:

    +
    +

    +

    Public Methods

    +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 +
    +ovirtual Transform* asTransform() +
    +ovirtual const Transform* asTransform() const +
    +ovirtual void accept(NodeVisitor& nv) +
    +ovirtual void ascend(NodeVisitor& nv) +
    +oinline void setName( const std::string& name ) +
    +oinline void setName( const char* name ) +
    +oinline const std::string& getName() const +
    +oinline const ParentList& getParents() const +
    +oinline ParentList getParents() +
    +oinline Group* getParent(unsigned int i) +
    +oinline const Group* getParent(unsigned int i) const +
    +oinline unsigned int getNumParents() const +
    +ovoid setUpdateCallback(NodeCallback* nc) +
    +oinline NodeCallback* getUpdateCallback() +
    +oinline const NodeCallback* getUpdateCallback() const +
    +ovoid setAppCallback(NodeCallback* nc) +
    +oinline NodeCallback* getAppCallback() +
    +oinline const NodeCallback* getAppCallback() const +
    +oinline unsigned int getNumChildrenRequiringUpdateTraversal() const +
    +ovoid setCullCallback(NodeCallback* nc) +
    +oinline NodeCallback* getCullCallback() +
    +oinline const NodeCallback* getCullCallback() const +
    +ovoid setCullingActive(bool active) +
    +oinline bool getCullingActive() const +
    +oinline unsigned int getNumChildrenWithCullingDisabled() const +
    +oinline bool isCullingActive() const +
    +oinline unsigned int getNumChildrenWithOccluderNodes() const +
    +obool containsOccluderNodes() const +
    +oinline void setNodeMask(NodeMask nm) +
    +oinline NodeMask getNodeMask() const +
    +oinline const DescriptionList& getDescriptions() const +
    +oinline DescriptionList& getDescriptions() +
    +oinline const std::string& getDescription(unsigned int i) const +
    +oinline std::string& getDescription(unsigned int i) +
    +oinline unsigned int getNumDescriptions() const +
    +ovoid addDescription(const std::string& desc) +
    +oinline void setStateSet(osg::StateSet* dstate) +
    +oosg::StateSet* getOrCreateStateSet() +
    +oinline osg::StateSet* getStateSet() +
    +oinline const osg::StateSet* getStateSet() const +
    +oinline const BoundingSphere& getBound() const +
    +ovoid dirtyBound() +

    + +

    +

    Public Members

    +otypedef std::vector<Group*> ParentList +
    +otypedef unsigned int NodeMask +
    +otypedef std::vector<std::string> DescriptionList +

    + +

    +

    Protected Fields

    +omutable BoundingSphere _bsphere +
    +omutable bool _bsphere_computed +
    +ostd::string _name +
    +oParentList _parents +
    +oref_ptr<NodeCallback> _updateCallback +
    +ounsigned int _numChildrenRequiringUpdateTraversal +
    +oref_ptr<NodeCallback> _cullCallback +
    +obool _cullingActive +
    +ounsigned int _numChildrenWithCullingDisabled +
    +ounsigned int _numChildrenWithOccluderNodes +
    +oNodeMask _nodeMask +
    +oDescriptionList _descriptions +
    +oref_ptr<StateSet> _stateset +

    + +

    +

    Protected Methods

    +ovoid addParent(osg::Group* node) +
    +ovoid removeParent(osg::Group* node) +
    +ovoid setNumChildrenRequiringUpdateTraversal(unsigned int num) +
    +ovoid setNumChildrenWithCullingDisabled(unsigned int num) +
    +ovoid setNumChildrenWithOccluderNodes(unsigned int num) +

    + +
    +

    Inherited from Object:

    +
    +

    +

    Public Methods

    +oinline void setDataVariance(DataVariance dv) +
    +oinline DataVariance getDataVariance() const +
    +oinline void setUserData(Referenced* obj) +
    +oinline Referenced* getUserData() +
    +oinline const Referenced* getUserData() const +

    + +

    +

    Public Members

    +oenum DataVariance +

    + +

    +

    Protected Fields

    +oDataVariance _dataVariance +
    +oref_ptr<Referenced> _userData +

    + +
    +

    Inherited from Referenced:

    +
    +

    +

    Public Methods

    +oinline Referenced& operator = (Referenced&) +
    +ostatic void setDeleteHandler(DeleteHandler* handler) +
    +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const +
    +oinline void unref_nodelete() const +
    +oinline int referenceCount() const +
    +oinline void unref() const +

    + +

    +

    Protected Fields

    +omutable int _refCount

    @@ -107,44 +311,44 @@ to represent the different states of a traffic light.
    - +
    o OccluderNode()

    - -

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

    - +

    o META_Node(osg, OccluderNode)

    - +

    ovoid setOccluder(ConvexPlanarOccluder* occluder)
    Attach a ConvexPlanarOccluder to an OccluderNode

    - +

    oConvexPlanarOccluder* getOccluder()
    Get the ConvexPlanarOccluder* attached to a OccluderNode.

    - +

    oconst ConvexPlanarOccluder* getOccluder() const
    Get the const ConvexPlanarOccluder* attached to a OccluderNode

    - +

    ovirtual ~OccluderNode()

    - +

    ovirtual bool computeBound() const
    Override's Group's computeBound

    - +

    oref_ptr<ConvexPlanarOccluder> _occluder

    diff --git a/doc/doc++/osg/Plane.html b/doc/doc++/osg/Plane.html index e31acb576..a1a05152b 100644 --- a/doc/doc++/osg/Plane.html +++ b/doc/doc++/osg/Plane.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Plane - + @@ -23,78 +23,88 @@

    Public Methods

    -[more]inline Plane() +[more]inline Plane()
    -[more]inline Plane(const Plane& pl) +[more]inline Plane(const Plane& pl)
    -[more]inline Plane(float a, float b, float c, float d) +[more]inline Plane(float a, float b, float c, float d)
    -[more]inline Plane(const Vec4& vec) +[more]inline Plane(const Vec4& vec)
    -[more]inline Plane(const Vec3& norm, float d) +[more]inline Plane(const Vec3& norm, 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(float a, float b, float c, float d) +[more]inline void set(float a, float b, float c, float d)
    -[more]inline void set(const Vec4& vec) +[more]inline void set(const Vec4& vec)
    -[more]inline void set(const Vec3& norm, float d) +[more]inline void set(const Vec3& norm, 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 set(const Vec3& norm, const Vec3& point) +[more]inline void set(const Vec3& norm, const Vec3& point)
    -[more]inline void flip() +[more]inline void flip()
    flip/reverse the orientation of the plane
    -[more]inline void makeUnitLength() +[more]inline void makeUnitLength()
    -[more]inline void calculateUpperLowerBBCorners() +[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 bool valid() const +[more]inline bool valid() const
    -[more]inline Vec4& asVec4() +[more]inline bool operator == (const Plane& plane) const
    -[more]inline const Vec4& asVec4() const +[more]inline bool operator != (const Plane& plane) const
    -[more]inline float& operator [] (unsigned int i) +[more]inline bool operator < (const Plane& plane) const
    -[more]inline float operator [] (unsigned int i) const +[more]inline float* ptr()
    -[more]inline osg::Vec3 getNormal() const +[more]inline const float* ptr() const
    -[more]inline float distance(const osg::Vec3& v) const +[more]inline Vec4& asVec4() +
    +[more]inline const Vec4& asVec4() const +
    +[more]inline float& operator [] (unsigned int i) +
    +[more]inline float operator [] (unsigned int i) const +
    +[more]inline osg::Vec3 getNormal() const +
    +[more]inline float distance(const osg::Vec3& v) const
    calculate the distance between a point and the plane
    -[more]inline int intersect(const std::vector<Vec3>& vertices) const +[more]inline 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 int intersect(const BoundingSphere& bs) const +[more]inline int intersect(const BoundingSphere& bs) const
    intersection test between plane and bounding sphere.
    -[more]inline int intersect(const BoundingBox& bb) const +[more]inline 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

    @@ -106,103 +116,123 @@
    - +
    oinline Plane()

    - -

    oinline Plane(const Plane& pl) + +
    oinline Plane(const Plane& pl)

    - -

    oinline Plane(float a, float b, float c, float d) + +
    oinline Plane(float a, float b, float c, float d)

    - +

    oinline Plane(const Vec4& vec)

    - +

    oinline Plane(const Vec3& norm, 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(float a, float b, float c, float d) + +
    oinline void set(float a, float b, float c, float d)

    - +

    oinline void set(const Vec4& vec)

    - +

    oinline void set(const Vec3& norm, float d)

    - +

    oinline void set(const Vec3& v1, const Vec3& v2, const Vec3& v3)

    - +

    oinline void set(const Vec3& norm, const Vec3& point)

    - +

    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 bool valid() const

    + + +

    oinline bool operator == (const Plane& plane) const +

    + + +

    oinline bool operator != (const Plane& plane) const +

    + + +

    oinline bool operator < (const Plane& plane) const +

    + + +

    oinline float* ptr() +

    + + +

    oinline const float* ptr() const +

    - +

    oinline Vec4& asVec4()

    - +

    oinline const Vec4& asVec4() const

    - +

    oinline float& operator [] (unsigned int i)

    - +

    oinline float operator [] (unsigned int i) const

    - +

    oinline osg::Vec3 getNormal() const

    - +

    oinline float distance(const osg::Vec3& v) const
    calculate the distance between a point and the plane

    - +

    oinline int intersect(const std::vector<Vec3>& vertices) const
    intersection test between plane and vertex list return 1 if the bs is completely above plane, @@ -210,7 +240,7 @@ return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane

    - +

    oinline int intersect(const BoundingSphere& bs) const
    intersection test between plane and bounding sphere. return 1 if the bs is completely above plane, @@ -218,7 +248,7 @@ return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane.

    - +

    oinline int intersect(const BoundingBox& bb) const
    intersection test between plane and bounding sphere. return 1 if the bs is completely above plane, @@ -226,7 +256,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 @@ -236,21 +266,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 c59e931b9..7c6e5ee1b 100644 --- a/doc/doc++/osg/Point.html +++ b/doc/doc++/osg/Point.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Point - + @@ -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(osg, 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 getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
    -[more]void setSize(float size) +[more]void setSize(float size)
    -[more]inline float getSize() const +[more]inline float getSize() const
    -[more]void setFadeThresholdSize(float fadeThresholdSize) +[more]void setFadeThresholdSize(float fadeThresholdSize)
    -[more]inline float getFadeThresholdSize() const +[more]inline 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()

    @@ -81,7 +81,7 @@
    ovirtual const char* className() const
    -ovirtual Type getType() const +ovirtual Type getType() const
    ovirtual bool isTextureAttribute() const
    @@ -114,9 +114,9 @@

    Public Methods

    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -132,7 +132,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -144,26 +144,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -175,73 +171,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(osg, 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 getAssociatedModes(std::vector<GLMode>& modes) const + +
    ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

    - -

    ovoid setSize(float size) + +
    ovoid setSize(float size)

    - +

    oinline float getSize() const

    - +

    ovoid setFadeThresholdSize(float fadeThresholdSize)

    - +

    oinline 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 0097395ab..f7c554114 100644 --- a/doc/doc++/osg/PolygonMode.html +++ b/doc/doc++/osg/PolygonMode.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::PolygonMode - + @@ -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(osg, 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(Face face, Mode mode) +[more]void setMode(Face face, Mode mode)
    -[more]Mode getMode(Face face) const +[more]Mode getMode(Face face) const
    -[more]inline bool getFrontAndBack() const +[more]inline 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()

    @@ -78,7 +78,7 @@
    ovirtual const char* className() const
    -ovirtual Type getType() const +ovirtual Type getType() const
    ovirtual bool isTextureAttribute() const
    @@ -88,7 +88,7 @@
    obool operator != (const StateAttribute& rhs) const
    -ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
    ovirtual void compile(State&) const

    @@ -113,9 +113,9 @@

    Public Methods

    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -131,7 +131,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -143,26 +143,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -174,90 +170,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(osg, 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(Face face, Mode mode) + +
    ovoid setMode(Face face, Mode mode)

    - -

    oMode getMode(Face face) const + +
    oMode getMode(Face face) const

    - +

    oinline 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 da113342b..972d44774 100644 --- a/doc/doc++/osg/PolygonOffset.html +++ b/doc/doc++/osg/PolygonOffset.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::PolygonOffset - + @@ -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(osg, 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 getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
    -[more]inline void setFactor(float factor) +[more]inline void setFactor(float factor)
    -[more]inline float getFactor() const +[more]inline float getFactor() const
    -[more]inline void setUnits(float units) +[more]inline void setUnits(float units)
    -[more]inline float getUnits() const +[more]inline 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()

    @@ -73,7 +73,7 @@
    ovirtual const char* className() const
    -ovirtual Type getType() const +ovirtual Type getType() const
    ovirtual bool isTextureAttribute() const
    @@ -106,9 +106,9 @@

    Public Methods

    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -124,7 +124,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -136,26 +136,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -167,57 +163,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(osg, 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 getAssociatedModes(std::vector<GLMode>& modes) const + +
    ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

    - +

    oinline void setFactor(float factor)

    - +

    oinline float getFactor() const

    - +

    oinline void setUnits(float units)

    - +

    oinline float getUnits() const

    - +

    ovirtual void apply(State& state) const

    - +

    ovirtual ~PolygonOffset()

    - +

    ofloat _factor

    - +

    ofloat _units

    diff --git a/doc/doc++/osg/PolygonStipple.html b/doc/doc++/osg/PolygonStipple.html index 28a695cec..785eb16b7 100644 --- a/doc/doc++/osg/PolygonStipple.html +++ b/doc/doc++/osg/PolygonStipple.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::PolygonStipple - + @@ -22,35 +22,35 @@

    Public Methods

    -[more] PolygonStipple() +[more] PolygonStipple()
    -[more] PolygonStipple(const PolygonStipple& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] PolygonStipple(const PolygonStipple& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] META_StateAttribute(osg, PolygonStipple, POLYGONSTIPPLE) +[more] META_StateAttribute(osg, PolygonStipple, POLYGONSTIPPLE)
    -[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 getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
    -[more]void setMask(const GLubyte* mask) +[more]void setMask(const GLubyte* mask)
    set the mask up, copying 128 bytes (32x32 bitfield) from mask into the local _mask
    -[more]inline const GLubyte* getMask() const +[more]inline const GLubyte* getMask() const
    get a pointer to the mask
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

    Protected Fields

    -[more]GLubyte _mask[128] +[more]GLubyte _mask[128]

    Protected Methods

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

    @@ -68,7 +68,7 @@
    ovirtual const char* className() const
    -ovirtual Type getType() const +ovirtual Type getType() const
    ovirtual bool isTextureAttribute() const
    @@ -101,9 +101,9 @@

    Public Methods

    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -119,7 +119,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -131,26 +131,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -161,47 +157,47 @@
    - +
    o PolygonStipple()

    - -

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

    - -

    o META_StateAttribute(osg, PolygonStipple, POLYGONSTIPPLE) + +
    o META_StateAttribute(osg, PolygonStipple, POLYGONSTIPPLE)

    - +

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

    - -

    ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const + +
    ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

    - +

    ovoid setMask(const GLubyte* mask)
    set the mask up, copying 128 bytes (32x32 bitfield) from mask into the local _mask

    - +

    oinline const GLubyte* getMask() const
    get a pointer to the mask

    - +

    ovirtual void apply(State& state) const

    - +

    ovirtual ~PolygonStipple()

    - +

    oGLubyte _mask[128]

    diff --git a/doc/doc++/osg/Polytope.html b/doc/doc++/osg/Polytope.html index 5899345b9..5e428449f 100644 --- a/doc/doc++/osg/Polytope.html +++ b/doc/doc++/osg/Polytope.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Polytope - + @@ -13,104 +13,104 @@

    Public Methods

    -[more]inline Polytope() +[more]inline Polytope()
    -[more]inline Polytope(const Polytope& cv) +[more]inline Polytope(const Polytope& cv)
    -[more]inline Polytope(const PlaneList& pl) +[more]inline Polytope(const PlaneList& pl)
    -[more]inline ~Polytope() +[more]inline ~Polytope()
    -[more]inline void clear() +[more]inline void clear()
    -[more]inline Polytope& operator = (const Polytope& cv) +[more]inline Polytope& operator = (const Polytope& cv)
    -[more]void setToUnitFrustum(bool withNear=true, bool withFar=true) +[more]void setToUnitFrustum(bool withNear=true, bool withFar=true)
    Create a Polytope with is cube, centered at 0,0,0, with sides of 2 units
    -[more]inline void set(const PlaneList& pl) +[more]inline void set(const PlaneList& pl)
    -[more]inline void add(const osg::Plane& pl) +[more]inline void add(const osg::Plane& pl)
    -[more]inline void flip() +[more]inline void flip()
    flip/reverse the orientation of all the planes
    -[more]inline PlaneList& getPlaneList() +[more]inline PlaneList& getPlaneList()
    -[more]inline const PlaneList& getPlaneList() const +[more]inline const PlaneList& getPlaneList() const
    -[more]inline void setReferenceVertexList(VertexList& vertices) +[more]inline void setReferenceVertexList(VertexList& vertices)
    -[more]inline VertexList& getReferenceVertexList() +[more]inline VertexList& getReferenceVertexList()
    -[more]inline const VertexList& getReferenceVertexList() const +[more]inline const VertexList& getReferenceVertexList() const
    -[more]inline void setupMask() +[more]inline void setupMask()
    -[more]inline ClippingMask& getCurrentMask() +[more]inline ClippingMask& getCurrentMask()
    -[more]inline ClippingMask getCurrentMask() const +[more]inline ClippingMask getCurrentMask() const
    -[more]inline void setResultMask(ClippingMask mask) +[more]inline void setResultMask(ClippingMask mask)
    -[more]inline ClippingMask getResultMask() const +[more]inline ClippingMask getResultMask() const
    -[more]MaskStack& getMaskStack() +[more]MaskStack& getMaskStack()
    -[more]const MaskStack& getMaskStack() const +[more]const MaskStack& getMaskStack() const
    -[more]inline void pushCurrentMask() +[more]inline void pushCurrentMask()
    -[more]inline void popCurrentMask() +[more]inline void popCurrentMask()
    -[more]inline bool contains(const osg::Vec3& v) const +[more]inline bool contains(const osg::Vec3& v) const
    Check whether a vertex is contained with clipping set
    -[more]inline bool contains(const std::vector<Vec3>& vertices) +[more]inline bool contains(const std::vector<Vec3>& vertices)
    Check whether any part of vertex list is contained with clipping set
    -[more]inline bool contains(const osg::BoundingSphere& bs) +[more]inline bool contains(const osg::BoundingSphere& bs)
    Check whether any part of a bounding sphere is contained within clipping set.
    -[more]inline bool contains(const osg::BoundingBox& bb) +[more]inline bool contains(const osg::BoundingBox& bb)
    Check whether any part of a bounding box is contained within clipping set.
    -[more]inline bool containsAllOf(const std::vector<Vec3>& vertices) +[more]inline bool containsAllOf(const std::vector<Vec3>& vertices)
    Check whether all of vertex list is contained with clipping set
    -[more]inline bool containsAllOf(const osg::BoundingSphere& bs) +[more]inline bool containsAllOf(const osg::BoundingSphere& bs)
    Check whether the entire bounding sphere is contained within clipping set
    -[more]inline bool containsAllOf(const osg::BoundingBox& bb) +[more]inline bool containsAllOf(const osg::BoundingBox& bb)
    Check whether the entire bounding box is contained within clipping set
    -[more]inline void transform(const osg::Matrix& matrix) +[more]inline void transform(const osg::Matrix& matrix)
    Transform the clipping set by matrix.
    -[more]inline void transformProvidingInverse(const osg::Matrix& matrix) +[more]inline void transformProvidingInverse(const osg::Matrix& matrix)
    Transform the clipping set by provide a pre inverted matrix.

    Public Members

    -[more]typedef unsigned int ClippingMask +[more]typedef unsigned int ClippingMask
    -[more]typedef std::vector<Plane> PlaneList +[more]typedef std::vector<Plane> PlaneList
    -[more]typedef std::vector<Vec3> VertexList +[more]typedef std::vector<Vec3> VertexList
    -[more]typedef fast_back_stack<ClippingMask> MaskStack +[more]typedef fast_back_stack<ClippingMask> MaskStack

    Protected Fields

    -[more]MaskStack _maskStack +[more]MaskStack _maskStack
    -[more]ClippingMask _resultMask +[more]ClippingMask _resultMask
    -[more]PlaneList _planeList +[more]PlaneList _planeList
    -[more]VertexList _referenceVertexList +[more]VertexList _referenceVertexList

    @@ -123,131 +123,131 @@ When adding planes, their normals should point inwards (into the volume) - +
    otypedef unsigned int ClippingMask

    - +

    otypedef std::vector<Plane> PlaneList

    - +

    otypedef std::vector<Vec3> VertexList

    - -

    otypedef fast_back_stack<ClippingMask> MaskStack + +
    otypedef fast_back_stack<ClippingMask> MaskStack

    - +

    oinline Polytope()

    - -

    oinline Polytope(const Polytope& cv) + +
    oinline Polytope(const Polytope& cv)

    - -

    oinline Polytope(const PlaneList& pl) + +
    oinline Polytope(const PlaneList& pl)

    - +

    oinline ~Polytope()

    - +

    oinline void clear()

    - +

    oinline Polytope& operator = (const Polytope& cv)

    - +

    ovoid setToUnitFrustum(bool withNear=true, bool withFar=true)
    Create a Polytope with is cube, centered at 0,0,0, with sides of 2 units

    - -

    oinline void set(const PlaneList& pl) + +
    oinline void set(const PlaneList& pl)

    - +

    oinline void add(const osg::Plane& pl)

    - +

    oinline void flip()
    flip/reverse the orientation of all the planes

    - -

    oinline PlaneList& getPlaneList() + +
    oinline PlaneList& getPlaneList()

    - -

    oinline const PlaneList& getPlaneList() const + +
    oinline const PlaneList& getPlaneList() const

    - -

    oinline void setReferenceVertexList(VertexList& vertices) + +
    oinline void setReferenceVertexList(VertexList& vertices)

    - -

    oinline VertexList& getReferenceVertexList() + +
    oinline VertexList& getReferenceVertexList()

    - -

    oinline const VertexList& getReferenceVertexList() const + +
    oinline const VertexList& getReferenceVertexList() const

    - +

    oinline void setupMask()

    - -

    oinline ClippingMask& getCurrentMask() + +
    oinline ClippingMask& getCurrentMask()

    - -

    oinline ClippingMask getCurrentMask() const + +
    oinline ClippingMask getCurrentMask() const

    - -

    oinline void setResultMask(ClippingMask mask) + +
    oinline void setResultMask(ClippingMask mask)

    - -

    oinline ClippingMask getResultMask() const + +
    oinline ClippingMask getResultMask() const

    - -

    oMaskStack& getMaskStack() + +
    oMaskStack& getMaskStack()

    - -

    oconst MaskStack& getMaskStack() const + +
    oconst MaskStack& getMaskStack() const

    - +

    oinline void pushCurrentMask()

    - +

    oinline void popCurrentMask()

    - +

    oinline bool contains(const osg::Vec3& v) const
    Check whether a vertex is contained with clipping set

    - +

    oinline bool contains(const std::vector<Vec3>& vertices)
    Check whether any part of vertex list is contained with clipping set

    - +

    oinline bool contains(const osg::BoundingSphere& bs)
    Check whether any part of a bounding sphere is contained within clipping set. Using a mask to determine which planes should be used for the check, and @@ -256,7 +256,7 @@ of any internal objects. This feature is used in osgUtil::CullVisitor to prevent redundant plane checking.

    - +

    oinline bool contains(const osg::BoundingBox& bb)
    Check whether any part of a bounding box is contained within clipping set. Using a mask to determine which planes should be used for the check, and @@ -265,22 +265,22 @@ of any internal objects. This feature is used in osgUtil::CullVisitor to prevent redundant plane checking.

    - +

    oinline bool containsAllOf(const std::vector<Vec3>& vertices)
    Check whether all of vertex list is contained with clipping set

    - +

    oinline bool containsAllOf(const osg::BoundingSphere& bs)
    Check whether the entire bounding sphere is contained within clipping set

    - +

    oinline bool containsAllOf(const osg::BoundingBox& bb)
    Check whether the entire bounding box is contained within clipping set

    - +

    oinline void transform(const osg::Matrix& matrix)
    Transform the clipping set by matrix. Note, this operations carries out the calculation of the inverse of the matrix since to transforms @@ -290,26 +290,26 @@ calculated elsewhere then use transformProvidingInverse() instead. See http://www.worldserver.com/turk/computergraphics/NormalTransformations.pdf

    - +

    oinline void transformProvidingInverse(const osg::Matrix& matrix)
    Transform the clipping set by provide a pre inverted matrix. see transform for details.

    - -

    oMaskStack _maskStack + +
    oMaskStack _maskStack

    - -

    oClippingMask _resultMask + +
    oClippingMask _resultMask

    - -

    oPlaneList _planeList + +
    oPlaneList _planeList

    - -

    oVertexList _referenceVertexList + +
    oVertexList _referenceVertexList


    This class has no child classes.
    diff --git a/doc/doc++/osg/PositionAttitudeTransform.html b/doc/doc++/osg/PositionAttitudeTransform.html index d6ab6229d..ba72e017d 100644 --- a/doc/doc++/osg/PositionAttitudeTransform.html +++ b/doc/doc++/osg/PositionAttitudeTransform.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::PositionAttitudeTransform - + @@ -11,11 +11,11 @@

    Inheritance:

    - - - - - + + + + +
    @@ -23,42 +23,45 @@

    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(osg, PositionAttitudeTransform) +[more] META_Node(osg, PositionAttitudeTransform)
    -[more]void setPosition(const Vec3& pos) +[more]virtual PositionAttitudeTransform* asPositionAttitudeTransform()
    -[more]const Vec3& getPosition() const +[more]virtual const PositionAttitudeTransform* asPositionAttitudeTransform() const
    -[more]void setAttitude(const Quat& quat) +[more]inline void setPosition(const Vec3& pos)
    -[more]const Quat& getAttitude() const +[more]inline const Vec3& getPosition() const
    -[more]void setPivotPoint(const Vec3& pivot) +[more]inline void setAttitude(const Quat& quat)
    -[more]const Vec3& getPivotPoint() const +[more]inline const Quat& getAttitude() const
    -[more]virtual bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const +[more]inline void setPivotPoint(const Vec3& pivot)
    -[more]virtual bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const -

    - -

    -

    Public Members

    -class SG_EXPORT AnimationPathCallback: public NodeCallback -
    Callback which can be attached to a PositionAttitudeTransform as an app callback to allow it to follow the path defined by a AnimationPath +[more]inline const Vec3& getPivotPoint() const +
    +[more]virtual bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const +
    +[more]virtual bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const

    Protected Fields

    -[more]Vec3 _position +[more]Vec3 _position
    -[more]Quat _attitude +[more]Quat _attitude
    -[more]Vec3 _pivotPoint +[more]Vec3 _pivotPoint +

    + +

    +

    Protected Methods

    +[more]virtual ~PositionAttitudeTransform()

    @@ -70,15 +73,23 @@ class SG_EXPORT AnimationPathCallback
    ovirtual const Transform* asTransform() const
    -ovoid setReferenceFrame(ReferenceFrame rf) +ovirtual MatrixTransform* asMatrixTransform()
    -oReferenceFrame getReferenceFrame() const +ovirtual const MatrixTransform* asMatrixTransform() const
    -ovoid setComputeTransformCallback(ComputeTransformCallback* ctc) +ovirtual DOFTransform* asDOFTransform()
    -oComputeTransformCallback* getComputeTransformCallback() +ovirtual const DOFTransform* asDOFTransform() const
    -oconst ComputeTransformCallback* getComputeTransformCallback() const +ovoid setReferenceFrame(ReferenceFrame rf) +
    +oReferenceFrame getReferenceFrame() const +
    +ovoid setComputeTransformCallback(ComputeTransformCallback* ctc) +
    +oComputeTransformCallback* getComputeTransformCallback() +
    +oconst ComputeTransformCallback* getComputeTransformCallback() const
    oinline bool getLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const
    @@ -89,14 +100,14 @@ class SG_EXPORT AnimationPathCallback

    Public Members

    oenum ReferenceFrame
    -ostruct ComputeTransformCallback: public osg::Referenced +ostruct ComputeTransformCallback: public virtual osg::Referenced

    Protected Fields

    -oref_ptr<ComputeTransformCallback> _computeTransformCallback +oref_ptr<ComputeTransformCallback> _computeTransformCallback
    -oReferenceFrame _referenceFrame +oReferenceFrame _referenceFrame

    @@ -115,35 +126,235 @@ class SG_EXPORT AnimationPathCallback
    ovirtual void traverse(NodeVisitor& nv)
    -ovirtual bool addChild( Node* child ) +ovirtual bool addChild( Node* child )
    -ovirtual bool removeChild( Node* child ) +ovirtual bool removeChild( Node* child )
    -ovirtual bool replaceChild( Node* origChild, Node* newChild ) +ovirtual bool removeChild(unsigned int pos, unsigned int numChildrenToRemove=1) +
    +ovirtual bool replaceChild( Node* origChild, Node* newChild )
    oinline unsigned int getNumChildren() const
    -oinline Node* getChild( unsigned int i ) +ovirtual bool setChild( unsigned int i, Node* node )
    -oinline const Node* getChild( unsigned int i ) const +oinline Node* getChild( unsigned int i )
    -oinline bool containsNode( const Node* node ) const +oinline const Node* getChild( unsigned int i ) const
    -oinline ChildList::iterator findNode( const Node* node ) +oinline bool containsNode( const Node* node ) const
    -oinline ChildList::const_iterator findNode( const Node* node ) const -
    -oinline unsigned int findChildNo( const Node* node ) const +oinline unsigned int getChildIndex( const Node* node ) const

    Public Members

    -otypedef std::vector<ref_ptr<Node> > ChildList +otypedef std::vector<ref_ptr<Node> > ChildList

    Protected Fields

    -oChildList _children +oChildList _children +

    + + +

    Inherited from Node:

    +
    +

    +

    Public Methods

    +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 +
    +ovirtual void accept(NodeVisitor& nv) +
    +ovirtual void ascend(NodeVisitor& nv) +
    +oinline void setName( const std::string& name ) +
    +oinline void setName( const char* name ) +
    +oinline const std::string& getName() const +
    +oinline const ParentList& getParents() const +
    +oinline ParentList getParents() +
    +oinline Group* getParent(unsigned int i) +
    +oinline const Group* getParent(unsigned int i) const +
    +oinline unsigned int getNumParents() const +
    +ovoid setUpdateCallback(NodeCallback* nc) +
    +oinline NodeCallback* getUpdateCallback() +
    +oinline const NodeCallback* getUpdateCallback() const +
    +ovoid setAppCallback(NodeCallback* nc) +
    +oinline NodeCallback* getAppCallback() +
    +oinline const NodeCallback* getAppCallback() const +
    +oinline unsigned int getNumChildrenRequiringUpdateTraversal() const +
    +ovoid setCullCallback(NodeCallback* nc) +
    +oinline NodeCallback* getCullCallback() +
    +oinline const NodeCallback* getCullCallback() const +
    +ovoid setCullingActive(bool active) +
    +oinline bool getCullingActive() const +
    +oinline unsigned int getNumChildrenWithCullingDisabled() const +
    +oinline bool isCullingActive() const +
    +oinline unsigned int getNumChildrenWithOccluderNodes() const +
    +obool containsOccluderNodes() const +
    +oinline void setNodeMask(NodeMask nm) +
    +oinline NodeMask getNodeMask() const +
    +oinline const DescriptionList& getDescriptions() const +
    +oinline DescriptionList& getDescriptions() +
    +oinline const std::string& getDescription(unsigned int i) const +
    +oinline std::string& getDescription(unsigned int i) +
    +oinline unsigned int getNumDescriptions() const +
    +ovoid addDescription(const std::string& desc) +
    +oinline void setStateSet(osg::StateSet* dstate) +
    +oosg::StateSet* getOrCreateStateSet() +
    +oinline osg::StateSet* getStateSet() +
    +oinline const osg::StateSet* getStateSet() const +
    +oinline const BoundingSphere& getBound() const +
    +ovoid dirtyBound() +

    + +

    +

    Public Members

    +otypedef std::vector<Group*> ParentList +
    +otypedef unsigned int NodeMask +
    +otypedef std::vector<std::string> DescriptionList +

    + +

    +

    Protected Fields

    +omutable BoundingSphere _bsphere +
    +omutable bool _bsphere_computed +
    +ostd::string _name +
    +oParentList _parents +
    +oref_ptr<NodeCallback> _updateCallback +
    +ounsigned int _numChildrenRequiringUpdateTraversal +
    +oref_ptr<NodeCallback> _cullCallback +
    +obool _cullingActive +
    +ounsigned int _numChildrenWithCullingDisabled +
    +ounsigned int _numChildrenWithOccluderNodes +
    +oNodeMask _nodeMask +
    +oDescriptionList _descriptions +
    +oref_ptr<StateSet> _stateset +

    + +

    +

    Protected Methods

    +ovoid addParent(osg::Group* node) +
    +ovoid removeParent(osg::Group* node) +
    +ovoid setNumChildrenRequiringUpdateTraversal(unsigned int num) +
    +ovoid setNumChildrenWithCullingDisabled(unsigned int num) +
    +ovoid setNumChildrenWithOccluderNodes(unsigned int num) +

    + +
    +

    Inherited from Object:

    +
    +

    +

    Public Methods

    +oinline void setDataVariance(DataVariance dv) +
    +oinline DataVariance getDataVariance() const +
    +oinline void setUserData(Referenced* obj) +
    +oinline Referenced* getUserData() +
    +oinline const Referenced* getUserData() const +

    + +

    +

    Public Members

    +oenum DataVariance +

    + +

    +

    Protected Fields

    +oDataVariance _dataVariance +
    +oref_ptr<Referenced> _userData +

    + +
    +

    Inherited from Referenced:

    +
    +

    +

    Public Methods

    +oinline Referenced& operator = (Referenced&) +
    +ostatic void setDeleteHandler(DeleteHandler* handler) +
    +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const +
    +oinline void unref_nodelete() const +
    +oinline int referenceCount() const +
    +oinline void unref() const +

    + +

    +

    Protected Fields

    +omutable int _refCount

    @@ -156,59 +367,71 @@ 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(osg, PositionAttitudeTransform)

    + + +

    ovirtual PositionAttitudeTransform* asPositionAttitudeTransform() +

    + + +

    ovirtual const PositionAttitudeTransform* asPositionAttitudeTransform() const +

    - -

    ovoid setPosition(const Vec3& pos) + +
    oinline void setPosition(const Vec3& pos)

    - -

    oconst Vec3& getPosition() const + +
    oinline const Vec3& getPosition() const

    - -

    ovoid setAttitude(const Quat& quat) + +
    oinline void setAttitude(const Quat& quat)

    - -

    oconst Quat& getAttitude() const + +
    oinline const Quat& getAttitude() const

    - -

    ovoid setPivotPoint(const Vec3& pivot) + +
    oinline void setPivotPoint(const Vec3& pivot)

    - -

    oconst Vec3& getPivotPoint() const + +
    oinline const Vec3& getPivotPoint() const

    - +

    ovirtual bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const

    - +

    ovirtual bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const

    + + +

    ovirtual ~PositionAttitudeTransform() +

    - +

    oVec3 _position

    - +

    oQuat _attitude

    - +

    oVec3 _pivotPoint

    diff --git a/doc/doc++/osg/PrimitiveFunctor.html b/doc/doc++/osg/PrimitiveFunctor.html index 0f60bd6c9..5ff5ca835 100644 --- a/doc/doc++/osg/PrimitiveFunctor.html +++ b/doc/doc++/osg/PrimitiveFunctor.html @@ -3,7 +3,7 @@ class osg::Drawable::PrimitiveFunctor - + @@ -22,25 +22,25 @@

    Public Methods

    -[more]virtual ~PrimitiveFunctor() +[more]virtual ~PrimitiveFunctor()
    -[more]virtual void setVertexArray(unsigned int count, const Vec3* vertices) = 0 +[more]virtual void setVertexArray(unsigned int count, const Vec3* vertices) = 0
    -[more]virtual void drawArrays(GLenum mode, GLint first, GLsizei count) = 0 +[more]virtual void drawArrays(GLenum mode, GLint first, GLsizei count) = 0
    -[more]virtual void drawElements(GLenum mode, GLsizei count, const GLubyte* indices) = 0 +[more]virtual void drawElements(GLenum mode, GLsizei count, const GLubyte* indices) = 0
    -[more]virtual void drawElements(GLenum mode, GLsizei count, const GLushort* indices) = 0 +[more]virtual void drawElements(GLenum mode, GLsizei count, const GLushort* indices) = 0
    -[more]virtual void drawElements(GLenum mode, GLsizei count, const GLuint* indices) = 0 +[more]virtual void drawElements(GLenum mode, GLsizei count, const GLuint* indices) = 0
    -[more]virtual void begin(GLenum mode) = 0 +[more]virtual void begin(GLenum mode) = 0
    -[more]virtual void vertex(const Vec3& vert) = 0 +[more]virtual void vertex(const Vec3& vert) = 0
    -[more]virtual void vertex(float x, float y, float z) = 0 +[more]virtual void vertex(float x, float y, float z) = 0
    -[more]virtual void end() = 0 +[more]virtual void end() = 0

    @@ -51,43 +51,43 @@
    - +
    ovirtual ~PrimitiveFunctor()

    - +

    ovirtual void setVertexArray(unsigned int count, const Vec3* vertices) = 0

    - -

    ovirtual void drawArrays(GLenum mode, GLint first, GLsizei count) = 0 + +
    ovirtual void drawArrays(GLenum mode, GLint first, GLsizei count) = 0

    - +

    ovirtual void drawElements(GLenum mode, GLsizei count, const GLubyte* indices) = 0

    - +

    ovirtual void drawElements(GLenum mode, GLsizei count, const GLushort* indices) = 0

    - +

    ovirtual void drawElements(GLenum mode, GLsizei count, const GLuint* indices) = 0

    - +

    ovirtual void begin(GLenum mode) = 0

    - +

    ovirtual void vertex(const Vec3& vert) = 0

    - -

    ovirtual void vertex(float x, float y, float z) = 0 + +
    ovirtual void vertex(float x, float y, float z) = 0

    - +

    ovirtual void end() = 0


    diff --git a/doc/doc++/osg/PrimitiveSet.html b/doc/doc++/osg/PrimitiveSet.html index c68b53ca6..ba27a1a16 100644 --- a/doc/doc++/osg/PrimitiveSet.html +++ b/doc/doc++/osg/PrimitiveSet.html @@ -3,7 +3,7 @@ class osg::PrimitiveSet - + @@ -22,47 +22,52 @@

    Public Methods

    -[more] PrimitiveSet(Type primType=PrimitiveType, GLenum mode=0) +[more] PrimitiveSet(Type primType=PrimitiveType, GLenum mode=0)
    -[more] PrimitiveSet(const PrimitiveSet& prim, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] PrimitiveSet(const PrimitiveSet& prim, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    -[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
    -[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
    -[more]virtual const char* className() const +[more]virtual const char* className() const
    -[more]Type getType() const +[more]Type getType() const
    -[more]void setMode(GLenum mode) +[more]void setMode(GLenum mode)
    -[more]GLenum getMode() const +[more]GLenum getMode() const
    -[more]virtual void draw() const = 0 +[more]virtual void draw() const = 0
    -[more]virtual void accept(Drawable::PrimitiveFunctor& functor) const = 0 +[more]virtual void accept(Drawable::PrimitiveFunctor& functor) const = 0
    -[more]virtual unsigned int index(unsigned int pos) const = 0 +[more]virtual unsigned int index(unsigned int pos) const = 0
    -[more]virtual unsigned int getNumIndices() const = 0 +[more]virtual unsigned int getNumIndices() const = 0
    -[more]virtual void offsetIndices(int offset) = 0 +[more]virtual void offsetIndices(int offset) = 0
    -[more]virtual unsigned int getNumPrimitives() const +[more]virtual unsigned int getNumPrimitives() const

    Public Members

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

    Protected Fields

    -[more]Type _primitiveType +[more]Type _primitiveType
    -[more]GLenum _mode +[more]GLenum _mode +

    + +

    +

    Protected Methods

    +[more]virtual ~PrimitiveSet()

    @@ -74,9 +79,9 @@
    ovirtual Object* clone(const CopyOp&) const
    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -92,7 +97,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -104,26 +109,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -134,143 +135,147 @@
    - +
    oenum Type

    - +
    o PrimitiveType

    - +

    o DrawArraysPrimitiveType

    - +

    o DrawArrayLengthsPrimitiveType

    - +

    o DrawElementsUBytePrimitiveType

    - +

    o DrawElementsUShortPrimitiveType

    - +

    o DrawElementsUIntPrimitiveType

    - +
    oenum Mode

    - +
    o POINTS

    - +

    o LINES

    - +

    o LINE_STRIP

    - +

    o LINE_LOOP

    - +

    o TRIANGLES

    - +

    o TRIANGLE_STRIP

    - +

    o TRIANGLE_FAN

    - +

    o QUADS

    - +

    o QUAD_STRIP

    - +

    o POLYGON

    - -
    o PrimitiveSet(Type primType=PrimitiveType, GLenum mode=0) + +
    o PrimitiveSet(Type primType=PrimitiveType, GLenum mode=0)

    - -

    o PrimitiveSet(const PrimitiveSet& prim, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o PrimitiveSet(const PrimitiveSet& prim, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

    - +

    ovirtual bool isSameKindAs(const Object* obj) const

    - +

    ovirtual const char* libraryName() const

    - +

    ovirtual const char* className() const

    - -

    oType getType() const + +
    oType getType() const

    - +

    ovoid setMode(GLenum mode)

    - +

    oGLenum getMode() const

    - +

    ovirtual void draw() const = 0

    - +

    ovirtual void accept(Drawable::PrimitiveFunctor& functor) const = 0

    - +

    ovirtual unsigned int index(unsigned int pos) const = 0

    - +

    ovirtual unsigned int getNumIndices() const = 0

    - +

    ovirtual void offsetIndices(int offset) = 0

    - +

    ovirtual unsigned int getNumPrimitives() const

    + + +

    ovirtual ~PrimitiveSet() +

    - -

    oType _primitiveType + +
    oType _primitiveType

    - +

    oGLenum _mode


    diff --git a/doc/doc++/osg/Projection.html b/doc/doc++/osg/Projection.html index 1de91c104..77589aca8 100644 --- a/doc/doc++/osg/Projection.html +++ b/doc/doc++/osg/Projection.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Projection - + @@ -11,11 +11,11 @@

    Inheritance:

    - - - - - + + + + +
    @@ -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(osg, 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]Matrix _matrix

    Protected Methods

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

    @@ -66,35 +66,35 @@
    ovirtual void traverse(NodeVisitor& nv)
    -ovirtual bool addChild( Node* child ) +ovirtual bool addChild( Node* child )
    -ovirtual bool removeChild( Node* child ) +ovirtual bool removeChild( Node* child )
    -ovirtual bool replaceChild( Node* origChild, Node* newChild ) +ovirtual bool removeChild(unsigned int pos, unsigned int numChildrenToRemove=1) +
    +ovirtual bool replaceChild( Node* origChild, Node* newChild )
    oinline unsigned int getNumChildren() const
    -oinline Node* getChild( unsigned int i ) +ovirtual bool setChild( unsigned int i, Node* node )
    -oinline const Node* getChild( unsigned int i ) const +oinline Node* getChild( unsigned int i )
    -oinline bool containsNode( const Node* node ) const +oinline const Node* getChild( unsigned int i ) const
    -oinline ChildList::iterator findNode( const Node* node ) +oinline bool containsNode( const Node* node ) const
    -oinline ChildList::const_iterator findNode( const Node* node ) const -
    -oinline unsigned int findChildNo( const Node* node ) const +oinline unsigned int getChildIndex( const Node* node ) const

    Public Members

    -otypedef std::vector<ref_ptr<Node> > ChildList +otypedef std::vector<ref_ptr<Node> > ChildList

    Protected Fields

    -oChildList _children +oChildList _children

    @@ -102,6 +102,210 @@ ovirtual bool computeBound() const

    + +

    Inherited from Node:

    +
    +

    +

    Public Methods

    +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 +
    +ovirtual Transform* asTransform() +
    +ovirtual const Transform* asTransform() const +
    +ovirtual void accept(NodeVisitor& nv) +
    +ovirtual void ascend(NodeVisitor& nv) +
    +oinline void setName( const std::string& name ) +
    +oinline void setName( const char* name ) +
    +oinline const std::string& getName() const +
    +oinline const ParentList& getParents() const +
    +oinline ParentList getParents() +
    +oinline Group* getParent(unsigned int i) +
    +oinline const Group* getParent(unsigned int i) const +
    +oinline unsigned int getNumParents() const +
    +ovoid setUpdateCallback(NodeCallback* nc) +
    +oinline NodeCallback* getUpdateCallback() +
    +oinline const NodeCallback* getUpdateCallback() const +
    +ovoid setAppCallback(NodeCallback* nc) +
    +oinline NodeCallback* getAppCallback() +
    +oinline const NodeCallback* getAppCallback() const +
    +oinline unsigned int getNumChildrenRequiringUpdateTraversal() const +
    +ovoid setCullCallback(NodeCallback* nc) +
    +oinline NodeCallback* getCullCallback() +
    +oinline const NodeCallback* getCullCallback() const +
    +ovoid setCullingActive(bool active) +
    +oinline bool getCullingActive() const +
    +oinline unsigned int getNumChildrenWithCullingDisabled() const +
    +oinline bool isCullingActive() const +
    +oinline unsigned int getNumChildrenWithOccluderNodes() const +
    +obool containsOccluderNodes() const +
    +oinline void setNodeMask(NodeMask nm) +
    +oinline NodeMask getNodeMask() const +
    +oinline const DescriptionList& getDescriptions() const +
    +oinline DescriptionList& getDescriptions() +
    +oinline const std::string& getDescription(unsigned int i) const +
    +oinline std::string& getDescription(unsigned int i) +
    +oinline unsigned int getNumDescriptions() const +
    +ovoid addDescription(const std::string& desc) +
    +oinline void setStateSet(osg::StateSet* dstate) +
    +oosg::StateSet* getOrCreateStateSet() +
    +oinline osg::StateSet* getStateSet() +
    +oinline const osg::StateSet* getStateSet() const +
    +oinline const BoundingSphere& getBound() const +
    +ovoid dirtyBound() +

    + +

    +

    Public Members

    +otypedef std::vector<Group*> ParentList +
    +otypedef unsigned int NodeMask +
    +otypedef std::vector<std::string> DescriptionList +

    + +

    +

    Protected Fields

    +omutable BoundingSphere _bsphere +
    +omutable bool _bsphere_computed +
    +ostd::string _name +
    +oParentList _parents +
    +oref_ptr<NodeCallback> _updateCallback +
    +ounsigned int _numChildrenRequiringUpdateTraversal +
    +oref_ptr<NodeCallback> _cullCallback +
    +obool _cullingActive +
    +ounsigned int _numChildrenWithCullingDisabled +
    +ounsigned int _numChildrenWithOccluderNodes +
    +oNodeMask _nodeMask +
    +oDescriptionList _descriptions +
    +oref_ptr<StateSet> _stateset +

    + +

    +

    Protected Methods

    +ovoid addParent(osg::Group* node) +
    +ovoid removeParent(osg::Group* node) +
    +ovoid setNumChildrenRequiringUpdateTraversal(unsigned int num) +
    +ovoid setNumChildrenWithCullingDisabled(unsigned int num) +
    +ovoid setNumChildrenWithOccluderNodes(unsigned int num) +

    + +
    +

    Inherited from Object:

    +
    +

    +

    Public Methods

    +oinline void setDataVariance(DataVariance dv) +
    +oinline DataVariance getDataVariance() const +
    +oinline void setUserData(Referenced* obj) +
    +oinline Referenced* getUserData() +
    +oinline const Referenced* getUserData() const +

    + +

    +

    Public Members

    +oenum DataVariance +

    + +

    +

    Protected Fields

    +oDataVariance _dataVariance +
    +oref_ptr<Referenced> _userData +

    + +
    +

    Inherited from Referenced:

    +
    +

    +

    Public Methods

    +oinline Referenced& operator = (Referenced&) +
    +ostatic void setDeleteHandler(DeleteHandler* handler) +
    +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const +
    +oinline void unref_nodelete() const +
    +oinline int referenceCount() const +
    +oinline void unref() const +

    + +

    +

    Protected Fields

    +omutable int _refCount +

    +
    @@ -111,49 +315,49 @@
    - +
    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(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 + +
    oMatrix _matrix


    This class has no child classes.
    diff --git a/doc/doc++/osg/QualifiedTestPrinter.html b/doc/doc++/osg/QualifiedTestPrinter.html index c76ed2863..40a2f5784 100644 --- a/doc/doc++/osg/QualifiedTestPrinter.html +++ b/doc/doc++/osg/QualifiedTestPrinter.html @@ -3,7 +3,7 @@ class SG_EXPORT osgUtx::QualifiedTestPrinter - + @@ -23,7 +23,7 @@

    Public Methods

    -[more]virtual bool visit( TestCase* pTest ) +[more]virtual bool visit( TestCase* pTest )

    @@ -52,7 +52,7 @@ qualified tests
    - +
    ovirtual bool visit( TestCase* pTest )

    diff --git a/doc/doc++/osg/Quat.html b/doc/doc++/osg/Quat.html index 465d75a40..05db00929 100644 --- a/doc/doc++/osg/Quat.html +++ b/doc/doc++/osg/Quat.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Quat - + @@ -13,130 +13,130 @@

    Public Fields

    -[more]Vec4 _fv +[more]Vec4 _fv

    Public Methods

    -[more]inline Quat() +[more]inline Quat()
    -[more]inline Quat( float x, float y, float z, float w ) +[more]inline Quat( float x, float y, float z, float w )
    -[more]inline Quat( const Vec4& v ) +[more]inline Quat( const Vec4& v )
    -[more]inline Quat( float angle, const Vec3& axis) +[more]inline Quat( float angle, const Vec3& axis)
    -[more]inline Quat( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3) +[more]inline Quat( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)
    -[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(float x, float y, float z, float w) +[more]inline void set(float x, float y, float z, float w)
    -[more]inline void set(const osg::Vec4& v) +[more]inline void set(const osg::Vec4& v)
    -[more]inline float& operator [] (int i) +[more]inline float& operator [] (int i)
    -[more]inline float operator [] (int i) const +[more]inline 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 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]bool zeroRotation() const +[more]bool zeroRotation() const
    return true if the Quat represents a zero rotation, and therefore can be ignored in computations
    -[more]inline const Quat operator * (float rhs) const +[more]inline const Quat operator * (float rhs) const
    Multiply by scalar
    -[more]inline Quat& operator *= (float rhs) +[more]inline Quat& operator *= (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 / (float rhs) const +[more]inline const Quat operator / (float rhs) const
    Divide by scalar
    -[more]inline Quat& operator /= (float rhs) +[more]inline Quat& operator /= (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]float length() const +[more]float length() const
    Length of the quaternion = sqrt( vec .
    -[more]float length2() const +[more]float length2() const
    Length of the quaternion = vec .
    -[more]inline Quat conj() const +[more]inline 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( float angle, float x, float y, float z ) +[more]void makeRotate( float angle, float x, float y, float z )
    -[more]void makeRotate( float angle, const Vec3& vec ) +[more]void makeRotate( float angle, const Vec3& vec )
    -[more]void makeRotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3) +[more]void makeRotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)
    -[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 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( float t, const Quat& from, const Quat& to) +[more]void slerp( 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

    @@ -149,194 +149,194 @@
    - +
    oVec4 _fv

    - +

    oinline Quat()

    - -

    oinline Quat( float x, float y, float z, float w ) + +
    oinline Quat( float x, float y, float z, float w )

    - +

    oinline Quat( const Vec4& v )

    - +

    oinline Quat( float angle, const Vec3& axis)

    - +

    oinline Quat( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)

    - +

    oinline Vec4& asVec4()

    - +

    oinline const Vec4& asVec4() const

    - +

    oinline const Vec3 asVec3() const

    - -

    oinline void set(float x, float y, float z, float w) + +
    oinline void set(float x, float y, float z, float w)

    - +

    oinline void set(const osg::Vec4& v)

    - +

    oinline float& operator [] (int i)

    - +

    oinline float operator [] (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

    - +

    obool zeroRotation() const
    return true if the Quat represents a zero rotation, and therefore can be ignored in computations

    - +

    oinline const Quat operator * (float rhs) const
    Multiply by scalar

    - +

    oinline Quat& operator *= (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 / (float rhs) const
    Divide by scalar

    - +

    oinline Quat& operator /= (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

    - +

    ofloat length() const
    Length of the quaternion = sqrt( vec . vec )

    - +

    ofloat length2() const
    Length of the quaternion = vec . vec

    - +

    oinline Quat conj() const
    Conjugate

    - +

    oinline const Quat inverse() const
    Multiplicative inverse method: q^(-1) = q^*/(qq^*)

    - -

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

    - +

    ovoid makeRotate( float angle, const Vec3& vec )

    - +

    ovoid makeRotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)

    - +

    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 @@ -345,33 +345,33 @@ Watch out for the two special cases of when the vectors are co-incident or opposite in direction.

    - -

    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( float t, const Quat& from, const Quat& to) + +
    ovoid slerp( 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/RefMatrix.html b/doc/doc++/osg/RefMatrix.html new file mode 100644 index 000000000..8373d4200 --- /dev/null +++ b/doc/doc++/osg/RefMatrix.html @@ -0,0 +1,331 @@ + + + + + class osg::RefMatrix + + + + +

    class osg::RefMatrix


    + +

    Inheritance:

    + + + + + + + +
    + +
    +

    +

    Public Methods

    +[more] RefMatrix() +
    +[more] RefMatrix( const Matrix& other) +
    +[more] RefMatrix( const RefMatrix& other) +
    +[more]explicit RefMatrix( float const* const def ) +
    +[more] RefMatrix( 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* clone(const CopyOp&) const +
    +[more]virtual bool isSameKindAs(const Object* obj) const +
    +[more]virtual const char* libraryName() const +
    +[more]virtual const char* className() const +

    + +

    +

    Protected Methods

    +[more]virtual ~RefMatrix() +

    + +
    +

    Inherited from Object:

    +
    +

    +

    Public Methods

    +oinline void setDataVariance(DataVariance dv) +
    +oinline DataVariance getDataVariance() const +
    +oinline void setUserData(Referenced* obj) +
    +oinline Referenced* getUserData() +
    +oinline const Referenced* getUserData() const +

    + +

    +

    Public Members

    +oenum DataVariance +

    + +

    +

    Protected Fields

    +oDataVariance _dataVariance +
    +oref_ptr<Referenced> _userData +

    + +
    +

    Inherited from Referenced:

    +
    +

    +

    Public Methods

    +oinline Referenced& operator = (Referenced&) +
    +ostatic void setDeleteHandler(DeleteHandler* handler) +
    +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const +
    +oinline void unref_nodelete() const +
    +oinline int referenceCount() const +
    +oinline void unref() const +

    + +

    +

    Protected Fields

    +omutable int _refCount +

    + +
    +

    Inherited from Matrix:

    +
    +

    +

    Public Methods

    +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 bool valid() const +
    +oinline bool isNaN() const +
    +oinline void set(const Matrix& other) +
    +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() 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( const Quat& ) +
    +ovoid makeRotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3) +
    +ovoid makeOrtho(double left, double right, double bottom, double top, double zNear, double zFar) +
    +oinline void makeOrtho2D(double left, double right, double bottom, double top) +
    +ovoid makeFrustum(double left, double right, double bottom, double top, double zNear, double zFar) +
    +ovoid makePerspective(double fovy, double aspectRatio, double zNear, double zFar) +
    +ovoid makeLookAt(const Vec3& eye, const Vec3& center, const Vec3& up) +
    +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 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, const Vec3& axis) +
    +oinline static Matrix rotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3) +
    +oinline static Matrix rotate( const Quat& quat) +
    +oinline static Matrix inverse( const Matrix& matrix) +
    +oinline static Matrix ortho(double left, double right, double bottom, double top, double zNear, double zFar) +
    +oinline static Matrix ortho2D(double left, double right, double bottom, double top) +
    +oinline static Matrix frustum(double left, double right, double bottom, double top, double zNear, double zFar) +
    +oinline static Matrix perspective(double fovy, double aspectRatio, double zNear, double zFar) +
    +oinline static Matrix lookAt(const Vec3& eye, const Vec3& center, const Vec3& up) +
    +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) +
    +oinline static Vec3 transform3x3(const Matrix& m, const Vec3& 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, const Vec3& axis ) +
    +oinline Matrix rotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3) +
    +oinline Matrix rotate(const Vec3& from, const Vec3& to ) +
    +oinline Matrix inverse( const Matrix& matrix) +
    +oinline Matrix ortho(double left, double right, double bottom, double top, double zNear, double zFar) +
    +oinline Matrix ortho2D(double left, double right, double bottom, double top) +
    +oinline Matrix frustum(double left, double right, double bottom, double top, double zNear, double zFar) +
    +oinline Matrix perspective(double fovy, double aspectRatio, double zNear, double zFar) +
    +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 +

    + +

    +

    Protected Fields

    +ofloat _mat[4][4] +

    + +
    + + +
    +

    Documentation

    +
    + + + +
    o RefMatrix() +

    + + +

    o RefMatrix( const Matrix& other) +

    + + +

    o RefMatrix( const RefMatrix& other) +

    + + +

    oexplicit RefMatrix( float const* const def ) +

    + + +

    o RefMatrix( 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 ~RefMatrix() +

    + +
    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++/osg/Referenced.html b/doc/doc++/osg/Referenced.html index 9e3e68041..d79349a05 100644 --- a/doc/doc++/osg/Referenced.html +++ b/doc/doc++/osg/Referenced.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Referenced - + @@ -11,11 +11,11 @@

    Inheritance:

    - - - - - + + + + +
    @@ -23,43 +23,39 @@

    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]static void setDeleteHandler(DeleteHandler* handler) +
    Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to +
    +[more]static DeleteHandler* getDeleteHandler() +
    Get a DeleteHandler +
    +[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_nodelete() const
    decrement the reference count by one, indicating that a pointer to this object is referencing it.
    -[more]inline void unref_nodelete() const -
    decrement the reference count by one, indicating that a pointer to this object is referencing it. -
    -[more]inline int referenceCount() const +[more]inline int referenceCount() const
    return the number pointers currently referencing this object.
    -[more]inline static int createdCount() -
    return the total number of created referenced objects -
    -[more]inline static int deletedCount() -
    return the total number of deleted referenced objects +[more]inline void unref() const +
    decrement the reference count by one, indicating that a pointer to this object is referencing it.

    Protected Fields

    -[more]mutable int _refCount -
    -[more]static int _createdCount -
    -[more]static int _deletedCount +[more]mutable int _refCount

    Protected Methods

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

    @@ -71,33 +67,36 @@
    - +
    o Referenced()

    - -

    o Referenced(const Referenced&) + +
    o Referenced(const Referenced&)

    - +

    oinline Referenced& operator = (Referenced&)

    + + +

    ostatic void setDeleteHandler(DeleteHandler* handler) +
    Set a DeleteHandler to which deletion of all referenced counted objects +will be delegated to +

    + + +

    ostatic DeleteHandler* getDeleteHandler() +
    Get a DeleteHandler +

    - +

    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 -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 @@ -107,35 +106,25 @@ be resonsible for, one should prefer unref() over unref_nodelete() as the later can lead to memory leaks.

    - +

    oinline int referenceCount() const
    return the number pointers currently referencing this object.

    - - -

    oinline static int createdCount() -
    return the total number of created referenced objects -

    - - -

    oinline static int deletedCount() -
    return the total number of deleted referenced objects -

    - +

    ovirtual ~Referenced()

    - +

    omutable int _refCount

    - - -

    ostatic int _createdCount -

    - - -

    ostatic int _deletedCount + + +
    oinline void unref() const +
    decrement the reference count by one, indicating that +a pointer to this object is referencing it. If the +reference count goes to zero, it is assumed that this object +is no longer referenced and is automatically deleted.


    Direct child classes: @@ -147,21 +136,18 @@ as the later can lead to memory leaks. SubloadCallback
    SubloadCallback
    Extensions
    -Statistics
    State
    Object
    NodeVisitor
    -NodeCallback
    LineSegment
    ImpostorSpriteManager
    FrameStamp
    DisplaySettings
    CullingSet
    Camera
    -AnimationPath
    -

    Alphabetic index HTML hierarchy of classes or Java


    +
    Friends:
    class DeleteHandler

    Alphabetic index HTML hierarchy of classes or Java



    This page was generated with the help of DOC++. diff --git a/doc/doc++/osg/Sequence.html b/doc/doc++/osg/Sequence.html index 624fe0166..b9458fc10 100644 --- a/doc/doc++/osg/Sequence.html +++ b/doc/doc++/osg/Sequence.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Sequence - + @@ -11,11 +11,11 @@

    Inheritance:

    - - - - - + + + + +
    @@ -23,119 +23,81 @@

    Public Methods

    -[more] Sequence() +[more] Sequence()
    -[more] Sequence(const Sequence&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Sequence(const Sequence&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] META_Node(osg, Sequence) +[more] META_Node(osg, Sequence)
    -[more]virtual void traverse(NodeVisitor& nv) +[more]virtual void traverse(NodeVisitor& nv)
    -[more]void setTime(int frame, float t) +[more]void setValue(int value) +
    +[more]int getValue() const +
    +[more]void setTime(int frame, float t)
    Set time in seconds for child
    -[more]float getTime(int frame) const +[more]float getTime(int frame) const
    Get time for child
    -[more]void setInterval(LoopMode mode, int begin, int end) +[more]void setInterval(LoopMode mode, int begin, int end)
    Set sequence mode & interval.
    -[more]inline void getInterval(LoopMode& mode, int& begin, int& end) const +[more]inline void getInterval(LoopMode& mode, int& begin, int& end) const
    Get sequence mode & interval.
    -[more]void setDuration(float speed, int nreps = -1) +[more]void setDuration(float speed, int nreps = -1)
    Set duration: speed-up & number of repeats
    -[more]inline void getDuration(float& speed, int& nreps) const +[more]inline void getDuration(float& speed, int& nreps) const
    Get duration
    -[more]void setMode(SequenceMode mode) +[more]void setMode(SequenceMode mode)
    Set sequence mode.
    -[more]inline SequenceMode getMode() const +[more]inline SequenceMode getMode() const
    Get sequence mode.

    Public Members

    -[more]enum LoopMode +[more]enum LoopMode
    Interval modes
    -[more]enum SequenceMode +[more]enum SequenceMode
    Sequence modes

    Protected Fields

    -[more]float _last +[more]int _value
    -[more]std::vector<float> _frameTime +[more]float _last
    -[more]int _step +[more]std::vector<float> _frameTime
    -[more]LoopMode _loopMode +[more]int _step
    -[more]int _begin +[more]LoopMode _loopMode
    -[more]int _end +[more]int _begin
    -[more]float _speed +[more]int _end
    -[more]int _nreps +[more]float _speed
    -[more]int _nrepsremain +[more]int _nreps
    -[more]SequenceMode _mode +[more]int _nrepsremain +
    +[more]SequenceMode _mode

    Protected Methods

    -[more]virtual ~Sequence() -

    - -
    -

    Inherited from Switch:

    -
    -

    -

    Public Methods

    -ovoid setNewChildDefaultValue(bool value) -
    -obool getNewChildDefaultValue() const -
    -ovirtual bool addChild( Node* child ) -
    -ovirtual bool addChild( Node* child, bool value ) -
    -ovirtual bool removeChild( Node* child ) -
    -ovoid setValue(unsigned int pos, bool value) -
    -ovoid setValue(const Node* child, bool value) -
    -obool getValue(unsigned int pos) const -
    -obool getValue(const Node* child) const -
    -ovoid setValue(int value) -
    -oint getValue() const -
    -oconst ValueList& getValueList() const -

    - -

    -

    Public Members

    -oenum Values -
    -otypedef std::vector<bool> ValueList -

    - -

    -

    Protected Fields

    -obool _newChildDefaultValue -
    -oValueList _values +[more]virtual ~Sequence()

    @@ -147,31 +109,35 @@
    ovirtual const Group* asGroup() const
    -ovirtual bool replaceChild( Node* origChild, Node* newChild ) +ovirtual bool addChild( Node* child ) +
    +ovirtual bool removeChild( Node* child ) +
    +ovirtual bool removeChild(unsigned int pos, unsigned int numChildrenToRemove=1) +
    +ovirtual bool replaceChild( Node* origChild, Node* newChild )
    oinline unsigned int getNumChildren() const
    -oinline Node* getChild( unsigned int i ) +ovirtual bool setChild( unsigned int i, Node* node )
    -oinline const Node* getChild( unsigned int i ) const +oinline Node* getChild( unsigned int i )
    -oinline bool containsNode( const Node* node ) const +oinline const Node* getChild( unsigned int i ) const
    -oinline ChildList::iterator findNode( const Node* node ) +oinline bool containsNode( const Node* node ) const
    -oinline ChildList::const_iterator findNode( const Node* node ) const -
    -oinline unsigned int findChildNo( const Node* node ) const +oinline unsigned int getChildIndex( const Node* node ) const

    Public Members

    -otypedef std::vector<ref_ptr<Node> > ChildList +otypedef std::vector<ref_ptr<Node> > ChildList

    Protected Fields

    -oChildList _children +oChildList _children

    @@ -179,6 +145,210 @@ ovirtual bool computeBound() const

    + +

    Inherited from Node:

    +
    +

    +

    Public Methods

    +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 +
    +ovirtual Transform* asTransform() +
    +ovirtual const Transform* asTransform() const +
    +ovirtual void accept(NodeVisitor& nv) +
    +ovirtual void ascend(NodeVisitor& nv) +
    +oinline void setName( const std::string& name ) +
    +oinline void setName( const char* name ) +
    +oinline const std::string& getName() const +
    +oinline const ParentList& getParents() const +
    +oinline ParentList getParents() +
    +oinline Group* getParent(unsigned int i) +
    +oinline const Group* getParent(unsigned int i) const +
    +oinline unsigned int getNumParents() const +
    +ovoid setUpdateCallback(NodeCallback* nc) +
    +oinline NodeCallback* getUpdateCallback() +
    +oinline const NodeCallback* getUpdateCallback() const +
    +ovoid setAppCallback(NodeCallback* nc) +
    +oinline NodeCallback* getAppCallback() +
    +oinline const NodeCallback* getAppCallback() const +
    +oinline unsigned int getNumChildrenRequiringUpdateTraversal() const +
    +ovoid setCullCallback(NodeCallback* nc) +
    +oinline NodeCallback* getCullCallback() +
    +oinline const NodeCallback* getCullCallback() const +
    +ovoid setCullingActive(bool active) +
    +oinline bool getCullingActive() const +
    +oinline unsigned int getNumChildrenWithCullingDisabled() const +
    +oinline bool isCullingActive() const +
    +oinline unsigned int getNumChildrenWithOccluderNodes() const +
    +obool containsOccluderNodes() const +
    +oinline void setNodeMask(NodeMask nm) +
    +oinline NodeMask getNodeMask() const +
    +oinline const DescriptionList& getDescriptions() const +
    +oinline DescriptionList& getDescriptions() +
    +oinline const std::string& getDescription(unsigned int i) const +
    +oinline std::string& getDescription(unsigned int i) +
    +oinline unsigned int getNumDescriptions() const +
    +ovoid addDescription(const std::string& desc) +
    +oinline void setStateSet(osg::StateSet* dstate) +
    +oosg::StateSet* getOrCreateStateSet() +
    +oinline osg::StateSet* getStateSet() +
    +oinline const osg::StateSet* getStateSet() const +
    +oinline const BoundingSphere& getBound() const +
    +ovoid dirtyBound() +

    + +

    +

    Public Members

    +otypedef std::vector<Group*> ParentList +
    +otypedef unsigned int NodeMask +
    +otypedef std::vector<std::string> DescriptionList +

    + +

    +

    Protected Fields

    +omutable BoundingSphere _bsphere +
    +omutable bool _bsphere_computed +
    +ostd::string _name +
    +oParentList _parents +
    +oref_ptr<NodeCallback> _updateCallback +
    +ounsigned int _numChildrenRequiringUpdateTraversal +
    +oref_ptr<NodeCallback> _cullCallback +
    +obool _cullingActive +
    +ounsigned int _numChildrenWithCullingDisabled +
    +ounsigned int _numChildrenWithOccluderNodes +
    +oNodeMask _nodeMask +
    +oDescriptionList _descriptions +
    +oref_ptr<StateSet> _stateset +

    + +

    +

    Protected Methods

    +ovoid addParent(osg::Group* node) +
    +ovoid removeParent(osg::Group* node) +
    +ovoid setNumChildrenRequiringUpdateTraversal(unsigned int num) +
    +ovoid setNumChildrenWithCullingDisabled(unsigned int num) +
    +ovoid setNumChildrenWithOccluderNodes(unsigned int num) +

    + +
    +

    Inherited from Object:

    +
    +

    +

    Public Methods

    +oinline void setDataVariance(DataVariance dv) +
    +oinline DataVariance getDataVariance() const +
    +oinline void setUserData(Referenced* obj) +
    +oinline Referenced* getUserData() +
    +oinline const Referenced* getUserData() const +

    + +

    +

    Public Members

    +oenum DataVariance +

    + +

    +

    Protected Fields

    +oDataVariance _dataVariance +
    +oref_ptr<Referenced> _userData +

    + +
    +

    Inherited from Referenced:

    +
    +

    +

    Public Methods

    +oinline Referenced& operator = (Referenced&) +
    +ostatic void setDeleteHandler(DeleteHandler* handler) +
    +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const +
    +oinline void unref_nodelete() const +
    +oinline int referenceCount() const +
    +oinline void unref() const +

    + +

    +

    Protected Fields

    +omutable int _refCount +

    +
    @@ -189,143 +359,155 @@ switching between children
    - +
    o Sequence()

    - -

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

    - +

    o META_Node(osg, Sequence)

    - +

    ovirtual void traverse(NodeVisitor& nv)

    + + +

    ovoid setValue(int value) +

    + + +

    oint getValue() const +

    - -

    ovoid setTime(int frame, float t) + +
    ovoid setTime(int frame, float t)
    Set time in seconds for child

    - +

    ofloat getTime(int frame) const
    Get time for child

    - +

    oenum LoopMode
    Interval modes

    - +
    o LOOP

    - +

    o SWING

    - -
    ovoid setInterval(LoopMode mode, int begin, int end) + +
    ovoid setInterval(LoopMode mode, int begin, int end)
    Set sequence mode & interval.

    - -

    oinline void getInterval(LoopMode& mode, int& begin, int& end) const + +
    oinline void getInterval(LoopMode& mode, int& begin, int& end) const
    Get sequence mode & interval.

    - +

    ovoid setDuration(float speed, int nreps = -1)
    Set duration: speed-up & number of repeats

    - +

    oinline void getDuration(float& speed, int& nreps) const
    Get duration

    - +

    oenum SequenceMode
    Sequence modes

    - +
    o START

    - +

    o STOP

    - +

    o PAUSE

    - +

    o RESUME

    - -
    ovoid setMode(SequenceMode mode) + +
    ovoid setMode(SequenceMode mode)
    Set sequence mode. Start/stop & pause/resume.

    - -

    oinline SequenceMode getMode() const + +
    oinline SequenceMode getMode() const
    Get sequence mode.

    - +

    ovirtual ~Sequence()

    + + +

    oint _value +

    - +

    ofloat _last

    - +

    ostd::vector<float> _frameTime

    - +

    oint _step

    - -

    oLoopMode _loopMode + +
    oLoopMode _loopMode

    - +

    oint _begin

    - +

    oint _end

    - +

    ofloat _speed

    - +

    oint _nreps

    - +

    oint _nrepsremain

    - -

    oSequenceMode _mode + +
    oSequenceMode _mode


    This class has no child classes.
    diff --git a/doc/doc++/osg/ShadeModel.html b/doc/doc++/osg/ShadeModel.html index 58e937d89..1aaedce14 100644 --- a/doc/doc++/osg/ShadeModel.html +++ b/doc/doc++/osg/ShadeModel.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::ShadeModel - + @@ -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(osg, 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(Mode mode) +[more]inline void setMode(Mode mode)
    -[more]inline Mode getMode() const +[more]inline 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()

    @@ -70,7 +70,7 @@
    ovirtual const char* className() const
    -ovirtual Type getType() const +ovirtual Type getType() const
    ovirtual bool isTextureAttribute() const
    @@ -80,7 +80,7 @@
    obool operator != (const StateAttribute& rhs) const
    -ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
    ovirtual void compile(State&) const

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

    Public Methods

    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -123,7 +123,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -135,26 +135,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -166,56 +162,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(osg, 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(Mode mode) + +
    oinline void setMode(Mode mode)

    - -

    oinline Mode getMode() const + +
    oinline 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/ShadowVolumeOccluder.html b/doc/doc++/osg/ShadowVolumeOccluder.html index ea44f7229..693ee8a2e 100644 --- a/doc/doc++/osg/ShadowVolumeOccluder.html +++ b/doc/doc++/osg/ShadowVolumeOccluder.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::ShadowVolumeOccluder - + @@ -13,74 +13,74 @@

    Public Methods

    -[more] ShadowVolumeOccluder(const ShadowVolumeOccluder& svo) +[more] ShadowVolumeOccluder(const ShadowVolumeOccluder& svo)
    -[more] ShadowVolumeOccluder() +[more] ShadowVolumeOccluder()
    -[more]bool operator < (const ShadowVolumeOccluder& svo) const +[more]bool operator < (const ShadowVolumeOccluder& svo) const
    -[more]bool computeOccluder(const NodePath& nodePath, const ConvexPlanarOccluder& occluder, CullStack& cullStack, bool createDrawables=false) +[more]bool computeOccluder(const NodePath& nodePath, const ConvexPlanarOccluder& occluder, CullStack& cullStack, bool createDrawables=false)
    compute the shadow volume occluder.
    -[more]bool matchProjectionMatrix(const osg::Matrix& matrix) const +[more]bool matchProjectionMatrix(const osg::Matrix& matrix) const
    return true if the matrix passed in matches the projection matrix that this ShaowVolumeOccluder is associated with
    -[more]inline void setNodePath(NodePath& nodePath) +[more]inline void setNodePath(NodePath& nodePath)
    Set the NodePath which describes the which node in the scene graph that this occluder was attached to
    -[more]inline NodePath& getNodePath() +[more]inline NodePath& getNodePath()
    -[more]inline const NodePath& getNodePath() const +[more]inline const NodePath& getNodePath() const
    -[more]float getVolume() const +[more]float getVolume() const
    get the volume of the occluder minus its holes, in eye coords, the volume is normalized by dividing by the volume of the view frustum in eye coords
    -[more]Polytope& getOccluder() +[more]Polytope& getOccluder()
    return the occluder polytope
    -[more]const Polytope& getOccluder() const +[more]const Polytope& getOccluder() const
    return the const occluder polytope
    -[more]HoleList& getHoleList() +[more]HoleList& getHoleList()
    return the list of holes
    -[more]const HoleList& getHoleList() const +[more]const HoleList& getHoleList() const
    return the const list of holes
    -[more]bool contains(const std::vector<Vec3>& vertices) +[more]bool contains(const std::vector<Vec3>& vertices)
    return true if the specified vertex list is contaned entirely within this shadow occluder volume
    -[more]bool contains(const BoundingSphere& bound) +[more]bool contains(const BoundingSphere& bound)
    return true if the specified bounding sphere is contaned entirely within this shadow occluder volume
    -[more]bool contains(const BoundingBox& bound) +[more]bool contains(const BoundingBox& bound)
    return true if the specified bounding box is contained entirely within this shadow occluder volume
    -[more]inline void transformProvidingInverse(const osg::Matrix& matrix) +[more]inline void transformProvidingInverse(const osg::Matrix& matrix)
    -[more]inline void disableResultMasks() +[more]inline void disableResultMasks()
    -[more]inline void pushCurrentMask() +[more]inline void pushCurrentMask()
    -[more]inline void popCurrentMask() +[more]inline void popCurrentMask()

    Public Members

    -[more]typedef std::vector<Polytope> HoleList +[more]typedef std::vector<Polytope> HoleList

    Protected Fields

    -[more]float _volume +[more]float _volume
    -[more]NodePath _nodePath +[more]NodePath _nodePath
    -[more]ref_ptr<const Matrix> _projectionMatrix +[more]ref_ptr<const RefMatrix> _projectionMatrix
    -[more]Polytope _occluderVolume +[more]Polytope _occluderVolume
    -[more]HoleList _holeList +[more]HoleList _holeList

    @@ -92,124 +92,124 @@
    - +
    otypedef std::vector<Polytope> HoleList

    - -

    o ShadowVolumeOccluder(const ShadowVolumeOccluder& svo) + +
    o ShadowVolumeOccluder(const ShadowVolumeOccluder& svo)

    - +

    o ShadowVolumeOccluder()

    - +

    obool operator < (const ShadowVolumeOccluder& svo) const

    - -

    obool computeOccluder(const NodePath& nodePath, const ConvexPlanarOccluder& occluder, CullStack& cullStack, bool createDrawables=false) + +
    obool computeOccluder(const NodePath& nodePath, const ConvexPlanarOccluder& occluder, CullStack& cullStack, bool createDrawables=false)
    compute the shadow volume occluder.

    - +

    obool matchProjectionMatrix(const osg::Matrix& matrix) const
    return true if the matrix passed in matches the projection matrix that this ShaowVolumeOccluder is associated with

    - -

    oinline void setNodePath(NodePath& nodePath) + +
    oinline void setNodePath(NodePath& nodePath)
    Set the NodePath which describes the which node in the scene graph that this occluder was attached to

    - -

    oinline NodePath& getNodePath() + +
    oinline NodePath& getNodePath()

    - -

    oinline const NodePath& getNodePath() const + +
    oinline const NodePath& getNodePath() const

    - +

    ofloat getVolume() const
    get the volume of the occluder minus its holes, in eye coords, the volume is normalized by dividing by the volume of the view frustum in eye coords

    - +

    oPolytope& getOccluder()
    return the occluder polytope

    - +

    oconst Polytope& getOccluder() const
    return the const occluder polytope

    - -

    oHoleList& getHoleList() + +
    oHoleList& getHoleList()
    return the list of holes

    - -

    oconst HoleList& getHoleList() const + +
    oconst HoleList& getHoleList() const
    return the const list of holes

    - +

    obool contains(const std::vector<Vec3>& vertices)
    return true if the specified vertex list is contaned entirely within this shadow occluder volume

    - +

    obool contains(const BoundingSphere& bound)
    return true if the specified bounding sphere is contaned entirely within this shadow occluder volume

    - +

    obool contains(const BoundingBox& bound)
    return true if the specified bounding box is contained entirely within this shadow occluder volume

    - +

    oinline void transformProvidingInverse(const osg::Matrix& matrix)

    - +

    ofloat _volume

    - -

    oNodePath _nodePath + +
    oNodePath _nodePath

    - -

    oref_ptr<const Matrix> _projectionMatrix + +
    oref_ptr<const RefMatrix> _projectionMatrix

    - +

    oPolytope _occluderVolume

    - -

    oHoleList _holeList + +
    oHoleList _holeList

    - +

    oinline void disableResultMasks()

    - +

    oinline void pushCurrentMask()

    - +

    oinline void popCurrentMask()

    diff --git a/doc/doc++/osg/ShadowVolumeOccluderList.html b/doc/doc++/osg/ShadowVolumeOccluderList.html index 03c6bbc24..09f0f755d 100644 --- a/doc/doc++/osg/ShadowVolumeOccluderList.html +++ b/doc/doc++/osg/ShadowVolumeOccluderList.html @@ -3,7 +3,7 @@ typedef std::vector<ShadowVolumeOccluder> osg::ShadowVolumeOccluderList - + diff --git a/doc/doc++/osg/Shape.html b/doc/doc++/osg/Shape.html index 6a8878e1c..4fa6eb21e 100644 --- a/doc/doc++/osg/Shape.html +++ b/doc/doc++/osg/Shape.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Shape - + @@ -23,40 +23,45 @@

    Public Methods

    -[more] Shape() +[more] Shape()
    -[more] Shape(const Shape& sa, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Shape(const Shape& 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* libraryName() const +[more]virtual const char* libraryName() const
    return the name of the attribute's library
    -[more]virtual const char* className() const +[more]virtual const char* className() const
    return the name of the attribute's class type
    -[more]virtual void accept(ShapeVisitor&) = 0 +[more]virtual void accept(ShapeVisitor&) = 0
    accept a non const shape visitor which can be used on non const shape objects.
    -[more]virtual void accept(ConstShapeVisitor&) const = 0 +[more]virtual void accept(ConstShapeVisitor&) const = 0
    accept a const shape visitor which can be used on const shape objects.

    +

    +

    Protected Methods

    +[more]virtual ~Shape() +

    +

    Inherited from Object:

    Public Methods

    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -72,7 +77,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -84,26 +89,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -117,51 +118,55 @@ to define the geometric shape of procedurally generate Geometry.
    - +
    o Shape()

    - -

    o Shape(const Shape& sa, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o Shape(const Shape& 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 void accept(ShapeVisitor&) = 0
    accept a non const shape visitor which can be used on non const shape objects. Must be defined by derived classes.

    - +

    ovirtual void accept(ConstShapeVisitor&) const = 0
    accept a const shape visitor which can be used on const shape objects. Must be defined by derived classes. +

    + + +

    ovirtual ~Shape()


    Direct child classes: diff --git a/doc/doc++/osg/ShapeDrawable.html b/doc/doc++/osg/ShapeDrawable.html index 8ff1f7c37..244a9260f 100644 --- a/doc/doc++/osg/ShapeDrawable.html +++ b/doc/doc++/osg/ShapeDrawable.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::ShapeDrawable - + @@ -22,60 +22,60 @@

    Public Methods

    -[more] ShapeDrawable() +[more] ShapeDrawable()
    -[more] ShapeDrawable(Shape* shape) +[more] ShapeDrawable(Shape* shape)
    -[more] ShapeDrawable(const ShapeDrawable& pg, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] ShapeDrawable(const ShapeDrawable& pg, 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* libraryName() const +[more]virtual const char* libraryName() const
    -[more]virtual const char* className() const +[more]virtual const char* className() const
    -[more]void setTessellationHints(TessellationHints* hints) +[more]void setTessellationHints(TessellationHints* hints)
    -[more]TessellationHints* getTessellationHints() +[more]TessellationHints* getTessellationHints()
    -[more]const TessellationHints* getTessellationHints() const +[more]const TessellationHints* getTessellationHints() const
    -[more]virtual void drawImplementation(State& state) const +[more]virtual void drawImplementation(State& state) const
    draw ShapeDrawable directly ignoring an OpenGL display list which could be attached.
    -[more]virtual bool supports(AttributeFunctor&) const +[more]virtual bool supports(AttributeFunctor&) const
    return false, osg::ProceduralGeoemtry does not support accept(AttributeFunctor&)
    -[more]virtual bool supports(ConstAttributeFunctor&) const +[more]virtual bool supports(ConstAttributeFunctor&) const
    return true, osg::ShapeDrawable does support accept(ConstAttributeFunctor&)
    -[more]virtual void accept(ConstAttributeFunctor& af) const +[more]virtual void accept(ConstAttributeFunctor& af) const
    accept an ConstAttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has
    -[more]virtual bool supports(PrimitiveFunctor&) const +[more]virtual bool supports(PrimitiveFunctor&) const
    return true, osg::ShapeDrawable does support accept(PrimitiveFunctor&)
    -[more]virtual void accept(PrimitiveFunctor& pf) const +[more]virtual void accept(PrimitiveFunctor& pf) const
    accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has

    Protected Fields

    -[more]ref_ptr<TessellationHints> _tessellationHints +[more]ref_ptr<TessellationHints> _tessellationHints

    Protected Methods

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

    @@ -87,13 +87,13 @@
    ovirtual const Geometry* asGeometry() const
    -oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
    -oinline ParentList getParents() +oinline ParentList getParents()
    -oinline Node* getParent(unsigned int i) +oinline Node* getParent(unsigned int i)
    -oinline const Node* getParent(unsigned int i) const +oinline const Node* getParent(unsigned int i) const
    oinline unsigned int getNumParents() const
    @@ -125,42 +125,48 @@
    ovoid dirtyDisplayList()
    -ovoid compile(State& state) +ovirtual void compile(State& state) const
    -ovoid setAppCallback(AppCallback* ac) +ovoid setUpdateCallback(UpdateCallback* ac)
    -oAppCallback* getAppCallback() +oUpdateCallback* getUpdateCallback()
    -oconst AppCallback* getAppCallback() const +ovoid setAppCallback(AppCallback* ac)
    -ovoid setCullCallback(CullCallback* cc) +oAppCallback* getAppCallback()
    -oCullCallback* getCullCallback() +oconst AppCallback* getAppCallback() const
    -oconst CullCallback* getCullCallback() const +ovoid setCullCallback(CullCallback* cc)
    -ovoid setDrawCallback(DrawCallback* dc) +oCullCallback* getCullCallback()
    -oDrawCallback* getDrawCallback() +oconst CullCallback* getCullCallback() const
    -oconst DrawCallback* getDrawCallback() const +ovoid setDrawCallback(DrawCallback* dc)
    -ostatic void deleteDisplayList(uint contextID, uint globj) +oDrawCallback* getDrawCallback()
    -ostatic void flushDeletedDisplayLists(uint contextID) +oconst DrawCallback* getDrawCallback() const
    -oinline void draw(State& state) +ostatic void deleteDisplayList(uint contextID, uint globj) +
    +ostatic void flushDeletedDisplayLists(uint contextID) +
    +oinline void draw(State& state) const

    Public Members

    -otypedef std::vector<Node*> ParentList +otypedef std::vector<Node*> ParentList
    -ostruct AppCallback: public osg::Referenced +ostruct UpdateCallback: public virtual osg::Referenced
    -ostruct CullCallback: public osg::Referenced +ostruct AppCallback: public UpdateCallback
    -ostruct DrawCallback: public osg::Referenced +ostruct CullCallback: public virtual osg::Referenced +
    +ostruct DrawCallback: public virtual osg::Referenced
    oenum AttributeType
    @@ -173,7 +179,7 @@ class PrimitiveFunctor

    Protected Fields

    -oParentList _parents +oParentList _parents
    oref_ptr<StateSet> _stateset
    @@ -187,29 +193,25 @@ class PrimitiveFunctor
    obool _useDisplayList
    -omutable GLObjectList _globjList +omutable GLObjectList _globjList
    -oref_ptr<AppCallback> _appCallback +oref_ptr<UpdateCallback> _updateCallback
    -oref_ptr<DrawCallback> _drawCallback +oref_ptr<DrawCallback> _drawCallback
    -oref_ptr<CullCallback> _cullCallback -
    -ostatic DeletedDisplayListCache s_deletedDisplayListCache +oref_ptr<CullCallback> _cullCallback

    Protected Methods

    -ovoid addParent(osg::Node* node) +ovoid addParent(osg::Node* node)
    -ovoid removeParent(osg::Node* node) +ovoid removeParent(osg::Node* node)

    Protected Members

    -otypedef std::vector<uint> GLObjectList -
    -otypedef std::map<uint,std::set<uint> > DeletedDisplayListCache +otypedef osg::buffered_value<uint> GLObjectList

    @@ -217,9 +219,9 @@ class PrimitiveFunctor

    Public Methods

    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -235,7 +237,7 @@ class PrimitiveFunctor

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -245,26 +247,22 @@ class PrimitiveFunctor

    Public Methods

    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -275,96 +273,96 @@ class PrimitiveFunctor
    - +
    o ShapeDrawable()

    - +

    o ShapeDrawable(Shape* shape)

    - -

    o ShapeDrawable(const ShapeDrawable& pg, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o ShapeDrawable(const ShapeDrawable& pg, 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 setTessellationHints(TessellationHints* hints)

    - +

    oTessellationHints* getTessellationHints()

    - +

    oconst TessellationHints* getTessellationHints() const

    - +

    ovirtual void drawImplementation(State& state) const
    draw ShapeDrawable directly ignoring an OpenGL display list which could be attached. This is the internal draw method which does the drawing itself, and is the method to override when deriving from ShapeDrawable for user-drawn objects.

    - +

    ovirtual bool supports(AttributeFunctor&) const
    return false, osg::ProceduralGeoemtry does not support accept(AttributeFunctor&)

    - +

    ovirtual bool supports(ConstAttributeFunctor&) const
    return true, osg::ShapeDrawable does support accept(ConstAttributeFunctor&)

    - +

    ovirtual void accept(ConstAttributeFunctor& af) const
    accept an ConstAttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has

    - +

    ovirtual bool supports(PrimitiveFunctor&) const
    return true, osg::ShapeDrawable does support accept(PrimitiveFunctor&)

    - +

    ovirtual void accept(PrimitiveFunctor& pf) const
    accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has

    - +

    oShapeDrawable& operator = (const ShapeDrawable&)

    - +

    ovirtual ~ShapeDrawable()

    - +

    ovirtual bool computeBound() const

    - +

    oref_ptr<TessellationHints> _tessellationHints

    diff --git a/doc/doc++/osg/ShapeVisitor.html b/doc/doc++/osg/ShapeVisitor.html index 240a76150..689916f7d 100644 --- a/doc/doc++/osg/ShapeVisitor.html +++ b/doc/doc++/osg/ShapeVisitor.html @@ -3,7 +3,7 @@ class osg::ShapeVisitor - + @@ -12,25 +12,25 @@

    Public Methods

    -[more] ShapeVisitor() +[more] ShapeVisitor()
    -[more]virtual void apply(Sphere&) +[more]virtual void apply(Sphere&)
    -[more]virtual void apply(Box&) +[more]virtual void apply(Box&)
    -[more]virtual void apply(Cone&) +[more]virtual void apply(Cone&)
    -[more]virtual void apply(Cylinder&) +[more]virtual void apply(Cylinder&)
    -[more]virtual void apply(InfinitePlane&) +[more]virtual void apply(InfinitePlane&)
    -[more]virtual void apply(TriangleMesh&) +[more]virtual void apply(TriangleMesh&)
    -[more]virtual void apply(ConvexHull&) +[more]virtual void apply(ConvexHull&)
    -[more]virtual void apply(HeightField&) +[more]virtual void apply(HeightField&)
    -[more]virtual void apply(CompositeShape&) +[more]virtual void apply(CompositeShape&)

    @@ -41,43 +41,43 @@
    - +
    o ShapeVisitor()

    - +

    ovirtual void apply(Sphere&)

    - +

    ovirtual void apply(Box&)

    - +

    ovirtual void apply(Cone&)

    - +

    ovirtual void apply(Cylinder&)

    - +

    ovirtual void apply(InfinitePlane&)

    - +

    ovirtual void apply(TriangleMesh&)

    - +

    ovirtual void apply(ConvexHull&)

    - +

    ovirtual void apply(HeightField&)

    - +

    ovirtual void apply(CompositeShape&)

    diff --git a/doc/doc++/osg/Sphere.html b/doc/doc++/osg/Sphere.html index cad4d4ef9..57d70a5aa 100644 --- a/doc/doc++/osg/Sphere.html +++ b/doc/doc++/osg/Sphere.html @@ -3,7 +3,7 @@ class osg::Sphere - + @@ -22,35 +22,35 @@

    Public Methods

    -[more] Sphere() +[more] Sphere()
    -[more] Sphere(const osg::Vec3& center, float radius) +[more] Sphere(const osg::Vec3& center, float radius)
    -[more] Sphere(const Sphere& sphere, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Sphere(const Sphere& sphere, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    -[more]META_Shape (osg, Sphere)() const +[more]META_Shape (osg, Sphere)() const
    -[more]inline void set(const Vec3& center, float radius) +[more]inline void set(const Vec3& center, float radius)
    -[more]inline void setCenter(const Vec3& center) +[more]inline void setCenter(const Vec3& center)
    -[more]inline const Vec3& getCenter() const +[more]inline const Vec3& getCenter() const
    -[more]inline void setRadius(float radius) +[more]inline void setRadius(float radius)
    -[more]inline float getRadius() const +[more]inline float getRadius() const

    Protected Fields

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

    Protected Methods

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

    @@ -78,9 +78,9 @@

    Public Methods

    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -96,7 +96,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -108,26 +108,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -138,51 +134,51 @@
    - +
    o Sphere()

    - -

    o Sphere(const osg::Vec3& center, float radius) + +
    o Sphere(const osg::Vec3& center, float radius)

    - -

    o Sphere(const Sphere& sphere, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o Sphere(const Sphere& sphere, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

    - -

    oMETA_Shape (osg, Sphere)() const + +
    oMETA_Shape (osg, Sphere)() const

    - -

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

    - -

    oinline void setCenter(const Vec3& center) + +
    oinline void setCenter(const Vec3& center)

    - +

    oinline const Vec3& getCenter() const

    - -

    oinline void setRadius(float radius) + +
    oinline void setRadius(float radius)

    - +

    oinline float getRadius() const

    - +

    ovirtual ~Sphere()

    - +

    oVec3 _center

    - +

    ofloat _radius

    diff --git a/doc/doc++/osg/State.html b/doc/doc++/osg/State.html index cb3525b7e..c52613dab 100644 --- a/doc/doc++/osg/State.html +++ b/doc/doc++/osg/State.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::State - + @@ -23,202 +23,328 @@

    Public Methods

    -[more] State() +[more] 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::RefMatrix* 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::RefMatrix* 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 bool applyMode(StateAttribute::GLMode mode, bool enabled) +[more]inline bool applyMode(StateAttribute::GLMode mode, bool enabled)
    Apply an OpenGL mode if required.
    -[more]inline bool applyTextureMode(unsigned int unit, StateAttribute::GLMode mode, bool enabled) +[more]inline bool applyTextureMode(unsigned int unit, StateAttribute::GLMode mode, bool enabled)
    -[more]inline bool applyAttribute(const StateAttribute* attribute) +[more]inline bool applyAttribute(const StateAttribute* attribute)
    Apply an attribute if required.
    -[more]inline bool applyTextureAttribute(unsigned int unit, const StateAttribute* attribute) +[more]inline bool applyTextureAttribute(unsigned int unit, const StateAttribute* attribute)
    -[more]void haveAppliedMode(StateAttribute::GLMode mode, StateAttribute::GLModeValue value) +[more]void haveAppliedMode(StateAttribute::GLMode mode, StateAttribute::GLModeValue value)
    Mode has been set externally, update state to reflect this setting
    -[more]void haveAppliedMode(StateAttribute::GLMode mode) +[more]void haveAppliedMode(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(StateAttribute::Type type) +[more]void haveAppliedAttribute(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]bool getLastAppliedMode(StateAttribute::GLMode mode) const +[more]bool getLastAppliedMode(StateAttribute::GLMode mode) const
    Get whether the current specified mode is enabled (true) or disabled (false)
    -[more]const StateAttribute* getLastAppliedAttribute(StateAttribute::Type type) const +[more]const StateAttribute* getLastAppliedAttribute(StateAttribute::Type type) const
    Get the current specified attribute, return NULL is one has not yet been applied
    -[more]void haveAppliedTextureMode(unsigned int unit, StateAttribute::GLMode mode, StateAttribute::GLModeValue value) +[more]void haveAppliedTextureMode(unsigned int unit, StateAttribute::GLMode mode, StateAttribute::GLModeValue value)
    texture Mode has been set externally, update state to reflect this setting
    -[more]void haveAppliedTextureMode(unsigned int unit, StateAttribute::GLMode mode) +[more]void haveAppliedTextureMode(unsigned int unit, 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) +[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, StateAttribute::Type type) +[more]void haveAppliedTextureAttribute(unsigned int unit, 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]bool getLastAppliedTextureMode(unsigned int unit, StateAttribute::GLMode mode) const +[more]bool getLastAppliedTextureMode(unsigned int unit, StateAttribute::GLMode mode) const
    Get whether the current specified texture mode is enabled (true) or disabled (false)
    -[more]const StateAttribute* getLastAppliedTextureAttribute(unsigned int unit, StateAttribute::Type type) const +[more]const StateAttribute* getLastAppliedTextureAttribute(unsigned int unit, StateAttribute::Type type) const
    Get the current specified texture attribute, return NULL is one has not yet been applied
    -[more]void disableAllVertexArrays() +[more]void dirtyAllModes() +
    Dirty the modes previously applied in osg::State +
    +[more]void dirtyAllAttributes() +
    Dirty the modes attributes previously applied in osg::State +
    +[more]void disableAllVertexArrays()
    disable the vertex, normal, color, tex coords, secenday color, fog coord and index arrays
    -[more]void dirtyAllVertexArrays() +[more]void dirtyAllVertexArrays()
    dirty the vertex, normal, color, tex coords, secenday color, fog coord and index arrays
    -[more]inline void setVertexPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr ) +[more]void setInterleavedArrays( GLenum format, GLsizei stride, void* pointer) +
    Wrapper around glInterleavedArrays(). +
    +[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() +[more]inline void disableVertexPointer()
    wrapper glDisableClientState(GL_VERTEX_ARRAY).
    -[more]inline void dirtyVertexPointer() +[more]inline void dirtyVertexPointer()
    -[more]inline void setNormalPointer( GLenum type, GLsizei stride, const GLvoid* ptr ) +[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() +[more]inline void disableNormalPointer()
    wrapper around glDisableClientState(GL_NORMAL_ARRAY); note, only updates values that change
    -[more]inline void dirtyNormalPointer() +[more]inline void dirtyNormalPointer()
    -[more]inline void setColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr ) +[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() +[more]inline void disableColorPointer()
    wrapper around glDisableClientState(GL_COLOR_ARRAY); note, only updates values that change
    -[more]inline void dirtyColorPointer() +[more]inline void dirtyColorPointer()
    -[more]inline bool isSecondaryColorSupported() const +[more]inline bool isSecondaryColorSupported() const
    -[more]void setSecondaryColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr ) +[more]void setSecondaryColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr )
    wrapper around glEnableClientState(GL_SECONDARY_COLOR_ARRAY);glSecondayColorPointer(); note, only updates values that change
    -[more]inline void disableSecondaryColorPointer() +[more]inline void disableSecondaryColorPointer()
    wrapper around glDisableClientState(GL_SECONDARY_COLOR_ARRAY); note, only updates values that change
    -[more]inline void dirtySecondaryColorPointer() +[more]inline void dirtySecondaryColorPointer()
    -[more]inline void setIndexPointer( GLenum type, GLsizei stride, const GLvoid* ptr ) +[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() +[more]inline void disableIndexPointer()
    wrapper around glDisableClientState(GL_INDEX_ARRAY); note, only updates values that change
    -[more]inline void dirtyIndexPointer() +[more]inline void dirtyIndexPointer()
    -[more]inline bool isFogCoordSupported() const +[more]inline bool isFogCoordSupported() const
    -[more]void setFogCoordPointer( GLenum type, GLsizei stride, const GLvoid* ptr ) +[more]void setFogCoordPointer( GLenum type, GLsizei stride, const GLvoid* ptr )
    wrapper around glEnableClientState(GL_FOG_COORDINATE_ARRAY);glFogCoordPointer(); note, only updates values that change
    -[more]inline void disableFogCoordPointer() +[more]inline void disableFogCoordPointer()
    wrapper around glDisableClientState(GL_FOG_COORDINATE_ARRAY); note, only updates values that change
    -[more]inline void dirtyFogCoordPointer() +[more]inline void dirtyFogCoordPointer()
    -[more]inline void setTexCoordPointer( unsigned int unit, GLint size, GLenum type, GLsizei stride, const GLvoid* ptr ) +[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 ) +[more]inline void disableTexCoordPointer( unsigned int unit )
    wrapper around glDisableClientState(GL_TEXTURE_COORD_ARRAY); note, only updates values that change
    -[more]inline void dirtyTexCoordPointer( unsigned int unit ) +[more]inline void dirtyTexCoordPointer( unsigned int unit )
    -[more]inline void disableTexCoordPointersAboveAndIncluding( unsigned int unit ) +[more]inline void disableTexCoordPointersAboveAndIncluding( unsigned int unit )
    -[more]inline void dirtyTexCoordPointersAboveAndIncluding( unsigned int unit ) +[more]inline void dirtyTexCoordPointersAboveAndIncluding( unsigned int unit )
    -[more]bool setClientActiveTextureUnit( 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 ) +[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) +[more]inline void setContextID(unsigned int contextID)
    Set the current OpenGL context uniqueID.
    -[more]inline unsigned int getContextID() const +[more]inline 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]void setReportGLErrors(bool flag)
    -[more]inline void pushAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList) +[more]bool getReportGLErrors() const
    -[more]inline void popModeList(ModeMap& modeMap, const StateSet::ModeList& modeList) +[more]bool checkGLErrors(const char* str) const
    -[more]inline void popAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList) +[more]bool checkGLErrors(StateAttribute::GLMode mode) const
    -[more]inline void applyModeList(ModeMap& modeMap, const StateSet::ModeList& modeList) +[more]bool checkGLErrors(const StateAttribute* attribute) const
    -[more]inline void applyAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList) +[more]inline void pushModeList(ModeMap& modeMap, const StateSet::ModeList& modeList)
    -[more]inline void applyModeMap(ModeMap& modeMap) +[more]inline void pushAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList)
    -[more]inline void applyAttributeMap(AttributeMap& attributeMap) +[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)

    Public Members

    -[more]typedef std::pair<const StateAttribute*,StateAttribute::OverrideValue> AttributePair +[more]typedef std::pair<const StateAttribute*,StateAttribute::OverrideValue> AttributePair
    -[more]typedef std::vector<AttributePair> AttributeVec +[more]typedef std::vector<AttributePair> AttributeVec
    -[more]typedef std::vector<StateAttribute::GLModeValue> ValueVec +[more]typedef std::vector<StateAttribute::GLModeValue> ValueVec +

    + +

    +

    Protected Fields

    +[more]unsigned int _contextID +
    +[more]ref_ptr<FrameStamp> _frameStamp +
    +[more]ref_ptr<const RefMatrix> _identity +
    +[more]ref_ptr<const RefMatrix> _projection +
    +[more]ref_ptr<const RefMatrix> _modelView +
    +[more]ref_ptr<DisplaySettings> _displaySettings +
    +[more]bool _reportGLErrors +
    +[more]ModeMap _modeMap +
    +[more]AttributeMap _attributeMap +
    +[more]TextureModeMapList _textureModeMapList +
    +[more]TextureAttributeMapList _textureAttributeMapList +
    +[more]StateSetStack _drawStateStack +
    +[more]EnabledArrayPair _vertexArray +
    +[more]EnabledArrayPair _normalArray +
    +[more]EnabledArrayPair _colorArray +
    +[more]EnabledArrayPair _secondaryColorArray +
    +[more]EnabledArrayPair _indexArray +
    +[more]EnabledArrayPair _fogArray +
    +[more]EnabledTexCoordArrayList _texCoordArrayList +
    +[more]unsigned int _currentActiveTextureUnit +
    +[more]unsigned int _currentClientActiveTextureUnit +
    +[more]mutable bool _isSecondColorSupportResolved +
    +[more]mutable bool _isSecondColorSupported +
    +[more]mutable bool _isFogCoordSupportResolved +
    +[more]mutable bool _isFogCoordSupported +

    + +

    +

    Protected Methods

    +[more]virtual ~State() +
    +[more]inline bool applyMode(StateAttribute::GLMode mode, bool enabled, ModeStack& ms) +
    apply an OpenGL mode if required, passing in mode, enable flag and appropriate mode stack +
    +[more]inline bool applyAttribute(const StateAttribute* attribute, AttributeStack& as) +
    apply an attribute if required, passing in attribute and appropriate attribute stack +
    +[more]inline bool applyGlobalDefaultAttribute(AttributeStack& as) +
    +[more]inline ModeMap& getOrCreateTextureModeMap(unsigned int unit) +
    +[more]inline AttributeMap& getOrCreateTextureAttributeMap(unsigned int unit) +
    +[more]void haveAppliedMode(ModeMap& modeMap, StateAttribute::GLMode mode, StateAttribute::GLModeValue value) +
    +[more]void haveAppliedMode(ModeMap& modeMap, StateAttribute::GLMode mode) +
    +[more]void haveAppliedAttribute(AttributeMap& attributeMap, const StateAttribute* attribute) +
    +[more]void haveAppliedAttribute(AttributeMap& attributeMap, StateAttribute::Type type) +
    +[more]bool getLastAppliedMode(const ModeMap& modeMap, StateAttribute::GLMode mode) const +
    +[more]const StateAttribute* getLastAppliedAttribute(const AttributeMap& attributeMap, StateAttribute::Type type) const +
    +[more]bool computeSecondaryColorSupported() const +
    +[more]bool computeFogCoordSupported() const +

    + +

    +

    Protected Members

    +[more]struct ModeStack +
    +[more]struct AttributeStack +
    +[more]typedef std::map<StateAttribute::GLMode,ModeStack> ModeMap +
    +[more]typedef std::vector<ModeMap> TextureModeMapList +
    +[more]typedef std::map<StateAttribute::Type,AttributeStack> AttributeMap +
    +[more]typedef std::vector<AttributeMap> TextureAttributeMapList +
    +[more]typedef std::vector<ref_ptr<const StateSet> > StateSetStack +
    +[more]typedef std::vector<ref_ptr<const Matrix> > MatrixStack +
    +[more]struct EnabledArrayPair +
    +[more]typedef std::vector<EnabledArrayPair> EnabledTexCoordArrayList

    @@ -228,26 +354,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -260,99 +382,95 @@ 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) + +
    oinline void applyProjectionMatrix(const osg::RefMatrix* matrix)

    - +

    oconst osg::Matrix& getProjectionMatrix() const

    - -

    oinline void applyModelViewMatrix(const osg::Matrix* matrix) + +
    oinline void applyModelViewMatrix(const osg::RefMatrix* matrix)

    - +

    oconst osg::Matrix& getModelViewMatrix() const

    - +

    oPolytope getViewFrustum() const

    - +

    ovoid apply(const StateSet* dstate)
    Apply stateset

    - +

    ovoid apply()
    Apply the state

    - +

    oinline bool applyMode(StateAttribute::GLMode mode, bool enabled)
    Apply an OpenGL mode if required.

    - +

    oinline bool applyTextureMode(unsigned int unit, StateAttribute::GLMode mode, bool enabled)

    - +

    oinline bool applyAttribute(const StateAttribute* attribute)
    Apply an attribute if required.

    - +

    oinline bool applyTextureAttribute(unsigned int unit, const StateAttribute* attribute)

    - +

    ovoid haveAppliedMode(StateAttribute::GLMode mode, StateAttribute::GLModeValue value)
    Mode has been set externally, update state to reflect this setting

    - +

    ovoid haveAppliedMode(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(StateAttribute::Type type)
    Attribute has been applied externally, and therefore this attribute type has been dirtied @@ -363,33 +481,33 @@ track the current state more accuratly and enable lazy state updating such that only changed state will be applied.

    - +

    obool getLastAppliedMode(StateAttribute::GLMode mode) const
    Get whether the current specified mode is enabled (true) or disabled (false)

    - +

    oconst StateAttribute* getLastAppliedAttribute(StateAttribute::Type type) const
    Get the current specified attribute, return NULL is one has not yet been applied

    - +

    ovoid haveAppliedTextureMode(unsigned int unit, StateAttribute::GLMode mode, StateAttribute::GLModeValue value)
    texture Mode has been set externally, update state to reflect this setting

    - +

    ovoid haveAppliedTextureMode(unsigned int unit, 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, StateAttribute::Type type)
    texture Attribute has been applied externally, and therefore this attribute type has been dirtied @@ -400,167 +518,184 @@ track the current state more accuratly and enable lazy state updating such that only changed state will be applied.

    - +

    obool getLastAppliedTextureMode(unsigned int unit, StateAttribute::GLMode mode) const
    Get whether the current specified texture mode is enabled (true) or disabled (false)

    - +

    oconst StateAttribute* getLastAppliedTextureAttribute(unsigned int unit, StateAttribute::Type type) const
    Get the current specified texture attribute, return NULL is one has not yet been applied

    + + +

    ovoid dirtyAllModes() +
    Dirty the modes previously applied in osg::State +

    + + +

    ovoid dirtyAllAttributes() +
    Dirty the modes attributes previously applied in osg::State +

    - +

    ovoid disableAllVertexArrays()
    disable the vertex, normal, color, tex coords, secenday color, fog coord and index arrays

    - +

    ovoid dirtyAllVertexArrays()
    dirty the vertex, normal, color, tex coords, secenday color, fog coord and index arrays

    + + +

    ovoid setInterleavedArrays( GLenum format, GLsizei stride, void* pointer) +
    Wrapper around glInterleavedArrays(). +also resets the internal array points and modes within osg::State to keep the other +vertex array operations consistent. +

    - -

    oinline void setVertexPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr ) + +
    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 dirtyVertexPointer()

    - -

    oinline void setNormalPointer( GLenum type, GLsizei stride, const GLvoid* ptr ) + +
    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 dirtyNormalPointer()

    - -

    oinline void setColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr ) + +
    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 dirtyColorPointer()

    - +

    oinline bool isSecondaryColorSupported() const

    - -

    ovoid setSecondaryColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr ) + +
    ovoid setSecondaryColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr )
    wrapper around glEnableClientState(GL_SECONDARY_COLOR_ARRAY);glSecondayColorPointer(); note, only updates values that change

    - +

    oinline void disableSecondaryColorPointer()
    wrapper around glDisableClientState(GL_SECONDARY_COLOR_ARRAY); note, only updates values that change

    - +

    oinline void dirtySecondaryColorPointer()

    - -

    oinline void setIndexPointer( GLenum type, GLsizei stride, const GLvoid* ptr ) + +
    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 dirtyIndexPointer()

    - +

    oinline bool isFogCoordSupported() const

    - -

    ovoid setFogCoordPointer( GLenum type, GLsizei stride, const GLvoid* ptr ) + +
    ovoid setFogCoordPointer( GLenum type, GLsizei stride, const GLvoid* ptr )
    wrapper around glEnableClientState(GL_FOG_COORDINATE_ARRAY);glFogCoordPointer(); note, only updates values that change

    - +

    oinline void disableFogCoordPointer()
    wrapper around glDisableClientState(GL_FOG_COORDINATE_ARRAY); note, only updates values that change

    - +

    oinline void dirtyFogCoordPointer()

    - -

    oinline void setTexCoordPointer( unsigned int unit, GLint size, GLenum type, GLsizei stride, const GLvoid* ptr ) + +
    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 dirtyTexCoordPointer( unsigned int unit )

    - +

    oinline void disableTexCoordPointersAboveAndIncluding( unsigned int unit )

    - +

    oinline void dirtyTexCoordPointersAboveAndIncluding( 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 @@ -574,146 +709,364 @@ number of graphics contexts you have setup. By default contextID is 0.

    - +

    oinline 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

    - +

    otypedef std::pair<const StateAttribute*,StateAttribute::OverrideValue> AttributePair

    - -

    otypedef std::vector<AttributePair> AttributeVec + +
    otypedef std::vector<AttributePair> AttributeVec

    - +

    otypedef std::vector<StateAttribute::GLModeValue> ValueVec +

    + + +

    ovoid setReportGLErrors(bool flag) +

    + + +

    obool getReportGLErrors() const +

    + + +

    obool checkGLErrors(const char* str) const +

    + + +

    obool checkGLErrors(StateAttribute::GLMode mode) const +

    + + +

    obool checkGLErrors(const StateAttribute* attribute) const +

    + + +

    ovirtual ~State() +

    + + +

    ounsigned int _contextID +

    + + +

    oref_ptr<FrameStamp> _frameStamp +

    + + +

    oref_ptr<const RefMatrix> _identity +

    + + +

    oref_ptr<const RefMatrix> _projection +

    + + +

    oref_ptr<const RefMatrix> _modelView +

    + + +

    oref_ptr<DisplaySettings> _displaySettings +

    + + +

    obool _reportGLErrors +

    + + +

    ostruct ModeStack

    - +
    o ModeStack()

    - +

    obool changed

    - +

    obool last_applied_value

    - +

    obool global_default_value

    - -

    oValueVec valueVec + +
    oValueVec valueVec

    -
    - + +
    ostruct AttributeStack +

    + + +
    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 + +
    oAttributeVec attributeVec

    -
    + + + +
    oinline bool applyMode(StateAttribute::GLMode mode, bool enabled, ModeStack& ms) +
    apply an OpenGL mode if required, passing in mode, enable flag and appropriate mode stack +

    + + +

    oinline bool applyAttribute(const StateAttribute* attribute, AttributeStack& as) +
    apply an attribute if required, passing in attribute and appropriate attribute stack +

    + + +

    oinline bool applyGlobalDefaultAttribute(AttributeStack& as) +

    + + +

    otypedef std::map<StateAttribute::GLMode,ModeStack> ModeMap +

    + + +

    otypedef std::vector<ModeMap> TextureModeMapList +

    + + +

    otypedef std::map<StateAttribute::Type,AttributeStack> AttributeMap +

    + + +

    otypedef std::vector<AttributeMap> TextureAttributeMapList +

    + + +

    otypedef std::vector<ref_ptr<const StateSet> > StateSetStack +

    + + +

    otypedef std::vector<ref_ptr<const Matrix> > MatrixStack +

    + + +

    oModeMap _modeMap +

    + + +

    oAttributeMap _attributeMap +

    + + +

    oTextureModeMapList _textureModeMapList +

    + + +

    oTextureAttributeMapList _textureAttributeMapList +

    + + +

    oStateSetStack _drawStateStack +

    + + +

    ostruct EnabledArrayPair +

    - +
    o EnabledArrayPair()

    - -

    o EnabledArrayPair(const EnabledArrayPair& eap) + +
    o EnabledArrayPair(const EnabledArrayPair& eap)

    - -

    oEnabledArrayPair& operator = (const EnabledArrayPair& eap) + +
    oEnabledArrayPair& operator = (const EnabledArrayPair& eap)

    - +

    obool _dirty

    - +

    obool _enabled

    - +

    oconst GLvoid* _pointer

    + + +
    otypedef std::vector<EnabledArrayPair> EnabledTexCoordArrayList +

    + + +

    oEnabledArrayPair _vertexArray +

    + + +

    oEnabledArrayPair _normalArray +

    + + +

    oEnabledArrayPair _colorArray +

    + + +

    oEnabledArrayPair _secondaryColorArray +

    + + +

    oEnabledArrayPair _indexArray +

    + + +

    oEnabledArrayPair _fogArray +

    + + +

    oEnabledTexCoordArrayList _texCoordArrayList +

    + + +

    ounsigned int _currentActiveTextureUnit +

    + + +

    ounsigned int _currentClientActiveTextureUnit +

    + + +

    oinline ModeMap& getOrCreateTextureModeMap(unsigned int unit) +

    + + +

    oinline AttributeMap& getOrCreateTextureAttributeMap(unsigned int unit) +

    + + +

    ovoid haveAppliedMode(ModeMap& modeMap, StateAttribute::GLMode mode, StateAttribute::GLModeValue value) +

    + + +

    ovoid haveAppliedMode(ModeMap& modeMap, StateAttribute::GLMode mode) +

    + + +

    ovoid haveAppliedAttribute(AttributeMap& attributeMap, const StateAttribute* attribute) +

    + + +

    ovoid haveAppliedAttribute(AttributeMap& attributeMap, StateAttribute::Type type) +

    + + +

    obool getLastAppliedMode(const ModeMap& modeMap, StateAttribute::GLMode mode) const +

    + + +

    oconst StateAttribute* getLastAppliedAttribute(const AttributeMap& attributeMap, StateAttribute::Type type) const +

    + + +

    omutable bool _isSecondColorSupportResolved +

    + + +

    omutable bool _isSecondColorSupported +

    + + +

    obool computeSecondaryColorSupported() const +

    + + +

    omutable bool _isFogCoordSupportResolved +

    + + +

    omutable bool _isFogCoordSupported +

    + + +

    obool computeFogCoordSupported() const +

    - -

    oinline void pushModeList(ModeMap& modeMap, const StateSet::ModeList& modeList) + +
    oinline void pushModeList(ModeMap& modeMap, const StateSet::ModeList& modeList)

    - -

    oinline void pushAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList) + +
    oinline void pushAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList)

    - -

    oinline void popModeList(ModeMap& modeMap, const StateSet::ModeList& modeList) + +
    oinline void popModeList(ModeMap& modeMap, const StateSet::ModeList& modeList)

    - -

    oinline void popAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList) + +
    oinline void popAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList)

    - -

    oinline void applyModeList(ModeMap& modeMap, const StateSet::ModeList& modeList) + +
    oinline void applyModeList(ModeMap& modeMap, const StateSet::ModeList& modeList)

    - -

    oinline void applyAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList) + +
    oinline void applyAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList)

    - -

    oinline void applyModeMap(ModeMap& modeMap) + +
    oinline void applyModeMap(ModeMap& modeMap)

    - -

    oinline void applyAttributeMap(AttributeMap& attributeMap) + +
    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 3291dfe2f..7ca3b829f 100644 --- a/doc/doc++/osg/StateAttribute.html +++ b/doc/doc++/osg/StateAttribute.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::StateAttribute - + @@ -11,11 +11,11 @@

    Inheritance:

    - - - - - + + + + +
    @@ -23,74 +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* libraryName() const +[more]virtual const char* libraryName() const
    return the name of the attribute's library
    -[more]virtual const char* className() const +[more]virtual const char* className() const
    return the name of the attribute's class type
    -[more]virtual Type getType() const = 0 +[more]virtual Type getType() const = 0
    return the Type identifier of the attribute's class type
    -[more]virtual bool isTextureAttribute() const +[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 +[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 getAssociatedModes(std::vector<GLMode>& ) 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()

    @@ -98,9 +98,9 @@

    Public Methods

    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -116,7 +116,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -128,26 +128,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -159,26 +155,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 @@ -190,38 +186,38 @@ 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, so that state below it is overriden

    - +

    o PROTECTED
    Protecting of GLMode's os StateAttributes is enabled, so that state from above connot override this and below state

    - +

    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 @@ -234,239 +230,247 @@ that types value.

    - +
    o TEXTURE

    - +

    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 POLYGONSTIPPLE

    - +

    o SHADEMODEL

    - +

    o TEXENV

    - +

    o TEXGEN

    - +

    o TEXMAT

    - +

    o LIGHTMODEL

    - +

    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 VERTEXPROGRAM +

    + + +

    o FRAGMENTPROGRAM

    - +
    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 Type getType() const = 0 + +
    ovirtual 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 getAssociatedModes(std::vector<GLMode>& ) 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 @@ -474,17 +478,18 @@ 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
    +VertexProgram
    Texture
    TexMat
    TexGen
    diff --git a/doc/doc++/osg/StateSet.html b/doc/doc++/osg/StateSet.html index a0396fc9e..b9349833b 100644 --- a/doc/doc++/osg/StateSet.html +++ b/doc/doc++/osg/StateSet.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::StateSet - + @@ -23,218 +23,218 @@

    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* libraryName() const +[more]virtual const char* libraryName() const
    -[more]virtual const char* className() const +[more]virtual const char* className() const
    -[more]int compare(const StateSet& rhs, bool compareAttributeContents=false) 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(StateAttribute::GLMode mode, StateAttribute::GLModeValue value) +[more]void setMode(StateAttribute::GLMode mode, StateAttribute::GLModeValue value)
    set this StateSet to contain specified GLMode and value
    -[more]void setModeToInherit(StateAttribute::GLMode mode) +[more]void setModeToInherit(StateAttribute::GLMode mode)
    set this StateSet to inherit specified GLMode type from parents.
    -[more]StateAttribute::GLModeValue getMode(StateAttribute::GLMode mode) const +[more]StateAttribute::GLModeValue getMode(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, StateAttribute::OverrideValue value=StateAttribute::OFF) +[more]void setAttribute(StateAttribute* attribute, StateAttribute::OverrideValue value=StateAttribute::OFF)
    set this StateSet to contain specified attribute and override flag
    -[more]void setAttributeAndModes(StateAttribute* attribute, StateAttribute::GLModeValue value=StateAttribute::ON) +[more]void setAttributeAndModes(StateAttribute* attribute, StateAttribute::GLModeValue value=StateAttribute::ON)
    set this StateSet to contain specified attribute and set the associated GLMode's to specified value
    -[more]void setAttributeToInherit(StateAttribute::Type type) +[more]void setAttributeToInherit(StateAttribute::Type type)
    set this StateSet to inherit specified attribute type from parents.
    -[more]StateAttribute* getAttribute(StateAttribute::Type type) +[more]StateAttribute* getAttribute(StateAttribute::Type type)
    get specified StateAttribute for specified type.
    -[more]const StateAttribute* getAttribute(StateAttribute::Type type) const +[more]const StateAttribute* getAttribute(StateAttribute::Type type) const
    get specified const StateAttribute for specified type.
    -[more]const RefAttributePair* getAttributePair(StateAttribute::Type type) const +[more]const RefAttributePair* getAttributePair(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 setTextureMode(unsigned int unit, StateAttribute::GLMode mode, StateAttribute::GLModeValue value) +[more]void setTextureMode(unsigned int unit, StateAttribute::GLMode mode, StateAttribute::GLModeValue value)
    set this StateSet to contain specified GLMode and value
    -[more]void setTextureModeToInherit(unsigned int unit, StateAttribute::GLMode mode) +[more]void setTextureModeToInherit(unsigned int unit, StateAttribute::GLMode mode)
    set this StateSet to inherit specified GLMode type from parents.
    -[more]StateAttribute::GLModeValue getTextureMode(unsigned int unit, StateAttribute::GLMode mode) const +[more]StateAttribute::GLModeValue getTextureMode(unsigned int unit, StateAttribute::GLMode mode) const
    get specified GLModeValue for specified GLMode.
    -[more]inline TextureModeList& getTextureModeList() +[more]inline TextureModeList& getTextureModeList()
    return the list of all Texture related GLModes contained in this StateSet
    -[more]inline const TextureModeList& getTextureModeList() const +[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, StateAttribute::OverrideValue value=StateAttribute::OFF) +[more]void setTextureAttribute(unsigned int unit, StateAttribute* attribute, StateAttribute::OverrideValue value=StateAttribute::OFF)
    set this StateSet to contain specified attribute and override flag
    -[more]void setTextureAttributeAndModes(unsigned int unit, StateAttribute* attribute, StateAttribute::GLModeValue value=StateAttribute::ON) +[more]void setTextureAttributeAndModes(unsigned int unit, StateAttribute* attribute, 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, StateAttribute::Type type) +[more]void setTextureAttributeToInherit(unsigned int unit, StateAttribute::Type type)
    set this StateSet to inherit specified attribute type from parents.
    -[more]StateAttribute* getTextureAttribute(unsigned int unit, StateAttribute::Type type) +[more]StateAttribute* getTextureAttribute(unsigned int unit, StateAttribute::Type type)
    get specified Texture related StateAttribute for specified type.
    -[more]const StateAttribute* getTextureAttribute(unsigned int unit, StateAttribute::Type type) const +[more]const StateAttribute* getTextureAttribute(unsigned int unit, StateAttribute::Type type) const
    get specified Texture related const StateAttribute for specified type.
    -[more]const RefAttributePair* getTextureAttributePair(unsigned int unit, StateAttribute::Type type) const +[more]const RefAttributePair* getTextureAttributePair(unsigned int unit, StateAttribute::Type type) const
    get specified Texture related RefAttributePair for specified type.
    -[more]inline TextureAttributeList& getTextureAttributeList() +[more]inline TextureAttributeList& getTextureAttributeList()
    return the list of all Texture related StateAttributes contained in this StateSet
    -[more]inline const TextureAttributeList& getTextureAttributeList() const +[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, StateAttribute::GLModeValue value) +[more]void setAssociatedModes(const StateAttribute* attribute, StateAttribute::GLModeValue value)
    -[more]void setAssociatedTextureModes(unsigned int unit, const StateAttribute* attribute, StateAttribute::GLModeValue value) +[more]void setAssociatedTextureModes(unsigned int unit, const StateAttribute* attribute, StateAttribute::GLModeValue value)
    -[more]void setRenderingHint(int hint) +[more]void setRenderingHint(int hint)
    set the RenderingHint of the StateSet.
    -[more]inline int getRenderingHint() const +[more]inline int getRenderingHint() const
    get the RenderingHint of the StateSet
    -[more]void setRenderBinDetails(int binNum, const std::string& binName, RenderBinMode mode=USE_RENDERBIN_DETAILS) +[more]void setRenderBinDetails(int binNum, const std::string& binName, RenderBinMode mode=USE_RENDERBIN_DETAILS)
    set the render bin details
    -[more]void setRenderBinToInherit() +[more]void setRenderBinToInherit()
    set the render bin details to inherit
    -[more]inline RenderBinMode getRenderBinMode() const +[more]inline RenderBinMode getRenderBinMode() const
    get the render bin mode
    -[more]inline bool useRenderBinDetails() const +[more]inline bool useRenderBinDetails() const
    get whether the render bin details are set and should be used
    -[more]inline int getBinNumber() const +[more]inline 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]typedef std::vector<ModeList> TextureModeList +[more]typedef std::vector<ModeList> TextureModeList
    -[more]typedef std::vector<AttributeList> TextureAttributeList +[more]typedef std::vector<AttributeList> TextureAttributeList
    -[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]TextureModeList _textureModeList +[more]TextureModeList _textureModeList
    -[more]TextureAttributeList _textureAttributeList +[more]TextureAttributeList _textureAttributeList
    -[more]int _renderingHint +[more]int _renderingHint
    -[more]RenderBinMode _binMode +[more]RenderBinMode _binMode
    -[more]int _binNum +[more]int _binNum
    -[more]std::string _binName +[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 ModeList& getOrCreateTextureModeList(unsigned int unit)
    -[more]inline AttributeList& getOrCreateTextureAttributeList(unsigned int unit) +[more]inline AttributeList& getOrCreateTextureAttributeList(unsigned int unit)
    -[more]int compareModes(const ModeList& lhs, const ModeList& rhs) +[more]int compareModes(const ModeList& lhs, const ModeList& rhs)
    -[more]int compareAttributePtrs(const AttributeList& lhs, const AttributeList& rhs) +[more]int compareAttributePtrs(const AttributeList& lhs, const AttributeList& rhs)
    -[more]int compareAttributeContents(const AttributeList& lhs, const AttributeList& rhs) +[more]int compareAttributeContents(const AttributeList& lhs, const AttributeList& rhs)
    -[more]void setMode(ModeList& modeList, StateAttribute::GLMode mode, StateAttribute::GLModeValue value) +[more]void setMode(ModeList& modeList, StateAttribute::GLMode mode, StateAttribute::GLModeValue value)
    -[more]void setModeToInherit(ModeList& modeList, StateAttribute::GLMode mode) +[more]void setModeToInherit(ModeList& modeList, StateAttribute::GLMode mode)
    -[more]StateAttribute::GLModeValue getMode(const ModeList& modeList, StateAttribute::GLMode mode) const +[more]StateAttribute::GLModeValue getMode(const ModeList& modeList, StateAttribute::GLMode mode) const
    -[more]void setAssociatedModes(ModeList& modeList, const StateAttribute* attribute, StateAttribute::GLModeValue value) +[more]void setAssociatedModes(ModeList& modeList, const StateAttribute* attribute, StateAttribute::GLModeValue value)
    -[more]void setAttribute(AttributeList& attributeList, StateAttribute* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF) +[more]void setAttribute(AttributeList& attributeList, StateAttribute* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF)
    -[more]StateAttribute* getAttribute(AttributeList& attributeList, const StateAttribute::Type type) +[more]StateAttribute* getAttribute(AttributeList& attributeList, const StateAttribute::Type type)
    -[more]const StateAttribute* getAttribute(const AttributeList& attributeList, const StateAttribute::Type type) const +[more]const StateAttribute* getAttribute(const AttributeList& attributeList, const StateAttribute::Type type) const
    -[more]const RefAttributePair* getAttributePair(const AttributeList& attributeList, const StateAttribute::Type type) const +[more]const RefAttributePair* getAttributePair(const AttributeList& attributeList, const StateAttribute::Type type) const

    @@ -242,9 +242,9 @@

    Public Methods

    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -260,7 +260,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -270,26 +270,22 @@

    Public Methods

    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -306,261 +302,261 @@ 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(StateAttribute::GLMode mode, StateAttribute::GLModeValue value)
    set this StateSet to contain specified GLMode and value

    - +

    ovoid setModeToInherit(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.

    - +

    oStateAttribute::GLModeValue getMode(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, StateAttribute::OverrideValue value=StateAttribute::OFF)
    set this StateSet to contain specified attribute and override flag

    - +

    ovoid setAttributeAndModes(StateAttribute* attribute, StateAttribute::GLModeValue value=StateAttribute::ON)
    set this StateSet to contain specified attribute and set the associated GLMode's to specified value

    - +

    ovoid setAttributeToInherit(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(StateAttribute::Type type)
    get specified StateAttribute for specified type. returns NULL if no type is contained within StateSet.

    - +

    oconst StateAttribute* getAttribute(StateAttribute::Type type) const
    get specified const StateAttribute for specified type. returns NULL if no type is contained within const StateSet.

    - -

    oconst RefAttributePair* getAttributePair(StateAttribute::Type type) const + +
    oconst RefAttributePair* getAttributePair(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

    - -

    otypedef std::vector<ModeList> TextureModeList + +
    otypedef std::vector<ModeList> TextureModeList

    - +

    ovoid setTextureMode(unsigned int unit, StateAttribute::GLMode mode, StateAttribute::GLModeValue value)
    set this StateSet to contain specified GLMode and value

    - +

    ovoid setTextureModeToInherit(unsigned int unit, 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.

    - +

    oStateAttribute::GLModeValue getTextureMode(unsigned int unit, StateAttribute::GLMode mode) const
    get specified GLModeValue for specified GLMode. returns INHERIT if no GLModeValue is contained within StateSet.

    - -

    oinline TextureModeList& getTextureModeList() + +
    oinline TextureModeList& getTextureModeList()
    return the list of all Texture related GLModes contained in this StateSet

    - -

    oinline const TextureModeList& getTextureModeList() const + +
    oinline const TextureModeList& getTextureModeList() const
    return the const list of all Texture related GLModes contained in this const StateSet

    - -

    otypedef std::vector<AttributeList> TextureAttributeList + +
    otypedef std::vector<AttributeList> TextureAttributeList

    - +

    ovoid setTextureAttribute(unsigned int unit, StateAttribute* attribute, StateAttribute::OverrideValue value=StateAttribute::OFF)
    set this StateSet to contain specified attribute and override flag

    - +

    ovoid setTextureAttributeAndModes(unsigned int unit, StateAttribute* attribute, 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, 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, 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, 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, StateAttribute::Type type) const + +
    oconst RefAttributePair* getTextureAttributePair(unsigned int unit, StateAttribute::Type type) const
    get specified Texture related RefAttributePair for specified type. returns NULL if no type is contained within StateSet.

    - -

    oinline TextureAttributeList& getTextureAttributeList() + +
    oinline TextureAttributeList& getTextureAttributeList()
    return the list of all Texture related StateAttributes contained in this StateSet

    - -

    oinline const TextureAttributeList& getTextureAttributeList() const + +
    oinline const TextureAttributeList& getTextureAttributeList() const
    return the const list of all Texture related StateAttributes contained in this const StateSet

    - +

    ovoid setAssociatedModes(const StateAttribute* attribute, StateAttribute::GLModeValue value)

    - +

    ovoid setAssociatedTextureModes(unsigned int unit, const StateAttribute* attribute, StateAttribute::GLModeValue value)

    - +

    oenum RenderingHint

    - +
    o DEFAULT_BIN

    - +

    o OPAQUE_BIN

    - +

    o TRANSPARENT_BIN

    - +
    ovoid setRenderingHint(int hint)
    set the RenderingHint of the StateSet. RenderingHint is used by osgUtil::Renderer to determine which @@ -569,157 +565,157 @@ objects OPAQUE_BIN would typical used, which TRANSPARENT_BIN should be used for objects which need to be depth sorted.

    - +

    oinline 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(int binNum, const std::string& binName, RenderBinMode mode=USE_RENDERBIN_DETAILS) + +
    ovoid setRenderBinDetails(int binNum, const std::string& binName, RenderBinMode mode=USE_RENDERBIN_DETAILS)
    set the render bin details

    - +

    ovoid setRenderBinToInherit()
    set the render bin details to inherit

    - -

    oinline RenderBinMode getRenderBinMode() const + +
    oinline RenderBinMode getRenderBinMode() const
    get the render bin mode

    - +

    oinline bool useRenderBinDetails() const
    get whether the render bin details are set and should be used

    - +

    oinline 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 + +
    oTextureModeList _textureModeList

    - -

    oTextureAttributeList _textureAttributeList + +
    oTextureAttributeList _textureAttributeList

    - -

    oinline ModeList& getOrCreateTextureModeList(unsigned int unit) + +
    oinline ModeList& getOrCreateTextureModeList(unsigned int unit)

    - -

    oinline AttributeList& getOrCreateTextureAttributeList(unsigned int unit) + +
    oinline AttributeList& getOrCreateTextureAttributeList(unsigned int unit)

    - -

    oint compareModes(const ModeList& lhs, const ModeList& rhs) + +
    oint compareModes(const ModeList& lhs, const ModeList& rhs)

    - -

    oint compareAttributePtrs(const AttributeList& lhs, const AttributeList& rhs) + +
    oint compareAttributePtrs(const AttributeList& lhs, const AttributeList& rhs)

    - -

    oint compareAttributeContents(const AttributeList& lhs, const AttributeList& rhs) + +
    oint compareAttributeContents(const AttributeList& lhs, const AttributeList& rhs)

    - -

    ovoid setMode(ModeList& modeList, StateAttribute::GLMode mode, StateAttribute::GLModeValue value) + +
    ovoid setMode(ModeList& modeList, StateAttribute::GLMode mode, StateAttribute::GLModeValue value)

    - -

    ovoid setModeToInherit(ModeList& modeList, StateAttribute::GLMode mode) + +
    ovoid setModeToInherit(ModeList& modeList, StateAttribute::GLMode mode)

    - -

    oStateAttribute::GLModeValue getMode(const ModeList& modeList, StateAttribute::GLMode mode) const + +
    oStateAttribute::GLModeValue getMode(const ModeList& modeList, StateAttribute::GLMode mode) const

    - -

    ovoid setAssociatedModes(ModeList& modeList, const StateAttribute* attribute, StateAttribute::GLModeValue value) + +
    ovoid setAssociatedModes(ModeList& modeList, const StateAttribute* attribute, StateAttribute::GLModeValue value)

    - -

    ovoid setAttribute(AttributeList& attributeList, StateAttribute* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF) + +
    ovoid setAttribute(AttributeList& attributeList, StateAttribute* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF)

    - -

    oStateAttribute* getAttribute(AttributeList& attributeList, const StateAttribute::Type type) + +
    oStateAttribute* getAttribute(AttributeList& attributeList, const StateAttribute::Type type)

    - -

    oconst StateAttribute* getAttribute(const AttributeList& attributeList, const StateAttribute::Type type) const + +
    oconst StateAttribute* getAttribute(const AttributeList& attributeList, const StateAttribute::Type type) const

    - -

    oconst RefAttributePair* getAttributePair(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 e13bb3f34..03024a1b5 100644 --- a/doc/doc++/osg/Statistics.html +++ b/doc/doc++/osg/Statistics.html @@ -3,7 +3,7 @@ class osg::Statistics - + @@ -11,11 +11,11 @@

    Inheritance:

    - - - - - + + + + +
    @@ -23,106 +23,75 @@

    Public Fields

    -[more]int numDrawables +[more]int numDrawables
    -[more]int nummat +[more]int nummat
    -[more]int nbins +[more]int nbins
    -[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]unsigned int _vertexCount +[more]unsigned int _vertexCount
    -[more]PrimtiveValueMap _primitiveCount +[more]PrimtiveValueMap _primitiveCount
    -[more]GLenum _currentPrimtiveFunctorMode +[more]GLenum _currentPrimtiveFunctorMode

    Public Methods

    -[more] Statistics() +[more] Statistics()
    -[more] ~Statistics() +[more]void reset()
    -[more]void reset() +[more]void setType(statsType t)
    -[more]void setType(statsType t) +[more]virtual void setVertexArray(unsigned int count, const Vec3*)
    -[more]virtual void setVertexArray(unsigned int count, const Vec3*) +[more]virtual void drawArrays(GLenum mode, GLint, GLsizei count)
    -[more]virtual void drawArrays(GLenum mode, GLint, GLsizei count) +[more]virtual void drawElements(GLenum mode, GLsizei count, const GLuint*)
    -[more]virtual void drawElements(GLenum mode, GLsizei count, const GLuint*) +[more]virtual void begin(GLenum mode)
    -[more]virtual void begin(GLenum mode) +[more]virtual void vertex(const Vec3&)
    -[more]virtual void vertex(const Vec3&) +[more]virtual void vertex(float, float, float)
    -[more]virtual void vertex(float, float, float) +[more]virtual void end()
    -[more]virtual void end() +[more]void addDrawable()
    -[more]void addDrawable() +[more]void addMatrix()
    -[more]void addMatrix() +[more]void addLight(int np)
    -[more]void addLight(int np) +[more]void addImpostor(int np)
    -[more]void addImpostor(int np) +[more]inline int getBins()
    -[more]inline int getBins() +[more]void setDepth(int d)
    -[more]void setDepth(int d) +[more]void addBins(int np)
    -[more]void addBins(int np) -
    -[more]void setBinNo(int n) +[more]void setBinNo(int n)

    Public Members

    -[more]typedef std::pair<unsigned int,unsigned int> PrimitivePair +[more]typedef std::pair<unsigned int,unsigned int> PrimitivePair
    -[more]typedef std::map<GLenum,PrimitivePair> PrimtiveValueMap +[more]typedef std::map<GLenum,PrimitivePair> PrimtiveValueMap
    -[more]enum statsType -

    - -
    -

    Inherited from Referenced:

    -
    -

    -

    Public Methods

    -oinline Referenced& operator = (Referenced&) -
    -oinline void ref() const -
    -oinline void unref() const -
    -oinline void unref_nodelete() const -
    -oinline int referenceCount() const -
    -oinline static int createdCount() -
    -oinline static int deletedCount() -

    - -

    -

    Protected Fields

    -omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount +[more]enum statsType

    @@ -147,169 +116,165 @@ each trifan or tristrip = (length-2) triangles and so on.
    - +
    otypedef std::pair<unsigned int,unsigned int> PrimitivePair

    - -

    otypedef std::map<GLenum,PrimitivePair> PrimtiveValueMap + +
    otypedef std::map<GLenum,PrimitivePair> PrimtiveValueMap

    - +

    o Statistics()

    - - -

    o ~Statistics() -

    - +

    oenum statsType

    - +
    o STAT_NONE

    - +

    o STAT_FRAMERATE

    - +

    o STAT_GRAPHS

    - +

    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 void setVertexArray(unsigned int count, const Vec3*)

    - +

    ovirtual void drawArrays(GLenum mode, GLint, GLsizei count)

    - +

    ovirtual void drawElements(GLenum mode, GLsizei count, const GLuint*)

    - +

    ovirtual void begin(GLenum mode)

    - +

    ovirtual void vertex(const Vec3&)

    - +

    ovirtual void vertex(float, float, float)

    - +

    ovirtual void end()

    - +

    ovoid addDrawable()

    - +

    ovoid addMatrix()

    - +

    ovoid addLight(int np)

    - +

    ovoid addImpostor(int np)

    - +

    oinline int getBins()

    - +

    ovoid setDepth(int d)

    - +

    ovoid addBins(int np)

    - +

    ovoid setBinNo(int n)

    - +

    oint numDrawables

    - +

    oint nummat

    - +

    oint nbins

    - +

    oint nlights

    - +

    oint depth

    - +

    oint _binNo

    - -

    ostatsType stattype + +
    ostatsType stattype

    - +

    oint nimpostor

    - +

    ounsigned int _vertexCount

    - -

    oPrimtiveValueMap _primitiveCount + +
    oPrimtiveValueMap _primitiveCount

    - +

    oGLenum _currentPrimtiveFunctorMode

    diff --git a/doc/doc++/osg/Stencil.html b/doc/doc++/osg/Stencil.html index c010c25af..07a3cc7f7 100644 --- a/doc/doc++/osg/Stencil.html +++ b/doc/doc++/osg/Stencil.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Stencil - + @@ -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(osg, 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 getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
    -[more]inline void setFunction(Function func, int ref, uint mask) +[more]inline void setFunction(Function func, int ref, uint mask)
    -[more]inline Function getFunction() const +[more]inline Function getFunction() const
    -[more]inline int getFunctionRef() const +[more]inline int getFunctionRef() const
    -[more]inline uint getFunctionMask() const +[more]inline uint getFunctionMask() const
    -[more]inline void setOperation(Operation sfail, Operation zfail, Operation zpass) +[more]inline void setOperation(Operation sfail, Operation zfail, Operation zpass)
    set the operations to apply when the various stencil and depth tests fail or pass.
    -[more]inline Operation getStencilFailOperation() const +[more]inline Operation getStencilFailOperation() const
    get the operation when the stencil test fails
    -[more]inline Operation getStencilPassAndDepthFailOperation() const +[more]inline Operation getStencilPassAndDepthFailOperation() const
    get the operation when the stencil test passes but the depth test fails
    -[more]inline Operation getStencilPassAndDepthPassOperation() const +[more]inline 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 uint getWriteMask() const +[more]inline 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()

    @@ -106,7 +106,7 @@
    ovirtual const char* className() const
    -ovirtual Type getType() const +ovirtual Type getType() const
    ovirtual bool isTextureAttribute() const
    @@ -139,9 +139,9 @@

    Public Methods

    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -157,7 +157,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -169,26 +169,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -200,114 +196,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(osg, 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 getAssociatedModes(std::vector<GLMode>& modes) 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(Function func, int ref, uint mask) + +
    oinline void setFunction(Function func, int ref, uint mask)

    - -

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

    - +

    oinline int getFunctionRef() const

    - -

    oinline uint getFunctionMask() const + +
    oinline uint getFunctionMask() const

    - +

    oenum Operation

    - +
    o KEEP

    - +

    o ZERO

    - +

    o REPLACE

    - +

    o INCR

    - +

    o DECR

    - +

    o INVERT

    - -
    oinline void setOperation(Operation sfail, Operation zfail, Operation zpass) + +
    oinline void setOperation(Operation sfail, Operation zfail, 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 @@ -317,63 +313,63 @@ and depth pass. Ordering of parameter is the same as if using glStencilOp(,,).

    - -

    oinline Operation getStencilFailOperation() const + +
    oinline Operation getStencilFailOperation() const
    get the operation when the stencil test fails

    - -

    oinline Operation getStencilPassAndDepthFailOperation() const + +
    oinline Operation getStencilPassAndDepthFailOperation() const
    get the operation when the stencil test passes but the depth test fails

    - -

    oinline Operation getStencilPassAndDepthPassOperation() const + +
    oinline Operation getStencilPassAndDepthPassOperation() const
    get the operation when both the stencil test and the depth test pass

    - -

    oinline void setWriteMask(uint mask) + +
    oinline void setWriteMask(uint mask)

    - -

    oinline uint getWriteMask() const + +
    oinline uint getWriteMask() const

    - +

    ovirtual void apply(State& state) const

    - +

    ovirtual ~Stencil()

    - -

    oFunction _func + +
    oFunction _func

    - +

    oint _funcRef

    - -

    ouint _funcMask + +
    ouint _funcMask

    - -

    oOperation _sfail + +
    oOperation _sfail

    - -

    oOperation _zfail + +
    oOperation _zfail

    - -

    oOperation _zpass + +
    oOperation _zpass

    - -

    ouint _writeMask + +
    ouint _writeMask


    This class has no child classes.
    diff --git a/doc/doc++/osg/SubloadCallback.2.html b/doc/doc++/osg/SubloadCallback.2.html index 205a5926e..4af1c8a47 100644 --- a/doc/doc++/osg/SubloadCallback.2.html +++ b/doc/doc++/osg/SubloadCallback.2.html @@ -3,7 +3,7 @@ class osg::Texture2D::SubloadCallback - + @@ -22,9 +22,9 @@

    Public Methods

    -[more]virtual void load(const Texture2D& texture, State& state) const = 0 +[more]virtual void load(const Texture2D& texture, State& state) const = 0
    -[more]virtual void subload(const Texture2D& texture, State& state) const = 0 +[more]virtual void subload(const Texture2D& texture, State& state) const = 0

    @@ -34,26 +34,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -64,11 +60,11 @@
    - +
    ovirtual void load(const Texture2D& texture, State& state) const = 0

    - +

    ovirtual void subload(const Texture2D& texture, State& state) const = 0

    diff --git a/doc/doc++/osg/SubloadCallback.3.html b/doc/doc++/osg/SubloadCallback.3.html index 228254199..c7b7d8f4e 100644 --- a/doc/doc++/osg/SubloadCallback.3.html +++ b/doc/doc++/osg/SubloadCallback.3.html @@ -3,7 +3,7 @@ class osg::Texture3D::SubloadCallback - + @@ -22,9 +22,9 @@

    Public Methods

    -[more]virtual void load(const Texture3D& texture, State& state) const = 0 +[more]virtual void load(const Texture3D& texture, State& state) const = 0
    -[more]virtual void subload(const Texture3D& texture, State& state) const = 0 +[more]virtual void subload(const Texture3D& texture, State& state) const = 0

    @@ -34,26 +34,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -64,11 +60,11 @@
    - +
    ovirtual void load(const Texture3D& texture, State& state) const = 0

    - +

    ovirtual void subload(const Texture3D& texture, State& state) const = 0

    diff --git a/doc/doc++/osg/SubloadCallback.4.html b/doc/doc++/osg/SubloadCallback.4.html index a653bfea0..03198df97 100644 --- a/doc/doc++/osg/SubloadCallback.4.html +++ b/doc/doc++/osg/SubloadCallback.4.html @@ -3,7 +3,7 @@ class osg::TextureCubeMap::SubloadCallback - + @@ -22,9 +22,9 @@

    Public Methods

    -[more]virtual void load(const TextureCubeMap& texture, State& state) const = 0 +[more]virtual void load(const TextureCubeMap& texture, State& state) const = 0
    -[more]virtual void subload(const TextureCubeMap& texture, State& state) const = 0 +[more]virtual void subload(const TextureCubeMap& texture, State& state) const = 0

    @@ -34,26 +34,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -64,11 +60,11 @@
    - +
    ovirtual void load(const TextureCubeMap& texture, State& state) const = 0

    - +

    ovirtual void subload(const TextureCubeMap& texture, State& state) const = 0

    diff --git a/doc/doc++/osg/SubloadCallback.html b/doc/doc++/osg/SubloadCallback.html index 7ed2b585f..5b2a0444a 100644 --- a/doc/doc++/osg/SubloadCallback.html +++ b/doc/doc++/osg/SubloadCallback.html @@ -3,7 +3,7 @@ class osg::Texture1D::SubloadCallback - + @@ -22,9 +22,9 @@

    Public Methods

    -[more]virtual void load(const Texture1D& texture, State& state) const = 0 +[more]virtual void load(const Texture1D& texture, State& state) const = 0
    -[more]virtual void subload(const Texture1D& texture, State& state) const = 0 +[more]virtual void subload(const Texture1D& texture, State& state) const = 0

    @@ -34,26 +34,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -64,11 +60,11 @@
    - +
    ovirtual void load(const Texture1D& texture, State& state) const = 0

    - +

    ovirtual void subload(const Texture1D& texture, State& state) const = 0

    diff --git a/doc/doc++/osg/Switch.html b/doc/doc++/osg/Switch.html index 17b8084b4..392d5bbbd 100644 --- a/doc/doc++/osg/Switch.html +++ b/doc/doc++/osg/Switch.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Switch - + @@ -11,11 +11,11 @@

    Inheritance:

    - - - - - + + + + +
    @@ -23,59 +23,68 @@

    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(osg, Switch) +[more] META_Node(osg, Switch)
    -[more]virtual void traverse(NodeVisitor& nv) +[more]virtual void traverse(NodeVisitor& nv)
    -[more]void setNewChildDefaultValue(bool value) +[more]void setNewChildDefaultValue(bool value)
    -[more]bool getNewChildDefaultValue() const +[more]bool getNewChildDefaultValue() const
    -[more]virtual bool addChild( Node* child ) +[more]virtual bool addChild( Node* child )
    -[more]virtual bool addChild( Node* child, bool value ) +[more]virtual bool addChild( Node* child, bool value )
    -[more]virtual bool removeChild( Node* child ) +[more]virtual bool removeChild( Node* child )
    -[more]void setValue(unsigned int pos, bool value) +[more]void setValue(unsigned int pos, bool value)
    -[more]void setValue(const Node* child, bool value) +[more]bool getValue(unsigned int pos) const
    -[more]bool getValue(unsigned int pos) const +[more]void setChildValue(const Node* child, bool value)
    -[more]bool getValue(const Node* child) const +[more]bool getChildValue(const Node* child) const
    -[more]void setValue(int value) +[more]bool setAllChildrenOff() +
    Set all the children off (false), and set the new default child value to off (false) +
    +[more]bool setAllChildrenOn() +
    Set all the children on (true), and set the new default child value to on (true) +
    +[more]bool setSingleChildOn(unsigned int pos) +
    Set a single child to be on, switch off all other children +
    +[more]void setValue(int value)
    Selects the active child Node or enables a special SwitchType mode.
    -[more]int getValue() const +[more]int getValue() const
    -[more]const ValueList& getValueList() const +[more]const ValueList& getValueList() const

    Public Members

    -[more]enum Values +[more]enum Values
    Special values for the Switch.
    -[more]typedef std::vector<bool> ValueList +[more]typedef std::vector<bool> ValueList

    Protected Fields

    -[more]bool _newChildDefaultValue +[more]bool _newChildDefaultValue
    -[more]ValueList _values +[more]ValueList _values

    Protected Methods

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

    @@ -87,31 +96,29 @@
    ovirtual const Group* asGroup() const
    -ovirtual bool replaceChild( Node* origChild, Node* newChild ) +ovirtual bool replaceChild( Node* origChild, Node* newChild )
    oinline unsigned int getNumChildren() const
    -oinline Node* getChild( unsigned int i ) +ovirtual bool setChild( unsigned int i, Node* node )
    -oinline const Node* getChild( unsigned int i ) const +oinline Node* getChild( unsigned int i )
    -oinline bool containsNode( const Node* node ) const +oinline const Node* getChild( unsigned int i ) const
    -oinline ChildList::iterator findNode( const Node* node ) +oinline bool containsNode( const Node* node ) const
    -oinline ChildList::const_iterator findNode( const Node* node ) const -
    -oinline unsigned int findChildNo( const Node* node ) const +oinline unsigned int getChildIndex( const Node* node ) const

    Public Members

    -otypedef std::vector<ref_ptr<Node> > ChildList +otypedef std::vector<ref_ptr<Node> > ChildList

    Protected Fields

    -oChildList _children +oChildList _children

    @@ -119,6 +126,210 @@ ovirtual bool computeBound() const

    + +

    Inherited from Node:

    +
    +

    +

    Public Methods

    +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 +
    +ovirtual Transform* asTransform() +
    +ovirtual const Transform* asTransform() const +
    +ovirtual void accept(NodeVisitor& nv) +
    +ovirtual void ascend(NodeVisitor& nv) +
    +oinline void setName( const std::string& name ) +
    +oinline void setName( const char* name ) +
    +oinline const std::string& getName() const +
    +oinline const ParentList& getParents() const +
    +oinline ParentList getParents() +
    +oinline Group* getParent(unsigned int i) +
    +oinline const Group* getParent(unsigned int i) const +
    +oinline unsigned int getNumParents() const +
    +ovoid setUpdateCallback(NodeCallback* nc) +
    +oinline NodeCallback* getUpdateCallback() +
    +oinline const NodeCallback* getUpdateCallback() const +
    +ovoid setAppCallback(NodeCallback* nc) +
    +oinline NodeCallback* getAppCallback() +
    +oinline const NodeCallback* getAppCallback() const +
    +oinline unsigned int getNumChildrenRequiringUpdateTraversal() const +
    +ovoid setCullCallback(NodeCallback* nc) +
    +oinline NodeCallback* getCullCallback() +
    +oinline const NodeCallback* getCullCallback() const +
    +ovoid setCullingActive(bool active) +
    +oinline bool getCullingActive() const +
    +oinline unsigned int getNumChildrenWithCullingDisabled() const +
    +oinline bool isCullingActive() const +
    +oinline unsigned int getNumChildrenWithOccluderNodes() const +
    +obool containsOccluderNodes() const +
    +oinline void setNodeMask(NodeMask nm) +
    +oinline NodeMask getNodeMask() const +
    +oinline const DescriptionList& getDescriptions() const +
    +oinline DescriptionList& getDescriptions() +
    +oinline const std::string& getDescription(unsigned int i) const +
    +oinline std::string& getDescription(unsigned int i) +
    +oinline unsigned int getNumDescriptions() const +
    +ovoid addDescription(const std::string& desc) +
    +oinline void setStateSet(osg::StateSet* dstate) +
    +oosg::StateSet* getOrCreateStateSet() +
    +oinline osg::StateSet* getStateSet() +
    +oinline const osg::StateSet* getStateSet() const +
    +oinline const BoundingSphere& getBound() const +
    +ovoid dirtyBound() +

    + +

    +

    Public Members

    +otypedef std::vector<Group*> ParentList +
    +otypedef unsigned int NodeMask +
    +otypedef std::vector<std::string> DescriptionList +

    + +

    +

    Protected Fields

    +omutable BoundingSphere _bsphere +
    +omutable bool _bsphere_computed +
    +ostd::string _name +
    +oParentList _parents +
    +oref_ptr<NodeCallback> _updateCallback +
    +ounsigned int _numChildrenRequiringUpdateTraversal +
    +oref_ptr<NodeCallback> _cullCallback +
    +obool _cullingActive +
    +ounsigned int _numChildrenWithCullingDisabled +
    +ounsigned int _numChildrenWithOccluderNodes +
    +oNodeMask _nodeMask +
    +oDescriptionList _descriptions +
    +oref_ptr<StateSet> _stateset +

    + +

    +

    Protected Methods

    +ovoid addParent(osg::Group* node) +
    +ovoid removeParent(osg::Group* node) +
    +ovoid setNumChildrenRequiringUpdateTraversal(unsigned int num) +
    +ovoid setNumChildrenWithCullingDisabled(unsigned int num) +
    +ovoid setNumChildrenWithOccluderNodes(unsigned int num) +

    + +
    +

    Inherited from Object:

    +
    +

    +

    Public Methods

    +oinline void setDataVariance(DataVariance dv) +
    +oinline DataVariance getDataVariance() const +
    +oinline void setUserData(Referenced* obj) +
    +oinline Referenced* getUserData() +
    +oinline const Referenced* getUserData() const +

    + +

    +

    Public Members

    +oenum DataVariance +

    + +

    +

    Protected Fields

    +oDataVariance _dataVariance +
    +oref_ptr<Referenced> _userData +

    + +
    +

    Inherited from Referenced:

    +
    +

    +

    Public Methods

    +oinline Referenced& operator = (Referenced&) +
    +ostatic void setDeleteHandler(DeleteHandler* handler) +
    +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const +
    +oinline void unref_nodelete() const +
    +oinline int referenceCount() const +
    +oinline void unref() const +

    + +

    +

    Protected Fields

    +omutable int _refCount +

    +
    @@ -131,60 +342,75 @@ to represent the different states of a traffic light.
    - +
    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(osg, Switch)

    - +

    ovirtual void traverse(NodeVisitor& nv)

    - +

    ovoid setNewChildDefaultValue(bool value)

    - +

    obool getNewChildDefaultValue() const

    - -

    ovirtual bool addChild( Node* child ) + +
    ovirtual bool addChild( Node* child )

    - -

    ovirtual bool addChild( Node* child, bool value ) + +
    ovirtual bool addChild( Node* child, bool value )

    - -

    ovirtual bool removeChild( Node* child ) + +
    ovirtual bool removeChild( Node* child )

    - +

    ovoid setValue(unsigned int pos, bool value)

    - - -

    ovoid setValue(const Node* child, bool value) -

    - +

    obool getValue(unsigned int pos) const

    - - -

    obool getValue(const Node* child) const + + +
    ovoid setChildValue(const Node* child, bool value) +

    + + +

    obool getChildValue(const Node* child) const +

    + + +

    obool setAllChildrenOff() +
    Set all the children off (false), and set the new default child value to off (false) +

    + + +

    obool setAllChildrenOn() +
    Set all the children on (true), and set the new default child value to on (true) +

    + + +

    obool setSingleChildOn(unsigned int pos) +
    Set a single child to be on, switch off all other children

    - +

    oenum Values
    Special values for the Switch. Use these if you want to @@ -192,59 +418,57 @@ turn on/off all child nodes.

    - +
    o ALL_CHILDREN_ON
    All children turned on.

    - +

    o ALL_CHILDREN_OFF
    All children off.

    - +

    o MULTIPLE_CHILDREN_ON
    Multiple children turned on

    - +
    ovoid setValue(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.

    - +

    oint getValue() const

    - +

    otypedef std::vector<bool> ValueList

    - -

    oconst ValueList& getValueList() const + +
    oconst ValueList& getValueList() const

    - +

    ovirtual ~Switch()

    - +

    obool _newChildDefaultValue

    - -

    oValueList _values + +
    oValueList _values

    -
    -
    Direct child classes: -
    Sequence
    -
    + +
    This class has no child classes.

    Alphabetic index HTML hierarchy of classes or Java



    diff --git a/doc/doc++/osg/TemplateArray.html b/doc/doc++/osg/TemplateArray.html index 7fdc8556e..30e42500f 100644 --- a/doc/doc++/osg/TemplateArray.html +++ b/doc/doc++/osg/TemplateArray.html @@ -3,11 +3,11 @@ template<typename T, Array::Type ARRAYTYPE, int DataSize, int DataType> class osg::TemplateArray - + -

    template<typename T, Array::Type ARRAYTYPE, int DataSize, int DataType> class osg::TemplateArray


    +

    template<typename T, Array::Type ARRAYTYPE, int DataSize, int DataType> class osg::TemplateArray


    Inheritance:

    @@ -22,36 +22,36 @@

    Public Methods

    -[more] TemplateArray() +[more] TemplateArray()
    -[more] TemplateArray(const TemplateArray& ta, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] TemplateArray(const TemplateArray& ta, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    -[more] TemplateArray(unsigned int no) +[more] TemplateArray(unsigned int no)
    -[more] TemplateArray(unsigned int no, T* ptr) +[more] TemplateArray(unsigned int no, T* ptr)
    -[more]template<class InputIterator> TemplateArray(InputIterator first, InputIterator last) +[more]template<class InputIterator> TemplateArray(InputIterator first, InputIterator last)
    -[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 void accept(ArrayVisitor& av) +[more]virtual void accept(ArrayVisitor& av)
    -[more]virtual void accept(ConstArrayVisitor& av) const +[more]virtual void accept(ConstArrayVisitor& av) const
    -[more]virtual void accept(unsigned int index, ValueVisitor& vv) +[more]virtual void accept(unsigned int index, ValueVisitor& vv)
    -[more]virtual void accept(unsigned int index, ConstValueVisitor& vv) const +[more]virtual void accept(unsigned int index, ConstValueVisitor& vv) const
    -[more]virtual const GLvoid* getDataPointer() const +[more]virtual const GLvoid* getDataPointer() const
    -[more]virtual unsigned int getNumElements() const +[more]virtual unsigned int getNumElements() const

    Protected Methods

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

    @@ -65,7 +65,7 @@
    ovirtual const char* className() const
    -oType getType() const +oType getType() const
    oGLint getDataSize() const
    @@ -79,7 +79,7 @@

    Protected Fields

    -oType _arrayType +oType _arrayType
    oGLint _dataSize
    @@ -91,9 +91,9 @@

    Public Methods

    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -109,7 +109,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -121,26 +121,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -151,59 +147,59 @@
    - +
    o TemplateArray()

    - -

    o TemplateArray(const TemplateArray& ta, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o TemplateArray(const TemplateArray& ta, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

    - +

    o TemplateArray(unsigned int no)

    - -

    o TemplateArray(unsigned int no, T* ptr) + +
    o TemplateArray(unsigned int no, T* ptr)

    - -

    otemplate<class InputIterator> TemplateArray(InputIterator first, InputIterator last) + +
    otemplate<class InputIterator> TemplateArray(InputIterator first, InputIterator last)

    - +

    ovirtual Object* cloneType() const

    - +

    ovirtual Object* clone(const CopyOp& copyop) const

    - +

    ovirtual void accept(ArrayVisitor& av)

    - +

    ovirtual void accept(ConstArrayVisitor& av) const

    - -

    ovirtual void accept(unsigned int index, ValueVisitor& vv) + +
    ovirtual void accept(unsigned int index, ValueVisitor& vv)

    - -

    ovirtual void accept(unsigned int index, ConstValueVisitor& vv) const + +
    ovirtual void accept(unsigned int index, ConstValueVisitor& vv) const

    - +

    ovirtual const GLvoid* getDataPointer() const

    - +

    ovirtual unsigned int getNumElements() const

    - +

    ovirtual ~TemplateArray()

    diff --git a/doc/doc++/osg/TemplateIndexArray.html b/doc/doc++/osg/TemplateIndexArray.html index b1eb88e87..391329e8b 100644 --- a/doc/doc++/osg/TemplateIndexArray.html +++ b/doc/doc++/osg/TemplateIndexArray.html @@ -3,11 +3,11 @@ template<typename T, Array::Type ARRAYTYPE, int DataSize, int DataType> class osg::TemplateIndexArray - + -

    template<typename T, Array::Type ARRAYTYPE, int DataSize, int DataType> class osg::TemplateIndexArray


    +

    template<typename T, Array::Type ARRAYTYPE, int DataSize, int DataType> class osg::TemplateIndexArray


    Inheritance:

    @@ -22,38 +22,38 @@

    Public Methods

    -[more] TemplateIndexArray() +[more] TemplateIndexArray()
    -[more] TemplateIndexArray(const TemplateIndexArray& ta, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] TemplateIndexArray(const TemplateIndexArray& ta, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    -[more] TemplateIndexArray(unsigned int no) +[more] TemplateIndexArray(unsigned int no)
    -[more] TemplateIndexArray(unsigned int no, T* ptr) +[more] TemplateIndexArray(unsigned int no, T* ptr)
    -[more]template<class InputIterator> TemplateIndexArray(InputIterator first, InputIterator last) +[more]template<class InputIterator> TemplateIndexArray(InputIterator first, InputIterator last)
    -[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 void accept(ArrayVisitor& av) +[more]virtual void accept(ArrayVisitor& av)
    -[more]virtual void accept(ConstArrayVisitor& av) const +[more]virtual void accept(ConstArrayVisitor& av) const
    -[more]virtual void accept(unsigned int index, ValueVisitor& vv) +[more]virtual void accept(unsigned int index, ValueVisitor& vv)
    -[more]virtual void accept(unsigned int index, ConstValueVisitor& vv) const +[more]virtual void accept(unsigned int index, ConstValueVisitor& vv) const
    -[more]virtual const GLvoid* getDataPointer() const +[more]virtual const GLvoid* getDataPointer() const
    -[more]virtual unsigned int getNumElements() const +[more]virtual unsigned int getNumElements() const
    -[more]virtual unsigned int index(unsigned int pos) const +[more]virtual unsigned int index(unsigned int pos) const

    Protected Methods

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

    @@ -73,7 +73,7 @@
    ovirtual const char* className() const
    -oType getType() const +oType getType() const
    oGLint getDataSize() const
    @@ -87,7 +87,7 @@

    Protected Fields

    -oType _arrayType +oType _arrayType
    oGLint _dataSize
    @@ -99,9 +99,9 @@

    Public Methods

    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -117,7 +117,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -129,26 +129,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -159,63 +155,63 @@
    - +
    o TemplateIndexArray()

    - -

    o TemplateIndexArray(const TemplateIndexArray& ta, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o TemplateIndexArray(const TemplateIndexArray& ta, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

    - +

    o TemplateIndexArray(unsigned int no)

    - -

    o TemplateIndexArray(unsigned int no, T* ptr) + +
    o TemplateIndexArray(unsigned int no, T* ptr)

    - -

    otemplate<class InputIterator> TemplateIndexArray(InputIterator first, InputIterator last) + +
    otemplate<class InputIterator> TemplateIndexArray(InputIterator first, InputIterator last)

    - +

    ovirtual Object* cloneType() const

    - +

    ovirtual Object* clone(const CopyOp& copyop) const

    - +

    ovirtual void accept(ArrayVisitor& av)

    - +

    ovirtual void accept(ConstArrayVisitor& av) const

    - -

    ovirtual void accept(unsigned int index, ValueVisitor& vv) + +
    ovirtual void accept(unsigned int index, ValueVisitor& vv)

    - -

    ovirtual void accept(unsigned int index, ConstValueVisitor& vv) const + +
    ovirtual void accept(unsigned int index, ConstValueVisitor& vv) const

    - +

    ovirtual const GLvoid* getDataPointer() const

    - +

    ovirtual unsigned int getNumElements() const

    - +

    ovirtual unsigned int index(unsigned int pos) const

    - +

    ovirtual ~TemplateIndexArray()

    diff --git a/doc/doc++/osg/TessellationHints.html b/doc/doc++/osg/TessellationHints.html index de4d55322..0599f4840 100644 --- a/doc/doc++/osg/TessellationHints.html +++ b/doc/doc++/osg/TessellationHints.html @@ -3,7 +3,7 @@ class osg::TessellationHints - + @@ -22,73 +22,73 @@

    Public Methods

    -[more] TessellationHints() +[more] TessellationHints()
    -[more] TessellationHints(const TessellationHints& tess, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] TessellationHints(const TessellationHints& tess, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    -[more] META_Object(osg, TessellationHints) +[more] META_Object(osg, TessellationHints)
    -[more]inline void setTessellationMode(TessellationMode mode) +[more]inline void setTessellationMode(TessellationMode mode)
    -[more]inline TessellationMode getTessellationMode() const +[more]inline TessellationMode getTessellationMode() const
    -[more]inline void setTargetNumFaces(unsigned int target) +[more]inline void setTargetNumFaces(unsigned int target)
    -[more]inline unsigned int getTargetNumFaces() const +[more]inline unsigned int getTargetNumFaces() const
    -[more]inline void setCreateFrontFace(bool on) +[more]inline void setCreateFrontFace(bool on)
    -[more]inline bool getCreateFrontFace() const +[more]inline bool getCreateFrontFace() const
    -[more]inline void setCreateBackFace(bool on) +[more]inline void setCreateBackFace(bool on)
    -[more]inline bool getCreateBackFace() const +[more]inline bool getCreateBackFace() const
    -[more]inline void setCreateNormals(bool on) +[more]inline void setCreateNormals(bool on)
    -[more]inline bool getCreateNormals() const +[more]inline bool getCreateNormals() const
    -[more]inline void setCreateTextureCoords(bool on) +[more]inline void setCreateTextureCoords(bool on)
    -[more]inline bool getCreateTextureCoords() const +[more]inline bool getCreateTextureCoords() const
    -[more]inline void setCreateTop(bool on) +[more]inline void setCreateTop(bool on)
    -[more]inline bool getCreateTop() const +[more]inline bool getCreateTop() const
    -[more]inline void setCreateBody(bool on) +[more]inline void setCreateBody(bool on)
    -[more]inline bool getCreateBody() const +[more]inline bool getCreateBody() const
    -[more]inline void setCreateBottom(bool on) +[more]inline void setCreateBottom(bool on)
    -[more]inline bool getCreateBottom() const +[more]inline bool getCreateBottom() const

    Protected Fields

    -[more]TessellationMode _TessellationMode +[more]TessellationMode _TessellationMode
    -[more]unsigned int _targetNumFaces +[more]unsigned int _targetNumFaces
    -[more]bool _createFrontFace +[more]bool _createFrontFace
    -[more]bool _createBackFace +[more]bool _createBackFace
    -[more]bool _createNormals +[more]bool _createNormals
    -[more]bool _createTextureCoords +[more]bool _createTextureCoords
    -[more]bool _createTop +[more]bool _createTop
    -[more]bool _createBody +[more]bool _createBody
    -[more]bool _createBottom +[more]bool _createBottom

    Protected Methods

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

    @@ -106,9 +106,9 @@
    ovirtual const char* className() const
    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -124,7 +124,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -136,26 +136,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -166,127 +162,127 @@
    - +
    o TessellationHints()

    - -

    o TessellationHints(const TessellationHints& tess, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o TessellationHints(const TessellationHints& tess, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

    - +

    o META_Object(osg, TessellationHints)

    - +

    oinline void setTessellationMode(TessellationMode mode)

    - +

    oinline TessellationMode getTessellationMode() const

    - +

    oinline void setTargetNumFaces(unsigned int target)

    - +

    oinline unsigned int getTargetNumFaces() const

    - +

    oinline void setCreateFrontFace(bool on)

    - +

    oinline bool getCreateFrontFace() const

    - +

    oinline void setCreateBackFace(bool on)

    - +

    oinline bool getCreateBackFace() const

    - +

    oinline void setCreateNormals(bool on)

    - +

    oinline bool getCreateNormals() const

    - +

    oinline void setCreateTextureCoords(bool on)

    - +

    oinline bool getCreateTextureCoords() const

    - +

    oinline void setCreateTop(bool on)

    - +

    oinline bool getCreateTop() const

    - +

    oinline void setCreateBody(bool on)

    - +

    oinline bool getCreateBody() const

    - +

    oinline void setCreateBottom(bool on)

    - +

    oinline bool getCreateBottom() const

    - +

    o ~TessellationHints()

    - +

    oTessellationMode _TessellationMode

    - +

    ounsigned int _targetNumFaces

    - +

    obool _createFrontFace

    - +

    obool _createBackFace

    - +

    obool _createNormals

    - +

    obool _createTextureCoords

    - +

    obool _createTop

    - +

    obool _createBody

    - +

    obool _createBottom

    diff --git a/doc/doc++/osg/Test.html b/doc/doc++/osg/Test.html index d17ee256b..dfd6cb802 100644 --- a/doc/doc++/osg/Test.html +++ b/doc/doc++/osg/Test.html @@ -3,7 +3,7 @@ class SG_EXPORT osgUtx::Test - + @@ -23,16 +23,26 @@

    Public Methods

    -[more] Test( const std::string& sName ) +[more] Test( const std::string& sName )
    -[more]const std::string& name() const +[more]const std::string& name() const
    -[more]virtual bool accept( Visitor& ) = 0 +[more]virtual bool accept( Visitor& ) = 0

    Public Members

    -[more]typedef TestVisitor Visitor +[more]typedef TestVisitor Visitor +

    + +

    +

    Protected Fields

    +[more]std::string _name +

    + +

    +

    Protected Methods

    +[more]virtual ~Test()

    @@ -42,26 +52,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -77,20 +83,28 @@ to by an osg::ref_ptr.
    - +
    otypedef TestVisitor Visitor

    - +

    o Test( const std::string& sName )

    - +

    oconst std::string& name() const

    - -

    ovirtual bool accept( Visitor& ) = 0 + +
    ovirtual bool accept( Visitor& ) = 0 +

    + + +

    ovirtual ~Test() +

    + + +

    ostd::string _name


    Direct child classes: diff --git a/doc/doc++/osg/TestCase.html b/doc/doc++/osg/TestCase.html index 97119c424..57fb769a6 100644 --- a/doc/doc++/osg/TestCase.html +++ b/doc/doc++/osg/TestCase.html @@ -3,7 +3,7 @@ class osgUtx::TestCase - + @@ -23,16 +23,21 @@

    Public Methods

    -[more] TestCase( const std::string& sName ) +[more] TestCase( const std::string& sName )
    -[more]virtual bool accept( Visitor& v ) +[more]virtual bool accept( Visitor& v )
    -[more]virtual void run( const Context& ) = 0 +[more]virtual void run( const Context& ) = 0

    Public Members

    -[more]typedef TestContext Context +[more]typedef TestContext Context +

    + +

    +

    Protected Methods

    +[more]virtual ~TestCase()

    @@ -48,6 +53,11 @@ otypedef TestVisitor Visitor

    +

    +

    Protected Fields

    +ostd::string _name +

    +

    Inherited from Referenced:

    @@ -55,26 +65,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -88,20 +94,24 @@ TestCase, is the supplies the interface for a Composite pattern's
    - +
    otypedef TestContext Context

    - +

    o TestCase( const std::string& sName )

    - -

    ovirtual bool accept( Visitor& v ) + +
    ovirtual bool accept( Visitor& v )

    - -

    ovirtual void run( const Context& ) = 0 + +
    ovirtual void run( const Context& ) = 0 +

    + + +

    ovirtual ~TestCase()


    Direct child classes: diff --git a/doc/doc++/osg/TestCase_.html b/doc/doc++/osg/TestCase_.html index 1e5dc13d9..6dfc3a90e 100644 --- a/doc/doc++/osg/TestCase_.html +++ b/doc/doc++/osg/TestCase_.html @@ -3,7 +3,7 @@ template< typename FixtureT > class osgUtx::TestCase_ - + @@ -23,9 +23,19 @@

    Public Methods

    -[more] TestCase_( const std::string& sName, TestMethodPtr pTestMethod ) +[more] TestCase_( const std::string& sName, TestMethodPtr pTestMethod )
    -[more]virtual void run( const Context& ctx ) +[more]virtual void run( const Context& ctx ) +

    + +

    +

    Protected Fields

    +[more]TestMethodPtr _pTestMethod +

    + +

    +

    Protected Methods

    +[more]virtual ~TestCase_()

    @@ -33,7 +43,7 @@

    Public Methods

    -ovirtual bool accept( Visitor& v ) +ovirtual bool accept( Visitor& v )

    @@ -54,6 +64,11 @@ otypedef TestVisitor Visitor

    +

    +

    Protected Fields

    +ostd::string _name +

    +

    Inherited from Referenced:

    @@ -61,26 +76,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -98,12 +109,20 @@ of information from one test case to the next.
    - +
    o TestCase_( const std::string& sName, TestMethodPtr pTestMethod )

    - -

    ovirtual void run( const Context& ctx ) + +
    ovirtual void run( const Context& ctx ) +

    + + +

    ovirtual ~TestCase_() +

    + + +

    oTestMethodPtr _pTestMethod


    This class has no child classes.
    diff --git a/doc/doc++/osg/TestContext.html b/doc/doc++/osg/TestContext.html index 4c64fa54f..f4b82c36d 100644 --- a/doc/doc++/osg/TestContext.html +++ b/doc/doc++/osg/TestContext.html @@ -3,7 +3,7 @@ class SG_EXPORT osgUtx::TestContext - + @@ -13,22 +13,22 @@

    Public Methods

    -[more] TestContext() +[more] TestContext()
    -[more]bool shouldStop() +[more]bool shouldStop()
    -[more]bool isVerbose() +[more]bool isVerbose()
    -[more]void setTraceLevel(TraceLevel tl) +[more]void setTraceLevel(TraceLevel tl)
    -[more]TraceLevel getTraceLevel() const +[more]TraceLevel getTraceLevel() const
    -[more]std::ostream& tout(TraceLevel tl=Full) const +[more]std::ostream& tout(TraceLevel tl=Full) const

    Public Members

    -[more]enum TraceLevel +[more]enum TraceLevel

    @@ -45,48 +45,48 @@ as an output stream for verbose output during the running of tests.
    - +
    o TestContext()

    - +

    obool shouldStop()

    - +

    obool isVerbose()

    - +

    oenum TraceLevel

    - +
    o Off

    - +

    o Results
    < All tracing turned off

    - +

    o Full
    < Output results only

    - -
    ovoid setTraceLevel(TraceLevel tl) + +
    ovoid setTraceLevel(TraceLevel tl)

    - -

    oTraceLevel getTraceLevel() const + +
    oTraceLevel getTraceLevel() const

    - -

    ostd::ostream& tout(TraceLevel tl=Full) const + +
    ostd::ostream& tout(TraceLevel tl=Full) const


    This class has no child classes.
    diff --git a/doc/doc++/osg/TestErrorX.html b/doc/doc++/osg/TestErrorX.html index 21a3641be..393450ce0 100644 --- a/doc/doc++/osg/TestErrorX.html +++ b/doc/doc++/osg/TestErrorX.html @@ -3,7 +3,7 @@ class osgUtx::TestErrorX - + @@ -23,7 +23,7 @@

    Public Methods

    -[more] TestErrorX(const std::string& s) +[more] TestErrorX(const std::string& s)

    @@ -47,8 +47,8 @@ run which prevents the component from being tested
    - -
    o TestErrorX(const std::string& s) + +
    o TestErrorX(const std::string& s)


    This class has no child classes.
    diff --git a/doc/doc++/osg/TestFailureX.html b/doc/doc++/osg/TestFailureX.html index 39af99f93..c5cc74e70 100644 --- a/doc/doc++/osg/TestFailureX.html +++ b/doc/doc++/osg/TestFailureX.html @@ -3,7 +3,7 @@ class osgUtx::TestFailureX - + @@ -23,7 +23,7 @@

    Public Methods

    -[more] TestFailureX(const std::string& s) +[more] TestFailureX(const std::string& s)

    @@ -44,8 +44,8 @@ A TestFailureX indicates a failure in the tested component
    - -
    o TestFailureX(const std::string& s) + +
    o TestFailureX(const std::string& s)


    This class has no child classes.
    diff --git a/doc/doc++/osg/TestGraph.html b/doc/doc++/osg/TestGraph.html index 89538a2ae..ac1f2a83f 100644 --- a/doc/doc++/osg/TestGraph.html +++ b/doc/doc++/osg/TestGraph.html @@ -3,7 +3,7 @@ class SG_EXPORT osgUtx::TestGraph - + @@ -13,12 +13,12 @@

    Public Methods

    -[more]static TestGraph& instance() +[more]static TestGraph& instance()
    -[more]TestSuite* root() +[more]TestSuite* root()
    -[more]TestSuite* suite(const std::string& path, TestSuite* tsuite = 0, bool createIfNecessary = false) +[more]TestSuite* suite(const std::string& path, TestSuite* tsuite = 0, bool createIfNecessary = false)
    A utility function for accessing an arbitrary quite by pathname, relative to the suite 'tsuite' (defaults to root if null), and with the option of creating the \em TestSuite designated by \em path, if it does not already exist.

    @@ -33,17 +33,17 @@ primarily, it provides access to the root suite
    - +
    ostatic TestGraph& instance()

    - +

    oTestSuite* root()
    Returns:
    a pointer to the root TestSuite.

    - +

    oTestSuite* suite(const std::string& path, TestSuite* tsuite = 0, bool createIfNecessary = false)
    A utility function for accessing an arbitrary quite by pathname, relative to @@ -62,10 +62,10 @@ already exists.

    -

    Parameters:
    path - The name of the TestSuite to return. -
    tsuite - The suite to 'start from'. Path is relative to this -suite (defaults to root suite). -
    createIfNecessary - Optionally create the TestSuite(s) denoted by path if +
    Parameters:
    path - The name of the TestSuite to return. +
    tsuite - The suite to 'start from'. Path is relative to this +suite (defaults to root suite). +
    createIfNecessary - Optionally create the TestSuite(s) denoted by path if they do not exist.


    This class has no child classes.
    diff --git a/doc/doc++/osg/TestQualifier.html b/doc/doc++/osg/TestQualifier.html index 4996de99c..22178f4b3 100644 --- a/doc/doc++/osg/TestQualifier.html +++ b/doc/doc++/osg/TestQualifier.html @@ -3,7 +3,7 @@ class SG_EXPORT osgUtx::TestQualifier - + @@ -23,11 +23,11 @@

    Public Methods

    -[more]virtual bool visitEnter( TestSuite* pSuite ) +[more]virtual bool visitEnter( TestSuite* pSuite )
    -[more]virtual bool visitLeave( TestSuite* pSuite ) +[more]virtual bool visitLeave( TestSuite* pSuite )
    -[more]const std::string& currentPath() const +[more]const std::string& currentPath() const

    @@ -50,20 +50,20 @@ current qualified TestSuite path
    - +
    o SEPCHAR

    - +
    ovirtual bool visitEnter( TestSuite* pSuite )

    - +

    ovirtual bool visitLeave( TestSuite* pSuite )

    - +

    oconst std::string& currentPath() const


    diff --git a/doc/doc++/osg/TestRecord.html b/doc/doc++/osg/TestRecord.html index e0f561ef5..5f54000f6 100644 --- a/doc/doc++/osg/TestRecord.html +++ b/doc/doc++/osg/TestRecord.html @@ -3,7 +3,7 @@ class SG_EXPORT osgUtx::TestRecord - + @@ -13,17 +13,17 @@

    Public Methods

    -[more]void start() +[more]void start()
    -[more]void stop() +[more]void stop()
    -[more]void log(const TestFailureX& e) +[more]void log(const TestFailureX& e)
    -[more]void log(const TestErrorX& e) +[more]void log(const TestErrorX& e)
    -[more]void log(const std::exception& e) +[more]void log(const std::exception& e)
    -[more]void log(const std::string& s) +[more]void log(const std::string& s)

    @@ -40,40 +40,40 @@ stored in the TestRecord.
    - +
    ovoid start()

    - +

    ovoid stop()

    - +

    ovoid log(const TestFailureX& e)

    - +

    ovoid log(const TestErrorX& e)

    - +

    ovoid log(const std::exception& e)

    - -

    ovoid log(const std::string& s) + +
    ovoid log(const std::string& s)

    - +
    o Success

    - +

    o Failure

    - +

    o Error

    diff --git a/doc/doc++/osg/TestReport.html b/doc/doc++/osg/TestReport.html index f180835b0..68abd2464 100644 --- a/doc/doc++/osg/TestReport.html +++ b/doc/doc++/osg/TestReport.html @@ -3,7 +3,7 @@ class SG_EXPORT osgUtx::TestReport - + @@ -13,7 +13,7 @@

    Public Methods

    -[more]TestRecord& createRecord(const std::string& s) +[more]TestRecord& createRecord(const std::string& s)

    @@ -30,8 +30,8 @@ e.g. text, XML, CSV
    - -
    oTestRecord& createRecord(const std::string& s) + +
    oTestRecord& createRecord(const std::string& s)


    This class has no child classes.
    diff --git a/doc/doc++/osg/TestRunner.html b/doc/doc++/osg/TestRunner.html index 9cc60e64a..e1246103a 100644 --- a/doc/doc++/osg/TestRunner.html +++ b/doc/doc++/osg/TestRunner.html @@ -3,7 +3,7 @@ class SG_EXPORT osgUtx::TestRunner - + @@ -23,21 +23,21 @@

    Public Methods

    -[more] TestRunner( TestContext& ctx ) +[more] TestRunner( TestContext& ctx )
    -[more]void specify( const std::string& sQualifiedName ) +[more]void specify( const std::string& sQualifiedName )
    Tests may be specified by partial names.
    -[more]bool visitEnter( TestSuite* pSuite ) +[more]bool visitEnter( TestSuite* pSuite )
    -[more]bool visit( TestCase* pTest ) +[more]bool visit( TestCase* pTest )
    -[more]bool visitLeave( TestSuite* pSuite ) +[more]bool visitLeave( TestSuite* pSuite )

    Protected Methods

    -[more]void perform( TestCase* pTest ) +[more]void perform( TestCase* pTest )

    @@ -64,11 +64,11 @@ test graph.
    - +
    o TestRunner( TestContext& ctx )

    - +

    ovoid specify( const std::string& sQualifiedName )
    Tests may be specified by partial names. E.g. specifiying "root" @@ -78,19 +78,19 @@ Specifying "root.osg.de" will run all tests (and suites) below \em root.osg with names beginning with the \em de.

    - +

    obool visitEnter( TestSuite* pSuite )

    - +

    obool visit( TestCase* pTest )

    - +

    obool visitLeave( TestSuite* pSuite )

    - +

    ovoid perform( TestCase* pTest )

    diff --git a/doc/doc++/osg/TestSuite.html b/doc/doc++/osg/TestSuite.html index c30a1c684..8e1f15d95 100644 --- a/doc/doc++/osg/TestSuite.html +++ b/doc/doc++/osg/TestSuite.html @@ -3,7 +3,7 @@ class SG_EXPORT osgUtx::TestSuite - + @@ -23,15 +23,30 @@

    Public Methods

    -[more] TestSuite( const std::string& name ) +[more] TestSuite( const std::string& name )
    -[more]void add( Test* pTest ) +[more]void add( Test* pTest )
    Adds a Test to the suite.
    -[more]Test* findChild(const std::string& name) +[more]Test* findChild(const std::string& name)
    -[more]virtual bool accept( Test::Visitor& v ) +[more]virtual bool accept( Test::Visitor& v ) +

    + +

    +

    Protected Fields

    +[more]Tests _tests +

    + +

    +

    Protected Methods

    +[more]virtual ~TestSuite() +

    + +

    +

    Protected Members

    +[more]typedef std::vector< osg::ref_ptr<Test> > Tests

    @@ -47,6 +62,11 @@ otypedef TestVisitor Visitor

    +

    +

    Protected Fields

    +ostd::string _name +

    +

    Inherited from Referenced:

    @@ -54,26 +74,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -87,23 +103,35 @@ and allows aggregation of Tests into hierarchies
    - -
    o TestSuite( const std::string& name ) + +
    o TestSuite( const std::string& name )

    - +

    ovoid add( Test* pTest )
    Adds a Test to the suite.

    - -

    oTest* findChild(const std::string& name) + +
    oTest* findChild(const std::string& name)
    Returns:
    s The immediate child denoted by name, or 0 if not found.

    - +

    ovirtual bool accept( Test::Visitor& v ) +

    + + +

    ovirtual ~TestSuite() +

    + + +

    otypedef std::vector< osg::ref_ptr<Test> > Tests +

    + + +

    oTests _tests


    This class has no child classes.
    diff --git a/doc/doc++/osg/TestSuiteAutoRegistrationAgent.html b/doc/doc++/osg/TestSuiteAutoRegistrationAgent.html index 8a93483e7..8f4e9fcc0 100644 --- a/doc/doc++/osg/TestSuiteAutoRegistrationAgent.html +++ b/doc/doc++/osg/TestSuiteAutoRegistrationAgent.html @@ -3,7 +3,7 @@ struct osgUtx::TestSuiteAutoRegistrationAgent - + @@ -12,7 +12,7 @@

    -[more] TestSuiteAutoRegistrationAgent(TestSuite* tsuite, const char* path = 0) +[more] TestSuiteAutoRegistrationAgent(TestSuite* tsuite, const char* path = 0)

    @@ -27,7 +27,7 @@ direct use, it should be used via the following macros. (It's a secret agent :-)
    - +
    o TestSuiteAutoRegistrationAgent(TestSuite* tsuite, const char* path = 0)

    See Also:
    OSGUTX_AUTOREGISTER_TESTSUITE, OSGUTX_AUTOREGISTER_TESTSUITE_AT

    Alphabetic index HTML hierarchy of classes or Java


    diff --git a/doc/doc++/osg/TestVisitor.html b/doc/doc++/osg/TestVisitor.html index 902d0170d..77eed3c0c 100644 --- a/doc/doc++/osg/TestVisitor.html +++ b/doc/doc++/osg/TestVisitor.html @@ -3,7 +3,7 @@ class osgUtx::TestVisitor - + @@ -23,20 +23,20 @@

    Public Methods

    -[more]virtual bool visitEnter( TestSuite* ) +[more]virtual bool visitEnter( TestSuite* )
    -[more]virtual bool visit( TestCase* ) = 0 +[more]virtual bool visit( TestCase* ) = 0
    -[more]virtual bool visitLeave( TestSuite* ) +[more]virtual bool visitLeave( TestSuite* )

    Protected Methods

    -[more] TestVisitor() +[more] TestVisitor()
    -[more] TestVisitor( const TestVisitor& ) +[more] TestVisitor( const TestVisitor& )
    -[more]virtual ~TestVisitor() +[more]virtual ~TestVisitor()

    @@ -50,27 +50,27 @@ the traversal to be short-cicuited at any point during the visitation. - +
    ovirtual bool visitEnter( TestSuite* )

    - +

    ovirtual bool visit( TestCase* ) = 0

    - +

    ovirtual bool visitLeave( TestSuite* )

    - +

    o TestVisitor()

    - -

    o TestVisitor( const TestVisitor& ) + +
    o TestVisitor( const TestVisitor& )

    - +

    ovirtual ~TestVisitor()


    diff --git a/doc/doc++/osg/TestX.html b/doc/doc++/osg/TestX.html index 9124ac483..7e9cd722d 100644 --- a/doc/doc++/osg/TestX.html +++ b/doc/doc++/osg/TestX.html @@ -3,7 +3,7 @@ class osgUtx::TestX - + @@ -23,11 +23,11 @@

    Public Methods

    -[more] TestX(const std::string& s) +[more] TestX(const std::string& s)
    -[more]virtual ~TestX() +[more]virtual ~TestX()
    -[more]const std::string& what() const +[more]const std::string& what() const

    @@ -41,15 +41,15 @@ indicate problems during the run of a TestCase
    - -
    o TestX(const std::string& s) + +
    o TestX(const std::string& s)

    - +

    ovirtual ~TestX()

    - +

    oconst std::string& what() const


    diff --git a/doc/doc++/osg/TexEnv.html b/doc/doc++/osg/TexEnv.html index b44386893..9d7b8efd4 100644 --- a/doc/doc++/osg/TexEnv.html +++ b/doc/doc++/osg/TexEnv.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::TexEnv - + @@ -23,46 +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(osg, TexEnv, TEXENV) +[more] META_StateAttribute(osg, TexEnv, TEXENV)
    -[more]virtual bool isTextureAttribute() const +[more]virtual bool isTextureAttribute() const
    -[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( Mode mode ) +[more]void setMode( Mode mode )
    -[more]Mode getMode() const +[more]Mode getMode() const
    -[more]void setColor( const Vec4& color ) +[more]void setColor( const Vec4& color )
    -[more]Vec4& getColor() +[more]Vec4& getColor()
    -[more]const Vec4& getColor() const +[more]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]osg::Vec4 _color +[more]osg::Vec4 _color

    Protected Methods

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

    @@ -80,7 +80,7 @@
    ovirtual const char* className() const
    -ovirtual Type getType() const +ovirtual Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -88,7 +88,7 @@
    obool operator != (const StateAttribute& rhs) const
    -ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
    ovirtual void compile(State&) const

    @@ -113,9 +113,9 @@

    Public Methods

    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -131,7 +131,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -143,26 +143,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -174,87 +170,87 @@
    - +
    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(osg, 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

    - +

    o ADD

    - -
    ovoid setMode( Mode mode ) + +
    ovoid setMode( Mode mode )

    - -

    oMode getMode() const + +
    oMode 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

    diff --git a/doc/doc++/osg/TexEnvCombine.html b/doc/doc++/osg/TexEnvCombine.html index 5a99558d3..96e0b4d79 100644 --- a/doc/doc++/osg/TexEnvCombine.html +++ b/doc/doc++/osg/TexEnvCombine.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::TexEnvCombine - + @@ -23,144 +23,144 @@

    Public Methods

    -[more] TexEnvCombine() +[more] TexEnvCombine()
    -[more] TexEnvCombine(const TexEnvCombine& texenv, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] TexEnvCombine(const TexEnvCombine& texenv, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] META_StateAttribute(osg, TexEnvCombine, TEXENV) +[more] META_StateAttribute(osg, TexEnvCombine, TEXENV)
    -[more]virtual bool isTextureAttribute() const +[more]virtual bool isTextureAttribute() const
    -[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 setCombine_RGB(GLint cm) +[more]void setCombine_RGB(GLint cm)
    -[more]void setCombine_Alpha(GLint cm) +[more]void setCombine_Alpha(GLint cm)
    -[more]GLint getCombine_RGB() const +[more]GLint getCombine_RGB() const
    -[more]GLint getCombine_Alpha() const +[more]GLint getCombine_Alpha() const
    -[more]void setSource0_RGB(GLint sp) +[more]void setSource0_RGB(GLint sp)
    -[more]void setSource1_RGB(GLint sp) +[more]void setSource1_RGB(GLint sp)
    -[more]void setSource2_RGB(GLint sp) +[more]void setSource2_RGB(GLint sp)
    -[more]void setSource0_Alpha(GLint sp) +[more]void setSource0_Alpha(GLint sp)
    -[more]void setSource1_Alpha(GLint sp) +[more]void setSource1_Alpha(GLint sp)
    -[more]void setSource2_Alpha(GLint sp) +[more]void setSource2_Alpha(GLint sp)
    -[more]GLint getSource0_RGB() const +[more]GLint getSource0_RGB() const
    -[more]GLint getSource1_RGB() const +[more]GLint getSource1_RGB() const
    -[more]GLint getSource2_RGB() const +[more]GLint getSource2_RGB() const
    -[more]GLint getSource0_Alpha() const +[more]GLint getSource0_Alpha() const
    -[more]GLint getSource1_Alpha() const +[more]GLint getSource1_Alpha() const
    -[more]GLint getSource2_Alpha() const +[more]GLint getSource2_Alpha() const
    -[more]void setOperand0_RGB(GLint op) +[more]void setOperand0_RGB(GLint op)
    -[more]void setOperand1_RGB(GLint op) +[more]void setOperand1_RGB(GLint op)
    -[more]void setOperand2_RGB(GLint op) +[more]void setOperand2_RGB(GLint op)
    -[more]void setOperand0_Alpha(GLint op) +[more]void setOperand0_Alpha(GLint op)
    -[more]void setOperand1_Alpha(GLint op) +[more]void setOperand1_Alpha(GLint op)
    -[more]void setOperand2_Alpha(GLint op) +[more]void setOperand2_Alpha(GLint op)
    -[more]GLint getOperand0_RGB() const +[more]GLint getOperand0_RGB() const
    -[more]GLint getOperand1_RGB() const +[more]GLint getOperand1_RGB() const
    -[more]GLint getOperand2_RGB() const +[more]GLint getOperand2_RGB() const
    -[more]GLint getOperand0_Alpha() const +[more]GLint getOperand0_Alpha() const
    -[more]GLint getOperand1_Alpha() const +[more]GLint getOperand1_Alpha() const
    -[more]GLint getOperand2_Alpha() const +[more]GLint getOperand2_Alpha() const
    -[more]void setScale_RGB(float scale) +[more]void setScale_RGB(float scale)
    -[more]void setScale_Alpha(float scale) +[more]void setScale_Alpha(float scale)
    -[more]float getScale_RGB() const +[more]float getScale_RGB() const
    -[more]float getScale_Alpha() const +[more]float getScale_Alpha() const
    -[more]void setConstantColor( const Vec4& color ) +[more]void setConstantColor( const Vec4& color )
    -[more]const Vec4& getConstantColor() const +[more]const Vec4& getConstantColor() const
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

    Public Members

    -[more]enum CombineParam +[more]enum CombineParam
    -[more]enum SourceParam +[more]enum SourceParam
    -[more]enum OperandParam +[more]enum OperandParam

    Protected Fields

    -[more]bool _needsTexEnvCrossbar +[more]bool _needsTexEnvCrossbar
    -[more]GLint _combine_RGB +[more]GLint _combine_RGB
    -[more]GLint _combine_Alpha +[more]GLint _combine_Alpha
    -[more]GLint _source0_RGB +[more]GLint _source0_RGB
    -[more]GLint _source1_RGB +[more]GLint _source1_RGB
    -[more]GLint _source2_RGB +[more]GLint _source2_RGB
    -[more]GLint _source0_Alpha +[more]GLint _source0_Alpha
    -[more]GLint _source1_Alpha +[more]GLint _source1_Alpha
    -[more]GLint _source2_Alpha +[more]GLint _source2_Alpha
    -[more]GLint _operand0_RGB +[more]GLint _operand0_RGB
    -[more]GLint _operand1_RGB +[more]GLint _operand1_RGB
    -[more]GLint _operand2_RGB +[more]GLint _operand2_RGB
    -[more]GLint _operand0_Alpha +[more]GLint _operand0_Alpha
    -[more]GLint _operand1_Alpha +[more]GLint _operand1_Alpha
    -[more]GLint _operand2_Alpha +[more]GLint _operand2_Alpha
    -[more]float _scale_RGB +[more]float _scale_RGB
    -[more]float _scale_Alpha +[more]float _scale_Alpha
    -[more]osg::Vec4 _constantColor +[more]osg::Vec4 _constantColor

    Protected Methods

    -[more]virtual ~TexEnvCombine() +[more]virtual ~TexEnvCombine()
    -[more]inline bool needsTexEnvCombiner(GLint value) const +[more]inline bool needsTexEnvCombiner(GLint value) const
    -[more]void computeNeedoForTexEnvCombiners() +[more]void computeNeedoForTexEnvCombiners()

    @@ -178,7 +178,7 @@
    ovirtual const char* className() const
    -ovirtual Type getType() const +ovirtual Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -186,7 +186,7 @@
    obool operator != (const StateAttribute& rhs) const
    -ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
    ovirtual void compile(State&) const

    @@ -211,9 +211,9 @@

    Public Methods

    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -229,7 +229,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -241,26 +241,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -272,363 +268,363 @@
    - +
    o TexEnvCombine()

    - -

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

    - -

    o META_StateAttribute(osg, TexEnvCombine, TEXENV) + +
    o META_StateAttribute(osg, TexEnvCombine, 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 CombineParam

    - +
    o REPLACE

    - +

    o MODULATE

    - +

    o ADD

    - +

    o ADD_SIGNED

    - +

    o INTERPOLATE

    - +

    o SUBTRACT

    - +

    o DOT3_RGB

    - +

    o DOT3_RGBA

    - +
    ovoid setCombine_RGB(GLint cm)

    - +

    ovoid setCombine_Alpha(GLint cm)

    - +

    oGLint getCombine_RGB() const

    - +

    oGLint getCombine_Alpha() const

    - +

    oenum SourceParam

    - +
    o CONSTANT

    - +

    o PRIMARY_COLOR

    - +

    o PREVIOUS

    - +

    o TEXTURE

    - +

    o TEXTURE0

    - +

    o TEXTURE1

    - +

    o TEXTURE2

    - +

    o TEXTURE3

    - +

    o TEXTURE4

    - +

    o TEXTURE5

    - +

    o TEXTURE6

    - +

    o TEXTURE7

    - +
    ovoid setSource0_RGB(GLint sp)

    - +

    ovoid setSource1_RGB(GLint sp)

    - +

    ovoid setSource2_RGB(GLint sp)

    - +

    ovoid setSource0_Alpha(GLint sp)

    - +

    ovoid setSource1_Alpha(GLint sp)

    - +

    ovoid setSource2_Alpha(GLint sp)

    - +

    oGLint getSource0_RGB() const

    - +

    oGLint getSource1_RGB() const

    - +

    oGLint getSource2_RGB() const

    - +

    oGLint getSource0_Alpha() const

    - +

    oGLint getSource1_Alpha() const

    - +

    oGLint getSource2_Alpha() const

    - +

    oenum OperandParam

    - +
    o SRC_COLOR

    - +

    o ONE_MINUS_SRC_COLOR

    - +

    o SRC_ALPHA

    - +

    o ONE_MINUS_SRC_ALPHA

    - +
    ovoid setOperand0_RGB(GLint op)

    - +

    ovoid setOperand1_RGB(GLint op)

    - +

    ovoid setOperand2_RGB(GLint op)

    - +

    ovoid setOperand0_Alpha(GLint op)

    - +

    ovoid setOperand1_Alpha(GLint op)

    - +

    ovoid setOperand2_Alpha(GLint op)

    - +

    oGLint getOperand0_RGB() const

    - +

    oGLint getOperand1_RGB() const

    - +

    oGLint getOperand2_RGB() const

    - +

    oGLint getOperand0_Alpha() const

    - +

    oGLint getOperand1_Alpha() const

    - +

    oGLint getOperand2_Alpha() const

    - -

    ovoid setScale_RGB(float scale) + +
    ovoid setScale_RGB(float scale)

    - -

    ovoid setScale_Alpha(float scale) + +
    ovoid setScale_Alpha(float scale)

    - +

    ofloat getScale_RGB() const

    - +

    ofloat getScale_Alpha() const

    - +

    ovoid setConstantColor( const Vec4& color )

    - +

    oconst Vec4& getConstantColor() const

    - +

    ovirtual void apply(State& state) const

    - +

    ovirtual ~TexEnvCombine()

    - +

    oinline bool needsTexEnvCombiner(GLint value) const

    - +

    ovoid computeNeedoForTexEnvCombiners()

    - +

    obool _needsTexEnvCrossbar

    - +

    oGLint _combine_RGB

    - +

    oGLint _combine_Alpha

    - +

    oGLint _source0_RGB

    - +

    oGLint _source1_RGB

    - +

    oGLint _source2_RGB

    - +

    oGLint _source0_Alpha

    - +

    oGLint _source1_Alpha

    - +

    oGLint _source2_Alpha

    - +

    oGLint _operand0_RGB

    - +

    oGLint _operand1_RGB

    - +

    oGLint _operand2_RGB

    - +

    oGLint _operand0_Alpha

    - +

    oGLint _operand1_Alpha

    - +

    oGLint _operand2_Alpha

    - +

    ofloat _scale_RGB

    - +

    ofloat _scale_Alpha

    - +

    oosg::Vec4 _constantColor

    diff --git a/doc/doc++/osg/TexGen.html b/doc/doc++/osg/TexGen.html index 13f6f3039..a68c3149b 100644 --- a/doc/doc++/osg/TexGen.html +++ b/doc/doc++/osg/TexGen.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::TexGen - + @@ -23,55 +23,57 @@

    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(osg, TexGen, TEXGEN) +[more] META_StateAttribute(osg, TexGen, TEXGEN)
    -[more]virtual bool isTextureAttribute() const +[more]virtual bool isTextureAttribute() const
    -[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 getAssociatedModes(std::vector<GLMode>& modes) 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( Mode mode ) +[more]inline void setMode( Mode mode )
    -[more]Mode getMode() const +[more]Mode getMode() const
    -[more]void setPlane(Coord which, const Vec4& plane) +[more]void setPlane(Coord which, const Plane& plane)
    -[more]const Vec4& getPlane(Coord which) const +[more]Plane& getPlane(Coord which) +
    +[more]const Plane& getPlane(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]Plane _plane_s
    additional texgen coefficents for GL_OBJECT_PLANE or GL_EYE_PLANE,
    -[more]Vec4 _plane_t +[more]Plane _plane_t
    -[more]Vec4 _plane_r +[more]Plane _plane_r
    -[more]Vec4 _plane_q +[more]Plane _plane_q

    Protected Methods

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

    @@ -89,7 +91,7 @@
    ovirtual const char* className() const
    -ovirtual Type getType() const +ovirtual Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -120,9 +122,9 @@

    Public Methods

    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -138,7 +140,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -150,26 +152,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -181,123 +179,127 @@
    - +
    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(osg, 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 getAssociatedModes(std::vector<GLMode>& modes) 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( Mode mode ) + +
    oinline void setMode( Mode mode )

    - -

    oMode getMode() const + +
    oMode getMode() const

    - +

    oenum Coord

    - +
    o S

    - +

    o T

    - +

    o R

    - +

    o Q

    - -
    ovoid setPlane(Coord which, const Vec4& plane) + +
    ovoid setPlane(Coord which, const Plane& plane)

    - -

    oconst Vec4& getPlane(Coord which) const + +
    oPlane& getPlane(Coord which) +

    + + +

    oconst Plane& getPlane(Coord which) const

    - +

    ovirtual ~TexGen( void )

    - -

    oMode _mode + +
    oMode _mode

    - -

    oVec4 _plane_s + +
    oPlane _plane_s
    additional texgen coefficents for GL_OBJECT_PLANE or GL_EYE_PLANE,

    - -

    oVec4 _plane_t + +
    oPlane _plane_t

    - -

    oVec4 _plane_r + +
    oPlane _plane_r

    - -

    oVec4 _plane_q + +
    oPlane _plane_q


    This class has no child classes.
    diff --git a/doc/doc++/osg/TexMat.html b/doc/doc++/osg/TexMat.html index 3d41314bb..d8d46e399 100644 --- a/doc/doc++/osg/TexMat.html +++ b/doc/doc++/osg/TexMat.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::TexMat - + @@ -23,39 +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(osg, TexMat, TEXMAT) +[more] META_StateAttribute(osg, TexMat, TEXMAT)
    -[more]virtual bool isTextureAttribute() const +[more]virtual bool isTextureAttribute() const
    -[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 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 )

    @@ -73,7 +73,7 @@
    ovirtual const char* className() const
    -ovirtual Type getType() const +ovirtual Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -81,7 +81,7 @@
    obool operator != (const StateAttribute& rhs) const
    -ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
    ovirtual void compile(State&) const

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

    Public Methods

    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -124,7 +124,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -136,26 +136,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -167,53 +163,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(osg, 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 f0d30a424..f8ea204ec 100644 --- a/doc/doc++/osg/Texture.html +++ b/doc/doc++/osg/Texture.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Texture - + @@ -23,107 +23,107 @@

    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]virtual osg::Object* cloneType() const = 0 +[more]virtual osg::Object* cloneType() const = 0
    -[more]virtual osg::Object* clone(const CopyOp& copyop) const = 0 +[more]virtual osg::Object* clone(const CopyOp& copyop) const = 0
    -[more]virtual bool isSameKindAs(const osg::Object* obj) const +[more]virtual bool isSameKindAs(const osg::Object* obj) const
    -[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
    -[more]virtual const char* className() const +[more]virtual const char* className() const
    -[more]virtual Type getType() const +[more]virtual Type getType() const
    -[more]virtual bool isTextureAttribute() const +[more]virtual bool isTextureAttribute() const
    -[more]void setWrap(WrapParameter which, WrapMode wrap) +[more]void setWrap(WrapParameter which, WrapMode wrap)
    Set the texture wrap mode
    -[more]WrapMode getWrap(WrapParameter which) const +[more]WrapMode getWrap(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& getBorderColor() const +[more]const Vec4& getBorderColor() const
    -[more]void setFilter(FilterParameter which, FilterMode filter) +[more]void setFilter(FilterParameter which, FilterMode filter)
    Set the texture filter mode
    -[more]FilterMode getFilter(FilterParameter which) const +[more]FilterMode getFilter(FilterParameter which) const
    Get the texture filter mode
    -[more]void setMaxAnisotropy(float anis) +[more]void setMaxAnisotropy(float anis)
    Set the maximum anisotropy value, default value is 10 for no anisotropic filtering.
    -[more]inline float getMaxAnisotropy() const +[more]inline float getMaxAnisotropy() const
    Get the maximum anisotropy value
    -[more]inline void setInternalFormatMode(InternalFormatMode mode) +[more]inline void setInternalFormatMode(InternalFormatMode mode)
    Set the internal format mode.
    -[more]inline InternalFormatMode getInternalFormatMode() const +[more]inline InternalFormatMode getInternalFormatMode() const
    Get the internal format mode
    -[more]inline void setInternalFormat(GLint internalFormat) +[more]inline void setInternalFormat(GLint internalFormat)
    Set the internal format to use when creating OpenGL textures.
    -[more]inline GLint getInternalFormat() const +[more]inline GLint getInternalFormat() const
    Get the internal format to use when creating OpenGL textures
    -[more]bool isCompressedInternalFormat() const +[more]bool isCompressedInternalFormat() const
    -[more]inline GLuint& getTextureObject(uint contextID) const +[more]inline GLuint& getTextureObject(uint contextID) const
    return the OpenGL texture object for specified context
    -[more]inline uint& getModifiedTag(uint contextID) const +[more]inline uint& getModifiedTag(uint contextID) const
    -[more]inline uint& getTextureParameterDirty(uint contextID) const +[more]inline uint& getTextureParameterDirty(uint contextID) const
    -[more]void dirtyTextureObject() +[more]void dirtyTextureObject()
    Force a recompile on next apply() of associated OpenGL texture objects
    -[more]void dirtyTextureParameters() +[more]void dirtyTextureParameters()
    Force a resetting on next apply() of associated OpenGL texture parameters
    -[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
    -[more]virtual void apply(State& state) const = 0 +[more]virtual void apply(State& state) const = 0
    Texture is pure virtual base class, apply must be overriden.
    -[more]virtual void compile(State& state) const +[more]virtual void compile(State& state) const
    Calls apply(state) to compile the texture.
    -[more]static const Extensions* getExtensions(uint contextID, bool createIfNotInitalized) +[more]static const Extensions* getExtensions(uint contextID, bool createIfNotInitalized)
    Function to call to get the extension of a specified context.
    -[more]static void setExtensions(uint contextID, Extensions* extensions) +[more]static void setExtensions(uint contextID, Extensions* extensions)
    setExtensions allows users to override the extensions across graphics contexts.

    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] Get the handle to the texture object for the current context +[more] Get the handle to the texture object for the current context
    class Extensions: public osg::Referenced
    Extensions class which encapsulates the querring of extensions and associated function pointers, and provide convinience wrappers to check for the extensions or use the associated functions @@ -131,58 +131,58 @@ class Extensions: public mutable TextureNameList _handleList +[more]mutable TextureNameList _handleList
    -[more]mutable ImageModifiedTag _modifiedTag +[more]mutable ImageModifiedTag _modifiedTag
    -[more]mutable TexParameterDirtyList _texParametersDirtyList +[more]mutable TexParameterDirtyList _texParametersDirtyList
    -[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]float _maxAnisotropy +[more]float _maxAnisotropy
    -[more]Vec4 _borderColor +[more]Vec4 _borderColor
    -[more]InternalFormatMode _internalFormatMode +[more]InternalFormatMode _internalFormatMode
    -[more]mutable GLint _internalFormat +[more]mutable GLint _internalFormat

    Protected Methods

    -[more]virtual ~Texture() +[more]virtual ~Texture()
    -[more]virtual void computeInternalFormat() const = 0 +[more]virtual void computeInternalFormat() const = 0
    -[more]void computeInternalFormatWithImage(osg::Image& image) const +[more]void computeInternalFormatWithImage(osg::Image& image) const
    -[more]bool isCompressedInternalFormat(GLint internalFormat) const +[more]bool isCompressedInternalFormat(GLint internalFormat) const
    -[more]void applyTexParameters(GLenum target, State& state) const +[more]void applyTexParameters(GLenum target, State& state) const
    Helper method which does setting of texture paramters.
    -[more]void applyTexImage2D(GLenum target, Image* image, State& state, GLsizei& width, GLsizei& height, GLsizei& numMimpmapLevels) const +[more]void applyTexImage2D(GLenum target, Image* image, State& state, GLsizei& width, GLsizei& height, GLsizei& numMimpmapLevels) const
    Helper method which does the creation of the texture itself, and does not set or use texture binding.
    -[more]int compareTexture(const Texture& rhs) const +[more]int compareTexture(const Texture& rhs) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

    Protected Members

    -[more]typedef buffered_value<GLuint> TextureNameList +[more]typedef buffered_value<GLuint> TextureNameList
    -[more]typedef buffered_value<uint> ImageModifiedTag +[more]typedef buffered_value<uint> ImageModifiedTag
    -[more]typedef buffered_value<uint> TexParameterDirtyList +[more]typedef buffered_value<uint> TexParameterDirtyList

    @@ -198,7 +198,7 @@ class Extensions: public bool operator != (const StateAttribute& rhs) const
    -ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const

    @@ -221,9 +221,9 @@ class Extensions: public inline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -239,7 +239,7 @@ class Extensions: public DataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -251,26 +251,22 @@ class Extensions: public inline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -282,162 +278,162 @@ class Extensions: public - +
    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

    - +

    ovirtual osg::Object* cloneType() const = 0

    - +

    ovirtual osg::Object* clone(const CopyOp& copyop) const = 0

    - +

    ovirtual bool isSameKindAs(const osg::Object* obj) const

    - +

    ovirtual const char* libraryName() const

    - +

    ovirtual const char* className() const

    - -

    ovirtual Type getType() const + +
    ovirtual Type getType() const

    - +

    ovirtual bool isTextureAttribute() const

    - +

    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(WrapParameter which, WrapMode wrap) + +
    ovoid setWrap(WrapParameter which, WrapMode wrap)
    Set the texture wrap mode

    - -

    oWrapMode getWrap(WrapParameter which) const + +
    oWrapMode getWrap(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& getBorderColor() 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

    - -
    ovoid setFilter(FilterParameter which, FilterMode filter) + +
    ovoid setFilter(FilterParameter which, FilterMode filter)
    Set the texture filter mode

    - -

    oFilterMode getFilter(FilterParameter which) const + +
    oFilterMode getFilter(FilterParameter which) const
    Get the texture filter mode

    - +

    ovoid setMaxAnisotropy(float anis)
    Set the maximum anisotropy value, default value is 10 for no anisotropic filtering. If hardware does not support anisotropic @@ -446,123 +442,123 @@ valid range is 1.0f upwards. The maximum value depends on the graphics system being used.

    - +

    oinline float getMaxAnisotropy() const
    Get the maximum anisotropy value

    - +

    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(InternalFormatMode mode) + +
    oinline void setInternalFormatMode(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 _internalFormat.

    - -

    oinline InternalFormatMode getInternalFormatMode() const + +
    oinline InternalFormatMode getInternalFormatMode() const
    Get the internal format mode

    - +

    oinline void setInternalFormat(GLint internalFormat)
    Set the internal format to use when creating OpenGL textures. Also sets the internalFormatMode to USE_USER_DEFINED_FORMAT.

    - +

    oinline GLint getInternalFormat() const
    Get the internal format to use when creating OpenGL textures

    - +

    obool isCompressedInternalFormat() const

    - +

    o Get the handle to the texture object for the current context
    Get the handle to the texture object for the current context

    - -

    oinline GLuint& getTextureObject(uint contextID) const + +
    oinline GLuint& getTextureObject(uint contextID) const
    return the OpenGL texture object for specified context

    - -

    oinline uint& getModifiedTag(uint contextID) const + +
    oinline uint& getModifiedTag(uint contextID) const

    - -

    oinline uint& getTextureParameterDirty(uint contextID) const + +
    oinline uint& getTextureParameterDirty(uint contextID) const

    - +

    ovoid dirtyTextureObject()
    Force a recompile on next apply() of associated OpenGL texture objects

    - +

    ovoid dirtyTextureParameters()
    Force a resetting on next apply() of associated OpenGL texture parameters

    - -

    ostatic void deleteTextureObject(uint contextID, GLuint handle) + +
    ostatic 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

    - -

    ostatic void flushDeletedTextureObjects(uint 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 void apply(State& state) const = 0
    Texture is pure virtual base class, apply must be overriden.

    - +

    ovirtual void compile(State& state) const
    Calls apply(state) to compile the texture.

    - -

    ostatic const Extensions* getExtensions(uint contextID, bool createIfNotInitalized) + +
    ostatic const Extensions* getExtensions(uint contextID, bool createIfNotInitalized)
    Function to call to get the extension of a specified context. If the Exentsion object for that context has not yet been created then and the 'createIfNotInitalized' flag been set to false then returns NULL. @@ -571,102 +567,102 @@ automatically created. However, in this case the extension object only be created with the graphics context associated with ContextID..

    - -

    ostatic void setExtensions(uint contextID, Extensions* extensions) + +
    ostatic void setExtensions(uint contextID, Extensions* extensions)
    setExtensions allows users to override the extensions across graphics contexts. typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions.

    - +

    ovirtual ~Texture()

    - +

    ovirtual void computeInternalFormat() const = 0

    - +

    ovoid computeInternalFormatWithImage(osg::Image& image) const

    - +

    obool isCompressedInternalFormat(GLint internalFormat) const

    - +

    ovoid applyTexParameters(GLenum target, State& state) const
    Helper method which does setting of texture paramters.

    - -

    ovoid applyTexImage2D(GLenum target, Image* image, State& state, GLsizei& width, GLsizei& height, GLsizei& numMimpmapLevels) const + +
    ovoid applyTexImage2D(GLenum target, Image* image, State& state, GLsizei& width, GLsizei& height, GLsizei& numMimpmapLevels) const
    Helper method which does the creation of the texture itself, and does not set or use texture binding.

    - +

    oint compareTexture(const Texture& rhs) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

    - +

    otypedef buffered_value<GLuint> TextureNameList

    - -

    omutable TextureNameList _handleList + +
    omutable TextureNameList _handleList

    - -

    otypedef buffered_value<uint> ImageModifiedTag + +
    otypedef buffered_value<uint> ImageModifiedTag

    - -

    omutable ImageModifiedTag _modifiedTag + +
    omutable ImageModifiedTag _modifiedTag

    - -

    otypedef buffered_value<uint> TexParameterDirtyList + +
    otypedef buffered_value<uint> TexParameterDirtyList

    - -

    omutable TexParameterDirtyList _texParametersDirtyList + +
    omutable TexParameterDirtyList _texParametersDirtyList

    - -

    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

    - +

    ofloat _maxAnisotropy

    - +

    oVec4 _borderColor

    - -

    oInternalFormatMode _internalFormatMode + +
    oInternalFormatMode _internalFormatMode

    - +

    omutable GLint _internalFormat


    diff --git a/doc/doc++/osg/Texture1D.html b/doc/doc++/osg/Texture1D.html index c11d96a43..6e083c778 100644 --- a/doc/doc++/osg/Texture1D.html +++ b/doc/doc++/osg/Texture1D.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Texture1D - + @@ -23,52 +23,52 @@

    Public Methods

    -[more] Texture1D() +[more] Texture1D()
    -[more] Texture1D(const Texture1D& text, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Texture1D(const Texture1D& text, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] META_StateAttribute(osg, Texture1D, TEXTURE) +[more] META_StateAttribute(osg, Texture1D, 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]virtual void getAssociatedModes(std::vector<GLMode>& modes) 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]inline void setTextureSize(int width) const +[more]inline void setTextureSize(int width) const
    Set the texture width and height.
    -[more]inline void getTextureSize(int& width) const +[more]inline void getTextureSize(int& width) const
    Get the texture subload width.
    -[more]void setSubloadCallback(SubloadCallback* cb) +[more]void setSubloadCallback(SubloadCallback* cb)
    -[more]SubloadCallback* getSubloadCallback() +[more]SubloadCallback* getSubloadCallback()
    -[more]const SubloadCallback* getSubloadCallback() const +[more]const SubloadCallback* getSubloadCallback() const
    -[more]void setNumMipmapLevels(unsigned int num) const +[more]void setNumMipmapLevels(unsigned int num) const
    Set the number of mip map levels the the texture has been created with, should only be called within an osg::Texuture::apply() and custom OpenGL texture load
    -[more]unsigned int getNumMipmapLevels() const +[more]unsigned int getNumMipmapLevels() const
    Get the number of mip map levels the the texture has been created with
    -[more]void copyTexImage1D(State& state, int x, int y, int width) +[more]void copyTexImage1D(State& state, int x, int y, int width)
    Copy pixels into a 1D texture imageAs per glCopyTexImage1D.
    -[more]void copyTexSubImage1D(State& state, int xoffset, int x, int y, int width) +[more]void copyTexSubImage1D(State& state, int xoffset, int x, int y, int width)
    Copy a one-dimensional texture subimage.
    -[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

    @@ -79,22 +79,22 @@ class SubloadCallback: public

    Protected Fields

    -[more]mutable ref_ptr<Image> _image +[more]mutable ref_ptr<Image> _image
    -[more]mutable GLsizei _textureWidth +[more]mutable GLsizei _textureWidth
    -[more]mutable GLsizei _numMimpmapLevels +[more]mutable GLsizei _numMimpmapLevels
    -[more]ref_ptr<SubloadCallback> _subloadCallback +[more]ref_ptr<SubloadCallback> _subloadCallback

    Protected Methods

    -[more]virtual ~Texture1D() +[more]virtual ~Texture1D()
    -[more]virtual void computeInternalFormat() const +[more]virtual void computeInternalFormat() const
    -[more]void applyTexImage1D(GLenum target, Image* image, State& state, GLsizei& width, GLsizei& numMimpmapLevels) const +[more]void applyTexImage1D(GLenum target, Image* image, State& state, GLsizei& width, GLsizei& numMimpmapLevels) const
    Helper method which does the creation of the texture itself, and does not set or use texture binding.

    @@ -113,29 +113,29 @@ class SubloadCallback: public ovirtual const char* className() const
    -ovirtual Type getType() const +ovirtual Type getType() const
    ovirtual bool isTextureAttribute() const
    -ovoid setWrap(WrapParameter which, WrapMode wrap) +ovoid setWrap(WrapParameter which, WrapMode wrap)
    -oWrapMode getWrap(WrapParameter which) const +oWrapMode getWrap(WrapParameter which) const
    ovoid setBorderColor(const Vec4& color)
    oconst Vec4& getBorderColor() const
    -ovoid setFilter(FilterParameter which, FilterMode filter) +ovoid setFilter(FilterParameter which, FilterMode filter)
    -oFilterMode getFilter(FilterParameter which) const +oFilterMode getFilter(FilterParameter which) const
    ovoid setMaxAnisotropy(float anis)
    oinline float getMaxAnisotropy() const
    -oinline void setInternalFormatMode(InternalFormatMode mode) +oinline void setInternalFormatMode(InternalFormatMode mode)
    -oinline InternalFormatMode getInternalFormatMode() const +oinline InternalFormatMode getInternalFormatMode() const
    oinline void setInternalFormat(GLint internalFormat)
    @@ -143,25 +143,25 @@ class SubloadCallback: public obool isCompressedInternalFormat() const
    -oinline GLuint& getTextureObject(uint contextID) const +oinline GLuint& getTextureObject(uint contextID) const
    -oinline uint& getModifiedTag(uint contextID) const +oinline uint& getModifiedTag(uint contextID) const
    -oinline uint& getTextureParameterDirty(uint contextID) const +oinline uint& getTextureParameterDirty(uint contextID) const
    ovoid dirtyTextureObject()
    ovoid dirtyTextureParameters()
    -ostatic void deleteTextureObject(uint contextID, GLuint handle) +ostatic void deleteTextureObject(uint contextID, GLuint handle)
    -ostatic void flushDeletedTextureObjects(uint contextID) +ostatic void flushDeletedTextureObjects(uint contextID)
    ovirtual void compile(State& state) const
    -ostatic const Extensions* getExtensions(uint contextID, bool createIfNotInitalized) +ostatic const Extensions* getExtensions(uint contextID, bool createIfNotInitalized)
    -ostatic void setExtensions(uint contextID, Extensions* extensions) +ostatic void setExtensions(uint contextID, Extensions* extensions)

    @@ -184,27 +184,27 @@ class Extensions: public mutable TextureNameList _handleList +omutable TextureNameList _handleList
    -omutable ImageModifiedTag _modifiedTag +omutable ImageModifiedTag _modifiedTag
    -omutable TexParameterDirtyList _texParametersDirtyList +omutable TexParameterDirtyList _texParametersDirtyList
    -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
    ofloat _maxAnisotropy
    oVec4 _borderColor
    -oInternalFormatMode _internalFormatMode +oInternalFormatMode _internalFormatMode
    omutable GLint _internalFormat

    @@ -217,7 +217,7 @@ class Extensions: public void applyTexParameters(GLenum target, State& state) const
    -ovoid applyTexImage2D(GLenum target, Image* image, State& state, GLsizei& width, GLsizei& height, GLsizei& numMimpmapLevels) const +ovoid applyTexImage2D(GLenum target, Image* image, State& state, GLsizei& width, GLsizei& height, GLsizei& numMimpmapLevels) const
    oint compareTexture(const Texture& rhs) const

    @@ -226,9 +226,9 @@ class Extensions: public typedef buffered_value<GLuint> TextureNameList
    -otypedef buffered_value<uint> ImageModifiedTag +otypedef buffered_value<uint> ImageModifiedTag
    -otypedef buffered_value<uint> TexParameterDirtyList +otypedef buffered_value<uint> TexParameterDirtyList

    @@ -263,9 +263,9 @@ class Extensions: public inline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -281,7 +281,7 @@ class Extensions: public DataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -293,26 +293,22 @@ class Extensions: public inline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -324,124 +320,124 @@ class Extensions: public - +
    o Texture1D()

    - -

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

    - -

    o META_StateAttribute(osg, Texture1D, TEXTURE) + +
    o META_StateAttribute(osg, Texture1D, TEXTURE)

    - +

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

    - -

    ovirtual void getAssociatedModes(std::vector<GLMode>& modes) 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.

    - -

    oinline void setTextureSize(int width) const + +
    oinline void setTextureSize(int width) const
    Set the texture width and height. If width or height are zero then the repsective size value is calculated from the source image sizes.

    - -

    oinline void getTextureSize(int& width) const + +
    oinline void getTextureSize(int& width) const
    Get the texture subload width.

    - +

    ovoid setSubloadCallback(SubloadCallback* cb)

    - +

    oSubloadCallback* getSubloadCallback()

    - +

    oconst SubloadCallback* getSubloadCallback() const

    - +

    ovoid setNumMipmapLevels(unsigned int num) const
    Set the number of mip map levels the the texture has been created with, should only be called within an osg::Texuture::apply() and custom OpenGL texture load

    - +

    ounsigned int getNumMipmapLevels() const
    Get the number of mip map levels the the texture has been created with

    - -

    ovoid copyTexImage1D(State& state, int x, int y, int width) + +
    ovoid copyTexImage1D(State& state, int x, int y, int width)
    Copy pixels into a 1D texture imageAs per glCopyTexImage1D. Creates an OpenGL texture object from the current OpenGL background framebuffer contents at pos \a x, \a y with width \a width. \a width must be a power of two.

    - -

    ovoid copyTexSubImage1D(State& state, int xoffset, int x, int y, int width) + +
    ovoid copyTexSubImage1D(State& state, int xoffset, int x, int y, int width)
    Copy a one-dimensional texture subimage. As per glCopyTexSubImage1D. 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.

    - +

    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 ~Texture1D()

    - +

    ovirtual void computeInternalFormat() const

    - -

    ovoid applyTexImage1D(GLenum target, Image* image, State& state, GLsizei& width, GLsizei& numMimpmapLevels) const + +
    ovoid applyTexImage1D(GLenum target, Image* image, State& state, GLsizei& width, GLsizei& numMimpmapLevels) const
    Helper method which does the creation of the texture itself, and does not set or use texture binding.

    - +

    omutable ref_ptr<Image> _image

    - +

    omutable GLsizei _textureWidth

    - +

    omutable GLsizei _numMimpmapLevels

    - +

    oref_ptr<SubloadCallback> _subloadCallback

    diff --git a/doc/doc++/osg/Texture2D.html b/doc/doc++/osg/Texture2D.html index e2662725b..215a17b45 100644 --- a/doc/doc++/osg/Texture2D.html +++ b/doc/doc++/osg/Texture2D.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Texture2D - + @@ -23,52 +23,52 @@

    Public Methods

    -[more] Texture2D() +[more] Texture2D()
    -[more] Texture2D(const Texture2D& text, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Texture2D(const Texture2D& text, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] META_StateAttribute(osg, Texture2D, TEXTURE) +[more] META_StateAttribute(osg, Texture2D, 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]virtual void getAssociatedModes(std::vector<GLMode>& modes) 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]inline void setTextureSize(int width, int height) const +[more]inline void setTextureSize(int width, int height) const
    Set the texture width and height.
    -[more]inline void getTextureSize(int& width, int& height) const +[more]inline void getTextureSize(int& width, int& height) const
    Get the texture subload width.
    -[more]void setSubloadCallback(SubloadCallback* cb) +[more]void setSubloadCallback(SubloadCallback* cb)
    -[more]SubloadCallback* getSubloadCallback() +[more]SubloadCallback* getSubloadCallback()
    -[more]const SubloadCallback* getSubloadCallback() const +[more]const SubloadCallback* getSubloadCallback() const
    -[more]void setNumMipmapLevels(unsigned int num) const +[more]void setNumMipmapLevels(unsigned int num) const
    Set the number of mip map levels the the texture has been created with, should only be called within an osg::Texuture::apply() and custom OpenGL texture load
    -[more]unsigned int getNumMipmapLevels() const +[more]unsigned int getNumMipmapLevels() const
    Get the number of mip map levels the the texture has been created with
    -[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]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

    @@ -79,22 +79,22 @@ class SubloadCallback: public <

    Protected Fields

    -[more]mutable ref_ptr<Image> _image +[more]mutable ref_ptr<Image> _image
    -[more]mutable GLsizei _textureWidth +[more]mutable GLsizei _textureWidth
    -[more]mutable GLsizei _textureHeight +[more]mutable GLsizei _textureHeight
    -[more]mutable GLsizei _numMimpmapLevels +[more]mutable GLsizei _numMimpmapLevels
    -[more]ref_ptr<SubloadCallback> _subloadCallback +[more]ref_ptr<SubloadCallback> _subloadCallback

    Protected Methods

    -[more]virtual ~Texture2D() +[more]virtual ~Texture2D()
    -[more]virtual void computeInternalFormat() const +[more]virtual void computeInternalFormat() const

    @@ -112,29 +112,29 @@ class SubloadCallback: public <
    ovirtual const char* className() const
    -ovirtual Type getType() const +ovirtual Type getType() const
    ovirtual bool isTextureAttribute() const
    -ovoid setWrap(WrapParameter which, WrapMode wrap) +ovoid setWrap(WrapParameter which, WrapMode wrap)
    -oWrapMode getWrap(WrapParameter which) const +oWrapMode getWrap(WrapParameter which) const
    ovoid setBorderColor(const Vec4& color)
    oconst Vec4& getBorderColor() const
    -ovoid setFilter(FilterParameter which, FilterMode filter) +ovoid setFilter(FilterParameter which, FilterMode filter)
    -oFilterMode getFilter(FilterParameter which) const +oFilterMode getFilter(FilterParameter which) const
    ovoid setMaxAnisotropy(float anis)
    oinline float getMaxAnisotropy() const
    -oinline void setInternalFormatMode(InternalFormatMode mode) +oinline void setInternalFormatMode(InternalFormatMode mode)
    -oinline InternalFormatMode getInternalFormatMode() const +oinline InternalFormatMode getInternalFormatMode() const
    oinline void setInternalFormat(GLint internalFormat)
    @@ -142,25 +142,25 @@ class SubloadCallback: public <
    obool isCompressedInternalFormat() const
    -oinline GLuint& getTextureObject(uint contextID) const +oinline GLuint& getTextureObject(uint contextID) const
    -oinline uint& getModifiedTag(uint contextID) const +oinline uint& getModifiedTag(uint contextID) const
    -oinline uint& getTextureParameterDirty(uint contextID) const +oinline uint& getTextureParameterDirty(uint contextID) const
    ovoid dirtyTextureObject()
    ovoid dirtyTextureParameters()
    -ostatic void deleteTextureObject(uint contextID, GLuint handle) +ostatic void deleteTextureObject(uint contextID, GLuint handle)
    -ostatic void flushDeletedTextureObjects(uint contextID) +ostatic void flushDeletedTextureObjects(uint contextID)
    ovirtual void compile(State& state) const
    -ostatic const Extensions* getExtensions(uint contextID, bool createIfNotInitalized) +ostatic const Extensions* getExtensions(uint contextID, bool createIfNotInitalized)
    -ostatic void setExtensions(uint contextID, Extensions* extensions) +ostatic void setExtensions(uint contextID, Extensions* extensions)

    @@ -183,27 +183,27 @@ class Extensions: public mutable TextureNameList _handleList +omutable TextureNameList _handleList
    -omutable ImageModifiedTag _modifiedTag +omutable ImageModifiedTag _modifiedTag
    -omutable TexParameterDirtyList _texParametersDirtyList +omutable TexParameterDirtyList _texParametersDirtyList
    -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
    ofloat _maxAnisotropy
    oVec4 _borderColor
    -oInternalFormatMode _internalFormatMode +oInternalFormatMode _internalFormatMode
    omutable GLint _internalFormat

    @@ -216,7 +216,7 @@ class Extensions: public void applyTexParameters(GLenum target, State& state) const
    -ovoid applyTexImage2D(GLenum target, Image* image, State& state, GLsizei& width, GLsizei& height, GLsizei& numMimpmapLevels) const +ovoid applyTexImage2D(GLenum target, Image* image, State& state, GLsizei& width, GLsizei& height, GLsizei& numMimpmapLevels) const
    oint compareTexture(const Texture& rhs) const

    @@ -225,9 +225,9 @@ class Extensions: public typedef buffered_value<GLuint> TextureNameList
    -otypedef buffered_value<uint> ImageModifiedTag +otypedef buffered_value<uint> ImageModifiedTag
    -otypedef buffered_value<uint> TexParameterDirtyList +otypedef buffered_value<uint> TexParameterDirtyList

    @@ -262,9 +262,9 @@ class Extensions: public inline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -280,7 +280,7 @@ class Extensions: public DataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -292,26 +292,22 @@ class Extensions: public inline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -323,87 +319,87 @@ class Extensions: public - +
    o Texture2D()

    - -

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

    - -

    o META_StateAttribute(osg, Texture2D, TEXTURE) + +
    o META_StateAttribute(osg, Texture2D, TEXTURE)

    - +

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

    - -

    ovirtual void getAssociatedModes(std::vector<GLMode>& modes) 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.

    - -

    oinline void setTextureSize(int width, int height) const + +
    oinline void setTextureSize(int width, int height) const
    Set the texture width and height. If width or height are zero then the repsective size value is calculated from the source image sizes.

    - -

    oinline void getTextureSize(int& width, int& height) const + +
    oinline void getTextureSize(int& width, int& height) const
    Get the texture subload width.

    - +

    ovoid setSubloadCallback(SubloadCallback* cb)

    - +

    oSubloadCallback* getSubloadCallback()

    - +

    oconst SubloadCallback* getSubloadCallback() const

    - +

    ovoid setNumMipmapLevels(unsigned int num) const
    Set the number of mip map levels the the texture has been created with, should only be called within an osg::Texuture::apply() and custom OpenGL texture load

    - +

    ounsigned int getNumMipmapLevels() const
    Get the number of mip map levels the the texture has been created with

    - -

    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 @@ -411,37 +407,37 @@ 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.

    - +

    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 ~Texture2D()

    - +

    ovirtual void computeInternalFormat() const

    - +

    omutable ref_ptr<Image> _image

    - +

    omutable GLsizei _textureWidth

    - +

    omutable GLsizei _textureHeight

    - +

    omutable GLsizei _numMimpmapLevels

    - +

    oref_ptr<SubloadCallback> _subloadCallback

    diff --git a/doc/doc++/osg/Texture3D.html b/doc/doc++/osg/Texture3D.html index 4b8ebfde1..2eec1e2d5 100644 --- a/doc/doc++/osg/Texture3D.html +++ b/doc/doc++/osg/Texture3D.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Texture3D - + @@ -23,55 +23,55 @@

    Public Methods

    -[more] Texture3D() +[more] Texture3D()
    -[more] Texture3D(const Texture3D& text, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Texture3D(const Texture3D& text, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] META_StateAttribute(osg, Texture3D, TEXTURE) +[more] META_StateAttribute(osg, Texture3D, 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]virtual void getAssociatedModes(std::vector<GLMode>& modes) 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]inline void setTextureSize(int width, int height, int depth) const +[more]inline void setTextureSize(int width, int height, int depth) const
    Set the texture width and height.
    -[more]inline void getTextureSize(int& width, int& height, int& depth) const +[more]inline void getTextureSize(int& width, int& height, int& depth) const
    Get the texture subload width.
    -[more]void setSubloadCallback(SubloadCallback* cb) +[more]void setSubloadCallback(SubloadCallback* cb)
    -[more]SubloadCallback* getSubloadCallback() +[more]SubloadCallback* getSubloadCallback()
    -[more]const SubloadCallback* getSubloadCallback() const +[more]const SubloadCallback* getSubloadCallback() const
    -[more]void setNumMipmapLevels(unsigned int num) const +[more]void setNumMipmapLevels(unsigned int num) const
    Set the number of mip map levels the the texture has been created with, should only be called within an osg::Texuture::apply() and custom OpenGL texture load
    -[more]unsigned int getNumMipmapLevels() const +[more]unsigned int getNumMipmapLevels() const
    Get the number of mip map levels the the texture has been created with
    -[more]void copyTexSubImage3D(State& state, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height) +[more]void copyTexSubImage3D(State& state, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height)
    Copy a two-dimensional texture subimage.
    -[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]static const Extensions* getExtensions(uint contextID, bool createIfNotInitalized) +[more]static const Extensions* getExtensions(uint contextID, bool createIfNotInitalized)
    Function to call to get the extension of a specified context.
    -[more]static void setExtensions(uint contextID, Extensions* extensions) +[more]static void setExtensions(uint contextID, Extensions* extensions)
    setExtensions allows users to override the extensions across graphics contexts.

    @@ -85,26 +85,26 @@ class Extensions: public mutable ref_ptr<Image> _image +[more]mutable ref_ptr<Image> _image
    -[more]mutable GLsizei _textureWidth +[more]mutable GLsizei _textureWidth
    -[more]mutable GLsizei _textureHeight +[more]mutable GLsizei _textureHeight
    -[more]mutable GLsizei _textureDepth +[more]mutable GLsizei _textureDepth
    -[more]mutable GLsizei _numMimpmapLevels +[more]mutable GLsizei _numMimpmapLevels
    -[more]ref_ptr<SubloadCallback> _subloadCallback +[more]ref_ptr<SubloadCallback> _subloadCallback

    Protected Methods

    -[more]virtual ~Texture3D() +[more]virtual ~Texture3D()
    -[more]virtual void computeInternalFormat() const +[more]virtual void computeInternalFormat() const
    -[more]void applyTexImage3D(GLenum target, Image* image, State& state, GLsizei& inwidth, GLsizei& inheight, GLsizei& indepth, GLsizei& numMimpmapLevels) const +[more]void applyTexImage3D(GLenum target, Image* image, State& state, GLsizei& inwidth, GLsizei& inheight, GLsizei& indepth, GLsizei& numMimpmapLevels) const

    @@ -122,29 +122,29 @@ class Extensions: public virtual const char* className() const
    -ovirtual Type getType() const +ovirtual Type getType() const
    ovirtual bool isTextureAttribute() const
    -ovoid setWrap(WrapParameter which, WrapMode wrap) +ovoid setWrap(WrapParameter which, WrapMode wrap)
    -oWrapMode getWrap(WrapParameter which) const +oWrapMode getWrap(WrapParameter which) const
    ovoid setBorderColor(const Vec4& color)
    oconst Vec4& getBorderColor() const
    -ovoid setFilter(FilterParameter which, FilterMode filter) +ovoid setFilter(FilterParameter which, FilterMode filter)
    -oFilterMode getFilter(FilterParameter which) const +oFilterMode getFilter(FilterParameter which) const
    ovoid setMaxAnisotropy(float anis)
    oinline float getMaxAnisotropy() const
    -oinline void setInternalFormatMode(InternalFormatMode mode) +oinline void setInternalFormatMode(InternalFormatMode mode)
    -oinline InternalFormatMode getInternalFormatMode() const +oinline InternalFormatMode getInternalFormatMode() const
    oinline void setInternalFormat(GLint internalFormat)
    @@ -152,19 +152,19 @@ class Extensions: public bool isCompressedInternalFormat() const
    -oinline GLuint& getTextureObject(uint contextID) const +oinline GLuint& getTextureObject(uint contextID) const
    -oinline uint& getModifiedTag(uint contextID) const +oinline uint& getModifiedTag(uint contextID) const
    -oinline uint& getTextureParameterDirty(uint contextID) const +oinline uint& getTextureParameterDirty(uint contextID) const
    ovoid dirtyTextureObject()
    ovoid dirtyTextureParameters()
    -ostatic void deleteTextureObject(uint contextID, GLuint handle) +ostatic void deleteTextureObject(uint contextID, GLuint handle)
    -ostatic void flushDeletedTextureObjects(uint contextID) +ostatic void flushDeletedTextureObjects(uint contextID)
    ovirtual void compile(State& state) const

    @@ -186,27 +186,27 @@ class Extensions: public mutable TextureNameList _handleList +omutable TextureNameList _handleList
    -omutable ImageModifiedTag _modifiedTag +omutable ImageModifiedTag _modifiedTag
    -omutable TexParameterDirtyList _texParametersDirtyList +omutable TexParameterDirtyList _texParametersDirtyList
    -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
    ofloat _maxAnisotropy
    oVec4 _borderColor
    -oInternalFormatMode _internalFormatMode +oInternalFormatMode _internalFormatMode
    omutable GLint _internalFormat

    @@ -219,7 +219,7 @@ class Extensions: public void applyTexParameters(GLenum target, State& state) const
    -ovoid applyTexImage2D(GLenum target, Image* image, State& state, GLsizei& width, GLsizei& height, GLsizei& numMimpmapLevels) const +ovoid applyTexImage2D(GLenum target, Image* image, State& state, GLsizei& width, GLsizei& height, GLsizei& numMimpmapLevels) const
    oint compareTexture(const Texture& rhs) const

    @@ -228,9 +228,9 @@ class Extensions: public typedef buffered_value<GLuint> TextureNameList
    -otypedef buffered_value<uint> ImageModifiedTag +otypedef buffered_value<uint> ImageModifiedTag
    -otypedef buffered_value<uint> TexParameterDirtyList +otypedef buffered_value<uint> TexParameterDirtyList

    @@ -265,9 +265,9 @@ class Extensions: public inline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -283,7 +283,7 @@ class Extensions: public DataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -295,26 +295,22 @@ class Extensions: public inline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -326,93 +322,93 @@ class Extensions: public - +
    o Texture3D()

    - -

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

    - -

    o META_StateAttribute(osg, Texture3D, TEXTURE) + +
    o META_StateAttribute(osg, Texture3D, TEXTURE)

    - +

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

    - -

    ovirtual void getAssociatedModes(std::vector<GLMode>& modes) 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.

    - -

    oinline void setTextureSize(int width, int height, int depth) const + +
    oinline void setTextureSize(int width, int height, int depth) const
    Set the texture width and height. If width or height are zero then the repsective size value is calculated from the source image sizes.

    - -

    oinline void getTextureSize(int& width, int& height, int& depth) const + +
    oinline void getTextureSize(int& width, int& height, int& depth) const
    Get the texture subload width.

    - +

    ovoid setSubloadCallback(SubloadCallback* cb)

    - +

    oSubloadCallback* getSubloadCallback()

    - +

    oconst SubloadCallback* getSubloadCallback() const

    - +

    ovoid setNumMipmapLevels(unsigned int num) const
    Set the number of mip map levels the the texture has been created with, should only be called within an osg::Texuture::apply() and custom OpenGL texture load

    - +

    ounsigned int getNumMipmapLevels() const
    Get the number of mip map levels the the texture has been created with

    - -

    ovoid copyTexSubImage3D(State& state, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height) + +
    ovoid copyTexSubImage3D(State& state, int xoffset, int yoffset, int zoffset, 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.

    - +

    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

    - -

    ostatic const Extensions* getExtensions(uint contextID, bool createIfNotInitalized) + +
    ostatic const Extensions* getExtensions(uint contextID, bool createIfNotInitalized)
    Function to call to get the extension of a specified context. If the Exentsion object for that context has not yet been created then and the 'createIfNotInitalized' flag been set to false then returns NULL. @@ -421,46 +417,46 @@ automatically created. However, in this case the extension object only be created with the graphics context associated with ContextID..

    - -

    ostatic void setExtensions(uint contextID, Extensions* extensions) + +
    ostatic void setExtensions(uint contextID, Extensions* extensions)
    setExtensions allows users to override the extensions across graphics contexts. typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions.

    - +

    ovirtual ~Texture3D()

    - +

    ovirtual void computeInternalFormat() const

    - +

    ovoid applyTexImage3D(GLenum target, Image* image, State& state, GLsizei& inwidth, GLsizei& inheight, GLsizei& indepth, GLsizei& numMimpmapLevels) const

    - +

    omutable ref_ptr<Image> _image

    - +

    omutable GLsizei _textureWidth

    - +

    omutable GLsizei _textureHeight

    - +

    omutable GLsizei _textureDepth

    - +

    omutable GLsizei _numMimpmapLevels

    - +

    oref_ptr<SubloadCallback> _subloadCallback

    diff --git a/doc/doc++/osg/TextureCubeMap.html b/doc/doc++/osg/TextureCubeMap.html index f6ca5e034..177fea61c 100644 --- a/doc/doc++/osg/TextureCubeMap.html +++ b/doc/doc++/osg/TextureCubeMap.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::TextureCubeMap - + @@ -23,58 +23,58 @@

    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(osg, TextureCubeMap, TEXTURE) +[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]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
    -[more]void setImage(Face, Image* image) +[more]void setImage(Face, Image* image)
    Set the texture image for specified face.
    -[more]Image* getImage(Face) +[more]Image* getImage(Face)
    Get the texture image for specified face.
    -[more]const Image* getImage(Face) const +[more]const Image* getImage(Face) const
    Get the const texture image for specified face.
    -[more]inline void setTextureSize(int width, int height) const +[more]inline void setTextureSize(int width, int height) const
    Set the texture width and height.
    -[more]inline void getTextureSize(int& width, int& height) const +[more]inline void getTextureSize(int& width, int& height) const
    Get the texture subload width.
    -[more]void setSubloadCallback(SubloadCallback* cb) +[more]void setSubloadCallback(SubloadCallback* cb)
    -[more]SubloadCallback* getSubloadCallback() +[more]SubloadCallback* getSubloadCallback()
    -[more]const SubloadCallback* getSubloadCallback() const +[more]const SubloadCallback* getSubloadCallback() const
    -[more]void setNumMipmapLevels(unsigned int num) const +[more]void setNumMipmapLevels(unsigned int num) const
    Set the number of mip map levels the the texture has been created with, should only be called within an osg::Texuture::apply() and custom OpenGL texture load
    -[more]unsigned int getNumMipmapLevels() const +[more]unsigned int getNumMipmapLevels() const
    Get the number of mip map levels the the texture has been created with
    -[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]static const Extensions* getExtensions(uint contextID, bool createIfNotInitalized) +[more]static const Extensions* getExtensions(uint contextID, bool createIfNotInitalized)
    Function to call to get the extension of a specified context.
    -[more]static void setExtensions(uint contextID, Extensions* extensions) +[more]static void setExtensions(uint contextID, Extensions* extensions)
    setExtensions allows users to override the extensions across graphics contexts.

    Public Members

    -[more]enum Face +[more]enum Face
    class SubloadCallback: public Referenced
    @@ -84,24 +84,24 @@ class Extensions: public mutable ref_ptr<Image> _images[6] +[more]mutable ref_ptr<Image> _images[6]
    -[more]mutable GLsizei _textureWidth +[more]mutable GLsizei _textureWidth
    -[more]mutable GLsizei _textureHeight +[more]mutable GLsizei _textureHeight
    -[more]mutable GLsizei _numMimpmapLevels +[more]mutable GLsizei _numMimpmapLevels
    -[more]ref_ptr<SubloadCallback> _subloadCallback +[more]ref_ptr<SubloadCallback> _subloadCallback

    Protected Methods

    -[more]virtual ~TextureCubeMap() +[more]virtual ~TextureCubeMap()
    -[more]bool imagesValid() const +[more]bool imagesValid() const
    -[more]virtual void computeInternalFormat() const +[more]virtual void computeInternalFormat() const

    @@ -119,29 +119,29 @@ class Extensions: public virtual const char* className() const
    -ovirtual Type getType() const +ovirtual Type getType() const
    ovirtual bool isTextureAttribute() const
    -ovoid setWrap(WrapParameter which, WrapMode wrap) +ovoid setWrap(WrapParameter which, WrapMode wrap)
    -oWrapMode getWrap(WrapParameter which) const +oWrapMode getWrap(WrapParameter which) const
    ovoid setBorderColor(const Vec4& color)
    oconst Vec4& getBorderColor() const
    -ovoid setFilter(FilterParameter which, FilterMode filter) +ovoid setFilter(FilterParameter which, FilterMode filter)
    -oFilterMode getFilter(FilterParameter which) const +oFilterMode getFilter(FilterParameter which) const
    ovoid setMaxAnisotropy(float anis)
    oinline float getMaxAnisotropy() const
    -oinline void setInternalFormatMode(InternalFormatMode mode) +oinline void setInternalFormatMode(InternalFormatMode mode)
    -oinline InternalFormatMode getInternalFormatMode() const +oinline InternalFormatMode getInternalFormatMode() const
    oinline void setInternalFormat(GLint internalFormat)
    @@ -149,19 +149,19 @@ class Extensions: public bool isCompressedInternalFormat() const
    -oinline GLuint& getTextureObject(uint contextID) const +oinline GLuint& getTextureObject(uint contextID) const
    -oinline uint& getModifiedTag(uint contextID) const +oinline uint& getModifiedTag(uint contextID) const
    -oinline uint& getTextureParameterDirty(uint contextID) const +oinline uint& getTextureParameterDirty(uint contextID) const
    ovoid dirtyTextureObject()
    ovoid dirtyTextureParameters()
    -ostatic void deleteTextureObject(uint contextID, GLuint handle) +ostatic void deleteTextureObject(uint contextID, GLuint handle)
    -ostatic void flushDeletedTextureObjects(uint contextID) +ostatic void flushDeletedTextureObjects(uint contextID)
    ovirtual void compile(State& state) const

    @@ -183,27 +183,27 @@ class Extensions: public mutable TextureNameList _handleList +omutable TextureNameList _handleList
    -omutable ImageModifiedTag _modifiedTag +omutable ImageModifiedTag _modifiedTag
    -omutable TexParameterDirtyList _texParametersDirtyList +omutable TexParameterDirtyList _texParametersDirtyList
    -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
    ofloat _maxAnisotropy
    oVec4 _borderColor
    -oInternalFormatMode _internalFormatMode +oInternalFormatMode _internalFormatMode
    omutable GLint _internalFormat

    @@ -216,7 +216,7 @@ class Extensions: public void applyTexParameters(GLenum target, State& state) const
    -ovoid applyTexImage2D(GLenum target, Image* image, State& state, GLsizei& width, GLsizei& height, GLsizei& numMimpmapLevels) const +ovoid applyTexImage2D(GLenum target, Image* image, State& state, GLsizei& width, GLsizei& height, GLsizei& numMimpmapLevels) const
    oint compareTexture(const Texture& rhs) const

    @@ -225,9 +225,9 @@ class Extensions: public typedef buffered_value<GLuint> TextureNameList
    -otypedef buffered_value<uint> ImageModifiedTag +otypedef buffered_value<uint> ImageModifiedTag
    -otypedef buffered_value<uint> TexParameterDirtyList +otypedef buffered_value<uint> TexParameterDirtyList

    @@ -262,9 +262,9 @@ class Extensions: public inline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -280,7 +280,7 @@ class Extensions: public DataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -292,26 +292,22 @@ class Extensions: public inline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -323,115 +319,115 @@ class Extensions: public - +
    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(osg, TextureCubeMap, TEXTURE) + +
    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

    - -

    ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const + +
    ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

    - +

    oenum Face

    - +
    o POSITIVE_X

    - +

    o NEGATIVE_X

    - +

    o POSITIVE_Y

    - +

    o NEGATIVE_Y

    - +

    o POSITIVE_Z

    - +

    o NEGATIVE_Z

    - -
    ovoid setImage(Face, Image* image) + +
    ovoid setImage(Face, Image* image)
    Set the texture image for specified face.

    - -

    oImage* getImage(Face) + +
    oImage* getImage(Face)
    Get the texture image for specified face.

    - -

    oconst Image* getImage(Face) const + +
    oconst Image* getImage(Face) const
    Get the const texture image for specified face.

    - -

    oinline void setTextureSize(int width, int height) const + +
    oinline void setTextureSize(int width, int height) const
    Set the texture width and height. If width or height are zero then the repsective size value is calculated from the source image sizes.

    - -

    oinline void getTextureSize(int& width, int& height) const + +
    oinline void getTextureSize(int& width, int& height) const
    Get the texture subload width.

    - +

    ovoid setSubloadCallback(SubloadCallback* cb)

    - +

    oSubloadCallback* getSubloadCallback()

    - +

    oconst SubloadCallback* getSubloadCallback() const

    - +

    ovoid setNumMipmapLevels(unsigned int num) const
    Set the number of mip map levels the the texture has been created with, should only be called within an osg::Texuture::apply() and custom OpenGL texture load

    - +

    ounsigned int getNumMipmapLevels() const
    Get the number of mip map levels the the texture has been created with

    - +

    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

    - -

    ostatic const Extensions* getExtensions(uint contextID, bool createIfNotInitalized) + +
    ostatic const Extensions* getExtensions(uint contextID, bool createIfNotInitalized)
    Function to call to get the extension of a specified context. If the Exentsion object for that context has not yet been created then and the 'createIfNotInitalized' flag been set to false then returns NULL. @@ -440,42 +436,42 @@ automatically created. However, in this case the extension object only be created with the graphics context associated with ContextID..

    - -

    ostatic void setExtensions(uint contextID, Extensions* extensions) + +
    ostatic void setExtensions(uint contextID, Extensions* extensions)
    setExtensions allows users to override the extensions across graphics contexts. typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions.

    - +

    ovirtual ~TextureCubeMap()

    - +

    obool imagesValid() const

    - +

    ovirtual void computeInternalFormat() const

    - +

    omutable ref_ptr<Image> _images[6]

    - +

    omutable GLsizei _textureWidth

    - +

    omutable GLsizei _textureHeight

    - +

    omutable GLsizei _numMimpmapLevels

    - +

    oref_ptr<SubloadCallback> _subloadCallback

    diff --git a/doc/doc++/osg/Timer.html b/doc/doc++/osg/Timer.html index f0757b318..2e5e3c94a 100644 --- a/doc/doc++/osg/Timer.html +++ b/doc/doc++/osg/Timer.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Timer - + @@ -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,36 +39,36 @@
    - +
    o Timer()

    - +

    o ~Timer()

    - -

    oinline double delta_s( Timer_t t1, Timer_t t2 ) const + +
    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_m( Timer_t t1, Timer_t t2 ) const

    - -

    oinline double delta_u( 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 double delta_n( Timer_t t1, Timer_t t2 ) const

    - -

    oinline Timer_t tick() const + +
    oinline Timer_t tick() const

    - -

    oinline Timer_t tick( void ) const + +
    oinline Timer_t tick( void ) const


    This class has no child classes.
    diff --git a/doc/doc++/osg/TraceStream.html b/doc/doc++/osg/TraceStream.html index 6bd8c2030..ba8cb20b2 100644 --- a/doc/doc++/osg/TraceStream.html +++ b/doc/doc++/osg/TraceStream.html @@ -3,7 +3,7 @@ class SG_EXPORT osgUtx::TestContext::TraceStream - + @@ -12,15 +12,15 @@

    Public Methods

    -[more] TraceStream(std::ostream& o=std::cout, TraceLevel tl=Results) +[more] TraceStream(std::ostream& o=std::cout, TraceLevel tl=Results)
    -[more] ~TraceStream() +[more] ~TraceStream()
    -[more]void setTraceLevel(TraceLevel tl) +[more]void setTraceLevel(TraceLevel tl)
    -[more]TraceLevel getTraceLevel() const +[more]TraceLevel getTraceLevel() const
    -[more]std::ostream& stream(TraceLevel tl) +[more]std::ostream& stream(TraceLevel tl)

    @@ -31,24 +31,24 @@
    - -
    o TraceStream(std::ostream& o=std::cout, TraceLevel tl=Results) + +
    o TraceStream(std::ostream& o=std::cout, TraceLevel tl=Results)

    - +

    o ~TraceStream()

    - -

    ovoid setTraceLevel(TraceLevel tl) + +
    ovoid setTraceLevel(TraceLevel tl)

    - -

    oTraceLevel getTraceLevel() const + +
    oTraceLevel getTraceLevel() const

    - -

    ostd::ostream& stream(TraceLevel tl) + +
    ostd::ostream& stream(TraceLevel tl)


    This class has no child classes.
    diff --git a/doc/doc++/osg/Transform.html b/doc/doc++/osg/Transform.html index 12121cf5c..f2df12c8a 100644 --- a/doc/doc++/osg/Transform.html +++ b/doc/doc++/osg/Transform.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Transform - + @@ -11,11 +11,11 @@

    Inheritance:

    - - - - - + + + + +
    @@ -23,62 +23,74 @@

    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] META_Node(osg, Transform) +[more] META_Node(osg, Transform)
    -[more]virtual Transform* asTransform() +[more]virtual Transform* asTransform()
    -[more]virtual const Transform* asTransform() const +[more]virtual const Transform* asTransform() const
    -[more]void setReferenceFrame(ReferenceFrame rf) +[more]virtual MatrixTransform* asMatrixTransform() +
    +[more]virtual const MatrixTransform* asMatrixTransform() const +
    +[more]virtual PositionAttitudeTransform* asPositionAttitudeTransform() +
    +[more]virtual const PositionAttitudeTransform* asPositionAttitudeTransform() const +
    +[more]virtual DOFTransform* asDOFTransform() +
    +[more]virtual const DOFTransform* asDOFTransform() const +
    +[more]void setReferenceFrame(ReferenceFrame rf)
    Set the transform's ReferenceFrame, either to be relative to its parent reference frame, or relative to an absolute coordinate frame.
    -[more]ReferenceFrame getReferenceFrame() const +[more]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 the like.
    -[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 bool getLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const +[more]inline bool getLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const
    Get the transformation matrix which moves from local coords to world coords.
    -[more]inline bool getWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const +[more]inline bool getWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const
    Get the transformation matrix which moves from world coords to local coords.
    -[more]virtual bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor*) const +[more]virtual bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor*) const
    -[more]virtual bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor*) const +[more]virtual bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor*) const

    Public Members

    -[more]enum ReferenceFrame +[more]enum ReferenceFrame
    -[more]struct ComputeTransformCallback: public osg::Referenced +[more]struct ComputeTransformCallback: public virtual osg::Referenced
    Callback attached to an Transform to specify 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

    Protected Methods

    -[more]virtual ~Transform() +[more]virtual ~Transform()
    -[more]virtual bool computeBound() const +[more]virtual bool computeBound() const
    Overrides Group's computeBound.

    @@ -93,35 +105,235 @@
    ovirtual void traverse(NodeVisitor& nv)
    -ovirtual bool addChild( Node* child ) +ovirtual bool addChild( Node* child )
    -ovirtual bool removeChild( Node* child ) +ovirtual bool removeChild( Node* child )
    -ovirtual bool replaceChild( Node* origChild, Node* newChild ) +ovirtual bool removeChild(unsigned int pos, unsigned int numChildrenToRemove=1) +
    +ovirtual bool replaceChild( Node* origChild, Node* newChild )
    oinline unsigned int getNumChildren() const
    -oinline Node* getChild( unsigned int i ) +ovirtual bool setChild( unsigned int i, Node* node )
    -oinline const Node* getChild( unsigned int i ) const +oinline Node* getChild( unsigned int i )
    -oinline bool containsNode( const Node* node ) const +oinline const Node* getChild( unsigned int i ) const
    -oinline ChildList::iterator findNode( const Node* node ) +oinline bool containsNode( const Node* node ) const
    -oinline ChildList::const_iterator findNode( const Node* node ) const -
    -oinline unsigned int findChildNo( const Node* node ) const +oinline unsigned int getChildIndex( const Node* node ) const

    Public Members

    -otypedef std::vector<ref_ptr<Node> > ChildList +otypedef std::vector<ref_ptr<Node> > ChildList

    Protected Fields

    -oChildList _children +oChildList _children +

    + + +

    Inherited from Node:

    +
    +

    +

    Public Methods

    +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 +
    +ovirtual void accept(NodeVisitor& nv) +
    +ovirtual void ascend(NodeVisitor& nv) +
    +oinline void setName( const std::string& name ) +
    +oinline void setName( const char* name ) +
    +oinline const std::string& getName() const +
    +oinline const ParentList& getParents() const +
    +oinline ParentList getParents() +
    +oinline Group* getParent(unsigned int i) +
    +oinline const Group* getParent(unsigned int i) const +
    +oinline unsigned int getNumParents() const +
    +ovoid setUpdateCallback(NodeCallback* nc) +
    +oinline NodeCallback* getUpdateCallback() +
    +oinline const NodeCallback* getUpdateCallback() const +
    +ovoid setAppCallback(NodeCallback* nc) +
    +oinline NodeCallback* getAppCallback() +
    +oinline const NodeCallback* getAppCallback() const +
    +oinline unsigned int getNumChildrenRequiringUpdateTraversal() const +
    +ovoid setCullCallback(NodeCallback* nc) +
    +oinline NodeCallback* getCullCallback() +
    +oinline const NodeCallback* getCullCallback() const +
    +ovoid setCullingActive(bool active) +
    +oinline bool getCullingActive() const +
    +oinline unsigned int getNumChildrenWithCullingDisabled() const +
    +oinline bool isCullingActive() const +
    +oinline unsigned int getNumChildrenWithOccluderNodes() const +
    +obool containsOccluderNodes() const +
    +oinline void setNodeMask(NodeMask nm) +
    +oinline NodeMask getNodeMask() const +
    +oinline const DescriptionList& getDescriptions() const +
    +oinline DescriptionList& getDescriptions() +
    +oinline const std::string& getDescription(unsigned int i) const +
    +oinline std::string& getDescription(unsigned int i) +
    +oinline unsigned int getNumDescriptions() const +
    +ovoid addDescription(const std::string& desc) +
    +oinline void setStateSet(osg::StateSet* dstate) +
    +oosg::StateSet* getOrCreateStateSet() +
    +oinline osg::StateSet* getStateSet() +
    +oinline const osg::StateSet* getStateSet() const +
    +oinline const BoundingSphere& getBound() const +
    +ovoid dirtyBound() +

    + +

    +

    Public Members

    +otypedef std::vector<Group*> ParentList +
    +otypedef unsigned int NodeMask +
    +otypedef std::vector<std::string> DescriptionList +

    + +

    +

    Protected Fields

    +omutable BoundingSphere _bsphere +
    +omutable bool _bsphere_computed +
    +ostd::string _name +
    +oParentList _parents +
    +oref_ptr<NodeCallback> _updateCallback +
    +ounsigned int _numChildrenRequiringUpdateTraversal +
    +oref_ptr<NodeCallback> _cullCallback +
    +obool _cullingActive +
    +ounsigned int _numChildrenWithCullingDisabled +
    +ounsigned int _numChildrenWithOccluderNodes +
    +oNodeMask _nodeMask +
    +oDescriptionList _descriptions +
    +oref_ptr<StateSet> _stateset +

    + +

    +

    Protected Methods

    +ovoid addParent(osg::Group* node) +
    +ovoid removeParent(osg::Group* node) +
    +ovoid setNumChildrenRequiringUpdateTraversal(unsigned int num) +
    +ovoid setNumChildrenWithCullingDisabled(unsigned int num) +
    +ovoid setNumChildrenWithOccluderNodes(unsigned int num) +

    + +
    +

    Inherited from Object:

    +
    +

    +

    Public Methods

    +oinline void setDataVariance(DataVariance dv) +
    +oinline DataVariance getDataVariance() const +
    +oinline void setUserData(Referenced* obj) +
    +oinline Referenced* getUserData() +
    +oinline const Referenced* getUserData() const +

    + +

    +

    Public Members

    +oenum DataVariance +

    + +

    +

    Protected Fields

    +oDataVariance _dataVariance +
    +oref_ptr<Referenced> _userData +

    + +
    +

    Inherited from Referenced:

    +
    +

    +

    Public Methods

    +oinline Referenced& operator = (Referenced&) +
    +ostatic void setDeleteHandler(DeleteHandler* handler) +
    +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const +
    +oinline void unref_nodelete() const +
    +oinline int referenceCount() const +
    +oinline void unref() const +

    + +

    +

    Protected Fields

    +omutable int _refCount

    @@ -155,43 +367,67 @@ 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 META_Node(osg, Transform)

    - +

    ovirtual Transform* asTransform()

    - +

    ovirtual const Transform* asTransform() const

    + + +

    ovirtual MatrixTransform* asMatrixTransform() +

    + + +

    ovirtual const MatrixTransform* asMatrixTransform() const +

    + + +

    ovirtual PositionAttitudeTransform* asPositionAttitudeTransform() +

    + + +

    ovirtual const PositionAttitudeTransform* asPositionAttitudeTransform() const +

    + + +

    ovirtual DOFTransform* asDOFTransform() +

    + + +

    ovirtual const DOFTransform* asDOFTransform() const +

    - +

    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 relative to its parent reference frame, or relative to an absolute coordinate frame. RELATIVE_TO_PARENTS is the default. @@ -202,78 +438,78 @@ all its parents. This is neccessary to prevent inappropriate culling, but may impact cull times if the absolute transform is deep in the scene graph. It is therefore recommend to only use absolute Transforms at the top of the scene, for such things as -headlight LightSources or Heads up displays. +heads up displays.

    - -

    oReferenceFrame getReferenceFrame() const + +
    oReferenceFrame getReferenceFrame() const

    - -

    ostruct ComputeTransformCallback: public osg::Referenced + +
    ostruct ComputeTransformCallback: public virtual osg::Referenced
    Callback attached to an Transform to specify how to compute the modelview transformation for the transform below the Transform node.

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

    - -

    ovirtual bool computeWorldToLocalMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const = 0 + +
    ovirtual 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 the like.

    - -

    oComputeTransformCallback* getComputeTransformCallback() + +
    oComputeTransformCallback* getComputeTransformCallback()
    Get the non const ComputerTransfromCallback

    - -

    oconst ComputeTransformCallback* getComputeTransformCallback() const + +
    oconst ComputeTransformCallback* getComputeTransformCallback() const
    Get the const ComputerTransfromCallback

    - +

    oinline bool getLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const
    Get the transformation matrix which moves from local coords to world coords. Returns true if the Matrix passed in has been updated.

    - +

    oinline bool getWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const
    Get the transformation matrix which moves from world coords to local coords. Return true if the Matrix passed in has been updated.

    - +

    ovirtual bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor*) const

    - +

    ovirtual bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor*) const

    - +

    ovirtual ~Transform()

    - +

    ovirtual bool computeBound() const
    Overrides Group's computeBound. There is no need to override in subclasses from osg::Transform @@ -281,12 +517,12 @@ since this computeBound() uses the underlying matrix (calling computeMatrix if required.)

    - -

    oref_ptr<ComputeTransformCallback> _computeTransformCallback + +
    oref_ptr<ComputeTransformCallback> _computeTransformCallback

    - -

    oReferenceFrame _referenceFrame + +
    oReferenceFrame _referenceFrame


    Direct child classes: diff --git a/doc/doc++/osg/TriangleFunctor.html b/doc/doc++/osg/TriangleFunctor.html index cfa0e503c..b23abcd65 100644 --- a/doc/doc++/osg/TriangleFunctor.html +++ b/doc/doc++/osg/TriangleFunctor.html @@ -3,11 +3,11 @@ template<class T> class osg::TriangleFunctor - + -

    template<class T> class osg::TriangleFunctor


    +

    template<class T> class osg::TriangleFunctor


    Inheritance:

    @@ -22,39 +22,39 @@

    Public Methods

    -[more] TriangleFunctor() +[more] TriangleFunctor()
    -[more]virtual ~TriangleFunctor() +[more]virtual ~TriangleFunctor()
    -[more]virtual void setVertexArray(unsigned int count, const Vec3* vertices) +[more]virtual void setVertexArray(unsigned int count, const Vec3* vertices)
    -[more]virtual void drawArrays(GLenum mode, GLint first, GLsizei count) +[more]virtual void drawArrays(GLenum mode, GLint first, GLsizei count)
    -[more]virtual void drawElements(GLenum mode, GLsizei count, const GLubyte* indices) +[more]virtual void drawElements(GLenum mode, GLsizei count, const GLubyte* indices)
    -[more]virtual void drawElements(GLenum mode, GLsizei count, const GLushort* indices) +[more]virtual void drawElements(GLenum mode, GLsizei count, const GLushort* indices)
    -[more]virtual void drawElements(GLenum mode, GLsizei count, const GLuint* indices) +[more]virtual void drawElements(GLenum mode, GLsizei count, const GLuint* indices)
    -[more]inline void begin(GLenum mode) +[more]inline void begin(GLenum mode)
    begin(),vertex() & end() are convinience methods for adapting non vertex array primitives to vertex array based primitives.
    -[more]inline void vertex(const Vec3& vert) +[more]inline void vertex(const Vec3& vert)
    -[more]inline void vertex(float x, float y, float z) +[more]inline void vertex(float x, float y, float z)
    -[more]inline void end() +[more]inline void end()

    Protected Fields

    -[more]unsigned int _vertexArraySize +[more]unsigned int _vertexArraySize
    -[more]const Vec3* _vertexArrayPtr +[more]const Vec3* _vertexArrayPtr
    -[more]GLenum _modeCache +[more]GLenum _modeCache
    -[more]std::vector<Vec3> _vertexCache +[more]std::vector<Vec3> _vertexCache

    @@ -65,35 +65,35 @@
    - +
    o TriangleFunctor()

    - +

    ovirtual ~TriangleFunctor()

    - +

    ovirtual void setVertexArray(unsigned int count, const Vec3* vertices)

    - -

    ovirtual void drawArrays(GLenum mode, GLint first, GLsizei count) + +
    ovirtual void drawArrays(GLenum mode, GLint first, GLsizei count)

    - +

    ovirtual void drawElements(GLenum mode, GLsizei count, const GLubyte* indices)

    - +

    ovirtual void drawElements(GLenum mode, GLsizei count, const GLushort* indices)

    - +

    ovirtual void drawElements(GLenum mode, GLsizei count, const GLuint* indices)

    - +

    oinline void begin(GLenum mode)
    begin(),vertex() & end() are convinience methods for adapting non vertex array primitives to vertex array based primitives. @@ -101,31 +101,31 @@ this is done to simplify the implementation of primtive functor subclasses - users only need override drawArray and drawElements.

    - +

    oinline void vertex(const Vec3& vert)

    - -

    oinline void vertex(float x, float y, float z) + +
    oinline void vertex(float x, float y, float z)

    - +

    oinline void end()

    - +

    ounsigned int _vertexArraySize

    - +

    oconst Vec3* _vertexArrayPtr

    - +

    oGLenum _modeCache

    - +

    ostd::vector<Vec3> _vertexCache

    diff --git a/doc/doc++/osg/TriangleMesh.html b/doc/doc++/osg/TriangleMesh.html index 41fbf75f3..772b6bad7 100644 --- a/doc/doc++/osg/TriangleMesh.html +++ b/doc/doc++/osg/TriangleMesh.html @@ -3,7 +3,7 @@ class osg::TriangleMesh - + @@ -22,33 +22,33 @@

    Public Methods

    -[more] TriangleMesh() +[more] TriangleMesh()
    -[more] TriangleMesh(const TriangleMesh& mesh, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] TriangleMesh(const TriangleMesh& mesh, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    -[more]META_Shape (osg, TriangleMesh)(Vec3Array* vertices) +[more]META_Shape (osg, TriangleMesh)(Vec3Array* vertices)
    -[more]Vec3Array* getVertices() +[more]Vec3Array* getVertices()
    -[more]const Vec3Array* getVertices() const +[more]const Vec3Array* getVertices() const
    -[more]void setIndices(IndexArray* indices) +[more]void setIndices(IndexArray* indices)
    -[more]IndexArray* getIndices() +[more]IndexArray* getIndices()
    -[more]const IndexArray* getIndices() const +[more]const IndexArray* getIndices() const

    Protected Fields

    -[more]ref_ptr<Vec3Array> _vertices +[more]ref_ptr<Vec3Array> _vertices
    -[more]ref_ptr<IndexArray> _indices +[more]ref_ptr<IndexArray> _indices

    Protected Methods

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

    @@ -76,9 +76,9 @@

    Public Methods

    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -94,7 +94,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -106,26 +106,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -136,47 +132,47 @@
    - +
    o TriangleMesh()

    - -

    o TriangleMesh(const TriangleMesh& mesh, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o TriangleMesh(const TriangleMesh& mesh, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

    - -

    oMETA_Shape (osg, TriangleMesh)(Vec3Array* vertices) + +
    oMETA_Shape (osg, TriangleMesh)(Vec3Array* vertices)

    - -

    oVec3Array* getVertices() + +
    oVec3Array* getVertices()

    - -

    oconst Vec3Array* getVertices() const + +
    oconst Vec3Array* getVertices() const

    - +

    ovoid setIndices(IndexArray* indices)

    - +

    oIndexArray* getIndices()

    - +

    oconst IndexArray* getIndices() const

    - +

    o ~TriangleMesh()

    - -

    oref_ptr<Vec3Array> _vertices + +
    oref_ptr<Vec3Array> _vertices

    - +

    oref_ptr<IndexArray> _indices


    diff --git a/doc/doc++/osg/UByte4.html b/doc/doc++/osg/UByte4.html index 9e24787ef..b32e04148 100644 --- a/doc/doc++/osg/UByte4.html +++ b/doc/doc++/osg/UByte4.html @@ -3,7 +3,7 @@ class osg::UByte4 - + @@ -13,69 +13,69 @@

    Public Fields

    -[more]unsigned char _v[4] +[more]unsigned char _v[4]

    Public Methods

    -[more] UByte4() +[more] UByte4()
    -[more] UByte4(unsigned char r, unsigned char g, unsigned char b, unsigned char a) +[more] UByte4(unsigned char r, unsigned char g, unsigned char b, unsigned char a)
    -[more]inline bool operator == (const UByte4& v) const +[more]inline bool operator == (const UByte4& v) const
    -[more]inline bool operator != (const UByte4& v) const +[more]inline bool operator != (const UByte4& v) const
    -[more]inline bool operator < (const UByte4& v) const +[more]inline bool operator < (const UByte4& v) const
    -[more]inline unsigned char* ptr() +[more]inline unsigned char* ptr()
    -[more]inline const unsigned char* ptr() const +[more]inline const unsigned char* ptr() const
    -[more]inline void set(unsigned char r, unsigned char g, unsigned char b, unsigned char a) +[more]inline void set(unsigned char r, unsigned char g, unsigned char b, unsigned char a)
    -[more]inline unsigned char& operator [] (unsigned int i) +[more]inline unsigned char& operator [] (unsigned int i)
    -[more]inline unsigned char operator [] (unsigned int i) const +[more]inline unsigned char operator [] (unsigned int i) const
    -[more]inline unsigned char& r() +[more]inline unsigned char& r()
    -[more]inline unsigned char& g() +[more]inline unsigned char& g()
    -[more]inline unsigned char& b() +[more]inline unsigned char& b()
    -[more]inline unsigned char& a() +[more]inline unsigned char& a()
    -[more]inline unsigned char r() const +[more]inline unsigned char r() const
    -[more]inline unsigned char g() const +[more]inline unsigned char g() const
    -[more]inline unsigned char b() const +[more]inline unsigned char b() const
    -[more]inline unsigned char a() const +[more]inline unsigned char a() const
    -[more]inline UByte4 operator * (float rhs) const +[more]inline UByte4 operator * (float rhs) const
    multiply by scalar
    -[more]inline UByte4& operator *= (float rhs) +[more]inline UByte4& operator *= (float rhs)
    unary multiply by scalar
    -[more]inline UByte4 operator / (float rhs) const +[more]inline UByte4 operator / (float rhs) const
    divide by scalar
    -[more]inline UByte4& operator /= (float rhs) +[more]inline UByte4& operator /= (float rhs)
    unary divide by scalar
    -[more]inline UByte4 operator + (const UByte4& rhs) const +[more]inline UByte4 operator + (const UByte4& rhs) const
    binary vector add
    -[more]inline UByte4& operator += (const UByte4& rhs) +[more]inline UByte4& operator += (const UByte4& rhs)
    unary vector add.
    -[more]inline UByte4 operator - (const UByte4& rhs) const +[more]inline UByte4 operator - (const UByte4& rhs) const
    binary vector subtract
    -[more]inline UByte4& operator -= (const UByte4& rhs) +[more]inline UByte4& operator -= (const UByte4& rhs)
    unary vector subtract

    @@ -92,119 +92,119 @@ UByte4 * float is okay
    - +
    o UByte4()

    - -

    o UByte4(unsigned char r, unsigned char g, unsigned char b, unsigned char a) + +
    o UByte4(unsigned char r, unsigned char g, unsigned char b, unsigned char a)

    - +

    ounsigned char _v[4]

    - +

    oinline bool operator == (const UByte4& v) const

    - +

    oinline bool operator != (const UByte4& v) const

    - +

    oinline bool operator < (const UByte4& v) const

    - +

    oinline unsigned char* ptr()

    - +

    oinline const unsigned char* ptr() const

    - -

    oinline void set(unsigned char r, unsigned char g, unsigned char b, unsigned char a) + +
    oinline void set(unsigned char r, unsigned char g, unsigned char b, unsigned char a)

    - +

    oinline unsigned char& operator [] (unsigned int i)

    - +

    oinline unsigned char operator [] (unsigned int i) const

    - +

    oinline unsigned char& r()

    - +

    oinline unsigned char& g()

    - +

    oinline unsigned char& b()

    - +

    oinline unsigned char& a()

    - +

    oinline unsigned char r() const

    - +

    oinline unsigned char g() const

    - +

    oinline unsigned char b() const

    - +

    oinline unsigned char a() const

    - +

    oinline UByte4 operator * (float rhs) const
    multiply by scalar

    - +

    oinline UByte4& operator *= (float rhs)
    unary multiply by scalar

    - +

    oinline UByte4 operator / (float rhs) const
    divide by scalar

    - +

    oinline UByte4& operator /= (float rhs)
    unary divide by scalar

    - +

    oinline UByte4 operator + (const UByte4& rhs) const
    binary vector add

    - +

    oinline UByte4& operator += (const UByte4& rhs)
    unary vector add. Slightly more efficient because no temporary intermediate object

    - +

    oinline UByte4 operator - (const UByte4& rhs) const
    binary vector subtract

    - +

    oinline UByte4& operator -= (const UByte4& rhs)
    unary vector subtract

    diff --git a/doc/doc++/osg/ValueVisitor.html b/doc/doc++/osg/ValueVisitor.html index 3299fb931..490b797c8 100644 --- a/doc/doc++/osg/ValueVisitor.html +++ b/doc/doc++/osg/ValueVisitor.html @@ -3,7 +3,7 @@ class osg::ValueVisitor - + @@ -12,29 +12,29 @@

    Public Methods

    -[more] ValueVisitor() +[more] ValueVisitor()
    -[more]virtual void apply(GLbyte&) +[more]virtual void apply(GLbyte&)
    -[more]virtual void apply(GLshort&) +[more]virtual void apply(GLshort&)
    -[more]virtual void apply(GLint&) +[more]virtual void apply(GLint&)
    -[more]virtual void apply(GLushort&) +[more]virtual void apply(GLushort&)
    -[more]virtual void apply(GLubyte&) +[more]virtual void apply(GLubyte&)
    -[more]virtual void apply(GLuint&) +[more]virtual void apply(GLuint&)
    -[more]virtual void apply(GLfloat&) +[more]virtual void apply(GLfloat&)
    -[more]virtual void apply(UByte4&) +[more]virtual void apply(UByte4&)
    -[more]virtual void apply(Vec2&) +[more]virtual void apply(Vec2&)
    -[more]virtual void apply(Vec3&) +[more]virtual void apply(Vec3&)
    -[more]virtual void apply(Vec4&) +[more]virtual void apply(Vec4&)

    @@ -45,51 +45,51 @@
    - +
    o ValueVisitor()

    - +

    ovirtual void apply(GLbyte&)

    - +

    ovirtual void apply(GLshort&)

    - +

    ovirtual void apply(GLint&)

    - +

    ovirtual void apply(GLushort&)

    - +

    ovirtual void apply(GLubyte&)

    - +

    ovirtual void apply(GLuint&)

    - +

    ovirtual void apply(GLfloat&)

    - +

    ovirtual void apply(UByte4&)

    - +

    ovirtual void apply(Vec2&)

    - +

    ovirtual void apply(Vec3&)

    - +

    ovirtual void apply(Vec4&)

    diff --git a/doc/doc++/osg/Vec2.html b/doc/doc++/osg/Vec2.html index ef9614d45..87d877f95 100644 --- a/doc/doc++/osg/Vec2.html +++ b/doc/doc++/osg/Vec2.html @@ -3,7 +3,7 @@ class osg::Vec2 - + @@ -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 bool operator == (const Vec2& v) const +[more]inline bool operator == (const Vec2& v) const
    -[more]inline bool operator != (const Vec2& v) const +[more]inline bool operator != (const Vec2& v) const
    -[more]inline bool operator < (const Vec2& v) const +[more]inline 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 float operator [] (int i) const +[more]inline float operator [] (int i) const
    -[more]inline float& x() +[more]inline float& x()
    -[more]inline float& y() +[more]inline float& y()
    -[more]inline float x() const +[more]inline float x() const
    -[more]inline float y() const +[more]inline float y() const
    -[more]inline bool valid() const +[more]inline bool valid() const
    -[more]inline bool isNaN() const +[more]inline bool isNaN() const
    -[more]inline float operator * (const Vec2& rhs) const +[more]inline float operator * (const Vec2& rhs) const
    dot product
    -[more]inline const Vec2 operator * (float rhs) const +[more]inline const Vec2 operator * (float rhs) const
    multiply by scalar
    -[more]inline Vec2& operator *= (float rhs) +[more]inline Vec2& operator *= (float rhs)
    unary multiply by scalar
    -[more]inline const Vec2 operator / (float rhs) const +[more]inline const Vec2 operator / (float rhs) const
    divide by scalar
    -[more]inline Vec2& operator /= (float rhs) +[more]inline Vec2& operator /= (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 float length() const +[more]inline float length() const
    Length of the vector = sqrt( vec .
    -[more]inline float length2( void ) const +[more]inline float length2( void ) const
    Length squared of the vector = vec .
    -[more]inline float normalize() +[more]inline 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 bool operator == (const Vec2& v) const

    - +

    oinline bool operator != (const Vec2& v) const

    - +

    oinline 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 float operator [] (int i) const

    - +

    oinline float& x()

    - +

    oinline float& y()

    - +

    oinline float x() const

    - +

    oinline float y() const

    - +

    oinline bool valid() const

    - +

    oinline bool isNaN() const

    - +

    oinline float operator * (const Vec2& rhs) const
    dot product

    - +

    oinline const Vec2 operator * (float rhs) const
    multiply by scalar

    - +

    oinline Vec2& operator *= (float rhs)
    unary multiply by scalar

    - +

    oinline const Vec2 operator / (float rhs) const
    divide by scalar

    - +

    oinline Vec2& operator /= (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 float length() const
    Length of the vector = sqrt( vec . vec )

    - +

    oinline float length2( void ) const
    Length squared of the vector = vec . vec

    - +

    oinline 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 145fc515f..64d8b8eef 100644 --- a/doc/doc++/osg/Vec3.html +++ b/doc/doc++/osg/Vec3.html @@ -3,7 +3,7 @@ class osg::Vec3 - + @@ -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 bool operator == (const Vec3& v) const +[more]inline bool operator == (const Vec3& v) const
    -[more]inline bool operator != (const Vec3& v) const +[more]inline bool operator != (const Vec3& v) const
    -[more]inline bool operator < (const Vec3& v) const +[more]inline 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 float operator [] (int i) const +[more]inline 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 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 bool valid() const +[more]inline bool valid() const
    -[more]inline bool isNaN() const +[more]inline 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 * (float rhs) const +[more]inline const Vec3 operator * (float rhs) const
    multiply by scalar
    -[more]inline Vec3& operator *= (float rhs) +[more]inline Vec3& operator *= (float rhs)
    unary multiply by scalar
    -[more]inline const Vec3 operator / (float rhs) const +[more]inline const Vec3 operator / (float rhs) const
    divide by scalar
    -[more]inline Vec3& operator /= (float rhs) +[more]inline Vec3& operator /= (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 float length() const +[more]inline float length() const
    Length of the vector = sqrt( vec .
    -[more]inline float length2() const +[more]inline float length2() const
    Length squared of the vector = vec .
    -[more]inline float normalize() +[more]inline 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 bool operator == (const Vec3& v) const

    - +

    oinline bool operator != (const Vec3& v) const

    - +

    oinline 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 float operator [] (int i) const

    - +

    oinline float& x()

    - +

    oinline float& y()

    - +

    oinline float& z()

    - +

    oinline float x() const

    - +

    oinline float y() const

    - +

    oinline float z() const

    - +

    oinline bool valid() const

    - +

    oinline 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 * (float rhs) const
    multiply by scalar

    - +

    oinline Vec3& operator *= (float rhs)
    unary multiply by scalar

    - +

    oinline const Vec3 operator / (float rhs) const
    divide by scalar

    - +

    oinline Vec3& operator /= (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 float length() const
    Length of the vector = sqrt( vec . vec )

    - +

    oinline float length2() const
    Length squared of the vector = vec . vec

    - +

    oinline 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 86261c75a..55edc721a 100644 --- a/doc/doc++/osg/Vec4.html +++ b/doc/doc++/osg/Vec4.html @@ -3,7 +3,7 @@ class osg::Vec4 - + @@ -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 bool operator == (const Vec4& v) const +[more]inline bool operator == (const Vec4& v) const
    -[more]inline bool operator != (const Vec4& v) const +[more]inline bool operator != (const Vec4& v) const
    -[more]inline bool operator < (const Vec4& v) const +[more]inline 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 [] (unsigned int i) +[more]inline float& operator [] (unsigned int i)
    -[more]inline float operator [] (unsigned int i) const +[more]inline float operator [] (unsigned 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 unsigned long asRGBA() const +[more]inline unsigned long asRGBA() const
    -[more]inline bool valid() const +[more]inline bool valid() const
    -[more]inline bool isNaN() const +[more]inline 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 * (float rhs) const +[more]inline Vec4 operator * (float rhs) const
    multiply by scalar
    -[more]inline Vec4& operator *= (float rhs) +[more]inline Vec4& operator *= (float rhs)
    unary multiply by scalar
    -[more]inline Vec4 operator / (float rhs) const +[more]inline Vec4 operator / (float rhs) const
    divide by scalar
    -[more]inline Vec4& operator /= (float rhs) +[more]inline Vec4& operator /= (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 float length() const +[more]inline float length() const
    Length of the vector = sqrt( vec .
    -[more]inline float length2() const +[more]inline float length2() const
    Length squared of the vector = vec .
    -[more]inline float normalize() +[more]inline 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 bool operator == (const Vec4& v) const

    - +

    oinline bool operator != (const Vec4& v) const

    - +

    oinline 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 [] (unsigned int i)

    - +

    oinline float operator [] (unsigned 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 unsigned long asRGBA() const

    - +

    oinline bool valid() const

    - +

    oinline bool isNaN() const

    - +

    oinline float operator * (const Vec4& rhs) const
    dot product

    - +

    oinline Vec4 operator * (float rhs) const
    multiply by scalar

    - +

    oinline Vec4& operator *= (float rhs)
    unary multiply by scalar

    - +

    oinline Vec4 operator / (float rhs) const
    divide by scalar

    - +

    oinline Vec4& operator /= (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 float length() const
    Length of the vector = sqrt( vec . vec )

    - +

    oinline float length2() const
    Length squared of the vector = vec . vec

    - +

    oinline float normalize()
    normalize the vector so that it has length unity returns the previous length of the vector diff --git a/doc/doc++/osg/VectorSizei.2.html b/doc/doc++/osg/VectorSizei.2.html new file mode 100644 index 000000000..7a6010bba --- /dev/null +++ b/doc/doc++/osg/VectorSizei.2.html @@ -0,0 +1,31 @@ + + + + + class osg::VectorSizei + + + + +

    class osg::VectorSizei


    + +

    Inheritance:

    + + + + + + + + + +
    +

    Documentation

    + +
    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++/osg/VectorSizei.html b/doc/doc++/osg/VectorSizei.html index 12b685660..24150a508 100644 --- a/doc/doc++/osg/VectorSizei.html +++ b/doc/doc++/osg/VectorSizei.html @@ -3,7 +3,7 @@ typedef std::vector<GLsizei> osg::VectorSizei - + @@ -12,17 +12,17 @@

    - +
    otypedef std::vector<value_type> inherited
    -[more] VectorSizei() +[more] VectorSizei()
    -[more]explicit VectorSizei(size_type n) +[more]explicit VectorSizei(size_type n)
    -[more] VectorSizei(const VectorSizei &copy) +[more] VectorSizei(const VectorSizei &copy)
    -[more]template<class InputIterator> VectorSizei(InputIterator beg_, InputIterator end_) +[more]template<class InputIterator> VectorSizei(InputIterator beg_, InputIterator end_)

    @@ -32,19 +32,19 @@
    - +
    o VectorSizei()

    - +

    oexplicit VectorSizei(size_type n)

    - -

    o VectorSizei(const VectorSizei &copy) + +
    o VectorSizei(const VectorSizei &copy)

    - +

    otemplate<class InputIterator> VectorSizei(InputIterator beg_, InputIterator end_)

    Alphabetic index HTML hierarchy of classes or Java


    diff --git a/doc/doc++/osg/VectorUByte.2.html b/doc/doc++/osg/VectorUByte.2.html new file mode 100644 index 000000000..6ca601f3b --- /dev/null +++ b/doc/doc++/osg/VectorUByte.2.html @@ -0,0 +1,31 @@ + + + + + class osg::VectorUByte + + + + +

    class osg::VectorUByte


    + +

    Inheritance:

    + + + + + + + + + +
    +

    Documentation

    + +
    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++/osg/VectorUByte.html b/doc/doc++/osg/VectorUByte.html index 77608d5cf..c36b2adb0 100644 --- a/doc/doc++/osg/VectorUByte.html +++ b/doc/doc++/osg/VectorUByte.html @@ -3,7 +3,7 @@ typedef std::vector<GLubyte> osg::VectorUByte - + @@ -12,17 +12,17 @@

    - +
    otypedef std::vector<value_type> inherited
    -[more] VectorUByte() +[more] VectorUByte()
    -[more]explicit VectorUByte(size_type n) +[more]explicit VectorUByte(size_type n)
    -[more] VectorUByte(const VectorUByte &copy) +[more] VectorUByte(const VectorUByte &copy)
    -[more]template<class InputIterator> VectorUByte(InputIterator beg_, InputIterator end_) +[more]template<class InputIterator> VectorUByte(InputIterator beg_, InputIterator end_)

    @@ -32,19 +32,19 @@
    - +
    o VectorUByte()

    - +

    oexplicit VectorUByte(size_type n)

    - -

    o VectorUByte(const VectorUByte &copy) + +
    o VectorUByte(const VectorUByte &copy)

    - +

    otemplate<class InputIterator> VectorUByte(InputIterator beg_, InputIterator end_)

    Alphabetic index HTML hierarchy of classes or Java


    diff --git a/doc/doc++/osg/VectorUInt.2.html b/doc/doc++/osg/VectorUInt.2.html new file mode 100644 index 000000000..7da1b8a22 --- /dev/null +++ b/doc/doc++/osg/VectorUInt.2.html @@ -0,0 +1,31 @@ + + + + + class osg::VectorUInt + + + + +

    class osg::VectorUInt


    + +

    Inheritance:

    + + + + + + + + + +
    +

    Documentation

    + +
    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++/osg/VectorUInt.html b/doc/doc++/osg/VectorUInt.html index 8f2882311..cb2c4485a 100644 --- a/doc/doc++/osg/VectorUInt.html +++ b/doc/doc++/osg/VectorUInt.html @@ -3,7 +3,7 @@ typedef std::vector<GLuint> osg::VectorUInt - + @@ -12,17 +12,17 @@

    - +
    otypedef std::vector<value_type> inherited
    -[more] VectorUInt() +[more] VectorUInt()
    -[more]explicit VectorUInt(size_type n) +[more]explicit VectorUInt(size_type n)
    -[more] VectorUInt(const VectorUInt &copy) +[more] VectorUInt(const VectorUInt &copy)
    -[more]template<class InputIterator> VectorUInt(InputIterator beg_, InputIterator end_) +[more]template<class InputIterator> VectorUInt(InputIterator beg_, InputIterator end_)

    @@ -32,19 +32,19 @@
    - +
    o VectorUInt()

    - +

    oexplicit VectorUInt(size_type n)

    - -

    o VectorUInt(const VectorUInt &copy) + +
    o VectorUInt(const VectorUInt &copy)

    - +

    otemplate<class InputIterator> VectorUInt(InputIterator beg_, InputIterator end_)

    Alphabetic index HTML hierarchy of classes or Java


    diff --git a/doc/doc++/osg/VectorUShort.2.html b/doc/doc++/osg/VectorUShort.2.html new file mode 100644 index 000000000..851a29743 --- /dev/null +++ b/doc/doc++/osg/VectorUShort.2.html @@ -0,0 +1,31 @@ + + + + + class osg::VectorUShort + + + + +

    class osg::VectorUShort


    + +

    Inheritance:

    + + + + + + + + + +
    +

    Documentation

    + +
    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++/osg/VectorUShort.html b/doc/doc++/osg/VectorUShort.html index f7260a310..6c34ac0b8 100644 --- a/doc/doc++/osg/VectorUShort.html +++ b/doc/doc++/osg/VectorUShort.html @@ -3,7 +3,7 @@ typedef std::vector<GLushort> osg::VectorUShort - + @@ -12,17 +12,17 @@

    - +
    otypedef std::vector<value_type> inherited
    -[more] VectorUShort() +[more] VectorUShort()
    -[more]explicit VectorUShort(size_type n) +[more]explicit VectorUShort(size_type n)
    -[more] VectorUShort(const VectorUShort &copy) +[more] VectorUShort(const VectorUShort &copy)
    -[more]template<class InputIterator> VectorUShort(InputIterator beg_, InputIterator end_) +[more]template<class InputIterator> VectorUShort(InputIterator beg_, InputIterator end_)

    @@ -32,19 +32,19 @@
    - +
    o VectorUShort()

    - +

    oexplicit VectorUShort(size_type n)

    - -

    o VectorUShort(const VectorUShort &copy) + +
    o VectorUShort(const VectorUShort &copy)

    - +

    otemplate<class InputIterator> VectorUShort(InputIterator beg_, InputIterator end_)

    Alphabetic index HTML hierarchy of classes or Java


    diff --git a/doc/doc++/osg/VertexProgram.html b/doc/doc++/osg/VertexProgram.html new file mode 100644 index 000000000..fbbd52e70 --- /dev/null +++ b/doc/doc++/osg/VertexProgram.html @@ -0,0 +1,269 @@ + + + + + class SG_EXPORT osg::VertexProgram + + + + +

    class SG_EXPORT osg::VertexProgram

    VertexProgram - encapsulates the OpenGL ARB vertex program state
    +
    + +

    Inheritance:

    + + + + + + + +
    + +
    +

    +

    Public Methods

    +[more] VertexProgram() +
    +[more] VertexProgram(const VertexProgram& vp, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
    Copy constructor using CopyOp to manage deep vs shallow copy +
    +[more] META_StateAttribute(osg, VertexProgram, VERTEXPROGRAM) +
    +[more]virtual int compare(const osg::StateAttribute& sa) const +
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs +
    +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +
    +[more]inline void setVertexProgram( const std::string& program ) +
    Set the vertex program using C++ style string +
    +[more]inline void setVertexProgram( const char* program ) +
    Set the vertex program using a C style string +
    +[more]inline const std::string& getVertexProgram() const +
    Get the vertex program +
    +[more]inline void setProgramLocalParameter(const GLuint index, const Vec4& p) +
    Program Parameters +
    +[more]inline void setMatrix(const GLenum mode, const Matrix& matrix) +
    Matrix +
    +[more]virtual void apply(State& state) const +

    + +

    +

    Protected Fields

    +[more]mutable GLuint _vertexProgramId +
    +[more]std::string _vertexProgram +
    +[more]LocalParamList _programLocalParameters +
    +[more]MatrixList _matrixList +

    + +

    +

    Protected Methods

    +[more]virtual ~VertexProgram() +

    + +

    +

    Protected Members

    +[more]typedef std::map<GLuint,Vec4> LocalParamList +
    +[more]typedef std::map<GLenum,Matrix> MatrixList +

    + +
    +

    Inherited from StateAttribute:

    +
    +

    +

    Public Methods

    +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 Type getType() const +
    +ovirtual bool isTextureAttribute() const +
    +obool operator < (const StateAttribute& rhs) const +
    +obool operator == (const StateAttribute& rhs) const +
    +obool operator != (const StateAttribute& rhs) const +
    +ovirtual void compile(State&) const +

    + +

    +

    Public Members

    +otypedef GLenum GLMode +
    +otypedef unsigned int GLModeValue +
    +otypedef unsigned int OverrideValue +
    +oenum Values +
    +otypedef unsigned int Type +
    +oenum Types +

    + +
    +

    Inherited from Object:

    +
    +

    +

    Public Methods

    +oinline void setDataVariance(DataVariance dv) +
    +oinline DataVariance getDataVariance() const +
    +oinline void setUserData(Referenced* obj) +
    +oinline Referenced* getUserData() +
    +oinline const Referenced* getUserData() const +

    + +

    +

    Public Members

    +oenum DataVariance +

    + +

    +

    Protected Fields

    +oDataVariance _dataVariance +
    +oref_ptr<Referenced> _userData +

    + +
    +

    Inherited from Referenced:

    +
    +

    +

    Public Methods

    +oinline Referenced& operator = (Referenced&) +
    +ostatic void setDeleteHandler(DeleteHandler* handler) +
    +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const +
    +oinline void unref_nodelete() const +
    +oinline int referenceCount() const +
    +oinline void unref() const +

    + +

    +

    Protected Fields

    +omutable int _refCount +

    + +
    + + +
    +

    Documentation

    +
    VertexProgram - encapsulates the OpenGL ARB vertex program state
    +
    + + + +
    o VertexProgram() +

    + + +

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

    + + +

    o META_StateAttribute(osg, VertexProgram, VERTEXPROGRAM) +

    + + +

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

    + + +

    ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const +

    + + +

    oinline void setVertexProgram( const std::string& program ) +
    Set the vertex program using C++ style string +

    + + +

    oinline void setVertexProgram( const char* program ) +
    Set the vertex program using a C style string +

    + + +

    oinline const std::string& getVertexProgram() const +
    Get the vertex program +

    + + +

    oinline void setProgramLocalParameter(const GLuint index, const Vec4& p) +
    Program Parameters +

    + + +

    oinline void setMatrix(const GLenum mode, const Matrix& matrix) +
    Matrix +

    + + +

    ovirtual void apply(State& state) const +

    + + +

    ovirtual ~VertexProgram() +

    + + +

    omutable GLuint _vertexProgramId +

    + + +

    ostd::string _vertexProgram +

    + + +

    otypedef std::map<GLuint,Vec4> LocalParamList +

    + + +

    oLocalParamList _programLocalParameters +

    + + +

    otypedef std::map<GLenum,Matrix> MatrixList +

    + + +

    oMatrixList _matrixList +

    + +
    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++/osg/Viewport.html b/doc/doc++/osg/Viewport.html index 190b3c803..e4caac57f 100644 --- a/doc/doc++/osg/Viewport.html +++ b/doc/doc++/osg/Viewport.html @@ -3,7 +3,7 @@ class SG_EXPORT osg::Viewport - + @@ -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(osg, 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(int x, int y, int width, int height) +[more]inline void setViewport(int x, int y, int width, 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 int x() const +[more]inline int x() const
    -[more]inline int y() const +[more]inline int y() const
    -[more]inline int width() const +[more]inline int width() const
    -[more]inline int height() const +[more]inline int height() const
    -[more]inline bool valid() const +[more]inline bool valid() const
    -[more]inline float aspectRatio() const +[more]inline 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()

    @@ -87,7 +87,7 @@
    ovirtual const char* className() const
    -ovirtual Type getType() const +ovirtual Type getType() const
    ovirtual bool isTextureAttribute() const
    @@ -97,7 +97,7 @@
    obool operator != (const StateAttribute& rhs) const
    -ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
    ovirtual void compile(State&) const

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

    Public Methods

    -oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
    -oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
    oinline void setUserData(Referenced* obj)
    @@ -140,7 +140,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -152,26 +152,22 @@

    Public Methods

    oinline Referenced& operator = (Referenced&)
    -oinline void ref() const +ostatic void setDeleteHandler(DeleteHandler* handler)
    -oinline void unref() const +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const
    oinline void unref_nodelete() const
    oinline int referenceCount() const
    -oinline static int createdCount() -
    -oinline static int deletedCount() +oinline void unref() const

    Protected Fields

    omutable int _refCount -
    -ostatic int _createdCount -
    -ostatic int _deletedCount

    @@ -183,59 +179,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(osg, 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(int x, int y, int width, int height) + +
    oinline void setViewport(int x, int y, int width, 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 int x() const

    - +

    oinline int y() const

    - +

    oinline int width() const

    - +

    oinline int height() const

    - +

    oinline bool valid() const

    - +

    oinline 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, @@ -244,27 +240,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/buffered_value.html b/doc/doc++/osg/buffered_value.html index f8a6da42e..183a2bcba 100644 --- a/doc/doc++/osg/buffered_value.html +++ b/doc/doc++/osg/buffered_value.html @@ -3,32 +3,32 @@ template<class T> class osg::buffered_value - + -

    template<class T> class osg::buffered_value

    Simple buffered value array which is used for values that need to multibuffered on one per graphics context basis
    +

    template<class T> class osg::buffered_value

    Simple buffered value array which is used for values that need to multibuffered on one per graphics context basis

    Public Methods

    -[more]inline buffered_value() +[more]inline buffered_value()
    -[more]buffered_value& operator = (const buffered_value& rhs) +[more]buffered_value& operator = (const buffered_value& rhs)
    -[more]inline void clear() +[more]inline void clear()
    -[more]inline bool empty() const +[more]inline bool empty() const
    -[more]inline unsigned int size() const +[more]inline unsigned int size() const
    -[more]inline T& operator[] (unsigned int pos) +[more]inline T& operator[] (unsigned int pos)

    Protected Fields

    -[more]std::vector<T> _array +[more]std::vector<T> _array

    @@ -41,32 +41,32 @@ one per graphics context basis
    - +
    oinline buffered_value()

    - +

    obuffered_value& operator = (const buffered_value& rhs)

    - +

    oinline void clear()

    - +

    oinline bool empty() const

    - +

    oinline unsigned int size() const

    - -

    oinline T& operator[] (unsigned int pos) + +
    oinline T& operator[] (unsigned int pos)

    - -

    ostd::vector<T> _array + +
    ostd::vector<T> _array


    This class has no child classes.
    diff --git a/doc/doc++/osg/clampArray3BetweenRange.html b/doc/doc++/osg/clampArray3BetweenRange.html index 033531360..b7430ab4d 100644 --- a/doc/doc++/osg/clampArray3BetweenRange.html +++ b/doc/doc++/osg/clampArray3BetweenRange.html @@ -3,11 +3,11 @@ template<class A, class T>inline void osg::clampArray3BetweenRange - + -

    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 0a079c73e..bd3016a14 100644 --- a/doc/doc++/osg/clampArray3GEQUAL.html +++ b/doc/doc++/osg/clampArray3GEQUAL.html @@ -3,11 +3,11 @@ template<class A, class T>inline void osg::clampArray3GEQUAL - + -

    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 00606d1dd..bad0efd66 100644 --- a/doc/doc++/osg/clampArray3LEQUAL.html +++ b/doc/doc++/osg/clampArray3LEQUAL.html @@ -3,11 +3,11 @@ template<class A, class T>inline void osg::clampArray3LEQUAL - + -

    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 0f8a1dc83..78f004b21 100644 --- a/doc/doc++/osg/clampArray4BetweenRange.html +++ b/doc/doc++/osg/clampArray4BetweenRange.html @@ -3,11 +3,11 @@ template<class A, class T>inline void osg::clampArray4BetweenRange - + -

    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 30e72ed83..aaf6d6148 100644 --- a/doc/doc++/osg/clampArray4GEQUAL.html +++ b/doc/doc++/osg/clampArray4GEQUAL.html @@ -3,11 +3,11 @@ template<class A, class T>inline void osg::clampArray4GEQUAL - + -

    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 19e796452..b2cf58d95 100644 --- a/doc/doc++/osg/clampArray4LEQUAL.html +++ b/doc/doc++/osg/clampArray4LEQUAL.html @@ -3,11 +3,11 @@ template<class A, class T>inline void osg::clampArray4LEQUAL - + -

    template<class A, class T>inline void osg::clampArray4LEQUAL

    (A& value,
      unsigned int first,
      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,
      unsigned int first,
      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 8466c3814..79f248eb3 100644 --- a/doc/doc++/osg/clampArrayElementBetweenRange.html +++ b/doc/doc++/osg/clampArrayElementBetweenRange.html @@ -3,11 +3,11 @@ template<class A, class T>inline void osg::clampArrayElementBetweenRange - + -

    template<class A, class T>inline void osg::clampArrayElementBetweenRange

    (A& value,
      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,
      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 6f5932367..d10b49b32 100644 --- a/doc/doc++/osg/clampArrayElementGEQUAL.html +++ b/doc/doc++/osg/clampArrayElementGEQUAL.html @@ -3,11 +3,11 @@ template<class A, class T>inline void osg::clampArrayElementGEQUAL - + -

    template<class A, class T>inline void osg::clampArrayElementGEQUAL

    (A& value,
      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,
      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 aa1d19da3..ba3969cce 100644 --- a/doc/doc++/osg/clampArrayElementLEQUAL.html +++ b/doc/doc++/osg/clampArrayElementLEQUAL.html @@ -3,11 +3,11 @@ template<class A, class T>inline void osg::clampArrayElementLEQUAL - + -

    template<class A, class T>inline void osg::clampArrayElementLEQUAL

    (A& value,
      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,
      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 5562c9b6c..d6c37f492 100644 --- a/doc/doc++/osg/clampArrayElementsBetweenRange.html +++ b/doc/doc++/osg/clampArrayElementsBetweenRange.html @@ -3,11 +3,11 @@ template<class A, class T>inline void osg::clampArrayElementsBetweenRange - + -

    template<class A, class T>inline void osg::clampArrayElementsBetweenRange

    (A& value,
      unsigned int first,
      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,
      unsigned int first,
      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 30899ee87..a244b3b0e 100644 --- a/doc/doc++/osg/clampArrayElementsGEQUAL.html +++ b/doc/doc++/osg/clampArrayElementsGEQUAL.html @@ -3,11 +3,11 @@ template<class A, class T>inline void osg::clampArrayElementsGEQUAL - + -

    template<class A, class T>inline void osg::clampArrayElementsGEQUAL

    (A& value,
      unsigned int first,
      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,
      unsigned int first,
      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 6d1f7b619..7f3d3163a 100644 --- a/doc/doc++/osg/clampArrayElementsLEQUAL.html +++ b/doc/doc++/osg/clampArrayElementsLEQUAL.html @@ -3,11 +3,11 @@ template<class A, class T>inline void osg::clampArrayElementsLEQUAL - + -

    template<class A, class T>inline void osg::clampArrayElementsLEQUAL

    (A& value,
      unsigned int first,
      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,
      unsigned int first,
      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 711266bbc..714b952db 100644 --- a/doc/doc++/osg/clampBetweenRange.html +++ b/doc/doc++/osg/clampBetweenRange.html @@ -3,11 +3,11 @@ template<class T>inline void osg::clampBetweenRange - + -

    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 ea6decc01..7fc187eb9 100644 --- a/doc/doc++/osg/clampGEQUAL.html +++ b/doc/doc++/osg/clampGEQUAL.html @@ -3,11 +3,11 @@ template<class T>inline void osg::clampGEQUAL - + -

    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 3098e0d54..90c60c981 100644 --- a/doc/doc++/osg/clampLEQUAL.html +++ b/doc/doc++/osg/clampLEQUAL.html @@ -3,11 +3,11 @@ template<class T>inline void osg::clampLEQUAL - + -

    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 76eed66f5..805562353 100644 --- a/doc/doc++/osg/createGeodeForImage.2.html +++ b/doc/doc++/osg/createGeodeForImage.2.html @@ -2,12 +2,12 @@ - SG_EXPORT extern Geode* osg::createGeodeForImage - + extern SG_EXPORT Geode* osg::createGeodeForImage + -

    SG_EXPORT extern Geode* osg::createGeodeForImage

    (Image* image,
      float s,
      float t)

    Convenience function to be used by images loaders to generate a valid geode to return for readNode().
    +

    extern SG_EXPORT Geode* osg::createGeodeForImage

    (Image* image,
      float s,
      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/createGeodeForImage.html b/doc/doc++/osg/createGeodeForImage.html index e0d6b355e..caadfeb75 100644 --- a/doc/doc++/osg/createGeodeForImage.html +++ b/doc/doc++/osg/createGeodeForImage.html @@ -2,12 +2,12 @@ - SG_EXPORT extern Geode* osg::createGeodeForImage - + extern SG_EXPORT Geode* osg::createGeodeForImage + -

    SG_EXPORT extern Geode* osg::createGeodeForImage

    (Image* image)

    Convenience function to be used by images loaders to generate a valid geode to return for readNode().
    +

    extern SG_EXPORT Geode* osg::createGeodeForImage

    (Image* image)

    Convenience function to be used by images loaders to generate a valid geode to return for readNode().

    diff --git a/doc/doc++/osg/fast_back_stack.html b/doc/doc++/osg/fast_back_stack.html index 159236d3e..88559a284 100644 --- a/doc/doc++/osg/fast_back_stack.html +++ b/doc/doc++/osg/fast_back_stack.html @@ -3,48 +3,48 @@ template<class T> class osg::fast_back_stack - + -

    template<class T> class osg::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.
    +

    template<class T> class osg::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.

    Public Fields

    -[more]T _value +[more]T _value
    -[more]std::vector<T> _stack +[more]std::vector<T> _stack
    -[more]unsigned int _size +[more]unsigned int _size

    Public Methods

    -[more]inline fast_back_stack() +[more]inline fast_back_stack()
    -[more]inline fast_back_stack(const fast_back_stack& fbs) +[more]inline fast_back_stack(const fast_back_stack& fbs)
    -[more]inline fast_back_stack(const T& value) +[more]inline fast_back_stack(const T& value)
    -[more]fast_back_stack& operator = (const fast_back_stack& fbs) +[more]fast_back_stack& operator = (const fast_back_stack& fbs)
    -[more]inline void clear() +[more]inline void clear()
    -[more]inline bool empty() const +[more]inline bool empty() const
    -[more]inline unsigned int size() const +[more]inline unsigned int size() const
    -[more]inline T& back() +[more]inline T& back()
    -[more]inline const T& back() const +[more]inline const T& back() const
    -[more]inline void push_back() +[more]inline void push_back()
    -[more]inline void push_back(const T& value) +[more]inline void push_back(const T& value)
    -[more]inline void pop_back() +[more]inline void pop_back()

    @@ -62,63 +62,63 @@ back can be accessed.
    - +
    oinline fast_back_stack()

    - -

    oinline fast_back_stack(const fast_back_stack& fbs) + +
    oinline fast_back_stack(const fast_back_stack& fbs)

    - -

    oinline fast_back_stack(const T& value) + +
    oinline fast_back_stack(const T& value)

    - +

    ofast_back_stack& operator = (const fast_back_stack& fbs)

    - +

    oinline void clear()

    - +

    oinline bool empty() const

    - +

    oinline unsigned int size() const

    - -

    oinline T& back() + +
    oinline T& back()

    - -

    oinline const T& back() const + +
    oinline const T& back() const

    - +

    oinline void push_back()

    - -

    oinline void push_back(const T& value) + +
    oinline void push_back(const T& value)

    - +

    oinline void pop_back()

    - -

    oT _value + +
    oT _value

    - -

    ostd::vector<T> _stack + +
    ostd::vector<T> _stack

    - +

    ounsigned int _size

    diff --git a/doc/doc++/osg/for_each_triangle.html b/doc/doc++/osg/for_each_triangle.html index 6b5361812..eca0f0c3e 100644 --- a/doc/doc++/osg/for_each_triangle.html +++ b/doc/doc++/osg/for_each_triangle.html @@ -3,11 +3,11 @@ template<class T> void osg::for_each_triangle - + -

    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/getGLExtensionFuncPtr.2.html b/doc/doc++/osg/getGLExtensionFuncPtr.2.html index 74fcf5b35..f2c043255 100644 --- a/doc/doc++/osg/getGLExtensionFuncPtr.2.html +++ b/doc/doc++/osg/getGLExtensionFuncPtr.2.html @@ -3,7 +3,7 @@ inline void* osg::getGLExtensionFuncPtr - + diff --git a/doc/doc++/osg/getGLExtensionFuncPtr.html b/doc/doc++/osg/getGLExtensionFuncPtr.html index 9d2b38c52..3c7eb60d6 100644 --- a/doc/doc++/osg/getGLExtensionFuncPtr.html +++ b/doc/doc++/osg/getGLExtensionFuncPtr.html @@ -3,7 +3,7 @@ inline void* osg::getGLExtensionFuncPtr - + diff --git a/doc/doc++/osg/getNotifyLevel.html b/doc/doc++/osg/getNotifyLevel.html index e89c3f9d5..26febe253 100644 --- a/doc/doc++/osg/getNotifyLevel.html +++ b/doc/doc++/osg/getNotifyLevel.html @@ -2,12 +2,12 @@ - SG_EXPORT extern NotifySeverity osg::getNotifyLevel - + extern SG_EXPORT NotifySeverity osg::getNotifyLevel + -

    SG_EXPORT extern NotifySeverity osg::getNotifyLevel

    ()

    get the notify level.
    +

    extern SG_EXPORT NotifySeverity osg::getNotifyLevel

    ()

    get the notify level.

    diff --git a/doc/doc++/osg/globalnotifylevel..html b/doc/doc++/osg/globalnotifylevel..html index 4676efd4f..b914235ef 100644 --- a/doc/doc++/osg/globalnotifylevel..html +++ b/doc/doc++/osg/globalnotifylevel..html @@ -3,7 +3,7 @@ osg::global notify level. - + diff --git a/doc/doc++/osg/globalnotifynulstream..html b/doc/doc++/osg/globalnotifynulstream..html index f4ddd6228..92d5d7d4c 100644 --- a/doc/doc++/osg/globalnotifynulstream..html +++ b/doc/doc++/osg/globalnotifynulstream..html @@ -3,7 +3,7 @@ osg::global notify nul stream. - + diff --git a/doc/doc++/osg/index.html b/doc/doc++/osg/index.html index 7a437aa95..b2eb2f338 100644 --- a/doc/doc++/osg/index.html +++ b/doc/doc++/osg/index.html @@ -3,7 +3,7 @@ Table of Contents - + @@ -22,37 +22,12 @@
  • (x)
  • (x) -
  • m_allocator -
  • m_breakOnAllocation -
  • m_breakOnDealloc -
  • m_breakOnRealloc -
  • m_calcAllUnused -
  • m_calcUnused -
  • m_deallocator -
  • m_dumpAllocUnit -
  • m_dumpMemoryReport -
  • m_getMemoryStatistics -
  • m_reallocator -
  • m_setOwner -
  • m_validateAddress -
  • m_validateAllAllocUnits -
  • m_validateAllocUnit
  • optimize
  • osgGetLibraryName osgGetLibraryName() returns the library name in human friendly form
  • osgGetVersion osgGetVersion() returns the library version number. -
  • osgNew

    Variables

    Macros

    @@ -61,6 +36,7 @@
  • GL_ADD_SIGNED_ARB
  • GL_CLAMP_TO_BORDER_ARB
  • GL_CLAMP_TO_EDGE +
  • GL_COLOR_SUM_ARB
  • GL_COMBINE_ALPHA_ARB
  • GL_COMBINE_ARB
  • GL_COMBINE_RGB_ARB @@ -76,6 +52,9 @@
  • GL_COMPRESSED_RGB_S3TC_DXT1_EXT
  • GL_COMPRESSED_TEXTURE_FORMATS_ARB
  • GL_CONSTANT_ARB +
  • GL_CURRENT_MATRIX_ARB +
  • GL_CURRENT_MATRIX_STACK_DEPTH_ARB +
  • GL_CURRENT_VERTEX_ATTRIB_ARB
  • GL_DOT3_RGBA_ARB
  • GL_DOT3_RGB_ARB
  • GL_FOG_COORDINATE @@ -83,6 +62,53 @@
  • GL_GENERATE_MIPMAP_HINT_SGIS
  • GL_GENERATE_MIPMAP_SGIS
  • GL_INTERPOLATE_ARB +
  • GL_MATRIX0_ARB +
  • GL_MATRIX10_ARB +
  • GL_MATRIX11_ARB +
  • GL_MATRIX12_ARB +
  • GL_MATRIX13_ARB +
  • GL_MATRIX14_ARB +
  • GL_MATRIX15_ARB +
  • GL_MATRIX16_ARB +
  • GL_MATRIX17_ARB +
  • GL_MATRIX18_ARB +
  • GL_MATRIX19_ARB +
  • GL_MATRIX1_ARB +
  • GL_MATRIX20_ARB +
  • GL_MATRIX21_ARB +
  • GL_MATRIX22_ARB +
  • GL_MATRIX23_ARB +
  • GL_MATRIX24_ARB +
  • GL_MATRIX25_ARB +
  • GL_MATRIX26_ARB +
  • GL_MATRIX27_ARB +
  • GL_MATRIX28_ARB +
  • GL_MATRIX29_ARB +
  • GL_MATRIX2_ARB +
  • GL_MATRIX30_ARB +
  • GL_MATRIX31_ARB +
  • GL_MATRIX3_ARB +
  • GL_MATRIX4_ARB +
  • GL_MATRIX5_ARB +
  • GL_MATRIX6_ARB +
  • GL_MATRIX7_ARB +
  • GL_MATRIX8_ARB +
  • GL_MATRIX9_ARB +
  • GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB +
  • GL_MAX_PROGRAM_ATTRIBS_ARB +
  • GL_MAX_PROGRAM_ENV_PARAMETERS_ARB +
  • GL_MAX_PROGRAM_INSTRUCTIONS_ARB +
  • GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB +
  • GL_MAX_PROGRAM_MATRICES_ARB +
  • GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB +
  • GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB +
  • GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB +
  • GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB +
  • GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB +
  • GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB +
  • GL_MAX_PROGRAM_PARAMETERS_ARB +
  • GL_MAX_PROGRAM_TEMPORARIES_ARB +
  • GL_MAX_VERTEX_ATTRIBS_ARB
  • GL_MIRRORED_REPEAT_IBM
  • GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB
  • GL_OPERAND0_ALPHA_ARB @@ -93,6 +119,24 @@
  • GL_OPERAND2_RGB_ARB
  • GL_PREVIOUS_ARB
  • GL_PRIMARY_COLOR_ARB +
  • GL_PROGRAM_ADDRESS_REGISTERS_ARB +
  • GL_PROGRAM_ATTRIBS_ARB +
  • GL_PROGRAM_BINDING_ARB +
  • GL_PROGRAM_ERROR_POSITION_ARB +
  • GL_PROGRAM_ERROR_STRING_ARB +
  • GL_PROGRAM_FORMAT_ARB +
  • GL_PROGRAM_FORMAT_ASCII_ARB +
  • GL_PROGRAM_INSTRUCTIONS_ARB +
  • GL_PROGRAM_LENGTH_ARB +
  • GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB +
  • GL_PROGRAM_NATIVE_ATTRIBS_ARB +
  • GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB +
  • GL_PROGRAM_NATIVE_PARAMETERS_ARB +
  • GL_PROGRAM_NATIVE_TEMPORARIES_ARB +
  • GL_PROGRAM_PARAMETERS_ARB +
  • GL_PROGRAM_STRING_ARB +
  • GL_PROGRAM_TEMPORARIES_ARB +
  • GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB
  • GL_RGB_SCALE_ARB
  • GL_SOURCE0_ALPHA_ARB
  • GL_SOURCE0_RGB_ARB @@ -108,6 +152,16 @@
  • GL_TEXTURE_CUBE_MAP
  • GL_TEXTURE_IMAGE_SIZE_ARB
  • GL_TEXTURE_MAX_ANISOTROPY_EXT +
  • GL_TRANSPOSE_CURRENT_MATRIX_ARB +
  • GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB +
  • GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB +
  • GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB +
  • GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB +
  • GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB +
  • GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB +
  • GL_VERTEX_PROGRAM_ARB +
  • GL_VERTEX_PROGRAM_POINT_SIZE_ARB +
  • GL_VERTEX_PROGRAM_TWO_SIDE_ARB
  • NULL: -

    Typedefs

    -

    Hierarchy of classes



    This page was generated with the help of DOC++. diff --git a/doc/doc++/osg/initNotifyLevel.html b/doc/doc++/osg/initNotifyLevel.html index 9998b8302..679a4ddf7 100644 --- a/doc/doc++/osg/initNotifyLevel.html +++ b/doc/doc++/osg/initNotifyLevel.html @@ -2,12 +2,12 @@ - SG_EXPORT extern bool osg::initNotifyLevel - + extern SG_EXPORT bool osg::initNotifyLevel + -

    SG_EXPORT extern bool osg::initNotifyLevel

    ()

    initialize notify level.
    +

    extern SG_EXPORT bool osg::initNotifyLevel

    ()

    initialize notify level.

    diff --git a/doc/doc++/osg/isGLExtensionSupported.html b/doc/doc++/osg/isGLExtensionSupported.html index 38abfb91f..76cb0c7a6 100644 --- a/doc/doc++/osg/isGLExtensionSupported.html +++ b/doc/doc++/osg/isGLExtensionSupported.html @@ -2,12 +2,12 @@ - SG_EXPORT extern bool osg::isGLExtensionSupported - + extern SG_EXPORT bool osg::isGLExtensionSupported + -

    SG_EXPORT extern bool osg::isGLExtensionSupported

    (const char* extension)

    return true if OpenGL "extension" is supported.
    +

    extern SG_EXPORT bool osg::isGLExtensionSupported

    (const char* extension)

    return true if OpenGL "extension" is supported.

    diff --git a/doc/doc++/osg/isGLUExtensionSupported.html b/doc/doc++/osg/isGLUExtensionSupported.html index c1a57e0be..df949a5dc 100644 --- a/doc/doc++/osg/isGLUExtensionSupported.html +++ b/doc/doc++/osg/isGLUExtensionSupported.html @@ -2,12 +2,12 @@ - SG_EXPORT extern bool osg::isGLUExtensionSupported - + extern SG_EXPORT bool osg::isGLUExtensionSupported + -

    SG_EXPORT extern bool osg::isGLUExtensionSupported

    (const char* extension)

    return true if OpenGL "extension" is supported.
    +

    extern SG_EXPORT bool osg::isGLUExtensionSupported

    (const char* extension)

    return true if OpenGL "extension" is supported.

    diff --git a/doc/doc++/osg/notify.html b/doc/doc++/osg/notify.html index 4b203318e..a2ef67960 100644 --- a/doc/doc++/osg/notify.html +++ b/doc/doc++/osg/notify.html @@ -2,12 +2,12 @@ - SG_EXPORT extern std::ostream& osg::notify - + extern SG_EXPORT std::ostream& osg::notify + -

    SG_EXPORT extern std::ostream& osg::notify

    (const NotifySeverity severity)

    notify messaging function for providing fatal through to verbose debugging messages.
    +

    extern SG_EXPORT std::ostream& osg::notify

    (const NotifySeverity severity)

    notify messaging function for providing fatal through to verbose debugging messages.

    diff --git a/doc/doc++/osg/operator.2.html b/doc/doc++/osg/operator.2.html index ef11b0723..e6c751b47 100644 --- a/doc/doc++/osg/operator.2.html +++ b/doc/doc++/osg/operator.2.html @@ -3,7 +3,7 @@ inline float osg::operator * - + diff --git a/doc/doc++/osg/operator.html b/doc/doc++/osg/operator.html index b2fd348ed..c12c6fcad 100644 --- a/doc/doc++/osg/operator.html +++ b/doc/doc++/osg/operator.html @@ -3,7 +3,7 @@ inline float osg::operator * - + diff --git a/doc/doc++/osg/osg.html b/doc/doc++/osg/osg.html index 92e033859..e98866fed 100644 --- a/doc/doc++/osg/osg.html +++ b/doc/doc++/osg/osg.html @@ -3,7 +3,7 @@ namespace osg - + @@ -14,38 +14,40 @@ class SG_EXPORT AlphaFunc: public StateAttribute
    Encapsulate OpenGL glAlphaFunc
    -class SG_EXPORT AnimationPath: public osg::Referenced +class SG_EXPORT AnimationPath: public virtual osg::Object
    AnimationPath for specify the time varying transformation pathway to use when update camera and model objects.
    +class SG_EXPORT AnimationPathCallback: public NodeCallback +
    class SG_EXPORT Array: public Object
    -template<typename T, Array::Type ARRAYTYPE, int DataSize, int DataType> class TemplateArray: public Array, public std::vector<T> +template<typename T, Array::Type ARRAYTYPE, int DataSize, int DataType> class TemplateArray: public Array, public std::vector<T>
    class SG_EXPORT IndexArray: public Array
    -template<typename T, Array::Type ARRAYTYPE, int DataSize, int DataType> class TemplateIndexArray: public IndexArray, public std::vector<T> +template<typename T, Array::Type ARRAYTYPE, int DataSize, int DataType> class TemplateIndexArray: public IndexArray, public std::vector<T>
    -[more]typedef TemplateIndexArray<GLbyte,Array::ByteArrayType,1,GL_BYTE> ByteArray +[more]typedef TemplateIndexArray<GLbyte,Array::ByteArrayType,1,GL_BYTE> ByteArray
    -[more]typedef TemplateIndexArray<GLshort,Array::ShortArrayType,1,GL_SHORT> ShortArray +[more]typedef TemplateIndexArray<GLshort,Array::ShortArrayType,1,GL_SHORT> ShortArray
    -[more]typedef TemplateIndexArray<GLint,Array::IntArrayType,1,GL_INT> IntArray +[more]typedef TemplateIndexArray<GLint,Array::IntArrayType,1,GL_INT> IntArray
    -[more]typedef TemplateIndexArray<GLubyte,Array::UByteArrayType,1,GL_UNSIGNED_BYTE> UByteArray +[more]typedef TemplateIndexArray<GLubyte,Array::UByteArrayType,1,GL_UNSIGNED_BYTE> UByteArray
    -[more]typedef TemplateIndexArray<GLushort,Array::UShortArrayType,1,GL_UNSIGNED_SHORT> UShortArray +[more]typedef TemplateIndexArray<GLushort,Array::UShortArrayType,1,GL_UNSIGNED_SHORT> UShortArray
    -[more]typedef TemplateIndexArray<GLuint,Array::UIntArrayType,1,GL_UNSIGNED_INT> UIntArray +[more]typedef TemplateIndexArray<GLuint,Array::UIntArrayType,1,GL_UNSIGNED_INT> UIntArray
    -[more]typedef TemplateArray<GLfloat,Array::FloatArrayType,1,GL_FLOAT> FloatArray +[more]typedef TemplateArray<GLfloat,Array::FloatArrayType,1,GL_FLOAT> FloatArray
    -[more]typedef TemplateArray<UByte4,Array::UByte4ArrayType,4,GL_UNSIGNED_BYTE> UByte4Array +[more]typedef TemplateArray<UByte4,Array::UByte4ArrayType,4,GL_UNSIGNED_BYTE> UByte4Array
    -[more]typedef TemplateArray<Vec2,Array::Vec2ArrayType,2,GL_FLOAT> Vec2Array +[more]typedef TemplateArray<Vec2,Array::Vec2ArrayType,2,GL_FLOAT> Vec2Array
    -[more]typedef TemplateArray<Vec3,Array::Vec3ArrayType,3,GL_FLOAT> Vec3Array +[more]typedef TemplateArray<Vec3,Array::Vec3ArrayType,3,GL_FLOAT> Vec3Array
    -[more]typedef TemplateArray<Vec4,Array::Vec4ArrayType,4,GL_FLOAT> Vec4Array +[more]typedef TemplateArray<Vec4,Array::Vec4ArrayType,4,GL_FLOAT> Vec4Array
    class ArrayVisitor
    @@ -67,54 +69,51 @@ class SG_EXPORT BoundingBox 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, unsigned int i, const T minValue, const char* valueName) +template<class A, class T>inline void clampArrayElementGEQUAL(A& value, 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, unsigned int i, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArrayElementLEQUAL(A& value, 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, unsigned int i, const T minValue, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArrayElementBetweenRange(A& value, 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, unsigned int first, unsigned int last, const T minValue, const char* valueName) +template<class A, class T>inline void clampArrayElementsGEQUAL(A& value, unsigned int first, 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, unsigned int first, unsigned int last, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArrayElementsLEQUAL(A& value, unsigned int first, 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, unsigned int first, unsigned int last, const T minValue, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArrayElementsBetweenRange(A& value, unsigned int first, 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, unsigned int first, unsigned int last, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArray4LEQUAL(A& value, unsigned int first, 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.
    -template<class T> class buffered_value -
    Simple buffered value array which is used for values that need to multibuffered on one per graphics context basis -
    class SG_EXPORT Camera: public osg::Referenced
    Camera class for encapsulating the view position and orientation and projection (lens) used.
    @@ -147,11 +146,14 @@ class SG_EXPORT CopyOp class SG_EXPORT CullFace: public StateAttribute
    Class to globally enable/disable OpenGL's polygon culling mode=
    +class SG_EXPORT CullStack +
    A CullStack class which accumulates the current project, modelview matrices and the CullingSet. +
    class SG_EXPORT 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 DOFTransform: public Transform +
    DOFTransform - encapsulates Multigen DOF behavior
    class SG_EXPORT Depth: public StateAttribute
    Encapsulate OpenGL glDepthFunc/Mask/Range functions @@ -159,21 +161,13 @@ class SG_EXPORT Depth: public DisplaySettings: public osg::Referenced
    DisplaySettings class for encapsulating what visuals are required and have been set up, and the status of stereo viewing
    -class SG_EXPORT DOFTransform: public Transform -
    DOFTransform - encapsulates Multigen DOF behavior -
    -[more]#define USE_SEPARATE_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
    -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. +[more]#define USE_SEPARATE_COMPILE_AND_EXECUTE +
    +class SG_EXPORT Drawable: public Object +
    Pure virtual base class for drawable Geometry.
    class SG_EXPORT Fog: public StateAttribute
    Fog - encapsulates OpenGL fog state. @@ -184,18 +178,7 @@ class SG_EXPORT FrameStamp: public FrontFace: public StateAttribute
    Class to specifies the orientation of front-facing polygons
    -class SG_EXPORT Geode: public Node -
    Leaf Node for grouping Drawables -
    -class SG_EXPORT Geometry: public Drawable -
    -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 bool isGLExtensionSupported(const char* extension) +extern SG_EXPORT bool isGLExtensionSupported(const char* extension)
    return true if OpenGL "extension" is supported.
    inline void* getGLExtensionFuncPtr(const char* funcName) @@ -204,19 +187,30 @@ inline void* getGLExtensionFuncPtr 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.
    -SG_EXPORT extern bool isGLUExtensionSupported(const char* extension) +extern SG_EXPORT bool isGLUExtensionSupported(const char* extension)
    return true if OpenGL "extension" is supported.
    -class SG_EXPORT Group: public Node +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. +
    +class SG_EXPORT Geode: public Node +
    Leaf Node for grouping Drawables +
    +class SG_EXPORT Geometry: public Drawable +
    +class SG_EXPORT Group: public Node
    General group node which maintains a list of children.
    class SG_EXPORT Image: public Object
    Image class for encapsulating the storage texture image data
    -SG_EXPORT extern Geode* createGeodeForImage(Image* image) +extern SG_EXPORT 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, float s, float t) +extern SG_EXPORT Geode* createGeodeForImage(Image* image, float s, 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 @@ -228,6 +222,9 @@ class SG_EXPORT ImpostorSprite: public class SG_EXPORT ImpostorSpriteManager: public Referenced
    Helper class for managing the reuse of ImpostorSprite resources
    +class SG_EXPORT LOD: public Group +
    LOD - Level Of Detail group node which allows switching between children depending on distance from eye point. +
    class SG_EXPORT Light: public StateAttribute
    Light state class which encapsulates OpenGL glLight() functionality
    @@ -244,26 +241,34 @@ class SG_EXPORT LineStipple: public < class SG_EXPORT LineWidth: public StateAttribute
    LineWidth - encapsulates the OpenGL glLineWidth for setting the width of lines in pixels
    -class SG_EXPORT LOD: public Group -
    LOD - Level Of Detail group node which allows switching between children depending on distance from eye point. -
    class SG_EXPORT Material: public StateAttribute
    Material - encapsulates OpenGL glMaterial state
    -class SG_EXPORT Matrix: public Object +class SG_EXPORT Matrix
    -[more]inline Vec3 operator* (const Vec3& v, const Matrix& m ) +class RefMatrix: public Object, public Matrix
    -[more]inline Vec4 operator* (const Vec4& v, const Matrix& m ) +[more]inline Vec3 operator* (const Vec3& v, const Matrix& m )
    -[more]inline std::ostream& operator<< (std::ostream& os, const Matrix& m ) +[more]inline Vec4 operator* (const Vec4& v, const Matrix& m ) +
    +[more]inline std::ostream& operator<< (std::ostream& os, const Matrix& m )
    class SG_EXPORT MatrixTransform: public Transform
    MatrixTransform - is a subclass of Transform which has an osg::Matrix which represent a 4x4 transformation of its children from local cordinates into the Transform's parent coordinates
    -class SG_EXPORT NodeCallback: public Referenced +#define META_Node(library,name) +
    META_Node macro define the standard clone, isSameKindAs, className and accept methods.
    -class SG_EXPORT NodeVisitor: public Referenced +class SG_EXPORT Node: public Object +
    Base class for all internal nodes in the scene graph. +
    +typedef std::vector<Node*> NodePath +
    A vector of Nodes pointers which is used to describe the path from a root node to a descendant +
    +class SG_EXPORT NodeCallback: public virtual Object +
    +class SG_EXPORT NodeVisitor: public virtual Referenced
    Visitor for type safe operations on osg::Node's.
    struct NodeAcceptOp @@ -273,24 +278,30 @@ enum NotifySeverity
    Range of notify levels from DEBUG_FP through to FATAL, ALWAYS is reserved for forcing the absorption of all messages.
    global notify level. +
    + xtern SG_EXPORT NotifySeverity g_NotifyLevel; +
    + xtern SG_EXPORT std::auto_ptr g_NotifyNulStream;
    global notify nul stream.
    -SG_EXPORT extern void setNotifyLevel(NotifySeverity severity) + xtern SG_EXPORT bool g_NotifyInit; +
    +extern SG_EXPORT void setNotifyLevel(NotifySeverity severity)
    set the notify level, overriding the default or value set by the environmental variable OSGNOTIFYLEVEL
    -SG_EXPORT extern NotifySeverity getNotifyLevel() +extern SG_EXPORT NotifySeverity getNotifyLevel()
    get the notify level.
    -SG_EXPORT extern bool initNotifyLevel() +extern SG_EXPORT bool initNotifyLevel()
    initialize notify level.
    -SG_EXPORT extern std::ostream& notify(const NotifySeverity severity) +extern SG_EXPORT 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(library,name) +#define META_Object(library,name)
    META_Object macro define the standard clone, isSameKindAs and className methods.
    class SG_EXPORT Object: public Referenced @@ -302,7 +313,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 @@ -355,15 +366,15 @@ class SG_EXPORT Projection: public 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 -
    Smart pointer for handling referenced counted objects +class DeleteHandler +
    Class for override the default delete behavior so that users can implment their own object deletion schemes.
    -class SG_EXPORT Sequence: public Switch +class SG_EXPORT Sequence: public Group
    Sequence is a Group node which allows automatic, time based switching between children
    class SG_EXPORT ShadeModel: public StateAttribute @@ -375,7 +386,7 @@ class SG_EXPORT ShadowVolumeOccluder typedef std::vector<ShadowVolumeOccluder> ShadowVolumeOccluderList
    A list of ShadowVolumeOccluder, used by CollectOccluderVisitor and CullVistor's
    -#define META_Shape(library,name) +#define META_Shape(library,name)
    META_StateAttribute macro define the standard clone, isSameKindAs, className and getType methods.
    class SG_EXPORT Shape: public Object @@ -409,11 +420,11 @@ class TessellationHints: public class SG_EXPORT ShapeDrawable: public Drawable
    -[more]#define GL_TEXTURE0 +[more]#define GL_TEXTURE0
    -[more]#define GL_FOG_COORDINATE_ARRAY +[more]#define GL_FOG_COORDINATE_ARRAY
    -[more]#define GL_SECONDARY_COLOR_ARRAY +[more]#define GL_SECONDARY_COLOR_ARRAY
    #define OSG_GL_DEBUG(message)
    macro for use with osg::StateAttrbiute::apply methods for detected and reporting OpenGL error messages @@ -421,7 +432,7 @@ class SG_EXPORT ShapeDrawable: public < class SG_EXPORT State: public Referenced
    State class for managing a state stack.
    -#define META_StateAttribute(library,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) @@ -430,7 +441,7 @@ class SG_EXPORT State: public COMPARE_StateAttribute_Parameter(parameter)
    COMPARE_StateAttribute_Parameter macro is a helper for implementing the StatateAtribute::compare() method.
    -[more]#define GL_COLOR_SUM +[more]#define GL_COLOR_SUM
    class SG_EXPORT StateAttribute: public Object
    Base class for state attribuets @@ -438,7 +449,7 @@ class SG_EXPORT StateAttribute: public class SG_EXPORT StateSet: public Object
    Encapsulates OpenGL state modes and attributes.
    -class Statistics: public osg::Referenced, public osg::Drawable::PrimitiveFunctor +class Statistics: public osg::Drawable::PrimitiveFunctor
    Statistics base class.
    class SG_EXPORT Stencil: public StateAttribute @@ -453,9 +464,9 @@ class SG_EXPORT TexEnv: public TexEnvCombine: public StateAttribute
    TexEnvCombine - encapsulates the OpenGL glTexEnvCombine (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 @@ -478,13 +489,13 @@ class SG_EXPORT Texture3D: public TextureCubeMap: public Texture
    TextureCubeMap state class which encapsulates OpenGl texture cubemap functionality
    -[more]typedef __int64 Timer_t +[more]typedef __int64 Timer_t
    -[more]typedef unsigned long long Timer_t +[more]typedef unsigned long long Timer_t
    -[more]typedef double Timer_t +[more]typedef double Timer_t
    -[more]typedef std::clock_t Timer_t +[more]typedef std::clock_t Timer_t
    class SG_EXPORT Timer
    A high resolution, low latency time stamper @@ -492,13 +503,15 @@ class SG_EXPORT Timer class SG_EXPORT Transform: public Group
    A Transform is a group node for which all children are transformed by a 4x4 matrix.
    -[more]typedef unsigned int uint +template<class T> class TriangleFunctor: public Drawable::PrimitiveFunctor, public T
    -[more]typedef unsigned short ushort +[more]typedef unsigned int uint
    -[more]typedef unsigned char uchar +[more]typedef unsigned short ushort
    -[more]typedef uchar ubyte +[more]typedef unsigned char uchar +
    +[more]typedef uchar ubyte
    class UByte4
    General purpose float quad, uses include representation of colour coordinates. @@ -509,13 +522,13 @@ 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)
    -[more]const Vec3 X_AXIS(1.0f, 0.0f, 0.0f) +[more]const Vec3 X_AXIS(1.0f, 0.0f, 0.0f)
    -[more]const Vec3 Y_AXIS(0.0f, 1.0f, 0.0f) +[more]const Vec3 Y_AXIS(0.0f, 1.0f, 0.0f)
    -[more]const Vec3 Z_AXIS(0.0f, 0.0f, 1.0f) +[more]const Vec3 Z_AXIS(0.0f, 0.0f, 1.0f)
    class Vec4
    General purpose float quad, uses include representation of colour coordinates. @@ -526,8 +539,20 @@ inline float operator * (const operator * (const Vec4& lhs, const Vec3& rhs)
    Compute the dot product of a Vec4 and a (Vec3,10)
    +class SG_EXPORT VertexProgram: public StateAttribute +
    VertexProgram - encapsulates the OpenGL ARB vertex program state +
    class SG_EXPORT Viewport: public StateAttribute
    Encapsulte OpenGL glViewport +
    +template<class T> class buffered_value +
    Simple buffered value array which is used for values that need to multibuffered on one per graphics context basis +
    +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. +
    +template<class T> class ref_ptr +
    Smart pointer for handling referenced counted objects
  • @@ -537,147 +562,147 @@ class SG_EXPORT Viewport: public - +
    otypedef TemplateIndexArray<GLbyte,Array::ByteArrayType,1,GL_BYTE> ByteArray

    - +

    otypedef TemplateIndexArray<GLshort,Array::ShortArrayType,1,GL_SHORT> ShortArray

    - +

    otypedef TemplateIndexArray<GLint,Array::IntArrayType,1,GL_INT> IntArray

    - +

    otypedef TemplateIndexArray<GLubyte,Array::UByteArrayType,1,GL_UNSIGNED_BYTE> UByteArray

    - +

    otypedef TemplateIndexArray<GLushort,Array::UShortArrayType,1,GL_UNSIGNED_SHORT> UShortArray

    - +

    otypedef TemplateIndexArray<GLuint,Array::UIntArrayType,1,GL_UNSIGNED_INT> UIntArray

    - +

    otypedef TemplateArray<GLfloat,Array::FloatArrayType,1,GL_FLOAT> FloatArray

    - +

    otypedef TemplateArray<UByte4,Array::UByte4ArrayType,4,GL_UNSIGNED_BYTE> UByte4Array

    - +

    otypedef TemplateArray<Vec2,Array::Vec2ArrayType,2,GL_FLOAT> Vec2Array

    - +

    otypedef TemplateArray<Vec3,Array::Vec3ArrayType,3,GL_FLOAT> Vec3Array

    - +

    otypedef TemplateArray<Vec4,Array::Vec4ArrayType,4,GL_FLOAT> Vec4Array

    - +

    o#define USE_SEPARATE_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_FOG_COORDINATE_ARRAY

    - +

    o#define GL_SECONDARY_COLOR_ARRAY

    - +

    o#define GL_COLOR_SUM

    - +

    o#define GL_NORMAL_MAP_ARB

    - +

    o#define GL_REFLECTION_MAP_ARB

    - +

    otypedef __int64 Timer_t

    - +

    otypedef unsigned long long Timer_t

    - +

    otypedef double Timer_t

    - +

    otypedef std::clock_t Timer_t

    - +

    otypedef unsigned int uint

    - +

    otypedef unsigned short ushort

    - +

    otypedef unsigned char uchar

    - -

    otypedef uchar ubyte + +
    otypedef uchar ubyte

    - +

    oinline std::ostream& operator << (std::ostream& output, const Vec3& vec)

    - +

    oconst Vec3 X_AXIS(1.0f, 0.0f, 0.0f)

    - +

    oconst Vec3 Y_AXIS(0.0f, 1.0f, 0.0f)

    - +

    oconst Vec3 Z_AXIS(0.0f, 0.0f, 1.0f)

    Alphabetic index HTML hierarchy of classes or Java


    diff --git a/doc/doc++/osg/osgGetLibraryName.html b/doc/doc++/osg/osgGetLibraryName.html index cb67132b9..ff95206eb 100644 --- a/doc/doc++/osg/osgGetLibraryName.html +++ b/doc/doc++/osg/osgGetLibraryName.html @@ -3,7 +3,7 @@ extern SG_EXPORT const char* osgGetLibraryName - + diff --git a/doc/doc++/osg/osgGetVersion.html b/doc/doc++/osg/osgGetVersion.html index 0aa36f391..4e0aab93f 100644 --- a/doc/doc++/osg/osgGetVersion.html +++ b/doc/doc++/osg/osgGetVersion.html @@ -3,7 +3,7 @@ extern SG_EXPORT const char* osgGetVersion - + diff --git a/doc/doc++/osg/osgUtx.html b/doc/doc++/osg/osgUtx.html index 7cb6994bf..a5d317758 100644 --- a/doc/doc++/osg/osgUtx.html +++ b/doc/doc++/osg/osgUtx.html @@ -3,7 +3,7 @@ namespace osgUtx - + diff --git a/doc/doc++/osg/ref_ptr.html b/doc/doc++/osg/ref_ptr.html index 226ca2933..917cce674 100644 --- a/doc/doc++/osg/ref_ptr.html +++ b/doc/doc++/osg/ref_ptr.html @@ -3,59 +3,59 @@ template<class T> class osg::ref_ptr - + -

    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 bool operator == (const ref_ptr& rp) const +[more]inline bool operator == (const ref_ptr& rp) const
    -[more]inline bool operator == (const T* ptr) const +[more]inline bool operator == (const T* ptr) const
    -[more]inline bool operator != (const ref_ptr& rp) const +[more]inline bool operator != (const ref_ptr& rp) const
    -[more]inline bool operator != (const T* ptr) const +[more]inline bool operator != (const T* ptr) const
    -[more]inline bool operator < (const ref_ptr& rp) const +[more]inline bool operator < (const ref_ptr& rp) const
    -[more]inline bool operator > (const ref_ptr& rp) const +[more]inline bool operator > (const ref_ptr& rp) const
    -[more]inline bool operator > (const T* ptr) const +[more]inline 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 bool operator!() const +[more]inline bool operator!() const
    -[more]inline bool valid() const +[more]inline 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() +[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.

    @@ -68,92 +68,92 @@
    - +
    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 bool operator == (const ref_ptr& rp) const

    - -

    oinline bool operator == (const T* ptr) const + +
    oinline bool operator == (const T* ptr) const

    - +

    oinline bool operator != (const ref_ptr& rp) const

    - -

    oinline bool operator != (const T* ptr) const + +
    oinline bool operator != (const T* ptr) const

    - +

    oinline bool operator < (const ref_ptr& rp) const

    - +

    oinline bool operator > (const ref_ptr& rp) const

    - -

    oinline bool operator > (const T* ptr) const + +
    oinline 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 bool operator!() const

    - +

    oinline bool valid() const

    - -

    oinline T* get() + +
    oinline T* get()

    - -

    oinline const T* get() const + +
    oinline const T* get() const

    - -

    oinline T* take() + +
    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 diff --git a/doc/doc++/osg/setNotifyLevel.html b/doc/doc++/osg/setNotifyLevel.html index f7c584ac5..b39a16889 100644 --- a/doc/doc++/osg/setNotifyLevel.html +++ b/doc/doc++/osg/setNotifyLevel.html @@ -2,12 +2,12 @@ - SG_EXPORT extern void osg::setNotifyLevel - + extern SG_EXPORT void osg::setNotifyLevel + -

    SG_EXPORT extern void osg::setNotifyLevel

    (NotifySeverity severity)

    set the notify level, overriding the default or value set by the environmental variable OSGNOTIFYLEVEL
    +

    extern SG_EXPORT void osg::setNotifyLevel

    (NotifySeverity severity)

    set the notify level, overriding the default or value set by the environmental variable OSGNOTIFYLEVEL

    diff --git a/doc/doc++/osg/xternSG_EXPORTNotifySeverityg_NotifyLevel.html b/doc/doc++/osg/xternSG_EXPORTNotifySeverityg_NotifyLevel.html new file mode 100644 index 000000000..8f93dbe16 --- /dev/null +++ b/doc/doc++/osg/xternSG_EXPORTNotifySeverityg_NotifyLevel.html @@ -0,0 +1,16 @@ + + + + + osg::xtern SG_EXPORT NotifySeverity g_NotifyLevel; + + + + +

    osg::xtern SG_EXPORT NotifySeverity g_NotifyLevel;

    +
    xtern SG_EXPORT NotifySeverity g_NotifyLevel;
    +

    Alphabetic index Hierarchy of classes


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/xternSG_EXPORTboolg_NotifyInit.html b/doc/doc++/osg/xternSG_EXPORTboolg_NotifyInit.html new file mode 100644 index 000000000..af3756ba7 --- /dev/null +++ b/doc/doc++/osg/xternSG_EXPORTboolg_NotifyInit.html @@ -0,0 +1,16 @@ + + + + + osg::xtern SG_EXPORT bool g_NotifyInit; + + + + +

    osg::xtern SG_EXPORT bool g_NotifyInit;

    +
    xtern SG_EXPORT bool g_NotifyInit;
    +

    Alphabetic index Hierarchy of classes


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/xternSG_EXPORTstdauto_ptrstdofstreamg_NotifyNulStream.html b/doc/doc++/osg/xternSG_EXPORTstdauto_ptrstdofstreamg_NotifyNulStream.html new file mode 100644 index 000000000..2001c9ecd --- /dev/null +++ b/doc/doc++/osg/xternSG_EXPORTstdauto_ptrstdofstreamg_NotifyNulStream.html @@ -0,0 +1,16 @@ + + + + + osg::xtern SG_EXPORT std::auto_ptr<std::ofstream> g_NotifyNulStream; + + + + +

    osg::xtern SG_EXPORT std::auto_ptr g_NotifyNulStream;

    +
    xtern SG_EXPORT std::auto_ptr g_NotifyNulStream;
    +

    Alphabetic index Hierarchy of classes


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgDB/DirectoryContents.html b/doc/doc++/osgDB/DirectoryContents.html index 8d7927e47..17d46da6b 100644 --- a/doc/doc++/osgDB/DirectoryContents.html +++ b/doc/doc++/osgDB/DirectoryContents.html @@ -3,7 +3,7 @@ typedef std::vector<std::string> osgDB::DirectoryContents - + diff --git a/doc/doc++/osgDB/DotOsgWrapper.html b/doc/doc++/osgDB/DotOsgWrapper.html index a43e483b7..6914243bc 100644 --- a/doc/doc++/osgDB/DotOsgWrapper.html +++ b/doc/doc++/osgDB/DotOsgWrapper.html @@ -3,7 +3,7 @@ class OSGDB_EXPORT osgDB::DotOsgWrapper - + diff --git a/doc/doc++/osgDB/DynamicLibrary.html b/doc/doc++/osgDB/DynamicLibrary.html index aa625452a..89d94c431 100644 --- a/doc/doc++/osgDB/DynamicLibrary.html +++ b/doc/doc++/osgDB/DynamicLibrary.html @@ -3,7 +3,7 @@ class OSGDB_EXPORT osgDB::DynamicLibrary - + diff --git a/doc/doc++/osgDB/Field.html b/doc/doc++/osgDB/Field.html index d049463b4..0e9390479 100644 --- a/doc/doc++/osgDB/Field.html +++ b/doc/doc++/osgDB/Field.html @@ -3,7 +3,7 @@ class OSGDB_EXPORT osgDB::Field - + diff --git a/doc/doc++/osgDB/FieldReader.html b/doc/doc++/osgDB/FieldReader.html index 13eaf66e4..ac12532ef 100644 --- a/doc/doc++/osgDB/FieldReader.html +++ b/doc/doc++/osgDB/FieldReader.html @@ -3,7 +3,7 @@ class OSGDB_EXPORT osgDB::FieldReader - + diff --git a/doc/doc++/osgDB/FieldReaderIterator.html b/doc/doc++/osgDB/FieldReaderIterator.html index 7c522a509..bdc935434 100644 --- a/doc/doc++/osgDB/FieldReaderIterator.html +++ b/doc/doc++/osgDB/FieldReaderIterator.html @@ -3,7 +3,7 @@ class OSGDB_EXPORT osgDB::FieldReaderIterator - + @@ -58,6 +58,34 @@ [more]void advanceToEndOfBlock(int noNestBrackets)
    [more]bool matchSequence(const char* str) +
    +[more]bool readSequence(const char* keyword, std::string& value) +
    +[more]bool readSequence(const char* keyword, unsigned int& value) +
    +[more]bool readSequence(const char* keyword, int& value) +
    +[more]bool readSequence(const char* keyword, float& value) +
    +[more]bool readSequence(const char* keyword, osg::Vec2& value) +
    +[more]bool readSequence(const char* keyword, osg::Vec3& value) +
    +[more]bool readSequence(const char* keyword, osg::Vec4& value) +
    +[more]bool readSequence(std::string& value) +
    +[more]bool readSequence(unsigned int& value) +
    +[more]bool readSequence(int& value) +
    +[more]bool readSequence(float& value) +
    +[more]bool readSequence(osg::Vec2& value) +
    +[more]bool readSequence(osg::Vec3& value) +
    +[more]bool readSequence(osg::Vec4& value)

    @@ -155,6 +183,62 @@ whole block if the current field[0] is an open bracket
    obool matchSequence(const char* str) +

    + + +

    obool readSequence(const char* keyword, std::string& value) +

    + + +

    obool readSequence(const char* keyword, unsigned int& value) +

    + + +

    obool readSequence(const char* keyword, int& value) +

    + + +

    obool readSequence(const char* keyword, float& value) +

    + + +

    obool readSequence(const char* keyword, osg::Vec2& value) +

    + + +

    obool readSequence(const char* keyword, osg::Vec3& value) +

    + + +

    obool readSequence(const char* keyword, osg::Vec4& value) +

    + + +

    obool readSequence(std::string& value) +

    + + +

    obool readSequence(unsigned int& value) +

    + + +

    obool readSequence(int& value) +

    + + +

    obool readSequence(float& value) +

    + + +

    obool readSequence(osg::Vec2& value) +

    + + +

    obool readSequence(osg::Vec3& value) +

    + + +

    obool readSequence(osg::Vec4& value)


    Direct child classes: diff --git a/doc/doc++/osgDB/FilePathList.html b/doc/doc++/osgDB/FilePathList.html index aab9805a0..fff37d6ca 100644 --- a/doc/doc++/osgDB/FilePathList.html +++ b/doc/doc++/osgDB/FilePathList.html @@ -3,7 +3,7 @@ typedef std::deque<std::string> osgDB::FilePathList - + diff --git a/doc/doc++/osgDB/General.html b/doc/doc++/osgDB/General.html index 3e25ab9f1..870a5d43e 100644 --- a/doc/doc++/osgDB/General.html +++ b/doc/doc++/osgDB/General.html @@ -3,7 +3,7 @@ General Bits - + @@ -49,12 +49,15 @@ o#define OSGDB_OUTPUT
    -o#define -OSGDB_READERWRITER
    +o#define +OSGDB_PARAMETEROUTPUT
    o#define OSGDB_READFILE
    +o#define +OSGDB_READERWRITER
    + o#define OSGDB_REGISTRY
    diff --git a/doc/doc++/osgDB/HIER.html b/doc/doc++/osgDB/HIER.html index d05251e99..ff9fb81f3 100644 --- a/doc/doc++/osgDB/HIER.html +++ b/doc/doc++/osgDB/HIER.html @@ -3,7 +3,7 @@ Hierarchy of Classes - +

    Hierarchy of Classes

    @@ -19,6 +19,7 @@
  • osgDB::ReaderWriter::Options
  • osgDB::Output +
  • osgDB::ParameterOutput
  • osgDB::PushAndPopDataPath
  • osgDB::ReaderWriter::ReadResult
  • osgDB::ReaderWriter diff --git a/doc/doc++/osgDB/HIERjava.html b/doc/doc++/osgDB/HIERjava.html index df92dc1a7..7f023ef50 100644 --- a/doc/doc++/osgDB/HIERjava.html +++ b/doc/doc++/osgDB/HIERjava.html @@ -3,7 +3,7 @@ Hierarchy of Classes - +

    Hierarchy of classes

    @@ -51,6 +51,13 @@
  • + + + + + + + @@ -99,11 +106,11 @@ - - - - - + + + + + diff --git a/doc/doc++/osgDB/Input.html b/doc/doc++/osgDB/Input.html index 3b651a8d2..32945ce48 100644 --- a/doc/doc++/osgDB/Input.html +++ b/doc/doc++/osgDB/Input.html @@ -3,7 +3,7 @@ class OSGDB_EXPORT osgDB::Input - + @@ -84,6 +84,34 @@ ovoid advanceToEndOfBlock(int noNestBrackets)
    obool matchSequence(const char* str) +
    +obool readSequence(const char* keyword, std::string& value) +
    +obool readSequence(const char* keyword, unsigned int& value) +
    +obool readSequence(const char* keyword, int& value) +
    +obool readSequence(const char* keyword, float& value) +
    +obool readSequence(const char* keyword, osg::Vec2& value) +
    +obool readSequence(const char* keyword, osg::Vec3& value) +
    +obool readSequence(const char* keyword, osg::Vec4& value) +
    +obool readSequence(std::string& value) +
    +obool readSequence(unsigned int& value) +
    +obool readSequence(int& value) +
    +obool readSequence(float& value) +
    +obool readSequence(osg::Vec2& value) +
    +obool readSequence(osg::Vec3& value) +
    +obool readSequence(osg::Vec4& value)

    diff --git a/doc/doc++/osgDB/Options.html b/doc/doc++/osgDB/Options.html index 54c2026ad..d25d39da8 100644 --- a/doc/doc++/osgDB/Options.html +++ b/doc/doc++/osgDB/Options.html @@ -3,7 +3,7 @@ class osgDB::ReaderWriter::Options - + @@ -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 916d19a69..4018dfb02 100644 --- a/doc/doc++/osgDB/Output.html +++ b/doc/doc++/osgDB/Output.html @@ -3,7 +3,7 @@ class OSGDB_EXPORT osgDB::Output - + diff --git a/doc/doc++/osgDB/ParameterOutput.html b/doc/doc++/osgDB/ParameterOutput.html new file mode 100644 index 000000000..2fc6e991e --- /dev/null +++ b/doc/doc++/osgDB/ParameterOutput.html @@ -0,0 +1,87 @@ + + + + + class osgDB::ParameterOutput + + + + +

    class osgDB::ParameterOutput


    + +
    +

    +

    Public Methods

    +[more] ParameterOutput(Output& fw) +
    +[more] ParameterOutput(Output& fw, int numItemsPerLine) +
    +[more]void begin() +
    +[more]template<class T> void write(const T& t) +
    +[more]template<class Iterator> void write(Iterator first, Iterator last) +
    +[more]template<class Iterator> void writeAsInts(Iterator first, Iterator last) +

    + +

    +

    Protected Fields

    +[more]Output& _fw +
    +[more]int _numItemsPerLine +
    +[more]int _column +

    + +
    + + +
    +

    Documentation

    +
    + + + +
    o ParameterOutput(Output& fw) +

    + + +

    o ParameterOutput(Output& fw, int numItemsPerLine) +

    + + +

    ovoid begin() +

    + + +

    otemplate<class T> void write(const T& t) +

    + + +

    otemplate<class Iterator> void write(Iterator first, Iterator last) +

    + + +

    otemplate<class Iterator> void writeAsInts(Iterator first, Iterator last) +

    + + +

    oOutput& _fw +

    + + +

    oint _numItemsPerLine +

    + + +

    oint _column +

    + +
    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++/osgDB/PushAndPopDataPath.html b/doc/doc++/osgDB/PushAndPopDataPath.html index 984738b1a..2613ea7a1 100644 --- a/doc/doc++/osgDB/PushAndPopDataPath.html +++ b/doc/doc++/osgDB/PushAndPopDataPath.html @@ -3,7 +3,7 @@ class osgDB::PushAndPopDataPath - + diff --git a/doc/doc++/osgDB/ReadResult.html b/doc/doc++/osgDB/ReadResult.html index 3b3dfa17f..32ecce98b 100644 --- a/doc/doc++/osgDB/ReadResult.html +++ b/doc/doc++/osgDB/ReadResult.html @@ -3,7 +3,7 @@ class osgDB::ReaderWriter::ReadResult - + @@ -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]bool validObject() +[more]bool validObject()
    -[more]bool validImage() +[more]bool validImage()
    -[more]bool validNode() +[more]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]ReadStatus status() const +[more]ReadStatus status() const
    -[more]bool success() const +[more]bool success() const
    -[more]bool error() const +[more]bool error() const
    -[more]bool notHandled() const +[more]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()

    - +

    obool validObject()

    - +

    obool validImage()

    - +

    obool validNode()

    - +

    oosg::Object* takeObject()

    - +

    oosg::Image* takeImage()

    - +

    oosg::Node* takeNode()

    - +

    oconst std::string& message() const

    - -

    oReadStatus status() const + +
    oReadStatus status() const

    - +

    obool success() const

    - +

    obool error() const

    - +

    obool 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 69066ff3c..6db594b86 100644 --- a/doc/doc++/osgDB/ReaderWriter.html +++ b/doc/doc++/osgDB/ReaderWriter.html @@ -3,7 +3,7 @@ class OSGDB_EXPORT osgDB::ReaderWriter - + @@ -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 a152ea21c..179dd7baa 100644 --- a/doc/doc++/osgDB/RegisterDotOsgWrapperProxy.html +++ b/doc/doc++/osgDB/RegisterDotOsgWrapperProxy.html @@ -3,7 +3,7 @@ class osgDB::RegisterDotOsgWrapperProxy - + @@ -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 4e1557f7a..189333a5c 100644 --- a/doc/doc++/osgDB/RegisterReaderWriterProxy.html +++ b/doc/doc++/osgDB/RegisterReaderWriterProxy.html @@ -3,7 +3,7 @@ template<class T> class osgDB::RegisterReaderWriterProxy - + @@ -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 b0be08048..461be35a0 100644 --- a/doc/doc++/osgDB/Registry.html +++ b/doc/doc++/osgDB/Registry.html @@ -3,122 +3,189 @@ class OSGDB_EXPORT osgDB::Registry - +

    class OSGDB_EXPORT osgDB::Registry

    Registry is a singleton factory which stores the reader/writers which are linked in at runtime for reading non-native file formats.

    +

    Inheritance:

    + + + + + + + +
    +

    Public Methods

    -[more]static Registry* instance() +[more]static Registry* instance()
    -[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]std::string createLibraryNameForNodeKit(const std::string& name) +[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) +[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() +[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() +[more]void initDataFilePathList()
    initilize the Data FilePath by reading the OSG_FILE_PATH environmental variable
    -[more]void setDataFilePathList(const FilePathList& filepath) +[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) +[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() +[more]FilePathList& getDataFilePathList()
    get the data file path which is used when search for data files
    -[more]const FilePathList& getDataFilePathList() const +[more]const FilePathList& getDataFilePathList() const
    get the const data file path which is used when search for data files
    -[more]void initLibraryFilePathList() +[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) +[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) +[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() +[more]FilePathList& getLibraryFilePathList()
    get the library file path which is used when search for library (dso/dll's) files
    -[more]const FilePathList& getLibraryFilePathList() const +[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) +[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

    +

    +

    Protected Fields

    +[more]bool _createNodeFromImage +
    +[more]DotOsgWrapperMap _objectWrapperMap +
    +[more]DotOsgWrapperMap _imageWrapperMap +
    +[more]DotOsgWrapperMap _drawableWrapperMap +
    +[more]DotOsgWrapperMap _stateAttrWrapperMap +
    +[more]DotOsgWrapperMap _nodeWrapperMap +
    +[more]DotOsgWrapperMap _classNameWrapperMap +
    +[more]ReaderWriterList _rwList +
    +[more]DynamicLibraryList _dlList +
    +[more]bool _openingLibrary +
    +[more]ExtensionAliasMap _extAliasMap +
    +[more]osg::ref_ptr<ReaderWriter::Options> _options +
    +[more]FilePathList _dataFilePath +
    +[more]FilePathList _libraryFilePath +

    + +

    +

    Protected Methods

    +[more]virtual ~Registry() +
    +[more] Registry() +
    constructor is private, as its a singleton, preventing construction other than via the instance() method and therefore ensuring only one copy is ever constructed +
    +[more]DynamicLibraryList::iterator getLibraryItr(const std::string& fileName) +
    get the attached library with specified name +
    +[more]DynamicLibrary* getLibrary(const std::string& fileName) +
    +[more]osg::Object* readObject(DotOsgWrapperMap& dowMap, Input& fr) +
    +[more]void eraseWrapper(DotOsgWrapperMap& wrappermap, DotOsgWrapper* wrapper) +

    + +

    +

    Protected Members

    +[more]typedef std::map<std::string,osg::ref_ptr<DotOsgWrapper> > DotOsgWrapperMap +
    +[more]typedef std::vector<osg::ref_ptr<ReaderWriter> > ReaderWriterList +
    +[more]typedef std::vector<osg::ref_ptr<DynamicLibrary> > DynamicLibraryList +
    +[more]typedef std::map<std::string,std::string> ExtensionAliasMap +

    +
    @@ -138,20 +205,16 @@ 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. @@ -160,180 +223,280 @@ 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 +

    + + +

    ovirtual ~Registry() +

    + + +

    otypedef std::map<std::string,osg::ref_ptr<DotOsgWrapper> > DotOsgWrapperMap +

    + + +

    otypedef std::vector<osg::ref_ptr<ReaderWriter> > ReaderWriterList +

    + + +

    otypedef std::vector<osg::ref_ptr<DynamicLibrary> > DynamicLibraryList +

    + + +

    otypedef std::map<std::string,std::string> ExtensionAliasMap +

    + + +

    o Registry() +
    constructor is private, as its a singleton, preventing +construction other than via the instance() method and +therefore ensuring only one copy is ever constructed +

    + + +

    oDynamicLibraryList::iterator getLibraryItr(const std::string& fileName) +
    get the attached library with specified name +

    + + +

    oDynamicLibrary* getLibrary(const std::string& fileName) +

    + + +

    obool _createNodeFromImage +

    + + +

    oosg::Object* readObject(DotOsgWrapperMap& dowMap, Input& fr) +

    + + +

    ovoid eraseWrapper(DotOsgWrapperMap& wrappermap, DotOsgWrapper* wrapper) +

    + + +

    oDotOsgWrapperMap _objectWrapperMap +

    + + +

    oDotOsgWrapperMap _imageWrapperMap +

    + + +

    oDotOsgWrapperMap _drawableWrapperMap +

    + + +

    oDotOsgWrapperMap _stateAttrWrapperMap +

    + + +

    oDotOsgWrapperMap _nodeWrapperMap +

    + + +

    oDotOsgWrapperMap _classNameWrapperMap +

    + + +

    oReaderWriterList _rwList +

    + + +

    oDynamicLibraryList _dlList +

    + + +

    obool _openingLibrary +

    + + +

    oExtensionAliasMap _extAliasMap +

    + + +

    oosg::ref_ptr<ReaderWriter::Options> _options +

    + + +

    oFilePathList _dataFilePath +

    + + +

    oFilePathList _libraryFilePath


    This class has no child classes.
    diff --git a/doc/doc++/osgDB/WriteResult.html b/doc/doc++/osgDB/WriteResult.html index c25df26b4..f9d2c4255 100644 --- a/doc/doc++/osgDB/WriteResult.html +++ b/doc/doc++/osgDB/WriteResult.html @@ -3,7 +3,7 @@ class osgDB::ReaderWriter::WriteResult - + @@ -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]WriteStatus status() const +[more]WriteStatus status() const
    -[more]bool success() const +[more]bool success() const
    -[more]bool error() const +[more]bool error() const
    -[more]bool notHandled() const +[more]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

    - -

    oWriteStatus status() const + +
    oWriteStatus status() const

    - +

    obool success() const

    - +

    obool error() const

    - +

    obool notHandled() const

    - -

    oWriteStatus _status + +
    oWriteStatus _status

    - +

    ostd::string _message

    diff --git a/doc/doc++/osgDB/fileExists.html b/doc/doc++/osgDB/fileExists.html index 2e6dd68be..53b66edab 100644 --- a/doc/doc++/osgDB/fileExists.html +++ b/doc/doc++/osgDB/fileExists.html @@ -2,12 +2,12 @@ - OSGDB_EXPORT extern bool osgDB::fileExists - + extern OSGDB_EXPORT bool osgDB::fileExists + -

    OSGDB_EXPORT extern bool osgDB::fileExists

    (const std::string& filename)

    return true if a file exisits.
    +

    extern OSGDB_EXPORT bool osgDB::fileExists

    (const std::string& filename)

    return true if a file exisits.

    diff --git a/doc/doc++/osgDB/findFileInDirectory.html b/doc/doc++/osgDB/findFileInDirectory.html index f4ded7e4a..88ce0a676 100644 --- a/doc/doc++/osgDB/findFileInDirectory.html +++ b/doc/doc++/osgDB/findFileInDirectory.html @@ -2,12 +2,12 @@ - OSGDB_EXPORT extern std::string osgDB::findFileInDirectory - + extern OSGDB_EXPORT std::string osgDB::findFileInDirectory + -

    OSGDB_EXPORT extern std::string osgDB::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.
    +

    extern OSGDB_EXPORT std::string osgDB::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.

    diff --git a/doc/doc++/osgDB/findFileInPath.html b/doc/doc++/osgDB/findFileInPath.html index 5fe3c5e9d..353d1facb 100644 --- a/doc/doc++/osgDB/findFileInPath.html +++ b/doc/doc++/osgDB/findFileInPath.html @@ -2,12 +2,12 @@ - OSGDB_EXPORT extern std::string osgDB::findFileInPath - + extern OSGDB_EXPORT std::string osgDB::findFileInPath + -

    OSGDB_EXPORT extern std::string osgDB::findFileInPath

    (const std::string& filename,
      const FilePathList& filePath)

    find specified file in specified file path
    +

    extern OSGDB_EXPORT std::string osgDB::findFileInPath

    (const std::string& filename,
      const FilePathList& filePath)

    find specified file in specified file path

    diff --git a/doc/doc++/osgDB/getDirectoryContents.html b/doc/doc++/osgDB/getDirectoryContents.html index a5ba70728..ac00b93e8 100644 --- a/doc/doc++/osgDB/getDirectoryContents.html +++ b/doc/doc++/osgDB/getDirectoryContents.html @@ -2,12 +2,12 @@ - OSGDB_EXPORT extern DirectoryContents osgDB::getDirectoryContents - + extern OSGDB_EXPORT DirectoryContents osgDB::getDirectoryContents + -

    OSGDB_EXPORT extern DirectoryContents osgDB::getDirectoryContents

    (const std::string& dirName)

    return the contents of a directory.
    +

    extern OSGDB_EXPORT DirectoryContents osgDB::getDirectoryContents

    (const std::string& dirName)

    return the contents of a directory.

    diff --git a/doc/doc++/osgDB/index.html b/doc/doc++/osgDB/index.html index 16eae9ef3..b498f1a26 100644 --- a/doc/doc++/osgDB/index.html +++ b/doc/doc++/osgDB/index.html @@ -3,7 +3,7 @@ Table of Contents - + @@ -34,6 +34,7 @@
  • OSGDB_FILEUTILS
  • OSGDB_INPUT
  • OSGDB_OUTPUT +
  • OSGDB_PARAMETEROUTPUT
  • OSGDB_READERWRITER
  • OSGDB_READFILE
  • OSGDB_REGISTRY diff --git a/doc/doc++/osgDB/osgDB.html b/doc/doc++/osgDB/osgDB.html index 2350069b0..2f12e0b4c 100644 --- a/doc/doc++/osgDB/osgDB.html +++ b/doc/doc++/osgDB/osgDB.html @@ -3,7 +3,7 @@ namespace osgDB - + @@ -23,33 +23,33 @@ class OSGDB_EXPORT FieldReader
    class OSGDB_EXPORT FieldReaderIterator
    -[more]OSGDB_EXPORT extern std::string getFilePath(const std::string& filename) +[more]extern OSGDB_EXPORT std::string getFilePath(const std::string& filename)
    -[more]OSGDB_EXPORT extern std::string getFileExtension(const std::string& filename) +[more]extern OSGDB_EXPORT std::string getFileExtension(const std::string& filename)
    -[more]OSGDB_EXPORT extern std::string getLowerCaseFileExtension(const std::string& filename) +[more]extern OSGDB_EXPORT std::string getLowerCaseFileExtension(const std::string& filename)
    -[more]OSGDB_EXPORT extern std::string getSimpleFileName(const std::string& fileName) +[more]extern OSGDB_EXPORT std::string getSimpleFileName(const std::string& fileName)
    -[more]OSGDB_EXPORT extern std::string getStrippedName(const std::string& fileName) +[more]extern OSGDB_EXPORT std::string getStrippedName(const std::string& fileName)
    -[more]OSGDB_EXPORT extern bool equalCaseInsensitive(const std::string& lhs, const std::string& rhs) +[more]extern OSGDB_EXPORT bool equalCaseInsensitive(const std::string& lhs, const std::string& rhs)
    -[more]OSGDB_EXPORT extern bool equalCaseInsensitive(const std::string& lhs, const char* rhs) +[more]extern OSGDB_EXPORT bool equalCaseInsensitive(const std::string& lhs, const char* rhs)
    -OSGDB_EXPORT extern bool fileExists(const std::string& filename) +extern OSGDB_EXPORT bool fileExists(const std::string& filename)
    return true if a file exisits.
    -OSGDB_EXPORT extern std::string findFileInPath(const std::string& filename, const FilePathList& filePath) +extern OSGDB_EXPORT 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) +extern OSGDB_EXPORT 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) +extern OSGDB_EXPORT DirectoryContents getDirectoryContents(const std::string& dirName)
    return the contents of a directory.
    [more]inline void setDataFilePathList(const FilePathList& filepath) @@ -58,7 +58,7 @@ OSGDB_EXPORT extern DirectoryContents <
    [more]inline FilePathList& getDataFilePathList()
    -[more]OSGDB_EXPORT extern std::string findDataFile(const std::string& filename) +[more]extern OSGDB_EXPORT std::string findDataFile(const std::string& filename)
    class PushAndPopDataPath
    Convinience class for pushing a path on construction, and popping the path and destruction. @@ -69,7 +69,7 @@ class PushAndPopDataPath
    [more]inline FilePathList& getLibraryFilePathList()
    -[more]OSGDB_EXPORT extern std::string findLibraryFile(const std::string& filename) +[more]extern OSGDB_EXPORT std::string findLibraryFile(const std::string& filename)
    class OSGDB_EXPORT Input: public FieldReaderIterator
    Class for managing the reading of ASCII osg files @@ -77,27 +77,31 @@ class OSGDB_EXPORT Input: public Output: public std::ofstream
    ofstream wrapper class for adding support for indenting.
    -[more]template<class T> bool writeArrayBlock(Output& fw, T* start, T* finish) +class ParameterOutput +
    +[more]template<class Iterator> void writeArray(Output& fw, Iterator first, Iterator last, int noItemsPerLine=0) +
    +[more]template<class Iterator> void writeArrayAsInts(Output& fw, Iterator first, Iterator last, int noItemsPerLine=0) +
    +extern OSGDB_EXPORT osg::Object* readObjectFile(const std::string& filename) +
    Read an osg::Object from file. +
    +extern OSGDB_EXPORT osg::Image* readImageFile(const std::string& filename) +
    Read an osg::Image from file. +
    +extern OSGDB_EXPORT osg::Node* readNodeFile(const std::string& filename) +
    Read an osg::Node from file. +
    +extern OSGDB_EXPORT osg::Node* readNodeFiles(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
    class OSGDB_EXPORT ReaderWriter: public osg::Referenced
    pure virtual base class for reading and writing of non native formats.
    -OSGDB_EXPORT extern osg::Object* readObjectFile(const std::string& filename) -
    Read an osg::Object from file. -
    -OSGDB_EXPORT extern osg::Image* readImageFile(const std::string& filename) -
    Read an osg::Image from file. -
    -OSGDB_EXPORT extern osg::Node* readNodeFile(const std::string& filename) -
    Read an osg::Node from file. -
    -OSGDB_EXPORT extern osg::Node* readNodeFiles(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 +class OSGDB_EXPORT Registry: public osg::Referenced
    Registry is a singleton factory which stores the reader/writers which are linked in at runtime for reading non-native file formats.
    inline void readCommandLine(std::vector<std::string>& commandLine) @@ -109,13 +113,13 @@ class RegisterDotOsgWrapperProxyRegisterReaderWriterProxy
    Proxy class for automatic registration of reader/writers with the Registry
    -OSGDB_EXPORT extern bool writeObjectFile(const osg::Object& object, const std::string& filename) +extern OSGDB_EXPORT bool writeObjectFile(const osg::Object& object, const std::string& filename)
    Write an osg::Object to file.
    -OSGDB_EXPORT extern bool writeImageFile(const osg::Image& image, const std::string& filename) +extern OSGDB_EXPORT bool writeImageFile(const osg::Image& image, const std::string& filename)
    Write an osg::Image to file.
    -OSGDB_EXPORT extern bool writeNodeFile(const osg::Node& node, const std::string& filename) +extern OSGDB_EXPORT bool writeNodeFile(const osg::Node& node, const std::string& filename)
    Write an osg::Node to file.
  • @@ -127,31 +131,31 @@ OSGDB_EXPORT extern bool writeNodeFile(c -
    oOSGDB_EXPORT extern std::string getFilePath(const std::string& filename) +
    oextern OSGDB_EXPORT std::string getFilePath(const std::string& filename)

    -

    oOSGDB_EXPORT extern std::string getFileExtension(const std::string& filename) +
    oextern OSGDB_EXPORT std::string getFileExtension(const std::string& filename)

    -

    oOSGDB_EXPORT extern std::string getLowerCaseFileExtension(const std::string& filename) +
    oextern OSGDB_EXPORT std::string getLowerCaseFileExtension(const std::string& filename)

    -

    oOSGDB_EXPORT extern std::string getSimpleFileName(const std::string& fileName) +
    oextern OSGDB_EXPORT std::string getSimpleFileName(const std::string& fileName)

    -

    oOSGDB_EXPORT extern std::string getStrippedName(const std::string& fileName) +
    oextern OSGDB_EXPORT std::string getStrippedName(const std::string& fileName)

    -

    oOSGDB_EXPORT extern bool equalCaseInsensitive(const std::string& lhs, const std::string& rhs) +
    oextern OSGDB_EXPORT bool equalCaseInsensitive(const std::string& lhs, const std::string& rhs)

    -

    oOSGDB_EXPORT extern bool equalCaseInsensitive(const std::string& lhs, const char* rhs) +
    oextern OSGDB_EXPORT bool equalCaseInsensitive(const std::string& lhs, const char* rhs)

    @@ -167,7 +171,7 @@ OSGDB_EXPORT extern bool writeNodeFile(c

    -

    oOSGDB_EXPORT extern std::string findDataFile(const std::string& filename) +
    oextern OSGDB_EXPORT std::string findDataFile(const std::string& filename)

    @@ -183,11 +187,15 @@ OSGDB_EXPORT extern bool writeNodeFile(c

    -

    oOSGDB_EXPORT extern std::string findLibraryFile(const std::string& filename) +
    oextern OSGDB_EXPORT std::string findLibraryFile(const std::string& filename)

    - - -

    otemplate<class T> bool writeArrayBlock(Output& fw, T* start, T* finish) + + +
    otemplate<class Iterator> void writeArray(Output& fw, Iterator first, Iterator last, int noItemsPerLine=0) +

    + + +

    otemplate<class Iterator> void writeArrayAsInts(Output& fw, Iterator first, Iterator last, int noItemsPerLine=0)

    Alphabetic index HTML hierarchy of classes or Java



    diff --git a/doc/doc++/osgDB/osgDBGetLibraryName.html b/doc/doc++/osgDB/osgDBGetLibraryName.html index f86c3351d..339508338 100644 --- a/doc/doc++/osgDB/osgDBGetLibraryName.html +++ b/doc/doc++/osgDB/osgDBGetLibraryName.html @@ -3,7 +3,7 @@ extern OSGDB_EXPORT const char* osgDBGetLibraryName - + diff --git a/doc/doc++/osgDB/osgDBGetVersion.html b/doc/doc++/osgDB/osgDBGetVersion.html index 0ec277006..b8d0aae32 100644 --- a/doc/doc++/osgDB/osgDBGetVersion.html +++ b/doc/doc++/osgDB/osgDBGetVersion.html @@ -3,7 +3,7 @@ extern OSGDB_EXPORT const char* osgDBGetVersion - + diff --git a/doc/doc++/osgDB/readCommandLine.html b/doc/doc++/osgDB/readCommandLine.html index f81928711..e1c03b811 100644 --- a/doc/doc++/osgDB/readCommandLine.html +++ b/doc/doc++/osgDB/readCommandLine.html @@ -3,7 +3,7 @@ inline void osgDB::readCommandLine - + diff --git a/doc/doc++/osgDB/readImageFile.html b/doc/doc++/osgDB/readImageFile.html index 76516e8d8..20aec403b 100644 --- a/doc/doc++/osgDB/readImageFile.html +++ b/doc/doc++/osgDB/readImageFile.html @@ -2,12 +2,12 @@ - OSGDB_EXPORT extern osg::Image* osgDB::readImageFile - + extern OSGDB_EXPORT osg::Image* osgDB::readImageFile + -

    OSGDB_EXPORT extern osg::Image* osgDB::readImageFile

    (const std::string& filename)

    Read an osg::Image from file.
    +

    extern OSGDB_EXPORT osg::Image* osgDB::readImageFile

    (const std::string& filename)

    Read an osg::Image from file.

    diff --git a/doc/doc++/osgDB/readNodeFile.html b/doc/doc++/osgDB/readNodeFile.html index 0448e2d69..a4aff1066 100644 --- a/doc/doc++/osgDB/readNodeFile.html +++ b/doc/doc++/osgDB/readNodeFile.html @@ -2,12 +2,12 @@ - OSGDB_EXPORT extern osg::Node* osgDB::readNodeFile - + extern OSGDB_EXPORT osg::Node* osgDB::readNodeFile + -

    OSGDB_EXPORT extern osg::Node* osgDB::readNodeFile

    (const std::string& filename)

    Read an osg::Node from file.
    +

    extern OSGDB_EXPORT osg::Node* osgDB::readNodeFile

    (const std::string& filename)

    Read an osg::Node from file.

    diff --git a/doc/doc++/osgDB/readNodeFiles.html b/doc/doc++/osgDB/readNodeFiles.html index 940b304c7..b4809d2c0 100644 --- a/doc/doc++/osgDB/readNodeFiles.html +++ b/doc/doc++/osgDB/readNodeFiles.html @@ -2,12 +2,12 @@ - OSGDB_EXPORT extern osg::Node* osgDB::readNodeFiles - + extern OSGDB_EXPORT osg::Node* osgDB::readNodeFiles + -

    OSGDB_EXPORT extern osg::Node* osgDB::readNodeFiles

    (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
    +

    extern OSGDB_EXPORT osg::Node* osgDB::readNodeFiles

    (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

    diff --git a/doc/doc++/osgDB/readObjectFile.html b/doc/doc++/osgDB/readObjectFile.html index faed9b82e..aa17927ca 100644 --- a/doc/doc++/osgDB/readObjectFile.html +++ b/doc/doc++/osgDB/readObjectFile.html @@ -2,12 +2,12 @@ - OSGDB_EXPORT extern osg::Object* osgDB::readObjectFile - + extern OSGDB_EXPORT osg::Object* osgDB::readObjectFile + -

    OSGDB_EXPORT extern osg::Object* osgDB::readObjectFile

    (const std::string& filename)

    Read an osg::Object from file.
    +

    extern OSGDB_EXPORT osg::Object* osgDB::readObjectFile

    (const std::string& filename)

    Read an osg::Object from file.

    diff --git a/doc/doc++/osgDB/writeImageFile.html b/doc/doc++/osgDB/writeImageFile.html index 3a896a523..714c340e5 100644 --- a/doc/doc++/osgDB/writeImageFile.html +++ b/doc/doc++/osgDB/writeImageFile.html @@ -2,12 +2,12 @@ - OSGDB_EXPORT extern bool osgDB::writeImageFile - + extern OSGDB_EXPORT bool osgDB::writeImageFile + -

    OSGDB_EXPORT extern bool osgDB::writeImageFile

    (const osg::Image& image,
      const std::string& filename)

    Write an osg::Image to file.
    +

    extern OSGDB_EXPORT bool osgDB::writeImageFile

    (const osg::Image& image,
      const std::string& filename)

    Write an osg::Image to file.

    diff --git a/doc/doc++/osgDB/writeNodeFile.html b/doc/doc++/osgDB/writeNodeFile.html index d1126a123..a60038d01 100644 --- a/doc/doc++/osgDB/writeNodeFile.html +++ b/doc/doc++/osgDB/writeNodeFile.html @@ -2,12 +2,12 @@ - OSGDB_EXPORT extern bool osgDB::writeNodeFile - + extern OSGDB_EXPORT bool osgDB::writeNodeFile + -

    OSGDB_EXPORT extern bool osgDB::writeNodeFile

    (const osg::Node& node,
      const std::string& filename)

    Write an osg::Node to file.
    +

    extern OSGDB_EXPORT bool osgDB::writeNodeFile

    (const osg::Node& node,
      const std::string& filename)

    Write an osg::Node to file.

    diff --git a/doc/doc++/osgDB/writeObjectFile.html b/doc/doc++/osgDB/writeObjectFile.html index 0d38b5230..b3380e936 100644 --- a/doc/doc++/osgDB/writeObjectFile.html +++ b/doc/doc++/osgDB/writeObjectFile.html @@ -2,12 +2,12 @@ - OSGDB_EXPORT extern bool osgDB::writeObjectFile - + extern OSGDB_EXPORT bool osgDB::writeObjectFile + -

    OSGDB_EXPORT extern bool osgDB::writeObjectFile

    (const osg::Object& object,
      const std::string& filename)

    Write an osg::Object to file.
    +

    extern OSGDB_EXPORT bool osgDB::writeObjectFile

    (const osg::Object& object,
      const std::string& filename)

    Write an osg::Object to file.

    diff --git a/doc/doc++/osgGA/AnimationPathManipulator.html b/doc/doc++/osgGA/AnimationPathManipulator.html index 69c4cf661..772fd9f0f 100644 --- a/doc/doc++/osgGA/AnimationPathManipulator.html +++ b/doc/doc++/osgGA/AnimationPathManipulator.html @@ -3,7 +3,7 @@ class OSGGA_EXPORT osgGA::AnimationPathManipulator - + diff --git a/doc/doc++/osgGA/CameraManipulator.html b/doc/doc++/osgGA/CameraManipulator.html index 8183d137a..506adab69 100644 --- a/doc/doc++/osgGA/CameraManipulator.html +++ b/doc/doc++/osgGA/CameraManipulator.html @@ -3,7 +3,7 @@ class OSGGA_EXPORT osgGA::CameraManipulator - + diff --git a/doc/doc++/osgGA/CompositeGUIEventHandler.html b/doc/doc++/osgGA/CompositeGUIEventHandler.html index de0c66655..2a19380e9 100644 --- a/doc/doc++/osgGA/CompositeGUIEventHandler.html +++ b/doc/doc++/osgGA/CompositeGUIEventHandler.html @@ -3,7 +3,7 @@ class OSGGA_EXPORT osgGA::CompositeGUIEventHandler - + diff --git a/doc/doc++/osgGA/DriveManipulator.html b/doc/doc++/osgGA/DriveManipulator.html index 7fa277a99..da6ee27ec 100644 --- a/doc/doc++/osgGA/DriveManipulator.html +++ b/doc/doc++/osgGA/DriveManipulator.html @@ -3,7 +3,7 @@ class OSGGA_EXPORT osgGA::DriveManipulator - + diff --git a/doc/doc++/osgGA/FlightManipulator.html b/doc/doc++/osgGA/FlightManipulator.html index b9a407aec..726d59f92 100644 --- a/doc/doc++/osgGA/FlightManipulator.html +++ b/doc/doc++/osgGA/FlightManipulator.html @@ -3,7 +3,7 @@ class OSGGA_EXPORT osgGA::FlightManipulator - + diff --git a/doc/doc++/osgGA/GUIActionAdapter.html b/doc/doc++/osgGA/GUIActionAdapter.html index 0bb8339fd..c74355a27 100644 --- a/doc/doc++/osgGA/GUIActionAdapter.html +++ b/doc/doc++/osgGA/GUIActionAdapter.html @@ -3,7 +3,7 @@ class osgGA::GUIActionAdapter - + diff --git a/doc/doc++/osgGA/GUIEventAdapter.html b/doc/doc++/osgGA/GUIEventAdapter.html index c66a47ca0..ccbd7008c 100644 --- a/doc/doc++/osgGA/GUIEventAdapter.html +++ b/doc/doc++/osgGA/GUIEventAdapter.html @@ -3,7 +3,7 @@ class OSGGA_EXPORT osgGA::GUIEventAdapter - + @@ -23,37 +23,40 @@

    Public Methods

    -[more]virtual EventType getEventType() const = 0 +[more]virtual EventType getEventType() const = 0
    Get the EventType of the GUI event
    -[more]virtual int getKey() const = 0 +[more]virtual int getKey() const = 0
    key pressed, return -1 if inappr opriate for this event.
    -[more]virtual int getButton() const = 0 +[more]virtual int getButton() const = 0
    button pressed/released, return -1 if inappropriate for this event
    -[more]virtual int getXmin() const = 0 +[more]virtual int getXmin() const = 0
    window minimum x.
    -[more]virtual int getXmax() const = 0 +[more]virtual int getXmax() const = 0
    window maximum x.
    -[more]virtual int getYmin() const = 0 +[more]virtual int getYmin() const = 0
    window minimum y.
    -[more]virtual int getYmax() const = 0 +[more]virtual int getYmax() const = 0
    window maximum y.
    -[more]virtual int getX() const = 0 +[more]virtual int getX() const = 0
    current mouse x position
    -[more]virtual int getY() const = 0 +[more]virtual int getY() const = 0
    current mouse y position
    -[more]virtual unsigned int getButtonMask() const = 0 +[more]virtual unsigned int getButtonMask() const = 0
    current mouse button state
    -[more]virtual double time() const = 0 +[more]virtual unsigned int getModKeyMask() const = 0 +
    current modkey state +
    +[more]virtual double time() const = 0
    time in seconds of event.

    @@ -62,13 +65,15 @@ [more]enum MouseButtonMask
    [more]enum EventType +
    +[more]enum ModKeyMask

    Protected Methods

    -[more] GUIEventAdapter() +[more] GUIEventAdapter()
    -[more]virtual ~GUIEventAdapter() +[more]virtual ~GUIEventAdapter()
    Force users to create on heap, so that multiple referencing is safe

    @@ -118,92 +123,167 @@ as appropriate.
    o RELEASE

    - + +

    o DOUBLECLICK +

    + +

    o DRAG

    - +

    o MOVE

    - - -

    o KEYBOARD + + +
    o KEYDOWN +

    + + +

    o KEYUP

    - +

    o FRAME

    - +

    o RESIZE

    - +

    o NONE

    - + +
    oenum ModKeyMask +

    + + + +
    o MODKEY_LEFT_SHIFT +

    + + +

    o MODKEY_RIGHT_SHIFT +

    + + +

    o MODKEY_LEFT_CTRL +

    + + +

    o MODKEY_RIGHT_CTRL +

    + + +

    o MODKEY_LEFT_ALT +

    + + +

    o MODKEY_RIGHT_ALT +

    + + +

    o MODKEY_LEFT_META +

    + + +

    o MODKEY_RIGHT_META +

    + + +

    o MODKEY_NUM_LOCK +

    + + +

    o MODKEY_CAPS_LOCK +

    + + +

    o MODKEY_CTRL +

    + + +

    o MODKEY_SHIFT +

    + + +

    o MODKEY_ALT +

    + + +

    o MODKEY_META +

    + + +
    ovirtual EventType getEventType() const = 0
    Get the EventType of the GUI event

    - +

    ovirtual int getKey() const = 0
    key pressed, return -1 if inappr opriate 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 unsigned int getModKeyMask() const = 0 +
    current modkey state +

    - +

    ovirtual double time() const = 0
    time in seconds of event.

    - +

    o GUIEventAdapter()

    - +

    ovirtual ~GUIEventAdapter()
    Force users to create on heap, so that multiple referencing is safe

    diff --git a/doc/doc++/osgGA/GUIEventHandler.html b/doc/doc++/osgGA/GUIEventHandler.html index f515cb114..9d205e25f 100644 --- a/doc/doc++/osgGA/GUIEventHandler.html +++ b/doc/doc++/osgGA/GUIEventHandler.html @@ -3,7 +3,7 @@ class OSGGA_EXPORT osgGA::GUIEventHandler - + diff --git a/doc/doc++/osgGA/GUIEventHandlerVisitor.html b/doc/doc++/osgGA/GUIEventHandlerVisitor.html index 8bcb2522f..c96605b26 100644 --- a/doc/doc++/osgGA/GUIEventHandlerVisitor.html +++ b/doc/doc++/osgGA/GUIEventHandlerVisitor.html @@ -3,7 +3,7 @@ class OSGGA_EXPORT osgGA::GUIEventHandlerVisitor - + diff --git a/doc/doc++/osgGA/General.html b/doc/doc++/osgGA/General.html index 5fc2a9a36..5be97a896 100644 --- a/doc/doc++/osgGA/General.html +++ b/doc/doc++/osgGA/General.html @@ -3,7 +3,7 @@ General Bits - + diff --git a/doc/doc++/osgGA/HIER.html b/doc/doc++/osgGA/HIER.html index f82561e68..c3b40ebf1 100644 --- a/doc/doc++/osgGA/HIER.html +++ b/doc/doc++/osgGA/HIER.html @@ -3,7 +3,7 @@ Hierarchy of Classes - +

    Hierarchy of Classes

    diff --git a/doc/doc++/osgGA/HIERjava.html b/doc/doc++/osgGA/HIERjava.html index 69652a7f7..109e2c75b 100644 --- a/doc/doc++/osgGA/HIERjava.html +++ b/doc/doc++/osgGA/HIERjava.html @@ -3,7 +3,7 @@ Hierarchy of Classes - +

    Hierarchy of classes

    diff --git a/doc/doc++/osgGA/KeySwitchCameraManipulator.html b/doc/doc++/osgGA/KeySwitchCameraManipulator.html index 9c309d277..2aa5faff6 100644 --- a/doc/doc++/osgGA/KeySwitchCameraManipulator.html +++ b/doc/doc++/osgGA/KeySwitchCameraManipulator.html @@ -3,7 +3,7 @@ class OSGGA_EXPORT osgGA::KeySwitchCameraManipulator - + @@ -29,23 +29,31 @@ [more]void addNumberedCameraManipulator(CameraManipulator* cm)
    Add a camera manipulator with an autogenerated keybinding which is '1' + previous number of camera's registerd
    -[more]virtual void setCamera(osg::Camera* c) +[more]unsigned int getNumCameraManipualtors() const
    -[more]virtual const osg::Camera* getCamera() const +[more]void selectCameraManipulator(unsigned int num)
    -[more]virtual osg::Camera* getCamera() +[more]CameraManipulator* getCurrentCameraManipulator()
    -[more]virtual void setNode(osg::Node* n) +[more]const CameraManipulator* getCurrentCameraManipulator() const
    -[more]virtual const osg::Node* getNode() const +[more]virtual void setCamera(osg::Camera* c)
    -[more]virtual osg::Node* getNode() +[more]virtual const osg::Camera* getCamera() const
    -[more]virtual void home(const GUIEventAdapter& ee, GUIActionAdapter& aa) +[more]virtual osg::Camera* getCamera()
    -[more]virtual void init(const GUIEventAdapter& ee, GUIActionAdapter& aa) +[more]virtual void setNode(osg::Node* n)
    -[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +[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)

    @@ -96,40 +104,56 @@ trigger the switch,
    Add a camera manipulator with an autogenerated keybinding which is '1' + previous number of camera's registerd

    - + +

    ounsigned int getNumCameraManipualtors() const +

    + + +

    ovoid selectCameraManipulator(unsigned int num) +

    + + +

    oCameraManipulator* getCurrentCameraManipulator() +

    + + +

    oconst CameraManipulator* getCurrentCameraManipulator() const +

    + +

    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)

    diff --git a/doc/doc++/osgGA/SetSceneViewVisitor.html b/doc/doc++/osgGA/SetSceneViewVisitor.html index 7c13cb894..bed5739f0 100644 --- a/doc/doc++/osgGA/SetSceneViewVisitor.html +++ b/doc/doc++/osgGA/SetSceneViewVisitor.html @@ -3,7 +3,7 @@ class OSGGA_EXPORT osgGA::SetSceneViewVisitor - + diff --git a/doc/doc++/osgGA/StateSetManipulator.html b/doc/doc++/osgGA/StateSetManipulator.html index 7e539a222..fa72f9582 100644 --- a/doc/doc++/osgGA/StateSetManipulator.html +++ b/doc/doc++/osgGA/StateSetManipulator.html @@ -3,7 +3,7 @@ class OSGGA_EXPORT osgGA::StateSetManipulator - + diff --git a/doc/doc++/osgGA/TrackballManipulator.html b/doc/doc++/osgGA/TrackballManipulator.html index d2c326e7d..2e038ee04 100644 --- a/doc/doc++/osgGA/TrackballManipulator.html +++ b/doc/doc++/osgGA/TrackballManipulator.html @@ -3,7 +3,7 @@ class OSGGA_EXPORT osgGA::TrackballManipulator - + diff --git a/doc/doc++/osgGA/index.html b/doc/doc++/osgGA/index.html index cd9efa3fc..48b5e933a 100644 --- a/doc/doc++/osgGA/index.html +++ b/doc/doc++/osgGA/index.html @@ -3,7 +3,7 @@ Table of Contents - + diff --git a/doc/doc++/osgGA/osgGA.html b/doc/doc++/osgGA/osgGA.html index 8c8fcb287..a39594a7c 100644 --- a/doc/doc++/osgGA/osgGA.html +++ b/doc/doc++/osgGA/osgGA.html @@ -3,7 +3,7 @@ namespace osgGA - + diff --git a/doc/doc++/osgGA/osgGAGetLibraryName.html b/doc/doc++/osgGA/osgGAGetLibraryName.html index 9a6355376..f72a742b7 100644 --- a/doc/doc++/osgGA/osgGAGetLibraryName.html +++ b/doc/doc++/osgGA/osgGAGetLibraryName.html @@ -3,7 +3,7 @@ extern OSGGA_EXPORT const char* osgGAGetLibraryName - + diff --git a/doc/doc++/osgGA/osgGAGetVersion.html b/doc/doc++/osgGA/osgGAGetVersion.html index e89e6693c..8823a2e08 100644 --- a/doc/doc++/osgGA/osgGAGetVersion.html +++ b/doc/doc++/osgGA/osgGAGetVersion.html @@ -3,7 +3,7 @@ extern OSGGA_EXPORT const char* osgGAGetVersion - + diff --git a/doc/doc++/osgGA/spaceosgGA.html b/doc/doc++/osgGA/spaceosgGA.html index 2aa27989e..b9c942f0c 100644 --- a/doc/doc++/osgGA/spaceosgGA.html +++ b/doc/doc++/osgGA/spaceosgGA.html @@ -3,7 +3,7 @@ #define space osgGA - + diff --git a/doc/doc++/osgGLUT/GLUTEventAdapter.html b/doc/doc++/osgGLUT/GLUTEventAdapter.html index ba858de20..2ad74f442 100644 --- a/doc/doc++/osgGLUT/GLUTEventAdapter.html +++ b/doc/doc++/osgGLUT/GLUTEventAdapter.html @@ -3,7 +3,7 @@ class OSGGLUT_EXPORT osgGLUT::GLUTEventAdapter - + @@ -23,109 +23,112 @@

    Public Methods

    -[more] GLUTEventAdapter() +[more] GLUTEventAdapter()
    -[more]virtual ~GLUTEventAdapter() +[more]virtual ~GLUTEventAdapter()
    -[more]virtual EventType getEventType() const +[more]virtual EventType getEventType() const
    Get the EventType of the GUI event
    -[more]virtual int getKey() const +[more]virtual int getKey() const
    key pressed, return -1 if inappropriate for this event.
    -[more]virtual int getButton() const +[more]virtual int getButton() const
    button pressed/released, return -1 if inappropriate for this event
    -[more]virtual int getXmin() const +[more]virtual int getXmin() const
    window minimum x.
    -[more]virtual int getXmax() const +[more]virtual int getXmax() const
    window maximum x.
    -[more]virtual int getYmin() const +[more]virtual int getYmin() const
    window minimum y.
    -[more]virtual int getYmax() const +[more]virtual int getYmax() const
    window maximum y.
    -[more]virtual int getX() const +[more]virtual int getX() const
    current mouse x position
    -[more]virtual int getY() const +[more]virtual int getY() const
    current mouse y position
    -[more]virtual unsigned int getButtonMask() const +[more]virtual unsigned int getButtonMask() const
    current mouse button state
    -[more]virtual double time() const +[more]virtual unsigned int getModKeyMask() const +
    current modkey state +
    +[more]virtual double time() const
    time in seconds of event.
    -[more]static void setWindowSize(int Xmin, int Ymin, int Xmax, int Ymax) +[more]static void setWindowSize(int Xmin, int Ymin, int Xmax, int Ymax)
    static method for setting window dimensions
    -[more]static void setButtonMask(unsigned int buttonMask) +[more]static void setButtonMask(unsigned int buttonMask)
    static method for setting button state
    -[more]void adaptResize(double t, int Xmin, int Ymin, int Xmax, int Ymax) +[more]void adaptResize(double t, int Xmin, int Ymin, int Xmax, int Ymax)
    method for adapting resize events.
    -[more]void adaptMouseMotion(double t, int x, int y) +[more]void adaptMouseMotion(double t, int x, int y)
    method for adapting mouse motion events whilst mouse buttons are pressed
    -[more]void adaptMousePassiveMotion(double t, int x, int y) +[more]void adaptMousePassiveMotion(double t, int x, int y)
    method for adapting mouse motion events whilst no mouse button are pressed
    -[more]void adaptMouse(double t, int button, int state, int x, int y) +[more]void adaptMouse(double t, int button, int state, int x, int y)
    method for adapting mouse button pressed/released events
    -[more]void adaptKeyboard(double t, unsigned char key, int x, int y ) +[more]void adaptKeyboard( double t, unsigned char key, int x, int y, bool keydown )
    method for adapting keyboard events
    -[more]void adaptFrame(double t) +[more]void adaptFrame(double t)
    method for adapting frame events, ie.
    -[more]void copyStaticVariables() +[more]void copyStaticVariables()

    Protected Fields

    -[more]EventType _eventType +[more]EventType _eventType
    -[more]int _key +[more]int _key
    -[more]int _button +[more]int _button
    -[more]int _Xmin +[more]int _Xmin
    -[more]int _Xmax +[more]int _Xmax
    -[more]int _Ymin +[more]int _Ymin
    -[more]int _Ymax +[more]int _Ymax
    -[more]int _mx +[more]int _mx
    -[more]int _my +[more]int _my
    -[more]unsigned int _buttonMask +[more]unsigned int _buttonMask
    -[more]double _time +[more]double _time
    -[more]static unsigned int _s_accumulatedButtonMask +[more]static unsigned int _s_accumulatedButtonMask
    -[more]static int _s_button +[more]static int _s_button
    -[more]static int _s_Xmin +[more]static int _s_Xmin
    -[more]static int _s_Xmax +[more]static int _s_Xmax
    -[more]static int _s_Ymin +[more]static int _s_Ymin
    -[more]static int _s_Ymax +[more]static int _s_Ymax
    -[more]static int _s_mx +[more]static int _s_mx
    -[more]static int _s_my +[more]static int _s_my

    @@ -137,186 +140,191 @@
    - +
    o GLUTEventAdapter()

    - +

    ovirtual ~GLUTEventAdapter()

    - +

    ovirtual EventType getEventType() const
    Get the EventType of the GUI event

    - +

    ovirtual int getKey() const
    key pressed, return -1 if inappropriate for this event.

    - +

    ovirtual int getButton() const
    button pressed/released, return -1 if inappropriate for this event

    - +

    ovirtual int getXmin() const
    window minimum x.

    - +

    ovirtual int getXmax() const
    window maximum x.

    - +

    ovirtual int getYmin() const
    window minimum y.

    - +

    ovirtual int getYmax() const
    window maximum y.

    - +

    ovirtual int getX() const
    current mouse x position

    - +

    ovirtual int getY() const
    current mouse y position

    - +

    ovirtual unsigned int getButtonMask() const
    current mouse button state

    + + +

    ovirtual unsigned int getModKeyMask() const +
    current modkey state +

    - +

    ovirtual double time() const
    time in seconds of event.

    - +

    ostatic void setWindowSize(int Xmin, int Ymin, int Xmax, int Ymax)
    static method for setting window dimensions

    - +

    ostatic void setButtonMask(unsigned int buttonMask)
    static method for setting button state

    - +

    ovoid adaptResize(double t, int Xmin, int Ymin, int Xmax, int Ymax)
    method for adapting resize events.

    - +

    ovoid adaptMouseMotion(double t, int x, int y)
    method for adapting mouse motion events whilst mouse buttons are pressed

    - +

    ovoid adaptMousePassiveMotion(double t, int x, int y)
    method for adapting mouse motion events whilst no mouse button are pressed

    - +

    ovoid adaptMouse(double t, int button, int state, int x, int y)
    method for adapting mouse button pressed/released events

    - -

    ovoid adaptKeyboard(double t, unsigned char key, int x, int y ) + +
    ovoid adaptKeyboard( double t, unsigned char key, int x, int y, bool keydown )
    method for adapting keyboard events

    - +

    ovoid adaptFrame(double t)
    method for adapting frame events, ie. idle/display callback.

    - +

    ovoid copyStaticVariables()

    - +

    oEventType _eventType

    - +

    oint _key

    - +

    oint _button

    - +

    oint _Xmin

    - +

    oint _Xmax

    - +

    oint _Ymin

    - +

    oint _Ymax

    - +

    oint _mx

    - +

    oint _my

    - +

    ounsigned int _buttonMask

    - +

    odouble _time

    - +

    ostatic unsigned int _s_accumulatedButtonMask

    - +

    ostatic int _s_button

    - +

    ostatic int _s_Xmin

    - +

    ostatic int _s_Xmax

    - +

    ostatic int _s_Ymin

    - +

    ostatic int _s_Ymax

    - +

    ostatic int _s_mx

    - +

    ostatic int _s_my

    diff --git a/doc/doc++/osgGLUT/General.html b/doc/doc++/osgGLUT/General.html index 871bf75b6..fb7c9b287 100644 --- a/doc/doc++/osgGLUT/General.html +++ b/doc/doc++/osgGLUT/General.html @@ -3,7 +3,7 @@ General Bits - + @@ -22,9 +22,6 @@ o#define OSGGLUT_EXPORT
    -o#define -OSG_GLUT
    - o#define OSGGLUT_GLUTEVENTADAPTER
    @@ -35,7 +32,10 @@ OSGGLUT_VIEWER
    o#define -OSGGLUT_GLUTWINDOW +OSGGLUT_GLUTWINDOW
    + +o#define +OSG_GLUT

    Alphabetic index Hierarchy of classes



    This page was generated with the help of DOC++. diff --git a/doc/doc++/osgGLUT/HIER.html b/doc/doc++/osgGLUT/HIER.html index 502df6a53..46568a81b 100644 --- a/doc/doc++/osgGLUT/HIER.html +++ b/doc/doc++/osgGLUT/HIER.html @@ -3,7 +3,7 @@ Hierarchy of Classes - +

    Hierarchy of Classes

    diff --git a/doc/doc++/osgGLUT/HIERjava.html b/doc/doc++/osgGLUT/HIERjava.html index e811b4c44..43a0c522c 100644 --- a/doc/doc++/osgGLUT/HIERjava.html +++ b/doc/doc++/osgGLUT/HIERjava.html @@ -3,7 +3,7 @@ Hierarchy of Classes - +

    Hierarchy of classes

    diff --git a/doc/doc++/osgGLUT/Viewer.html b/doc/doc++/osgGLUT/Viewer.html index cb024a182..66e6192a5 100644 --- a/doc/doc++/osgGLUT/Viewer.html +++ b/doc/doc++/osgGLUT/Viewer.html @@ -3,7 +3,7 @@ class OSGGLUT_EXPORT osgGLUT::Viewer - + @@ -23,172 +23,175 @@

    Public Methods

    -[more] Viewer() +[more] Viewer()
    -[more]virtual ~Viewer() +[more]virtual ~Viewer()
    -[more]virtual void init(osg::Node* rootnode) +[more]virtual void init(osg::Node* rootnode)
    init is deprecated, you should use addViewport instead.
    -[more]virtual unsigned int addViewport(osgUtil::SceneView* sv, float x = 0.0, float y = 0.0, float width = 1.0, float height = 1.0) +[more]virtual unsigned int addViewport(osgUtil::SceneView* sv, float x = 0.0, float y = 0.0, float width = 1.0, float height = 1.0)
    -[more]virtual unsigned int addViewport(osg::Node*, float x = 0.0, float y = 0.0, float width = 1.0, float height = 1.0) +[more]virtual unsigned int addViewport(osg::Node*, float x = 0.0, float y = 0.0, float width = 1.0, float height = 1.0)
    -[more]unsigned int getNumViewports() const +[more]unsigned int getNumViewports() const
    -[more]osgUtil::SceneView* getViewportSceneView(unsigned int pos) +[more]osgUtil::SceneView* getViewportSceneView(unsigned int pos)
    -[more]virtual bool open() +[more]virtual bool open()
    -[more]virtual bool run() +[more]virtual bool run()
    -[more]virtual float app(unsigned int viewport) +[more]virtual float update(unsigned int viewport)
    -[more]virtual float cull(unsigned int viewport) +[more]virtual float cull(unsigned int viewport)
    -[more]virtual float draw(unsigned int viewport) +[more]virtual float draw(unsigned int viewport)
    -[more]long initClock() +[more]long initClock()
    -[more]double clockSeconds() +[more]double clockSeconds()
    -[more]osg::Timer_t updateFrameTick() +[more]osg::Timer_t updateFrameTick()
    -[more]double frameSeconds() +[more]double frameSeconds()
    -[more]double frameRate() +[more]double frameRate()
    -[more]void help(std::ostream& fout) +[more]void help(std::ostream& fout)
    -[more]unsigned int registerCameraManipulator(osgGA::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) +[more]void selectCameraManipulator(unsigned int pos, unsigned int viewport = 0)
    -[more]void prependEventHandler(osgGA::GUIEventHandler* handler, unsigned int viewport = 0) +[more]void setFocusable( unsigned int viewp, bool focusable ) +
    Set focusable
    -[more]void appendEventHandler(osgGA::GUIEventHandler* handler, unsigned int viewport = 0) +[more]void prependEventHandler(osgGA::GUIEventHandler* handler, unsigned int viewport = 0)
    -[more]virtual void requestRedraw() +[more]void appendEventHandler(osgGA::GUIEventHandler* handler, unsigned int viewport = 0)
    -[more]virtual void requestContinuousUpdate(bool ) +[more]virtual void requestRedraw()
    -[more]virtual void requestWarpPointer(int x, int y) +[more]virtual void requestContinuousUpdate(bool )
    -[more]virtual void requestShutdown() +[more]virtual void requestWarpPointer(int x, int y)
    -[more]virtual void toggleFullScreen() +[more]virtual void requestShutdown() +
    +[more]virtual void toggleFullScreen()
    Toggle fullscreen
    -[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 setDisplaySettings(osg::DisplaySettings* ds) +[more]void setDisplaySettings(osg::DisplaySettings* ds)
    -[more]osg::DisplaySettings* getDisplaySettings() +[more]osg::DisplaySettings* getDisplaySettings()
    -[more]const osg::DisplaySettings* getDisplaySettings() const +[more]const osg::DisplaySettings* getDisplaySettings() const
    -[more]void setRecordingAnimationPath(bool on) +[more]void setRecordingAnimationPath(bool on)
    -[more]bool getRecordingAnimationPath() const +[more]bool getRecordingAnimationPath() const
    -[more]void setAnimationPath(osg::AnimationPath* path) +[more]void setAnimationPath(osg::AnimationPath* path)
    -[more]osg::AnimationPath* getAnimationPath() +[more]osg::AnimationPath* getAnimationPath()
    -[more]const osg::AnimationPath* getAnimationPath() const +[more]const osg::AnimationPath* getAnimationPath() const +
    +[more]int mapWindowXYToViewport(int x, int y)

    Public Members

    -[more]typedef std::vector<osg::ref_ptr<osgGA::CameraManipulator> > CameraManipList +[more]typedef std::vector<osg::ref_ptr<osgGA::CameraManipulator> > CameraManipList
    -[more]typedef std::list<osg::ref_ptr<osgGA::GUIEventHandler> > EventHandlerList +[more]typedef std::list<osg::ref_ptr<osgGA::GUIEventHandler> > EventHandlerList

    Protected Fields

    -[more]static Viewer* s_theViewer +[more]static Viewer* s_theViewer
    -[more]ViewportList _viewportList +[more]ViewportList _viewportList
    -[more]unsigned int _focusedViewport +[more]unsigned int _focusedViewport
    -[more]std::string _saveFileName +[more]std::string _saveFileName
    -[more]bool _viewFrustumCullingActive +[more]bool _viewFrustumCullingActive
    -[more]bool _smallFeatureCullingActive +[more]bool _smallFeatureCullingActive
    -[more]int polymode +[more]int polymode
    -[more]int texture +[more]int texture
    -[more]int backface +[more]int backface
    -[more]int lighting +[more]int lighting
    -[more]int flat_shade +[more]int flat_shade
    -[more]float frRate +[more]float frRate
    -[more]int _printStats +[more]int _printStats
    -[more]StatsRecord times[3] +[more]StatsRecord times[3]
    -[more]bool _useDisplayLists +[more]bool _useDisplayLists
    -[more]osg::Timer _timer +[more]osg::Timer _timer
    -[more]osg::Timer_t _initialTick +[more]osg::Timer_t _initialTick
    -[more]osg::Timer_t _lastFrameTick +[more]osg::Timer_t _lastFrameTick
    -[more]osg::Timer_t _frameTick +[more]osg::Timer_t _frameTick
    -[more]osg::ref_ptr<osg::FrameStamp> _frameStamp +[more]osg::ref_ptr<osg::FrameStamp> _frameStamp
    -[more]osg::ref_ptr<osg::DisplaySettings> _displaySettings +[more]osg::ref_ptr<osg::DisplaySettings> _displaySettings
    -[more]bool _recordingAnimationPath +[more]bool _recordingAnimationPath
    -[more]osg::ref_ptr<osg::AnimationPath> _animationPath +[more]osg::ref_ptr<osg::AnimationPath> _animationPath

    Protected Methods

    -[more]virtual void clear() +[more]virtual void clear()
    -[more]virtual void display() +[more]virtual void display()
    -[more]virtual void reshape(GLint w, GLint h) +[more]virtual void reshape(GLint w, GLint h)
    -[more]virtual void mouseMotion(int x, int y) +[more]virtual void mouseMotion(int x, int y)
    -[more]virtual void mousePassiveMotion(int x, int y) +[more]virtual void mousePassiveMotion(int x, int y)
    -[more]virtual void mouse(int button, int state, int x, int y) +[more]virtual void mouse(int button, int state, int x, int y)
    -[more]virtual void keyboard(unsigned char key, int x, int y) +[more]virtual void keyboard(int key, int x, int y, bool keydown = true)
    -[more]void setFocusedViewport(unsigned int pos) +[more]void setFocusedViewport(unsigned int pos)
    -[more]int mapWindowXYToViewport(int x, int y) +[more]void showStats(unsigned int i)
    -[more]void showStats(unsigned int i) +[more]osg::Timer_t clockTick()
    -[more]osg::Timer_t clockTick() -
    -[more]osg::Timer_t frameTick() +[more]osg::Timer_t frameTick()

    Protected Members

    -[more]struct ViewportDef +[more]struct ViewportDef
    -[more]typedef std::vector<ViewportDef> ViewportList +[more]typedef std::vector<ViewportDef> ViewportList
    -[more]struct StatsRecord +[more]struct StatsRecord

    @@ -258,8 +261,12 @@
    ostatic void keyboardCB(unsigned char key, int x, int y )
    +ostatic void keyboardUpCB(unsigned char key, int x, int y ) +
    ostatic void specialCB(int key, int x, int y)
    +ostatic void specialUpCB(int key, int x, int y) +
    ostatic void spaceballMotionCB(int x, int y, int z)
    ostatic void spaceballRotateCB(int x, int y, int z) @@ -268,7 +275,7 @@
    ovirtual void visibility(int state)
    -ovirtual void special(int key, int x, int y) +ovirtual void special(int key, int x, int y, bool keydown)
    ovirtual void spaceballMotion(int x, int y, int z)
    @@ -292,359 +299,368 @@ Someone please rewrite it :-)
    - +
    o Viewer()

    - +

    ovirtual ~Viewer()

    - +

    ovirtual void init(osg::Node* rootnode)
    init is deprecated, you should use addViewport instead. init is only available for backwards compatibility.

    - +

    ovirtual unsigned int addViewport(osgUtil::SceneView* sv, float x = 0.0, float y = 0.0, float width = 1.0, float height = 1.0)

    - +

    ovirtual unsigned int addViewport(osg::Node*, float x = 0.0, float y = 0.0, float width = 1.0, float height = 1.0)

    - +

    ounsigned int getNumViewports() const

    - +

    oosgUtil::SceneView* getViewportSceneView(unsigned int pos)

    - +

    ovirtual bool open()

    - +

    ovirtual bool run()

    - - -

    ovirtual float app(unsigned int viewport) + + +
    ovirtual float update(unsigned int viewport)

    - -

    ovirtual float cull(unsigned int viewport) + +
    ovirtual float cull(unsigned int viewport)

    - -

    ovirtual float draw(unsigned int viewport) + +
    ovirtual float draw(unsigned int viewport)

    - +

    olong initClock()

    - +

    odouble clockSeconds()

    - +

    oosg::Timer_t updateFrameTick()

    - +

    odouble frameSeconds()

    - +

    odouble frameRate()

    - +

    ovoid help(std::ostream& fout)

    - -

    ounsigned int registerCameraManipulator(osgGA::CameraManipulator* cm, unsigned int viewport = 0) + +
    ounsigned int registerCameraManipulator(osgGA::CameraManipulator* cm, unsigned int viewport = 0)

    - -

    ovoid selectCameraManipulator(unsigned int pos, unsigned int viewport = 0) + +
    ovoid selectCameraManipulator(unsigned int pos, unsigned int viewport = 0) +

    + + +

    ovoid setFocusable( unsigned int viewp, bool focusable ) +
    Set focusable

    - -

    ovoid prependEventHandler(osgGA::GUIEventHandler* handler, unsigned int viewport = 0) + +
    ovoid prependEventHandler(osgGA::GUIEventHandler* handler, unsigned int viewport = 0)

    - -

    ovoid appendEventHandler(osgGA::GUIEventHandler* handler, unsigned int viewport = 0) + +
    ovoid appendEventHandler(osgGA::GUIEventHandler* handler, unsigned int viewport = 0)

    - +

    ovirtual void requestRedraw()

    - +

    ovirtual void requestContinuousUpdate(bool )

    - +

    ovirtual void requestWarpPointer(int x, int y)

    - +

    ovirtual void requestShutdown()

    - +

    ovirtual void toggleFullScreen()
    Toggle fullscreen

    - +

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

    - +

    ovoid setDisplaySettings(osg::DisplaySettings* ds)

    - +

    oosg::DisplaySettings* getDisplaySettings()

    - +

    oconst osg::DisplaySettings* getDisplaySettings() const

    - +

    otypedef std::vector<osg::ref_ptr<osgGA::CameraManipulator> > CameraManipList

    - +

    otypedef std::list<osg::ref_ptr<osgGA::GUIEventHandler> > EventHandlerList

    - +

    ovoid setRecordingAnimationPath(bool on)

    - +

    obool getRecordingAnimationPath() const

    - +

    ovoid setAnimationPath(osg::AnimationPath* path)

    - +

    oosg::AnimationPath* getAnimationPath()

    - +

    oconst osg::AnimationPath* getAnimationPath() const

    + + +

    oint mapWindowXYToViewport(int x, int y) +

    - +

    ovirtual void clear()

    - +

    ovirtual void display()

    - +

    ovirtual void reshape(GLint w, GLint h)

    - +

    ovirtual void mouseMotion(int x, int y)

    - +

    ovirtual void mousePassiveMotion(int x, int y)

    - +

    ovirtual void mouse(int button, int state, int x, int y)

    - -

    ovirtual void keyboard(unsigned char key, int x, int y) + +
    ovirtual void keyboard(int key, int x, int y, bool keydown = true)

    - +

    ovoid setFocusedViewport(unsigned int pos)

    - - -

    oint mapWindowXYToViewport(int x, int y) -

    - +

    ovoid showStats(unsigned int i)

    - +

    ostatic Viewer* s_theViewer

    - +

    ostruct ViewportDef

    - +
    oosg::ref_ptr<osgUtil::SceneView> sceneView

    - +

    ofloat viewport[4]

    + + +

    obool _focusable +

    - +

    oosg::ref_ptr<osgGA::CameraManipulator> _cameraManipulator

    - -

    oCameraManipList _cameraManipList + +
    oCameraManipList _cameraManipList

    - -

    oEventHandlerList _eventHandlerList + +
    oEventHandlerList _eventHandlerList

    - -
    otypedef std::vector<ViewportDef> ViewportList + +
    otypedef std::vector<ViewportDef> ViewportList

    - -

    oViewportList _viewportList + +
    oViewportList _viewportList

    - +

    ounsigned int _focusedViewport

    - +

    ostd::string _saveFileName

    - +

    obool _viewFrustumCullingActive

    - +

    obool _smallFeatureCullingActive

    - +

    oint polymode

    - +

    oint texture

    - +

    oint backface

    - +

    oint lighting

    - +

    oint flat_shade

    - +

    ofloat frRate

    - +

    oint _printStats

    - +

    ostruct StatsRecord

    - +
    o StatsRecord()

    - - -

    ofloat timeApp + + +
    ofloat timeUpdate

    - +

    ofloat timeCull

    - +

    ofloat timeDraw

    - +

    ofloat timeFrame

    - +

    oosg::Timer_t frameend

    - -
    oStatsRecord times[3] + +
    oStatsRecord times[3]

    - +

    obool _useDisplayLists

    - +

    oosg::Timer _timer

    - +

    oosg::Timer_t _initialTick

    - +

    oosg::Timer_t _lastFrameTick

    - +

    oosg::Timer_t _frameTick

    - +

    oosg::Timer_t clockTick()

    - +

    oosg::Timer_t frameTick()

    - +

    oosg::ref_ptr<osg::FrameStamp> _frameStamp

    - +

    oosg::ref_ptr<osg::DisplaySettings> _displaySettings

    - +

    obool _recordingAnimationPath

    - +

    oosg::ref_ptr<osg::AnimationPath> _animationPath

    diff --git a/doc/doc++/osgGLUT/Window.html b/doc/doc++/osgGLUT/Window.html index a5cc861b0..d70bcfcb3 100644 --- a/doc/doc++/osgGLUT/Window.html +++ b/doc/doc++/osgGLUT/Window.html @@ -3,7 +3,7 @@ class OSGGLUT_EXPORT osgGLUT::Window - + @@ -23,109 +23,113 @@

    Public Methods

    -[more] Window() +[more] Window()
    -[more]virtual ~Window() +[more]virtual ~Window()
    -[more]void setWindowOrigin(int x, int y) +[more]void setWindowOrigin(int x, int y)
    -[more]void setWindowSize(int width, int height) +[more]void setWindowSize(int width, int height)
    -[more]void setWindowTitle(const std::string& title) +[more]void setWindowTitle(const std::string& title)
    -[more]void setDisplayMode(unsigned int displayMode) +[more]void setDisplayMode(unsigned int displayMode)
    -[more]virtual bool open() +[more]virtual bool open()
    -[more]virtual bool run() +[more]virtual bool run()
    -[more]virtual void display() +[more]virtual void display()

    Protected Fields

    -[more]static Window* s_theWindow +[more]static Window* s_theWindow
    -[more]std::string _title +[more]std::string _title
    -[more]int _wx +[more]int _wx
    -[more]int _wy +[more]int _wy
    -[more]int _ww +[more]int _ww
    -[more]int _wh +[more]int _wh
    -[more]unsigned int _displayMode +[more]unsigned int _displayMode
    -[more]int _is_open +[more]int _is_open
    -[more]int _mx +[more]int _mx
    -[more]int _my +[more]int _my
    -[more]int _mbutton +[more]int _mbutton
    -[more]bool _fullscreen +[more]bool _fullscreen
    -[more]int _saved_wx +[more]int _saved_wx
    -[more]int _saved_wy +[more]int _saved_wy
    -[more]int _saved_ww +[more]int _saved_ww
    -[more]int _saved_wh +[more]int _saved_wh
    -[more]bool _exit +[more]bool _exit

    Protected Methods

    -[more]virtual void clear() +[more]virtual void clear()
    -[more]static void displayCB() +[more]static void displayCB()
    -[more]static void reshapeCB(int w, int h) +[more]static void reshapeCB(int w, int h)
    -[more]static void visibilityCB(int state) +[more]static void visibilityCB(int state)
    -[more]static void mouseMotionCB(int x, int y) +[more]static void mouseMotionCB(int x, int y)
    -[more]static void mousePassiveMotionCB(int x, int y) +[more]static void mousePassiveMotionCB(int x, int y)
    -[more]static void mouseCB(int button, int state, int x, int y) +[more]static void mouseCB(int button, int state, int x, int y)
    -[more]static void keyboardCB(unsigned char key, int x, int y ) +[more]static void keyboardCB(unsigned char key, int x, int y )
    -[more]static void specialCB(int key, int x, int y) +[more]static void keyboardUpCB(unsigned char key, int x, int y )
    -[more]static void spaceballMotionCB(int x, int y, int z) +[more]static void specialCB(int key, int x, int y)
    -[more]static void spaceballRotateCB(int x, int y, int z) +[more]static void specialUpCB(int key, int x, int y)
    -[more]static void spaceballButtonCB(int button, int state) +[more]static void spaceballMotionCB(int x, int y, int z)
    -[more]virtual void reshape(GLint w, GLint h) +[more]static void spaceballRotateCB(int x, int y, int z)
    -[more]virtual void visibility(int state) +[more]static void spaceballButtonCB(int button, int state)
    -[more]virtual void mouseMotion(int x, int y) +[more]virtual void reshape(GLint w, GLint h)
    -[more]virtual void mousePassiveMotion(int x, int y) +[more]virtual void visibility(int state)
    -[more]virtual void mouse(int button, int state, int x, int y) +[more]virtual void mouseMotion(int x, int y)
    -[more]virtual void keyboard(unsigned char key, int x, int y) +[more]virtual void mousePassiveMotion(int x, int y)
    -[more]virtual void special(int key, int x, int y) +[more]virtual void mouse(int button, int state, int x, int y)
    -[more]virtual void spaceballMotion(int x, int y, int z) +[more]virtual void keyboard(int key, int x, int y, bool keydown)
    -[more]virtual void spaceballRotate(int x, int y, int z) +[more]virtual void special(int key, int x, int y, bool keydown)
    -[more]virtual void spaceballButton(int button, int state) +[more]virtual void spaceballMotion(int x, int y, int z)
    -[more]void check_if_exit() +[more]virtual void spaceballRotate(int x, int y, int z) +
    +[more]virtual void spaceballButton(int button, int state) +
    +[more]void check_if_exit()

    @@ -137,199 +141,207 @@
    - +
    o Window()

    - +

    ovirtual ~Window()

    - +

    ovoid setWindowOrigin(int x, int y)

    - +

    ovoid setWindowSize(int width, int height)

    - +

    ovoid setWindowTitle(const std::string& title)

    - +

    ovoid setDisplayMode(unsigned int displayMode)

    - +

    ovirtual bool open()

    - +

    ovirtual bool run()

    - +

    ovirtual void display()

    - +

    ovirtual void clear()

    - +

    ostatic void displayCB()

    - +

    ostatic void reshapeCB(int w, int h)

    - +

    ostatic void visibilityCB(int state)

    - +

    ostatic void mouseMotionCB(int x, int y)

    - +

    ostatic void mousePassiveMotionCB(int x, int y)

    - +

    ostatic void mouseCB(int button, int state, int x, int y)

    - +

    ostatic void keyboardCB(unsigned char key, int x, int y )

    + + +

    ostatic void keyboardUpCB(unsigned char key, int x, int y ) +

    - +

    ostatic void specialCB(int key, int x, int y)

    + + +

    ostatic void specialUpCB(int key, int x, int y) +

    - +

    ostatic void spaceballMotionCB(int x, int y, int z)

    - +

    ostatic void spaceballRotateCB(int x, int y, int z)

    - +

    ostatic void spaceballButtonCB(int button, int state)

    - +

    ovirtual void reshape(GLint w, GLint h)

    - +

    ovirtual void visibility(int state)

    - +

    ovirtual void mouseMotion(int x, int y)

    - +

    ovirtual void mousePassiveMotion(int x, int y)

    - +

    ovirtual void mouse(int button, int state, int x, int y)

    - -

    ovirtual void keyboard(unsigned char key, int x, int y) + +
    ovirtual void keyboard(int key, int x, int y, bool keydown)

    - -

    ovirtual void special(int key, int x, int y) + +
    ovirtual void special(int key, int x, int y, bool keydown)

    - +

    ovirtual void spaceballMotion(int x, int y, int z)

    - +

    ovirtual void spaceballRotate(int x, int y, int z)

    - +

    ovirtual void spaceballButton(int button, int state)

    - +

    ostatic Window* s_theWindow

    - +

    ostd::string _title

    - +

    oint _wx

    - +

    oint _wy

    - +

    oint _ww

    - +

    oint _wh

    - +

    ounsigned int _displayMode

    - +

    oint _is_open

    - +

    oint _mx

    - +

    oint _my

    - +

    oint _mbutton

    - +

    obool _fullscreen

    - +

    oint _saved_wx

    - +

    oint _saved_wy

    - +

    oint _saved_ww

    - +

    oint _saved_wh

    - +

    obool _exit

    - +

    ovoid check_if_exit()


    diff --git a/doc/doc++/osgGLUT/index.html b/doc/doc++/osgGLUT/index.html index 887ac84a1..e9a9bffbb 100644 --- a/doc/doc++/osgGLUT/index.html +++ b/doc/doc++/osgGLUT/index.html @@ -3,7 +3,7 @@ Table of Contents - + diff --git a/doc/doc++/osgGLUT/osgGLUT.html b/doc/doc++/osgGLUT/osgGLUT.html index e7bf508c8..a1324f9ae 100644 --- a/doc/doc++/osgGLUT/osgGLUT.html +++ b/doc/doc++/osgGLUT/osgGLUT.html @@ -3,7 +3,7 @@ namespace osgGLUT - + diff --git a/doc/doc++/osgGLUT/osgGLUTGetLibraryName.html b/doc/doc++/osgGLUT/osgGLUTGetLibraryName.html index bfd789ceb..16a5ba413 100644 --- a/doc/doc++/osgGLUT/osgGLUTGetLibraryName.html +++ b/doc/doc++/osgGLUT/osgGLUTGetLibraryName.html @@ -3,7 +3,7 @@ extern OSGGLUT_EXPORT const char* osgGLUTGetLibraryName - + diff --git a/doc/doc++/osgGLUT/osgGLUTGetVersion.html b/doc/doc++/osgGLUT/osgGLUTGetVersion.html index 9e8f03ce5..3c9eabff8 100644 --- a/doc/doc++/osgGLUT/osgGLUTGetVersion.html +++ b/doc/doc++/osgGLUT/osgGLUTGetVersion.html @@ -3,7 +3,7 @@ extern OSGGLUT_EXPORT const char* osgGLUTGetVersion - + diff --git a/doc/doc++/osgParticle/AccelOperator.html b/doc/doc++/osgParticle/AccelOperator.html index 986264814..11236f329 100644 --- a/doc/doc++/osgParticle/AccelOperator.html +++ b/doc/doc++/osgParticle/AccelOperator.html @@ -3,7 +3,7 @@ class osgParticle::AccelOperator - + diff --git a/doc/doc++/osgParticle/CenteredPlacer.html b/doc/doc++/osgParticle/CenteredPlacer.html index 08a4a45c5..1c934d20f 100644 --- a/doc/doc++/osgParticle/CenteredPlacer.html +++ b/doc/doc++/osgParticle/CenteredPlacer.html @@ -3,7 +3,7 @@ class osgParticle::CenteredPlacer - + diff --git a/doc/doc++/osgParticle/Counter.html b/doc/doc++/osgParticle/Counter.html index 2071a176a..a5d6887b1 100644 --- a/doc/doc++/osgParticle/Counter.html +++ b/doc/doc++/osgParticle/Counter.html @@ -3,7 +3,7 @@ class osgParticle::Counter - + diff --git a/doc/doc++/osgParticle/Emitter.html b/doc/doc++/osgParticle/Emitter.html index 9749065f8..e3ccf41b8 100644 --- a/doc/doc++/osgParticle/Emitter.html +++ b/doc/doc++/osgParticle/Emitter.html @@ -3,7 +3,7 @@ class OSGPARTICLE_EXPORT osgParticle::Emitter - + diff --git a/doc/doc++/osgParticle/FluidFrictionOperator.html b/doc/doc++/osgParticle/FluidFrictionOperator.html index 3fee6f2f0..31599a40b 100644 --- a/doc/doc++/osgParticle/FluidFrictionOperator.html +++ b/doc/doc++/osgParticle/FluidFrictionOperator.html @@ -3,7 +3,7 @@ class OSGPARTICLE_EXPORT osgParticle::FluidFrictionOperator - + diff --git a/doc/doc++/osgParticle/ForceOperator.html b/doc/doc++/osgParticle/ForceOperator.html index 816c2fd36..53d191268 100644 --- a/doc/doc++/osgParticle/ForceOperator.html +++ b/doc/doc++/osgParticle/ForceOperator.html @@ -3,7 +3,7 @@ class osgParticle::ForceOperator - + diff --git a/doc/doc++/osgParticle/General.html b/doc/doc++/osgParticle/General.html index e23f3d70b..8d98f5214 100644 --- a/doc/doc++/osgParticle/General.html +++ b/doc/doc++/osgParticle/General.html @@ -3,7 +3,7 @@ General Bits - + @@ -85,9 +85,6 @@ o#define OSGPARTICLE_RANDOMRATECOUNTER_
    -o#define -OSGPARTICLE_RANGE_
    - o#define OSGPARTICLE_SECTORPLACER_
    @@ -107,7 +104,10 @@ osgParticleGetVersion()
    oOSGPARTICLE_EXPORT const char* -osgParticleGetLibraryName() +osgParticleGetLibraryName()
    + +o#define +OSGPARTICLE_RANGE_

    Alphabetic index Hierarchy of classes



    This page was generated with the help of DOC++. diff --git a/doc/doc++/osgParticle/HIER.html b/doc/doc++/osgParticle/HIER.html index eae34bc74..8d5646367 100644 --- a/doc/doc++/osgParticle/HIER.html +++ b/doc/doc++/osgParticle/HIER.html @@ -3,7 +3,7 @@ Hierarchy of Classes - +

    Hierarchy of Classes

    diff --git a/doc/doc++/osgParticle/HIERjava.html b/doc/doc++/osgParticle/HIERjava.html index 9f8422945..c8d28b52f 100644 --- a/doc/doc++/osgParticle/HIERjava.html +++ b/doc/doc++/osgParticle/HIERjava.html @@ -3,7 +3,7 @@ Hierarchy of Classes - +

    Hierarchy of classes

    diff --git a/doc/doc++/osgParticle/Interpolator.html b/doc/doc++/osgParticle/Interpolator.html index da79a02ac..a25a910ac 100644 --- a/doc/doc++/osgParticle/Interpolator.html +++ b/doc/doc++/osgParticle/Interpolator.html @@ -3,7 +3,7 @@ class osgParticle::Interpolator - + diff --git a/doc/doc++/osgParticle/LinearInterpolator.html b/doc/doc++/osgParticle/LinearInterpolator.html index 84045c7d9..6e922ad70 100644 --- a/doc/doc++/osgParticle/LinearInterpolator.html +++ b/doc/doc++/osgParticle/LinearInterpolator.html @@ -3,7 +3,7 @@ class osgParticle::LinearInterpolator - + diff --git a/doc/doc++/osgParticle/ModularEmitter.html b/doc/doc++/osgParticle/ModularEmitter.html index 723e06cd2..d477476ad 100644 --- a/doc/doc++/osgParticle/ModularEmitter.html +++ b/doc/doc++/osgParticle/ModularEmitter.html @@ -3,7 +3,7 @@ class OSGPARTICLE_EXPORT osgParticle::ModularEmitter - + diff --git a/doc/doc++/osgParticle/ModularProgram.html b/doc/doc++/osgParticle/ModularProgram.html index 4b3450af0..f5f37091d 100644 --- a/doc/doc++/osgParticle/ModularProgram.html +++ b/doc/doc++/osgParticle/ModularProgram.html @@ -3,7 +3,7 @@ class OSGPARTICLE_EXPORT osgParticle::ModularProgram - + diff --git a/doc/doc++/osgParticle/MultiSegmentPlacer.html b/doc/doc++/osgParticle/MultiSegmentPlacer.html index 516173f00..8779633e6 100644 --- a/doc/doc++/osgParticle/MultiSegmentPlacer.html +++ b/doc/doc++/osgParticle/MultiSegmentPlacer.html @@ -3,7 +3,7 @@ class OSGPARTICLE_EXPORT osgParticle::MultiSegmentPlacer - + diff --git a/doc/doc++/osgParticle/Operator.html b/doc/doc++/osgParticle/Operator.html index edb1ceafe..68d51ebf5 100644 --- a/doc/doc++/osgParticle/Operator.html +++ b/doc/doc++/osgParticle/Operator.html @@ -3,7 +3,7 @@ class osgParticle::Operator - + diff --git a/doc/doc++/osgParticle/Particle.html b/doc/doc++/osgParticle/Particle.html index da9a47f6d..4d4b7c7e4 100644 --- a/doc/doc++/osgParticle/Particle.html +++ b/doc/doc++/osgParticle/Particle.html @@ -3,7 +3,7 @@ class OSGPARTICLE_EXPORT osgParticle::Particle - + diff --git a/doc/doc++/osgParticle/ParticleProcessor.html b/doc/doc++/osgParticle/ParticleProcessor.html index d0dd54630..8d1bd5a16 100644 --- a/doc/doc++/osgParticle/ParticleProcessor.html +++ b/doc/doc++/osgParticle/ParticleProcessor.html @@ -3,7 +3,7 @@ class OSGPARTICLE_EXPORT osgParticle::ParticleProcessor - + diff --git a/doc/doc++/osgParticle/ParticleSystem.html b/doc/doc++/osgParticle/ParticleSystem.html index 938f262da..f1f301815 100644 --- a/doc/doc++/osgParticle/ParticleSystem.html +++ b/doc/doc++/osgParticle/ParticleSystem.html @@ -3,7 +3,7 @@ class OSGPARTICLE_EXPORT osgParticle::ParticleSystem - + diff --git a/doc/doc++/osgParticle/ParticleSystemUpdater.html b/doc/doc++/osgParticle/ParticleSystemUpdater.html index 559a95055..62241a0e7 100644 --- a/doc/doc++/osgParticle/ParticleSystemUpdater.html +++ b/doc/doc++/osgParticle/ParticleSystemUpdater.html @@ -3,7 +3,7 @@ class OSGPARTICLE_EXPORT osgParticle::ParticleSystemUpdater - + diff --git a/doc/doc++/osgParticle/Placer.html b/doc/doc++/osgParticle/Placer.html index cc8bc75cb..214d32755 100644 --- a/doc/doc++/osgParticle/Placer.html +++ b/doc/doc++/osgParticle/Placer.html @@ -3,7 +3,7 @@ class osgParticle::Placer - + diff --git a/doc/doc++/osgParticle/PointPlacer.html b/doc/doc++/osgParticle/PointPlacer.html index da89091c5..be52b1293 100644 --- a/doc/doc++/osgParticle/PointPlacer.html +++ b/doc/doc++/osgParticle/PointPlacer.html @@ -3,7 +3,7 @@ class osgParticle::PointPlacer - + diff --git a/doc/doc++/osgParticle/Program.html b/doc/doc++/osgParticle/Program.html index fc0dfd7b4..8a3edc558 100644 --- a/doc/doc++/osgParticle/Program.html +++ b/doc/doc++/osgParticle/Program.html @@ -3,7 +3,7 @@ class OSGPARTICLE_EXPORT osgParticle::Program - + diff --git a/doc/doc++/osgParticle/RadialShooter.html b/doc/doc++/osgParticle/RadialShooter.html index 4145ceaa3..b695b5925 100644 --- a/doc/doc++/osgParticle/RadialShooter.html +++ b/doc/doc++/osgParticle/RadialShooter.html @@ -3,7 +3,7 @@ class osgParticle::RadialShooter - + diff --git a/doc/doc++/osgParticle/RandomRateCounter.html b/doc/doc++/osgParticle/RandomRateCounter.html index 04712a5e8..3ac3f389b 100644 --- a/doc/doc++/osgParticle/RandomRateCounter.html +++ b/doc/doc++/osgParticle/RandomRateCounter.html @@ -3,7 +3,7 @@ class osgParticle::RandomRateCounter - + diff --git a/doc/doc++/osgParticle/SectorPlacer.html b/doc/doc++/osgParticle/SectorPlacer.html index ac33008dd..b5d60e740 100644 --- a/doc/doc++/osgParticle/SectorPlacer.html +++ b/doc/doc++/osgParticle/SectorPlacer.html @@ -3,7 +3,7 @@ class osgParticle::SectorPlacer - + @@ -23,39 +23,39 @@

    Public Methods

    -[more] META_Object(osgParticle, SectorPlacer) +[more] META_Object(osgParticle, SectorPlacer)
    -[more]inline SectorPlacer() +[more]inline SectorPlacer()
    -[more]inline SectorPlacer(const SectorPlacer &copy, const osg::CopyOp &copyop) +[more]inline SectorPlacer(const SectorPlacer &copy, const osg::CopyOp &copyop)
    -[more]inline const rangef& getRadiusRange() const +[more]inline const rangef& getRadiusRange() const
    Get the range of possible values for radius
    -[more]inline const rangef& getPhiRange() const +[more]inline const rangef& getPhiRange() const
    Get the range of possible values for the central angle
    -[more]inline void setRadiusRange(const rangef &r) +[more]inline void setRadiusRange(const rangef &r)
    Set the range of possible values for radius
    -[more]inline void setRadiusRange(float r1, float r2) +[more]inline void setRadiusRange(float r1, float r2)
    Set the range of possible values for radius
    -[more]inline void setPhiRange(const rangef &r) +[more]inline void setPhiRange(const rangef &r)
    Set the range of possible values for the central angle
    -[more]inline void setPhiRange(float r1, float r2) +[more]inline void setPhiRange(float r1, float r2)
    Set the range of possible values for the central angle
    -[more]inline void place(Particle* P) const +[more]inline void place(Particle* P) const
    Place a particle.

    Protected Methods

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

    @@ -92,57 +92,57 @@ for radius, and a range of values for the central angle (sometimes
    - +
    o META_Object(osgParticle, SectorPlacer)

    - +

    ovirtual ~SectorPlacer()

    - +

    oSectorPlacer& operator=(const SectorPlacer &)

    - +

    oinline SectorPlacer()

    - -

    oinline SectorPlacer(const SectorPlacer &copy, const osg::CopyOp &copyop) + +
    oinline SectorPlacer(const SectorPlacer &copy, const osg::CopyOp &copyop)

    - +

    oinline const rangef& getRadiusRange() const
    Get the range of possible values for radius

    - +

    oinline const rangef& getPhiRange() const
    Get the range of possible values for the central angle

    - +

    oinline void setRadiusRange(const rangef &r)
    Set the range of possible values for radius

    - +

    oinline void setRadiusRange(float r1, float r2)
    Set the range of possible values for radius

    - +

    oinline void setPhiRange(const rangef &r)
    Set the range of possible values for the central angle

    - +

    oinline void setPhiRange(float r1, float r2)
    Set the range of possible values for the central angle

    - +

    oinline void place(Particle* P) const
    Place a particle. Do not call it manually.

    diff --git a/doc/doc++/osgParticle/SegmentPlacer.html b/doc/doc++/osgParticle/SegmentPlacer.html index 8ec96591e..ca2a737d3 100644 --- a/doc/doc++/osgParticle/SegmentPlacer.html +++ b/doc/doc++/osgParticle/SegmentPlacer.html @@ -3,7 +3,7 @@ class osgParticle::SegmentPlacer - + @@ -23,42 +23,42 @@

    Public Methods

    -[more] META_Object(osgParticle, SegmentPlacer) +[more] META_Object(osgParticle, SegmentPlacer)
    -[more]inline SegmentPlacer() +[more]inline SegmentPlacer()
    -[more]inline SegmentPlacer(const SegmentPlacer &copy, const osg::CopyOp &copyop) +[more]inline SegmentPlacer(const SegmentPlacer &copy, const osg::CopyOp &copyop)
    -[more]inline const osg::Vec3& getVertexA() const +[more]inline const osg::Vec3& getVertexA() const
    get vertex A
    -[more]inline const osg::Vec3& getVertexB() const +[more]inline const osg::Vec3& getVertexB() const
    get vertex B
    -[more]inline void setSegment(const osg::Vec3 &A, const osg::Vec3 &B) +[more]inline void setSegment(const osg::Vec3 &A, const osg::Vec3 &B)
    Set both vertices
    -[more]inline void place(Particle* P) const +[more]inline void place(Particle* P) const
    Place a particle.
    -[more]inline void setVertexA(const osg::Vec3 &v) +[more]inline void setVertexA(const osg::Vec3 &v)
    Set vertex A of the segment as a vector
    -[more]inline void setVertexA(float x, float y, float z) +[more]inline void setVertexA(float x, float y, float z)
    Set vertex A of the segment as three floats
    -[more]inline void setVertexB(const osg::Vec3 &v) +[more]inline void setVertexB(const osg::Vec3 &v)
    Set vertex B of the segment as a vector
    -[more]inline void setVertexB(float x, float y, float z) +[more]inline void setVertexB(float x, float y, float z)
    Set vertex B of the segment as three floats

    Protected Methods

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

    @@ -85,62 +85,62 @@ within that segment.
    - +
    o META_Object(osgParticle, SegmentPlacer)

    - +

    ovirtual ~SegmentPlacer()

    - +

    oSegmentPlacer& operator=(const SegmentPlacer &)

    - +

    oinline SegmentPlacer()

    - -

    oinline SegmentPlacer(const SegmentPlacer &copy, const osg::CopyOp &copyop) + +
    oinline SegmentPlacer(const SegmentPlacer &copy, const osg::CopyOp &copyop)

    - +

    oinline const osg::Vec3& getVertexA() const
    get vertex A

    - +

    oinline const osg::Vec3& getVertexB() const
    get vertex B

    - +

    oinline void setSegment(const osg::Vec3 &A, const osg::Vec3 &B)
    Set both vertices

    - +

    oinline void place(Particle* P) const
    Place a particle. This method is called by ModularEmitter, do not call it manually.

    - +

    oinline void setVertexA(const osg::Vec3 &v)
    Set vertex A of the segment as a vector

    - +

    oinline void setVertexA(float x, float y, float z)
    Set vertex A of the segment as three floats

    - +

    oinline void setVertexB(const osg::Vec3 &v)
    Set vertex B of the segment as a vector

    - +

    oinline void setVertexB(float x, float y, float z)
    Set vertex B of the segment as three floats

    diff --git a/doc/doc++/osgParticle/Shooter.html b/doc/doc++/osgParticle/Shooter.html index 5a97ed49d..1ab3f7eaf 100644 --- a/doc/doc++/osgParticle/Shooter.html +++ b/doc/doc++/osgParticle/Shooter.html @@ -3,7 +3,7 @@ class osgParticle::Shooter - + @@ -23,25 +23,25 @@

    Public Methods

    -[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
    -[more]virtual const char* className() const +[more]virtual const char* className() const
    -[more]virtual bool isSameKindAs(const osg::Object* obj) const +[more]virtual bool isSameKindAs(const osg::Object* obj) const
    -[more]virtual void shoot(Particle* P) const = 0 +[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 &)

    @@ -54,39 +54,39 @@ 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 5e728df85..8c61ac92a 100644 --- a/doc/doc++/osgParticle/VariableRateCounter.html +++ b/doc/doc++/osgParticle/VariableRateCounter.html @@ -3,7 +3,7 @@ class osgParticle::VariableRateCounter - + @@ -22,24 +22,24 @@

    Public Methods

    -[more]virtual const char* className() const +[more]virtual const char* className() const
    -[more]virtual bool isSameKindAs(const osg::Object* obj) const +[more]virtual bool isSameKindAs(const osg::Object* obj) const
    -[more]inline VariableRateCounter() +[more]inline VariableRateCounter()
    -[more]inline VariableRateCounter(const VariableRateCounter &copy, const osg::CopyOp &copyop) +[more]inline VariableRateCounter(const VariableRateCounter &copy, const osg::CopyOp &copyop)
    -[more]inline const rangef& getRateRange() const +[more]inline const rangef& getRateRange() const
    -[more]inline void setRateRange(const rangef &r) +[more]inline void setRateRange(const rangef &r)
    -[more]inline void setRateRange(float minrange, float maxrange) +[more]inline void setRateRange(float minrange, float maxrange)

    Protected Methods

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

    @@ -65,35 +65,35 @@
    - +
    ovirtual const char* className() const

    - +

    ovirtual bool isSameKindAs(const osg::Object* obj) const

    - +

    ovirtual ~VariableRateCounter()

    - +

    oinline VariableRateCounter()

    - -

    oinline VariableRateCounter(const VariableRateCounter &copy, const osg::CopyOp &copyop) + +
    oinline VariableRateCounter(const VariableRateCounter &copy, const osg::CopyOp &copyop)

    - +

    oinline const rangef& getRateRange() const

    - +

    oinline void setRateRange(const rangef &r)

    - +

    oinline void setRateRange(float minrange, float maxrange)


    diff --git a/doc/doc++/osgParticle/index.html b/doc/doc++/osgParticle/index.html index 3c6a3264b..5f987f2b7 100644 --- a/doc/doc++/osgParticle/index.html +++ b/doc/doc++/osgParticle/index.html @@ -3,7 +3,7 @@ Table of Contents - + diff --git a/doc/doc++/osgParticle/osgParticle.html b/doc/doc++/osgParticle/osgParticle.html index 5d229b243..7fb223215 100644 --- a/doc/doc++/osgParticle/osgParticle.html +++ b/doc/doc++/osgParticle/osgParticle.html @@ -3,7 +3,7 @@ namespace osgParticle - + @@ -72,6 +72,17 @@ class RadialShooter: public class RandomRateCounter: public VariableRateCounter
    +class SectorPlacer: public CenteredPlacer +
    A sector-shaped particle placer. +
    +class SegmentPlacer: public Placer +
    A segment-shaped particle placer. +
    +class Shooter: public osg::Object +
    An abstract base class used by ModularEmitter to "shoot" the particles after they have been placed. +
    +class VariableRateCounter: public Counter +
    template<class T_> struct range
    A simple struct template useful to store ranges of values as min/max pairs.
    @@ -86,17 +97,6 @@ typedef range<osg::Vec3> range<osg::Vec4> rangev4
    Range of osg::Vec4s -
    -class SectorPlacer: public CenteredPlacer -
    A sector-shaped particle placer. -
    -class SegmentPlacer: public Placer -
    A segment-shaped particle placer. -
    -class Shooter: public osg::Object -
    An abstract base class used by ModularEmitter to "shoot" the particles after they have been placed. -
    -class VariableRateCounter: public Counter

    diff --git a/doc/doc++/osgParticle/range.html b/doc/doc++/osgParticle/range.html index 94f5a2078..3aafcb7fc 100644 --- a/doc/doc++/osgParticle/range.html +++ b/doc/doc++/osgParticle/range.html @@ -3,7 +3,7 @@ template<class T_> struct osgParticle::range - + @@ -12,22 +12,22 @@

    -[more]T_ minimum +[more]T_ minimum
    Lower bound
    -[more]T_ maximum +[more]T_ maximum
    Higher bound
    -[more] range() +[more] range()
    Construct the object by calling default constructors for min and max
    -[more] range(const T_ &mn, const T_ &mx) +[more] range(const T_ &mn, const T_ &mx)
    Construct and initialize min and max directly
    -[more]void set(const T_ &mn, const T_ &mx) +[more]void set(const T_ &mn, const T_ &mx)
    Set min and max
    -[more]T_ get_random() const +[more]T_ get_random() const
    Get a random value between min and max

    @@ -45,32 +45,32 @@ This struct could be extended to customize the random number generator (now it u
    - +
    oT_ minimum
    Lower bound

    - +

    oT_ maximum
    Higher bound

    - +

    o range()
    Construct the object by calling default constructors for min and max

    - +

    o range(const T_ &mn, const T_ &mx)
    Construct and initialize min and max directly

    - +

    ovoid set(const T_ &mn, const T_ &mx)
    Set min and max

    - +

    oT_ get_random() const
    Get a random value between min and max

    diff --git a/doc/doc++/osgParticle/rangef.html b/doc/doc++/osgParticle/rangef.html index b8ff0f3d1..b44c9a71d 100644 --- a/doc/doc++/osgParticle/rangef.html +++ b/doc/doc++/osgParticle/rangef.html @@ -3,7 +3,7 @@ typedef range<float> osgParticle::rangef - + diff --git a/doc/doc++/osgParticle/rangev2.html b/doc/doc++/osgParticle/rangev2.html index 6b8584fa3..a4e323f68 100644 --- a/doc/doc++/osgParticle/rangev2.html +++ b/doc/doc++/osgParticle/rangev2.html @@ -3,7 +3,7 @@ typedef range<osg::Vec2> osgParticle::rangev2 - + diff --git a/doc/doc++/osgParticle/rangev3.html b/doc/doc++/osgParticle/rangev3.html index c3b60d379..45dbd72f7 100644 --- a/doc/doc++/osgParticle/rangev3.html +++ b/doc/doc++/osgParticle/rangev3.html @@ -3,7 +3,7 @@ typedef range<osg::Vec3> osgParticle::rangev3 - + diff --git a/doc/doc++/osgParticle/rangev4.html b/doc/doc++/osgParticle/rangev4.html index 4b35e99c1..ccfaa7cf5 100644 --- a/doc/doc++/osgParticle/rangev4.html +++ b/doc/doc++/osgParticle/rangev4.html @@ -3,7 +3,7 @@ typedef range<osg::Vec4> osgParticle::rangev4 - + diff --git a/doc/doc++/osgSim/AzimElevationSector.html b/doc/doc++/osgSim/AzimElevationSector.html new file mode 100644 index 000000000..f4c1f8c66 --- /dev/null +++ b/doc/doc++/osgSim/AzimElevationSector.html @@ -0,0 +1,116 @@ + + + + + class OSGSIM_EXPORT osgSim::AzimElevationSector + + + + +

    class OSGSIM_EXPORT osgSim::AzimElevationSector


    + +

    Inheritance:

    + + + + + + + +
    + +
    +

    +

    Public Methods

    +[more] AzimElevationSector() +
    +[more] AzimElevationSector(float minAzimuth, float maxAzimuth, float minElevation, float maxElevation, float fadeAngle=0.0f) +
    +[more]virtual float operator() (const osg::Vec3& eyeLocal) const +

    + +

    +

    Protected Methods

    +[more]virtual ~AzimElevationSector() +

    + +
    +

    Inherited from Sector:

    +
    +
    +

    Inherited from AzimRange:

    +
    +

    +

    Public Methods

    +ovoid setAzimuthRange(float minAzimuth, float maxAzimuth, float fadeAngle=0.0f) +
    +oinline float azimSector(const osg::Vec3& eyeLocal) const +

    + +

    +

    Protected Fields

    +ofloat _cosAzim +
    +ofloat _sinAzim +
    +ofloat _cosAngle +
    +ofloat _cosFadeAngle +

    + +
    +

    Inherited from ElevationRange:

    +
    +

    +

    Public Methods

    +ovoid setElevationRange(float minElevation, float maxElevation, float fadeAngle=0.0f) +
    +ofloat getMinElevation() const +
    +ofloat getMaxElevation() const +
    +oinline float elevationSector(const osg::Vec3& eyeLocal) const +

    + +

    +

    Protected Fields

    +ofloat _cosMinElevation +
    +ofloat _cosMinFadeElevation +
    +ofloat _cosMaxElevation +
    +ofloat _cosMaxFadeElevation +

    + +
    + + +
    +

    Documentation

    +
    + + + +
    o AzimElevationSector() +

    + + +

    o AzimElevationSector(float minAzimuth, float maxAzimuth, float minElevation, float maxElevation, float fadeAngle=0.0f) +

    + + +

    ovirtual float operator() (const osg::Vec3& eyeLocal) const +

    + + +

    ovirtual ~AzimElevationSector() +

    + +
    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++/osgSim/AzimRange.html b/doc/doc++/osgSim/AzimRange.html new file mode 100644 index 000000000..0c3f0fe8c --- /dev/null +++ b/doc/doc++/osgSim/AzimRange.html @@ -0,0 +1,88 @@ + + + + + class OSGSIM_EXPORT osgSim::AzimRange + + + + +

    class OSGSIM_EXPORT osgSim::AzimRange


    + +

    Inheritance:

    + + + + + + + +
    + +
    +

    +

    Public Methods

    +[more] AzimRange() +
    +[more]void setAzimuthRange(float minAzimuth, float maxAzimuth, float fadeAngle=0.0f) +
    +[more]inline float azimSector(const osg::Vec3& eyeLocal) const +

    + +

    +

    Protected Fields

    +[more]float _cosAzim +
    +[more]float _sinAzim +
    +[more]float _cosAngle +
    +[more]float _cosFadeAngle +

    + +
    + + +
    +

    Documentation

    +
    + + + +
    o AzimRange() +

    + + +

    ovoid setAzimuthRange(float minAzimuth, float maxAzimuth, float fadeAngle=0.0f) +

    + + +

    oinline float azimSector(const osg::Vec3& eyeLocal) const +

    + + +

    ofloat _cosAzim +

    + + +

    ofloat _sinAzim +

    + + +

    ofloat _cosAngle +

    + + +

    ofloat _cosFadeAngle +

    +
    +
    Direct child classes: +
    AzimSector
    +AzimElevationSector
    +
    + +

    Alphabetic index HTML hierarchy of classes or Java


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgSim/AzimSector.html b/doc/doc++/osgSim/AzimSector.html new file mode 100644 index 000000000..604c51038 --- /dev/null +++ b/doc/doc++/osgSim/AzimSector.html @@ -0,0 +1,91 @@ + + + + + class OSGSIM_EXPORT osgSim::AzimSector + + + + +

    class OSGSIM_EXPORT osgSim::AzimSector


    + +

    Inheritance:

    + + + + + + + +
    + +
    +

    +

    Public Methods

    +[more] AzimSector() +
    +[more] AzimSector(float minAzimuth, float maxAzimuth, float fadeAngle=0.0f) +
    +[more]virtual float operator() (const osg::Vec3& eyeLocal) const +

    + +

    +

    Protected Methods

    +[more]virtual ~AzimSector() +

    + +
    +

    Inherited from Sector:

    +
    +
    +

    Inherited from AzimRange:

    +
    +

    +

    Public Methods

    +ovoid setAzimuthRange(float minAzimuth, float maxAzimuth, float fadeAngle=0.0f) +
    +oinline float azimSector(const osg::Vec3& eyeLocal) const +

    + +

    +

    Protected Fields

    +ofloat _cosAzim +
    +ofloat _sinAzim +
    +ofloat _cosAngle +
    +ofloat _cosFadeAngle +

    + +
    + + +
    +

    Documentation

    +
    + + + +
    o AzimSector() +

    + + +

    o AzimSector(float minAzimuth, float maxAzimuth, float fadeAngle=0.0f) +

    + + +

    ovirtual float operator() (const osg::Vec3& eyeLocal) const +

    + + +

    ovirtual ~AzimSector() +

    + +
    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++/osgSim/BlinkSequence.html b/doc/doc++/osgSim/BlinkSequence.html new file mode 100644 index 000000000..fd97d135f --- /dev/null +++ b/doc/doc++/osgSim/BlinkSequence.html @@ -0,0 +1,172 @@ + + + + + class OSGSIM_EXPORT osgSim::BlinkSequence + + + + +

    class OSGSIM_EXPORT osgSim::BlinkSequence


    + +

    Inheritance:

    + + + + + + + +
    + +
    +

    +

    Public Methods

    +[more] BlinkSequence() +
    +[more] BlinkSequence(const BlinkSequence& bs) +
    +[more]inline double getPulsePeriod() const +
    get the total pulse period of the blink sequence, which is equal to the sum of all the pulse periods +
    +[more]inline void setSequenceGroup(SequenceGroup* sg) +
    set the sequence group which can be used to synchronize related blink sequences +
    +[more]inline SequenceGroup* getSequenceGroup() +
    get the non const sequence group +
    +[more]inline const SequenceGroup* getSequenceGroup() const +
    get the const sequence group +
    +[more]inline void setPhaseShift(double ps) +
    set the phase shift of the blink sequence, this would be used to shift a sequence within a sequence group +
    +[more]inline double getPhaseShift() const +
    get the pahse shift +
    +[more]inline double localTime(double time) const +
    compute the local time clamped to this BlinkSequences period, and accounting for the phase shift and sequence group +
    +[more]inline void addPulse(double length, const osg::Vec4& color) +
    add a pulse of specified color and duration to the BlinkSequence +
    +[more]inline osg::Vec4 color(double time, double length) const +
    compute the color for the time interval sepecifed. +

    + +

    +

    Public Members

    +class OSGSIM_EXPORT SequenceGroup: public osg::Referenced +
    sequence group which can be used to synchronize related blink sequences +

    + +

    +

    Protected Fields

    +[more]double _pulsePeriod +
    +[more]double _phaseShift +
    +[more]PulseData _pulseData +
    +[more]osg::ref_ptr<SequenceGroup> _sequenceGroup +

    + +

    +

    Protected Members

    +[more]typedef std::pair<double,osg::Vec4> IntervalColor +
    +[more]typedef std::vector<IntervalColor> PulseData +

    + +
    + + +
    +

    Documentation

    +
    + + + +
    o BlinkSequence() +

    + + +

    o BlinkSequence(const BlinkSequence& bs) +

    + + +

    oinline double getPulsePeriod() const +
    get the total pulse period of the blink sequence, which is equal to the sum of all the pulse periods +

    + + +

    oinline void setSequenceGroup(SequenceGroup* sg) +
    set the sequence group which can be used to synchronize related blink sequences +

    + + +

    oinline SequenceGroup* getSequenceGroup() +
    get the non const sequence group +

    + + +

    oinline const SequenceGroup* getSequenceGroup() const +
    get the const sequence group +

    + + +

    oinline void setPhaseShift(double ps) +
    set the phase shift of the blink sequence, this would be used to shift a sequence within a sequence group +

    + + +

    oinline double getPhaseShift() const +
    get the pahse shift +

    + + +

    otypedef std::pair<double,osg::Vec4> IntervalColor +

    + + +

    otypedef std::vector<IntervalColor> PulseData +

    + + +

    odouble _pulsePeriod +

    + + +

    odouble _phaseShift +

    + + +

    oPulseData _pulseData +

    + + +

    oosg::ref_ptr<SequenceGroup> _sequenceGroup +

    + + +

    oinline double localTime(double time) const +
    compute the local time clamped to this BlinkSequences period, and accounting for the phase shift and sequence group +

    + + +

    oinline void addPulse(double length, const osg::Vec4& color) +
    add a pulse of specified color and duration to the BlinkSequence +

    + + +

    oinline osg::Vec4 color(double time, double length) const +
    compute the color for the time interval sepecifed. Averages the colors if the length is greater than the current pulse. +

    + +
    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++/osgSim/ConeSector.html b/doc/doc++/osgSim/ConeSector.html new file mode 100644 index 000000000..0b8e0e634 --- /dev/null +++ b/doc/doc++/osgSim/ConeSector.html @@ -0,0 +1,121 @@ + + + + + class OSGSIM_EXPORT osgSim::ConeSector + + + + +

    class OSGSIM_EXPORT osgSim::ConeSector


    + +

    Inheritance:

    + + + + + + + +
    + +
    +

    +

    Public Methods

    +[more] ConeSector() +
    +[more] ConeSector(const osg::Vec3& axis, float angle, float fadeangle=0.0f) +
    +[more]void setAxis(const osg::Vec3& axis) +
    +[more]const osg::Vec3& getAxis() const +
    +[more]void setAngle(float angle, float fadeangle=0.0f) +
    +[more]float getAngle() const +
    +[more]float getFadeAngle() const +
    +[more]virtual float operator() (const osg::Vec3& eyeLocal) const +

    + +

    +

    Protected Fields

    +[more]osg::Vec3 _axis +
    +[more]float _cosAngle +
    +[more]float _cosAngleFade +

    + +

    +

    Protected Methods

    +[more]virtual ~ConeSector() +

    + +
    +

    Inherited from Sector:

    +
    +
    + + +
    +

    Documentation

    +
    + + + +
    o ConeSector() +

    + + +

    o ConeSector(const osg::Vec3& axis, float angle, float fadeangle=0.0f) +

    + + +

    ovoid setAxis(const osg::Vec3& axis) +

    + + +

    oconst osg::Vec3& getAxis() const +

    + + +

    ovoid setAngle(float angle, float fadeangle=0.0f) +

    + + +

    ofloat getAngle() const +

    + + +

    ofloat getFadeAngle() const +

    + + +

    ovirtual float operator() (const osg::Vec3& eyeLocal) const +

    + + +

    ovirtual ~ConeSector() +

    + + +

    oosg::Vec3 _axis +

    + + +

    ofloat _cosAngle +

    + + +

    ofloat _cosAngleFade +

    + +
    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++/osgSim/ElevationRange.html b/doc/doc++/osgSim/ElevationRange.html new file mode 100644 index 000000000..9f6ae9d37 --- /dev/null +++ b/doc/doc++/osgSim/ElevationRange.html @@ -0,0 +1,100 @@ + + + + + class OSGSIM_EXPORT osgSim::ElevationRange + + + + +

    class OSGSIM_EXPORT osgSim::ElevationRange


    + +

    Inheritance:

    + + + + + + + +
    + +
    +

    +

    Public Methods

    +[more] ElevationRange() +
    +[more]void setElevationRange(float minElevation, float maxElevation, float fadeAngle=0.0f) +
    +[more]float getMinElevation() const +
    +[more]float getMaxElevation() const +
    +[more]inline float elevationSector(const osg::Vec3& eyeLocal) const +

    + +

    +

    Protected Fields

    +[more]float _cosMinElevation +
    +[more]float _cosMinFadeElevation +
    +[more]float _cosMaxElevation +
    +[more]float _cosMaxFadeElevation +

    + +
    + + +
    +

    Documentation

    +
    + + + +
    o ElevationRange() +

    + + +

    ovoid setElevationRange(float minElevation, float maxElevation, float fadeAngle=0.0f) +

    + + +

    ofloat getMinElevation() const +

    + + +

    ofloat getMaxElevation() const +

    + + +

    oinline float elevationSector(const osg::Vec3& eyeLocal) const +

    + + +

    ofloat _cosMinElevation +

    + + +

    ofloat _cosMinFadeElevation +

    + + +

    ofloat _cosMaxElevation +

    + + +

    ofloat _cosMaxFadeElevation +

    +
    +
    Direct child classes: +
    ElevationSector
    +AzimElevationSector
    +
    + +

    Alphabetic index HTML hierarchy of classes or Java


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgSim/ElevationSector.html b/doc/doc++/osgSim/ElevationSector.html new file mode 100644 index 000000000..de58ff343 --- /dev/null +++ b/doc/doc++/osgSim/ElevationSector.html @@ -0,0 +1,111 @@ + + + + + class OSGSIM_EXPORT osgSim::ElevationSector + + + + +

    class OSGSIM_EXPORT osgSim::ElevationSector


    + +

    Inheritance:

    + + + + + + + +
    + +
    +

    +

    Public Methods

    +[more] ElevationSector() +
    +[more] ElevationSector(float minElevation, float maxElevation, float fadeAngle=0.0f) +
    +[more]virtual float operator() (const osg::Vec3& eyeLocal) const +

    + +

    +

    Protected Fields

    +[more]float _cosMinElevation +
    +[more]float _cosMinFadeElevation +
    +[more]float _cosMaxElevation +
    +[more]float _cosMaxFadeElevation +

    + +

    +

    Protected Methods

    +[more]virtual ~ElevationSector() +

    + +
    +

    Inherited from Sector:

    +
    +
    +

    Inherited from ElevationRange:

    +
    +

    +

    Public Methods

    +ovoid setElevationRange(float minElevation, float maxElevation, float fadeAngle=0.0f) +
    +ofloat getMinElevation() const +
    +ofloat getMaxElevation() const +
    +oinline float elevationSector(const osg::Vec3& eyeLocal) const +

    + +
    + + +
    +

    Documentation

    +
    + + + +
    o ElevationSector() +

    + + +

    o ElevationSector(float minElevation, float maxElevation, float fadeAngle=0.0f) +

    + + +

    ovirtual float operator() (const osg::Vec3& eyeLocal) const +

    + + +

    ovirtual ~ElevationSector() +

    + + +

    ofloat _cosMinElevation +

    + + +

    ofloat _cosMinFadeElevation +

    + + +

    ofloat _cosMaxElevation +

    + + +

    ofloat _cosMaxFadeElevation +

    + +
    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++/osgSim/General.html b/doc/doc++/osgSim/General.html new file mode 100644 index 000000000..d97d14ea6 --- /dev/null +++ b/doc/doc++/osgSim/General.html @@ -0,0 +1,49 @@ + + + + + General Bits + + + + +
    +
    + +o#define +OSGSIM_BLINKSQUENCE
    + +o#define +OSGSIM_EXPORT_
    + +o#define +OSGSIM_EXPORT(dllexport)
    + +o#define +OSGSIM_EXPORT(dllimport)
    + +o#define +OSGSIM_EXPORT
    + +o#define +NULL
    + +o#define +NULL((void *)
    + +o#define +OSGSIM_LIGHTPOINT
    + +o#define +OSGSIM_LIGHTPOINTNODE
    + +o#define +OSGSIM_SECTOR
    + +o#define +OSGSIM_VERSION
    +

    Alphabetic index Hierarchy of classes


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgSim/HIER.html b/doc/doc++/osgSim/HIER.html new file mode 100644 index 000000000..829c7b6de --- /dev/null +++ b/doc/doc++/osgSim/HIER.html @@ -0,0 +1,37 @@ + + + + + Hierarchy of Classes + + + +

    Hierarchy of Classes

    + +

    Alphabetic index


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgSim/HIERjava.html b/doc/doc++/osgSim/HIERjava.html new file mode 100644 index 000000000..9531f7c28 --- /dev/null +++ b/doc/doc++/osgSim/HIERjava.html @@ -0,0 +1,65 @@ + + + + + Hierarchy of Classes + + + +

    Hierarchy of classes

    +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + alphabetic index


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgSim/LightPoint.html b/doc/doc++/osgSim/LightPoint.html new file mode 100644 index 000000000..bc962409c --- /dev/null +++ b/doc/doc++/osgSim/LightPoint.html @@ -0,0 +1,136 @@ + + + + + class OSGSIM_EXPORT osgSim::LightPoint + + + + +

    class OSGSIM_EXPORT osgSim::LightPoint


    + +
    +

    +

    Public Fields

    +[more]bool _on +
    +[more]osg::Vec3 _position +
    +[more]osg::Vec4 _color +
    +[more]float _intensity +
    +[more]float _radius +
    +[more]float _maxPixelSize +
    +[more]osg::ref_ptr<Sector> _sector +
    +[more]osg::ref_ptr<BlinkSequence> _blinkSequence +
    +[more]BlendingMode _blendingMode +

    + +

    +

    Public Methods

    +[more] LightPoint() +
    +[more] LightPoint(const osg::Vec3& position, const osg::Vec4& color) +
    +[more] LightPoint(bool on, const osg::Vec3& position, const osg::Vec4& color, float intensity=1.0f, float radius=1.0f, float maxPixelSize=30, Sector* sector=0, BlinkSequence* blinkSequence=0, BlendingMode blendingMode=BLENDED) +
    +[more] LightPoint(const LightPoint& lp) +
    +[more]LightPoint& operator = (const LightPoint& lp) +

    + +

    +

    Public Members

    +[more]enum BlendingMode +

    + +
    + + +
    +

    Documentation

    +
    + + + +
    oenum BlendingMode +

    + + + +
    o ADDITIVE +

    + + +

    o BLENDED +

    + + + +
    o LightPoint() +

    + + +

    o LightPoint(const osg::Vec3& position, const osg::Vec4& color) +

    + + +

    o LightPoint(bool on, const osg::Vec3& position, const osg::Vec4& color, float intensity=1.0f, float radius=1.0f, float maxPixelSize=30, Sector* sector=0, BlinkSequence* blinkSequence=0, BlendingMode blendingMode=BLENDED) +

    + + +

    o LightPoint(const LightPoint& lp) +

    + + +

    oLightPoint& operator = (const LightPoint& lp) +

    + + +

    obool _on +

    + + +

    oosg::Vec3 _position +

    + + +

    oosg::Vec4 _color +

    + + +

    ofloat _intensity +

    + + +

    ofloat _radius +

    + + +

    ofloat _maxPixelSize +

    + + +

    oosg::ref_ptr<Sector> _sector +

    + + +

    oosg::ref_ptr<BlinkSequence> _blinkSequence +

    + + +

    oBlendingMode _blendingMode +

    + +
    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++/osgSim/LightPointNode.html b/doc/doc++/osgSim/LightPointNode.html new file mode 100644 index 000000000..96972ad11 --- /dev/null +++ b/doc/doc++/osgSim/LightPointNode.html @@ -0,0 +1,138 @@ + + + + + class OSGSIM_EXPORT osgSim::LightPointNode + + + + +

    class OSGSIM_EXPORT osgSim::LightPointNode


    + +

    Inheritance:

    + + + + + + + +
    + +
    +

    +

    Public Fields

    +[more]LightPointList _lightPointList +

    + +

    +

    Public Methods

    +[more] LightPointNode() +
    +[more] LightPointNode(const LightPointNode&, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) +
    Copy constructor using CopyOp to manage deep vs shallow copy +
    +[more] META_Node(osgSim, LightPointNode) +
    +[more]virtual void traverse(osg::NodeVisitor& nv) +
    +[more]unsigned int addLightPoint(const LightPoint& lp) +
    +[more]LightPoint& getLightPoint(unsigned int pos) +
    +[more]const LightPoint& getLightPoint(unsigned int pos) const +
    +[more]void removeLightPoint(unsigned int pos) +
    +[more]void removeLightPoints(LightPointList::iterator start, LightPointList::iterator end) +

    + +

    +

    Public Members

    +[more]typedef std::vector< LightPoint > LightPointList +

    + +

    +

    Protected Fields

    +[more]mutable osg::BoundingBox _bbox +

    + +

    +

    Protected Methods

    +[more] ~LightPointNode() +
    +[more]virtual bool computeBound() const +

    + +
    + + +
    +

    Documentation

    +
    + + + +
    otypedef std::vector< LightPoint > LightPointList +

    + + +

    o LightPointNode() +

    + + +

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

    + + +

    o META_Node(osgSim, LightPointNode) +

    + + +

    ovirtual void traverse(osg::NodeVisitor& nv) +

    + + +

    ounsigned int addLightPoint(const LightPoint& lp) +

    + + +

    oLightPoint& getLightPoint(unsigned int pos) +

    + + +

    oconst LightPoint& getLightPoint(unsigned int pos) const +

    + + +

    ovoid removeLightPoint(unsigned int pos) +

    + + +

    ovoid removeLightPoints(LightPointList::iterator start, LightPointList::iterator end) +

    + + +

    oLightPointList _lightPointList +

    + + +

    o ~LightPointNode() +

    + + +

    omutable osg::BoundingBox _bbox +

    + + +

    ovirtual bool computeBound() const +

    + +
    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++/osgSim/Sector.html b/doc/doc++/osgSim/Sector.html new file mode 100644 index 000000000..1b2b7e04b --- /dev/null +++ b/doc/doc++/osgSim/Sector.html @@ -0,0 +1,60 @@ + + + + + class osgSim::Sector + + + + +

    class osgSim::Sector


    + +

    Inheritance:

    + + + + + + + +
    + +
    +

    +

    Public Methods

    +[more]virtual float operator() (const osg::Vec3&yeLocal*/) const = 0 +

    + +

    +

    Protected Methods

    +[more]virtual ~Sector() +

    + +
    + + +
    +

    Documentation

    +
    + + + +
    ovirtual float operator() (const osg::Vec3&yeLocal*/) const = 0 +

    + + +

    ovirtual ~Sector() +

    +
    +
    Direct child classes: +
    ElevationSector
    +ConeSector
    +AzimSector
    +AzimElevationSector
    +
    + +

    Alphabetic index HTML hierarchy of classes or Java


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgSim/SequenceGroup.html b/doc/doc++/osgSim/SequenceGroup.html new file mode 100644 index 000000000..c72986861 --- /dev/null +++ b/doc/doc++/osgSim/SequenceGroup.html @@ -0,0 +1,63 @@ + + + + + class OSGSIM_EXPORT osgSim::BlinkSequence::SequenceGroup + + + + +

    class OSGSIM_EXPORT SequenceGroup

    sequence group which can be used to synchronize related blink sequences
    +
    + +

    Inheritance:

    + + + + + + + +
    + +
    +

    +

    Public Fields

    +[more]double _baseTime +

    + +

    +

    Public Methods

    +[more] SequenceGroup() +
    +[more] SequenceGroup(double baseTime) +

    + +
    + + +
    +

    Documentation

    +
    sequence group which can be used to synchronize related blink sequences
    +
    + + + +
    o SequenceGroup() +

    + + +

    o SequenceGroup(double baseTime) +

    + + +

    odouble _baseTime +

    + +
    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++/osgSim/index.html b/doc/doc++/osgSim/index.html new file mode 100644 index 000000000..f8af235f4 --- /dev/null +++ b/doc/doc++/osgSim/index.html @@ -0,0 +1,44 @@ + + + + + Table of Contents + + + + +

    Table of Contents

    +

    Namespaces

    + +

    Functions

    + +

    Macros

    + +

    Hierarchy of classes


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgSim/osgSim.html b/doc/doc++/osgSim/osgSim.html new file mode 100644 index 000000000..cd6548850 --- /dev/null +++ b/doc/doc++/osgSim/osgSim.html @@ -0,0 +1,45 @@ + + + + + namespace osgSim + + + + +

    namespace osgSim

    +
    +

    +
    +class OSGSIM_EXPORT BlinkSequence: public osg::Referenced +
    +class OSGSIM_EXPORT LightPoint +
    +class OSGSIM_EXPORT LightPointNode: public osg::Node +
    +class Sector: public osg::Referenced +
    +class OSGSIM_EXPORT AzimRange +
    +class OSGSIM_EXPORT ElevationRange +
    +class OSGSIM_EXPORT AzimSector: public Sector, public AzimRange +
    +class OSGSIM_EXPORT ElevationSector: public Sector, public ElevationRange +
    +class OSGSIM_EXPORT AzimElevationSector: public Sector, public AzimRange, public ElevationRange +
    +class OSGSIM_EXPORT ConeSector: public Sector +

    + + + +
    +

    Documentation

    +
    +
    +

    Alphabetic index HTML hierarchy of classes or Java


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgSim/osgSimGetLibraryName.html b/doc/doc++/osgSim/osgSimGetLibraryName.html new file mode 100644 index 000000000..13fed6c7d --- /dev/null +++ b/doc/doc++/osgSim/osgSimGetLibraryName.html @@ -0,0 +1,21 @@ + + + + + extern OSGSIM_EXPORT const char* osgSimGetLibraryName + + + + +

    extern OSGSIM_EXPORT const char* osgSimGetLibraryName

    ()

    osgSimGetLibraryName() returns the library name in human friendly form
    + + +
    +

    Documentation

    +
    +osgSimGetLibraryName() 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++/osgSim/osgSimGetVersion.html b/doc/doc++/osgSim/osgSimGetVersion.html new file mode 100644 index 000000000..611517179 --- /dev/null +++ b/doc/doc++/osgSim/osgSimGetVersion.html @@ -0,0 +1,34 @@ + + + + + extern OSGSIM_EXPORT const char* osgSimGetVersion + + + + +

    extern OSGSIM_EXPORT const char* osgSimGetVersion

    ()

    osgSimGetVersion() returns the library version number.
    + + +
    +

    Documentation

    +
    +osgSimGetVersion() returns the library version number. +Numbering convention : OpenSceneGraph-Sim-0.1 will return 0.1 from osgSimgetVersion. + +

    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-Sim library +# +AC_CHECK_LIB(osg, osgSimGetVersion, , +[AC_MSG_ERROR(OpenSceneGraph 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++/osgText/BitmapFont.html b/doc/doc++/osgText/BitmapFont.html index 4091e8736..1f15076bd 100644 --- a/doc/doc++/osgText/BitmapFont.html +++ b/doc/doc++/osgText/BitmapFont.html @@ -3,7 +3,7 @@ class OSGTEXT_EXPORT osgText::BitmapFont - + @@ -22,18 +22,18 @@

    Public Methods

    -[more] BitmapFont() +[more] BitmapFont()
    -[more] BitmapFont(const BitmapFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) +[more] BitmapFont(const BitmapFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
    -[more] BitmapFont(const std::string& font, int point_size) +[more] BitmapFont(const std::string& font, int point_size)
    -[more] META_Font(osgText, BitmapFont) +[more] META_Font(osgText, BitmapFont)

    Protected Methods

    -[more]virtual FTFont* createFontObj(void) +[more]virtual FTFont* createFontObj(void)

    @@ -61,13 +61,13 @@
    ovirtual bool create(osg::State& state)
    -ovirtual void output(osg::State& state, const char* text) const +ovirtual void output(osg::State& state, const EncodedText* text) const
    ovirtual bool isOk(void) const
    ovirtual bool isCreated(void) const
    -ovirtual float getWidth(const char* text) const +ovirtual float getWidth(const EncodedText* text) const
    ovirtual int getHeight() const
    @@ -118,23 +118,23 @@
    - +
    o BitmapFont()

    - -

    o BitmapFont(const BitmapFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) + +
    o BitmapFont(const BitmapFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)

    - +

    o BitmapFont(const std::string& font, int point_size)

    - +

    o META_Font(osgText, BitmapFont)

    - +

    ovirtual FTFont* createFontObj(void)

    diff --git a/doc/doc++/osgText/EncodedText.html b/doc/doc++/osgText/EncodedText.html new file mode 100644 index 000000000..ad16faf63 --- /dev/null +++ b/doc/doc++/osgText/EncodedText.html @@ -0,0 +1,188 @@ + + + + + class OSGTEXT_EXPORT osgText::EncodedText + + + + +

    class OSGTEXT_EXPORT osgText::EncodedText


    + +

    Inheritance:

    + + + + + + + +
    + +
    +

    +

    Public Methods

    +[more] EncodedText() +
    +[more]void setOverrideEncoding(Encoding encoding) +
    +[more]Encoding getOverrideEncoding() const +
    +[more]Encoding getEncoding() const +
    +[more]void setText(const unsigned char* text, int length = -1) +
    +[more]std::vector<int> ::const_iterator begin() const +
    +[more]std::vector<int> ::const_iterator end() const +

    + +

    +

    Public Members

    +[more]enum Encoding +
    Types of string encodings supported +

    + +

    +

    Protected Fields

    +[more]Encoding _encoding +
    +[more]Encoding _overrideEncoding +
    +[more]std::vector<int> _unicodeText +

    + +

    +

    Protected Methods

    +[more]int getNextCharacter(const unsigned char*& charString) const +
    +[more]Encoding findEncoding(const unsigned char*& charString) const +
    This method will extract any ZWNBSP signature at the start of the string +

    + +
    + + +
    +

    Documentation

    +
    + + + +
    oenum Encoding +
    +Types of string encodings supported +

    + + + +
    o ENCODING_UNDEFINED +

    + + +

    o ENCODING_ASCII +
    not using Unicode +

    + + +

    o ENCODING_UTF8 +
    unsigned char ASCII +

    + + +

    o ENCODING_UTF16 +
    8-bit unicode transformation format +

    + + +

    o ENCODING_UTF16_BE +
    16-bit signature +

    + + +

    o ENCODING_UTF16_LE +
    16-bit big-endian +

    + + +

    o ENCODING_UTF32 +
    16-bit little-endian +

    + + +

    o ENCODING_UTF32_BE +
    32-bit signature +

    + + +

    o ENCODING_UTF32_LE +
    32-bit big-endian +

    + + +

    o ENCODING_SIGNATURE +
    32-bit little-endian +

    + + +

    o detect encoding from signature +
    detect encoding from signature +

    + + + +
    o EncodedText() +

    + + +

    ovoid setOverrideEncoding(Encoding encoding) +

    + + +

    oEncoding getOverrideEncoding() const +

    + + +

    oEncoding getEncoding() const +

    + + +

    ovoid setText(const unsigned char* text, int length = -1) +

    + + +

    ostd::vector<int> ::const_iterator begin() const +

    + + +

    ostd::vector<int> ::const_iterator end() const +

    + + +

    oint getNextCharacter(const unsigned char*& charString) const +

    + + +

    oEncoding findEncoding(const unsigned char*& charString) const +
    This method will extract any ZWNBSP signature at the start of the string +

    + + +

    oEncoding _encoding +

    + + +

    oEncoding _overrideEncoding +

    + + +

    ostd::vector<int> _unicodeText +

    + +
    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++/osgText/Font.html b/doc/doc++/osgText/Font.html index a221172ea..4fce14992 100644 --- a/doc/doc++/osgText/Font.html +++ b/doc/doc++/osgText/Font.html @@ -3,7 +3,7 @@ class OSGTEXT_EXPORT osgText::Font - + @@ -22,76 +22,76 @@

    Public Methods

    -[more] Font() +[more] Font()
    -[more] Font(const Font& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) +[more] Font(const Font& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
    -[more]virtual bool isSameKindAs(const osg::Object* obj) const +[more]virtual bool isSameKindAs(const osg::Object* obj) const
    -[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
    -[more]virtual const char* className() const +[more]virtual const char* className() const
    -[more]bool open(const char* font) +[more]bool open(const char* font)
    -[more]bool open(const std::string& font) +[more]bool open(const std::string& font)
    -[more]virtual bool create(osg::State& state, int pointSize, unsigned int res = 72 ) +[more]virtual bool create(osg::State& state, int pointSize, unsigned int res = 72 )
    -[more]virtual bool create(osg::State& state) +[more]virtual bool create(osg::State& state)
    -[more]virtual void output(osg::State& state, const char* text) const +[more]virtual void output(osg::State& state, const EncodedText* text) const
    -[more]virtual bool isOk(void) const +[more]virtual bool isOk(void) const
    -[more]virtual bool isCreated(void) const +[more]virtual bool isCreated(void) const
    -[more]virtual float getWidth(const char* text) const +[more]virtual float getWidth(const EncodedText* text) const
    -[more]virtual int getHeight() const +[more]virtual int getHeight() const
    -[more]virtual int getDescender() const +[more]virtual int getDescender() const
    -[more]virtual int getAscender() const +[more]virtual int getAscender() const
    -[more]int getPointSize(void) const +[more]int getPointSize(void) const
    -[more]int getTextureSize(void) const +[more]int getTextureSize(void) const
    -[more]const std::string& getFontName() const +[more]const std::string& getFontName() const
    -[more]void copyAndInvalidate(Font &dest) +[more]void copyAndInvalidate(Font &dest)
    Transfer font settings to another Font object and invalidate this one
    -[more]FTFont* getFont(void) +[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)

    @@ -102,132 +102,132 @@
    - +
    o Font()

    - -

    o Font(const Font& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) + +
    o Font(const Font& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)

    - +

    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, unsigned int res = 72 )

    - +

    ovirtual bool create(osg::State& state)

    - -

    ovirtual void output(osg::State& state, const char* text) const + +
    ovirtual void output(osg::State& state, const EncodedText* text) const

    - +

    ovirtual bool isOk(void) const

    - +

    ovirtual bool isCreated(void) const

    - -

    ovirtual float getWidth(const char* text) const + +
    ovirtual float getWidth(const EncodedText* 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() 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/General.html b/doc/doc++/osgText/General.html index af93c6a19..6e41b37c1 100644 --- a/doc/doc++/osgText/General.html +++ b/doc/doc++/osgText/General.html @@ -3,13 +3,16 @@ General Bits - +
    +o#define +OSGTEXT_ENCODEDTEXT
    + o#define OSGTEXT_EXPORT_
    diff --git a/doc/doc++/osgText/HIER.html b/doc/doc++/osgText/HIER.html index 4364f416c..81abe771e 100644 --- a/doc/doc++/osgText/HIER.html +++ b/doc/doc++/osgText/HIER.html @@ -3,12 +3,13 @@ Hierarchy of Classes - +

    Hierarchy of Classes

      +
    • osgText::EncodedText
    • osgText::Font
      • osgText::RasterFont
          diff --git a/doc/doc++/osgText/HIERjava.html b/doc/doc++/osgText/HIERjava.html index fcf8fe86b..bee9a7b99 100644 --- a/doc/doc++/osgText/HIERjava.html +++ b/doc/doc++/osgText/HIERjava.html @@ -3,11 +3,18 @@ Hierarchy of Classes - +

          Hierarchy of classes

            + + + + + + + diff --git a/doc/doc++/osgText/META_Font.html b/doc/doc++/osgText/META_Font.html index 652d1014c..1556e259e 100644 --- a/doc/doc++/osgText/META_Font.html +++ b/doc/doc++/osgText/META_Font.html @@ -3,7 +3,7 @@ #define osgText::META_Font - + diff --git a/doc/doc++/osgText/OutlineFont.html b/doc/doc++/osgText/OutlineFont.html index 91c5499ed..7394a3d66 100644 --- a/doc/doc++/osgText/OutlineFont.html +++ b/doc/doc++/osgText/OutlineFont.html @@ -3,7 +3,7 @@ class OSGTEXT_EXPORT osgText::OutlineFont - + @@ -22,18 +22,18 @@

            Public Methods

            -[more] OutlineFont() +[more] OutlineFont()
            -[more] OutlineFont(const OutlineFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) +[more] OutlineFont(const OutlineFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
            -[more] OutlineFont(const std::string& font, int point_size, double precision) +[more] OutlineFont(const std::string& font, int point_size, double precision)
            -[more] META_Font(osgText, OutlineFont) +[more] META_Font(osgText, OutlineFont)

            Protected Methods

            -[more]virtual FTFont* createFontObj(void) +[more]virtual FTFont* createFontObj(void)

            @@ -66,13 +66,13 @@
            ovirtual bool create(osg::State& state)
            -ovirtual void output(osg::State& state, const char* text) const +ovirtual void output(osg::State& state, const EncodedText* text) const
            ovirtual bool isOk(void) const
            ovirtual bool isCreated(void) const
            -ovirtual float getWidth(const char* text) const +ovirtual float getWidth(const EncodedText* text) const
            ovirtual int getHeight() const
            @@ -123,23 +123,23 @@
            - +
            o OutlineFont()

            - -

            o OutlineFont(const OutlineFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) + +
            o OutlineFont(const OutlineFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)

            - +

            o OutlineFont(const std::string& font, int point_size, double precision)

            - +

            o META_Font(osgText, OutlineFont)

            - +

            ovirtual FTFont* createFontObj(void)

            diff --git a/doc/doc++/osgText/Paragraph.html b/doc/doc++/osgText/Paragraph.html index 9d248cea4..008c33332 100644 --- a/doc/doc++/osgText/Paragraph.html +++ b/doc/doc++/osgText/Paragraph.html @@ -3,7 +3,7 @@ class OSGTEXT_EXPORT osgText::Paragraph - + @@ -22,59 +22,59 @@

            Public Methods

            -[more] Paragraph() +[more] Paragraph()
            -[more] Paragraph(const Paragraph& paragraph, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) +[more] Paragraph(const Paragraph& paragraph, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
            -[more] Paragraph(const osg::Vec3& position, const std::string& text, osgText::Font* font) +[more] Paragraph(const osg::Vec3& position, const std::string& text, osgText::Font* font)
            -[more]META_Node (osgText, Paragraph)(osgText::Font* font) +[more]META_Node (osgText, Paragraph)(osgText::Font* font)
            -[more]osgText::Font* getFont() +[more]osgText::Font* getFont()
            -[more]const osgText::Font* getFont() const +[more]const osgText::Font* getFont() const
            -[more]void setMaximumNoCharactersPerLine(unsigned int maxCharsPerLine) +[more]void setMaximumNoCharactersPerLine(unsigned int maxCharsPerLine)
            -[more]unsigned int getMaximumNoCharactersPerLine() const +[more]unsigned int getMaximumNoCharactersPerLine() const
            -[more]void setText(const std::string& text) +[more]void setText(const std::string& text)
            -[more]std::string& getText() +[more]std::string& getText()
            -[more]const std::string& getText() const +[more]const std::string& getText() const
            -[more]void setPosition(const osg::Vec3& position) +[more]void setPosition(const osg::Vec3& position)
            -[more]const osg::Vec3& getPosition() const +[more]const osg::Vec3& getPosition() const
            -[more]void setAlignment(int alignment) +[more]void setAlignment(int alignment)
            -[more]int getAlignment() const +[more]int getAlignment() const
            -[more]float getHeight() const +[more]float getHeight() const
            -[more]static bool createFormatedText(unsigned int noCharsPerLine, const std::string& str, std::vector<std::string>& formatedText) +[more]static bool createFormatedText(unsigned int noCharsPerLine, const std::string& str, std::vector<std::string>& formatedText)

            Protected Fields

            -[more]osg::Vec3 _position +[more]osg::Vec3 _position
            -[more]std::string _text +[more]std::string _text
            -[more]osg::ref_ptr<osgText::Font> _font +[more]osg::ref_ptr<osgText::Font> _font
            -[more]int _alignment +[more]int _alignment
            -[more]unsigned int _maxCharsPerLine +[more]unsigned int _maxCharsPerLine

            Protected Methods

            -[more]virtual ~Paragraph() +[more]virtual ~Paragraph()
            -[more]void createDrawables() +[more]void createDrawables()

            @@ -85,99 +85,99 @@
            - +
            o Paragraph()

            - -

            o Paragraph(const Paragraph& paragraph, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) + +
            o Paragraph(const Paragraph& paragraph, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)

            - +

            o Paragraph(const osg::Vec3& position, const std::string& text, osgText::Font* font)

            - +

            oMETA_Node (osgText, Paragraph)(osgText::Font* font)

            - +

            oosgText::Font* getFont()

            - +

            oconst osgText::Font* getFont() const

            - +

            ovoid setMaximumNoCharactersPerLine(unsigned int maxCharsPerLine)

            - +

            ounsigned int getMaximumNoCharactersPerLine() const

            - +

            ovoid setText(const std::string& text)

            - +

            ostd::string& getText()

            - +

            oconst std::string& getText() const

            - +

            ovoid setPosition(const osg::Vec3& position)

            - +

            oconst osg::Vec3& getPosition() const

            - +

            ovoid setAlignment(int alignment)

            - +

            oint getAlignment() const

            - +

            ofloat getHeight() const

            - +

            ostatic bool createFormatedText(unsigned int noCharsPerLine, const std::string& str, std::vector<std::string>& formatedText)

            - +

            ovirtual ~Paragraph()

            - +

            ovoid createDrawables()

            - +

            oosg::Vec3 _position

            - +

            ostd::string _text

            - +

            oosg::ref_ptr<osgText::Font> _font

            - +

            oint _alignment

            - +

            ounsigned int _maxCharsPerLine

            diff --git a/doc/doc++/osgText/PixmapFont.html b/doc/doc++/osgText/PixmapFont.html index 87463982c..7e812a19d 100644 --- a/doc/doc++/osgText/PixmapFont.html +++ b/doc/doc++/osgText/PixmapFont.html @@ -3,7 +3,7 @@ class OSGTEXT_EXPORT osgText::PixmapFont - + @@ -22,18 +22,18 @@

            Public Methods

            -[more] PixmapFont() +[more] PixmapFont()
            -[more] PixmapFont(const PixmapFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) +[more] PixmapFont(const PixmapFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
            -[more] PixmapFont(const std::string& font, int point_size) +[more] PixmapFont(const std::string& font, int point_size)
            -[more] META_Font(osgText, PixmapFont) +[more] META_Font(osgText, PixmapFont)

            Protected Methods

            -[more]virtual FTFont* createFontObj(void) +[more]virtual FTFont* createFontObj(void)

            @@ -61,13 +61,13 @@
            ovirtual bool create(osg::State& state)
            -ovirtual void output(osg::State& state, const char* text) const +ovirtual void output(osg::State& state, const EncodedText* text) const
            ovirtual bool isOk(void) const
            ovirtual bool isCreated(void) const
            -ovirtual float getWidth(const char* text) const +ovirtual float getWidth(const EncodedText* text) const
            ovirtual int getHeight() const
            @@ -118,23 +118,23 @@
            - +
            o PixmapFont()

            - -

            o PixmapFont(const PixmapFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) + +
            o PixmapFont(const PixmapFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)

            - +

            o PixmapFont(const std::string& font, int point_size)

            - +

            o META_Font(osgText, PixmapFont)

            - +

            ovirtual FTFont* createFontObj(void)

            diff --git a/doc/doc++/osgText/PolygonFont.html b/doc/doc++/osgText/PolygonFont.html index 4a2de3d19..34cf9ff5c 100644 --- a/doc/doc++/osgText/PolygonFont.html +++ b/doc/doc++/osgText/PolygonFont.html @@ -3,7 +3,7 @@ class OSGTEXT_EXPORT osgText::PolygonFont - + @@ -22,20 +22,20 @@

            Public Methods

            -[more] PolygonFont() +[more] PolygonFont()
            -[more] PolygonFont(const PolygonFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) +[more] PolygonFont(const PolygonFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
            -[more] PolygonFont(const std::string& font, int point_size, double precision) +[more] PolygonFont(const std::string& font, int point_size, double precision)
            -[more] PolygonFont(const char* font, int point_size, double precision) +[more] PolygonFont(const char* font, int point_size, double precision)
            -[more] META_Font(osgText, PolygonFont) +[more] META_Font(osgText, PolygonFont)

            Protected Methods

            -[more]virtual FTFont* createFontObj(void) +[more]virtual FTFont* createFontObj(void)

            @@ -68,13 +68,13 @@
            ovirtual bool create(osg::State& state)
            -ovirtual void output(osg::State& state, const char* text) const +ovirtual void output(osg::State& state, const EncodedText* text) const
            ovirtual bool isOk(void) const
            ovirtual bool isCreated(void) const
            -ovirtual float getWidth(const char* text) const +ovirtual float getWidth(const EncodedText* text) const
            ovirtual int getHeight() const
            @@ -125,27 +125,27 @@
            - +
            o PolygonFont()

            - -

            o PolygonFont(const PolygonFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) + +
            o PolygonFont(const PolygonFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)

            - +

            o PolygonFont(const std::string& font, int point_size, double precision)

            - +

            o PolygonFont(const char* font, int point_size, double precision)

            - +

            o META_Font(osgText, PolygonFont)

            - +

            ovirtual FTFont* createFontObj(void)

            diff --git a/doc/doc++/osgText/RasterFont.html b/doc/doc++/osgText/RasterFont.html index b4b132c63..4bf72f38f 100644 --- a/doc/doc++/osgText/RasterFont.html +++ b/doc/doc++/osgText/RasterFont.html @@ -3,7 +3,7 @@ class OSGTEXT_EXPORT osgText::RasterFont - + @@ -22,17 +22,17 @@

            Public Methods

            -[more] RasterFont() +[more] RasterFont()
            -[more] RasterFont(const RasterFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) +[more] RasterFont(const RasterFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
            -[more] RasterFont(const std::string& ) +[more] RasterFont(const std::string& )
            -[more]virtual bool isSameKindAs(const osg::Object* obj) const +[more]virtual bool isSameKindAs(const osg::Object* obj) const
            -[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
            -[more]virtual const char* className() const +[more]virtual const char* className() const

            @@ -48,13 +48,13 @@
            ovirtual bool create(osg::State& state)
            -ovirtual void output(osg::State& state, const char* text) const +ovirtual void output(osg::State& state, const EncodedText* text) const
            ovirtual bool isOk(void) const
            ovirtual bool isCreated(void) const
            -ovirtual float getWidth(const char* text) const +ovirtual float getWidth(const EncodedText* text) const
            ovirtual int getHeight() const
            @@ -107,27 +107,27 @@
            - +
            o RasterFont()

            - -

            o RasterFont(const RasterFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) + +
            o RasterFont(const RasterFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)

            - +

            o RasterFont(const std::string& )

            - +

            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 11f5f4a7c..44268d29e 100644 --- a/doc/doc++/osgText/Text.html +++ b/doc/doc++/osgText/Text.html @@ -3,7 +3,7 @@ class OSGTEXT_EXPORT osgText::Text - + @@ -22,119 +22,140 @@

            Public Methods

            -[more] Text() +[more] Text()
            -[more] Text(const Text& text, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) +[more] Text(const Text& text, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
            -[more] Text(Font* font) +[more] Text(Font* font)
            -[more]virtual osg::Object* cloneType() const +[more]virtual osg::Object* cloneType() const
            -[more]virtual osg::Object* clone(const osg::CopyOp& copyop) const +[more]virtual osg::Object* clone(const osg::CopyOp& 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 const char* libraryName() const +[more]virtual const char* libraryName() const
            -[more]void setPosition(const osg::Vec2& pos) +[more]void setPosition(const osg::Vec2& pos)
            -[more]void setPosition(const osg::Vec3& pos) +[more]void setPosition(const osg::Vec3& pos)
            -[more]const osg::Vec3& getPosition() const +[more]const osg::Vec3& getPosition() const
            -[more]void setColor(const osg::Vec4& color) +[more]void setColor(const osg::Vec4& color)
            -[more]osg::Vec4& getColor() +[more]osg::Vec4& getColor()
            -[more]const osg::Vec4& getColor() const +[more]const osg::Vec4& getColor() const
            -[more]void setDrawMode(int mode) +[more]void setDrawMode(int mode)
            -[more]int getDrawMode() const +[more]int getDrawMode() const
            -[more]void setBoundingBox(int mode) +[more]void setBoundingBox(int mode)
            -[more]int getBoundingBox() const +[more]int getBoundingBox() const
            -[more]void setAlignment(int alignment) +[more]void setAlignment(int alignment)
            -[more]int getAlignment() const +[more]int getAlignment() const
            -[more]void setFont(Font* font) +[more]void setAxisAlignment(AxisAlignment axis)
            -[more]Font* getFont() +[more]AxisAlignment getAxisAlignment() const
            -[more]const Font* getFont() const +[more]void setFont(Font* font)
            -[more]void setText(const char* text) +[more]Font* getFont()
            -[more]void setText(const std::string& text) +[more]const Font* getFont() const
            -[more]const std::string& getText() const +[more]void setText(const char* text)
            -[more]virtual void drawImplementation(osg::State& state) const +[more]void setText(const std::string& text)
            -[more]virtual void drawBoundingBox(void) const +[more]const std::string& getText() const
            -[more]virtual void drawAlignment(void) const +[more]virtual bool supports(PrimitiveFunctor& pf) const
            -[more]const osg::Vec3& getAlignmentPos() const +[more]virtual void accept(PrimitiveFunctor& pf) const +
            +[more]virtual void drawImplementation(osg::State& state) const +
            +[more]virtual void drawBoundingBox(void) const +
            +[more]virtual void drawAlignment(void) const +
            +[more]const osg::Vec3& getAlignmentPos() const +
            +[more]void setEncodedText(EncodedText* encodedText) +
            +[more]const EncodedText* getEncodedText() const +
            +[more]virtual void compile(osg::State& state) const +
            override the compile to set up the alignment etc

            Public Members

            -[more]enum AlignmentType +[more]enum AlignmentType
            -[more]enum BoundingBoxType +[more]enum BoundingBoxType
            -[more]enum DrawModeType +[more]enum DrawModeType +
            +[more]enum AxisAlignment

            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]AxisAlignment _axisAlignment
            -[more]osg::Vec3 _alignmentPos +[more]osg::ref_ptr<EncodedText> _encodedText
            -[more]osg::Vec4 _color +[more]osg::Vec3 _pos +
            +[more]osg::Vec3 _alignmentPos +
            +[more]osg::Vec4 _color

            Protected Methods

            -[more]virtual ~Text() +[more]virtual ~Text()
            -[more]virtual void setDefaults(void) +[more]virtual void setDefaults(void)
            -[more]virtual bool computeBound(void) const +[more]virtual 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

            @@ -145,299 +166,354 @@
            - +
            oenum AlignmentType

            - +
            o LEFT_TOP

            - +

            o LEFT_CENTER

            - +

            o LEFT_BOTTOM

            - +

            o CENTER_TOP

            - +

            o CENTER_CENTER

            - +

            o CENTER_BOTTOM

            - +

            o RIGHT_TOP

            - +

            o RIGHT_CENTER

            - +

            o RIGHT_BOTTOM

            - +
            oenum BoundingBoxType

            - +
            o GEOMETRY

            - +

            o GLYPH

            - +
            oenum DrawModeType

            - +
            o TEXT

            - +

            o BOUNDINGBOX

            - +

            o ALIGNMENT

            - +

            o DEFAULT

            + + +
            oenum AxisAlignment +

            + + + +
            o XY_PLANE +

            + + +

            o XZ_PLANE +

            + + +

            o YZ_PLANE +

            + - +
            o Text()

            - -

            o Text(const Text& text, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) + +
            o Text(const Text& text, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)

            - +

            o Text(Font* font)

            - +

            ovirtual osg::Object* cloneType() const

            - +

            ovirtual osg::Object* clone(const osg::CopyOp& copyop) const

            - +

            ovirtual bool isSameKindAs(const osg::Object* obj) const

            - +

            ovirtual const char* className() const

            - +

            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 setAxisAlignment(AxisAlignment axis) +

            + + +

            oAxisAlignment getAxisAlignment() 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 bool supports(PrimitiveFunctor& pf) const +

            + + +

            ovirtual void accept(PrimitiveFunctor& pf) const +

            - +

            ovirtual void drawImplementation(osg::State& state) const

            - +

            ovirtual void drawBoundingBox(void) const

            - +

            ovirtual void drawAlignment(void) const

            - +

            oconst osg::Vec3& getAlignmentPos() const

            + + +

            ovoid setEncodedText(EncodedText* encodedText) +

            + + +

            oconst EncodedText* getEncodedText() const +

            + + +

            ovirtual void compile(osg::State& state) const +
            override the compile to set up the alignment etc +

            - +

            oenum FontType

            - +
            o UNDEF

            - +

            o BITMAP

            - +

            o PIXMAP

            - +

            o OUTLINE

            - +

            o POLYGON

            - +

            o TEXTURE

            - +
            ovirtual ~Text()

            - +

            ovirtual void setDefaults(void)

            - +

            ovirtual 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

            + + +

            oAxisAlignment _axisAlignment +

            + + +

            oosg::ref_ptr<EncodedText> _encodedText +

            - +

            oosg::Vec3 _pos

            - +

            oosg::Vec3 _alignmentPos

            - +

            oosg::Vec4 _color

            diff --git a/doc/doc++/osgText/TextureFont.html b/doc/doc++/osgText/TextureFont.html index e09aaa6eb..264347c77 100644 --- a/doc/doc++/osgText/TextureFont.html +++ b/doc/doc++/osgText/TextureFont.html @@ -3,7 +3,7 @@ class OSGTEXT_EXPORT osgText::TextureFont - + @@ -22,20 +22,20 @@

            Public Methods

            -[more] TextureFont() +[more] TextureFont()
            -[more] TextureFont(const TextureFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) +[more] TextureFont(const TextureFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
            -[more] TextureFont(const std::string& font, int point_size) +[more] TextureFont(const std::string& font, int point_size)
            -[more] TextureFont(const std::string& font, int point_size, int textureSize ) +[more] TextureFont(const std::string& font, int point_size, int textureSize )
            -[more] META_Font(osgText, TextureFont) +[more] META_Font(osgText, TextureFont)

            Protected Methods

            -[more]virtual FTFont* createFontObj(void) +[more]virtual FTFont* createFontObj(void)

            @@ -63,13 +63,13 @@
            ovirtual bool create(osg::State& state)
            -ovirtual void output(osg::State& state, const char* text) const +ovirtual void output(osg::State& state, const EncodedText* text) const
            ovirtual bool isOk(void) const
            ovirtual bool isCreated(void) const
            -ovirtual float getWidth(const char* text) const +ovirtual float getWidth(const EncodedText* text) const
            ovirtual int getHeight() const
            @@ -120,27 +120,27 @@
            - +
            o TextureFont()

            - -

            o TextureFont(const TextureFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) + +
            o TextureFont(const TextureFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)

            - +

            o TextureFont(const std::string& font, int point_size)

            - +

            o TextureFont(const std::string& font, int point_size, int textureSize )

            - +

            o META_Font(osgText, TextureFont)

            - +

            ovirtual FTFont* createFontObj(void)

            diff --git a/doc/doc++/osgText/VectorFont.html b/doc/doc++/osgText/VectorFont.html index 0c6f29662..5e8df7e6c 100644 --- a/doc/doc++/osgText/VectorFont.html +++ b/doc/doc++/osgText/VectorFont.html @@ -3,7 +3,7 @@ class OSGTEXT_EXPORT osgText::VectorFont - + @@ -22,22 +22,22 @@

            Public Methods

            -[more] VectorFont() +[more] VectorFont()
            -[more] VectorFont(const VectorFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) +[more] VectorFont(const VectorFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
            -[more] VectorFont(const std::string& ) +[more] VectorFont(const std::string& )
            -[more]virtual bool isSameKindAs(const osg::Object* obj) const +[more]virtual bool isSameKindAs(const osg::Object* obj) const
            -[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
            -[more]virtual const char* className() const +[more]virtual const char* className() const

            Protected Fields

            -[more]double _precision +[more]double _precision

            @@ -53,13 +53,13 @@
            ovirtual bool create(osg::State& state)
            -ovirtual void output(osg::State& state, const char* text) const +ovirtual void output(osg::State& state, const EncodedText* text) const
            ovirtual bool isOk(void) const
            ovirtual bool isCreated(void) const
            -ovirtual float getWidth(const char* text) const +ovirtual float getWidth(const EncodedText* text) const
            ovirtual int getHeight() const
            @@ -112,31 +112,31 @@
            - +
            o VectorFont()

            - -

            o VectorFont(const VectorFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) + +
            o VectorFont(const VectorFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)

            - +

            o VectorFont(const std::string& )

            - +

            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/index.html b/doc/doc++/osgText/index.html index 46a5033ed..32221520b 100644 --- a/doc/doc++/osgText/index.html +++ b/doc/doc++/osgText/index.html @@ -3,7 +3,7 @@ Table of Contents - + @@ -19,6 +19,7 @@

            Macros