OpenSceneGraph API
osg.AlphaFuncosg.AnimationPathosg.AnimationPathCallbackosg.ApplicationUsageosg.ApplicationUsageProxyosg.ArgumentParserosg.Arrayosg.ArrayVisitorosg.AtomicCounterBufferBindingosg.AtomicCounterBufferObjectosg.AttributeDispatchosg.AttributeDispatchersosg.AttributeFunctorArrayVisitorosg.AudioSinkosg.AudioStreamosg.AutoTransformosg.BarrierOperationosg.Billboardosg.BindImageTextureosg.BlendColorosg.BlendEquationosg.BlendEquationiosg.BlendFuncosg.BlendFunciosg.BlockAndFlushOperationosg.BoundingBoxImplosg.BoundingSphereImplosg.Boxosg.BufferDataosg.buffered_objectosg.buffered_valueosg.BufferIndexBindingosg.BufferObjectosg.BufferObjectProfileosg.BufferTemplateosg.BuildShapeGeometryVisitorosg.Callbackosg.CallbackObjectosg.Cameraosg.CameraRenderOrderSortOposg.CameraViewosg.Capabilityosg.Capabilityiosg.Capsuleosg.CastAndScaleToFloatOperationosg.ClampColorosg.ClampedLinearCostFunction1Dosg.ClearNodeosg.ClipControlosg.ClipNodeosg.ClipPlaneosg.ClusterCullingCallbackosg.CollectOccludersVisitorosg.ColorMaskosg.ColorMaskiosg.ColorMatrixosg.CompositeShapeosg.ComputeBoundsVisitorosg.Coneosg.ConfigureBufferObjectsVisitorosg.ConstArrayVisitorosg.ConstAttributeFunctorArrayVisitorosg.ConstShapeVisitorosg.ConstValueVisitorosg.ContextDataosg.ConvexHullosg.ConvexPlanarOccluderosg.ConvexPlanarPolygonosg.CoordinateSystemNodeosg.CopyOposg.CullFaceosg.CullingSetosg.CullSettingsosg.CullStackosg.Cylinderosg.DefaultIndirectCommandDrawArraysosg.DefaultIndirectCommandDrawElementsosg.DefaultUserDataContainerosg.DeleteHandlerosg.depends_onosg.Depthosg.DepthRangeIndexedosg.Disableiosg.DispatchComputeosg.DisplaySettingsosg.Drawableosg.DrawableCullCallbackosg.DrawableEventCallbackosg.DrawableUpdateCallbackosg.DrawArrayLengthsosg.DrawArraysosg.DrawArraysIndirectosg.DrawArraysIndirectCommandosg.DrawElementsosg.DrawElementsIndirectosg.DrawElementsIndirectCommandosg.DrawElementsIndirectUByteosg.DrawElementsIndirectUIntosg.DrawElementsIndirectUShortosg.DrawElementsUByteosg.DrawElementsUIntosg.DrawElementsUShortosg.DrawIndirectBufferObjectosg.DrawPixelsosg.DummyObjectosg.ElapsedTimeosg.ElementBufferObjectosg.EllipsoidModelosg.Enableiosg.EndOfDynamicDrawBlockosg.fast_back_stackosg.FlushDeletedGLObjectsOperationosg.Fogosg.FragmentProgramosg.FrameBufferAttachmentosg.FrameBufferObjectosg.FrameStamposg.FrontFaceosg.Geodeosg.Geometryosg.GeometryCostEstimatorosg.GetScalarValueosg.GLBufferObjectosg.GLBufferObjectManagerosg.GLBufferObjectSetosg.GLExtensionsosg.GLFrameBufferObjectManagerosg.GLObjectManagerosg.GLRenderBufferManagerosg.GraphicsContextosg.GraphicsCostEstimatorosg.GraphicsObjectosg.GraphicsObjectManagerosg.GraphicsOperationosg.GraphicsThreadosg.Grouposg.HeightFieldosg.Hintosg.Identifierosg.Imageosg.ImageSequenceosg.ImageStreamosg.IndexArrayosg.IndirectCommandDrawArraysosg.IndirectCommandDrawElementsosg.InfinitePlaneosg.KdTreeosg.KdTreeBuilderosg.Lightosg.LightModelosg.LightSourceosg.LineSegmentosg.LineStippleosg.LineWidthosg.LODosg.LogicOposg.MakeStringosg.Materialosg.Matrix2Templateosg.Matrix2x3Templateosg.Matrix2x4Templateosg.Matrix3Templateosg.Matrix3x2Templateosg.Matrix3x4Templateosg.Matrix4x2Templateosg.Matrix4x3Templateosg.Matrixdosg.Matrixfosg.MatrixTransformosg.MixinVectorosg.MultiDrawArraysosg.MultiDrawArraysIndirectosg.MultiDrawElementsIndirectUByteosg.MultiDrawElementsIndirectUIntosg.MultiDrawElementsIndirectUShortosg.Multisampleosg.Nodeosg.NodeAcceptOposg.NodeCallbackosg.NodeTrackerCallbackosg.NodeVisitorosg.NotifyHandlerosg.Objectosg.Observerosg.observer_ptrosg.ObserverNodePathosg.ObserverSetosg.OccluderNodeosg.OcclusionQueryNodeosg.Operationosg.OperationQueueosg.OperationThreadosg.PagedLODosg.PatchParameterosg.PixelBufferObjectosg.PixelDataBufferObjectosg.PixelStorageModesosg.Planeosg.Pointosg.PointSpriteosg.PolygonModeosg.PolygonOffsetosg.PolygonStippleosg.Polytopeosg.PositionAttitudeTransformosg.PrimitiveFunctorosg.PrimitiveIndexFunctorosg.PrimitiveRestartIndexosg.PrimitiveSetosg.Programosg.ProgramCostEstimatorosg.Projectionosg.ProxyNodeosg.PushPopObjectosg.PushPopValueosg.Quatosg.QueryGeometryosg.ref_ptrosg.RefBlockosg.RefBlockCountosg.Referencedosg.RefMatrixdosg.RefMatrixfosg.ReleaseContext_Block_MakeCurrentOperationosg.RenderBufferosg.RenderInfoosg.RunOperationsosg.SampleMaskiosg.Samplerosg.Scissorosg.ScissorIndexedosg.Scriptosg.ScriptEngineosg.ScriptNodeCallbackosg.Sequenceosg.SetScalarValueosg.ShadeModelosg.Shaderosg.ShaderAttributeosg.ShaderBinaryosg.ShaderComponentosg.ShaderComposerosg.ShaderPragmasosg.ShaderStorageBufferBindingosg.ShaderStorageBufferObjectosg.ShadowVolumeOccluderosg.Shapeosg.ShapeDrawableosg.ShapeVisitorosg.Sphereosg.StandardNotifyHandlerosg.Stateosg.StateAttributeosg.StateAttributeCallbackosg.StateSetosg.Statsosg.Stencilosg.StencilTwoSidedosg.SwapBuffersOperationosg.Switchosg.SyncSwapBuffersCallbackosg.TemplateArrayosg.TemplateArrayUniformosg.TemplateIndexArrayosg.TemplateMatrixosg.TemplatePrimitiveFunctorosg.TemplatePrimitiveIndexFunctorosg.TemplateUniformosg.TemplateValueObjectosg.TessellationHintsosg.TestResultosg.TexEnvosg.TexEnvCombineosg.TexEnvFilterosg.TexGenosg.TexGenNodeosg.TexMatosg.Textureosg.Texture1Dosg.Texture2Dosg.Texture2DArrayosg.Texture2DMultisampleosg.Texture3Dosg.TextureAttributeosg.TextureBufferosg.TextureCostEstimatorosg.TextureCubeMaposg.TextureObjectManagerosg.TextureObjectSetosg.TextureRectangleosg.Timerosg.TransferFunctionosg.TransferFunction1Dosg.Transformosg.TransformFeedbackBufferBindingosg.TriangleFunctorosg.TriangleIndexFunctorosg.TriangleLinePointIndexFunctorosg.TriangleMeshosg.UniformBaseosg.UniformBufferBindingosg.UniformBufferObjectosg.UniformCallbackosg.UniformClassNameTraitosg.UserDataContainerosg.ValueMaposg.ValueObjectosg.ValueObjectClassNameTraitosg.ValueStackosg.ValueVisitorosg.Vec2bosg.Vec2dosg.Vec2fosg.Vec2iosg.Vec2sosg.Vec2ubosg.Vec2uiosg.Vec2usosg.Vec3bosg.Vec3dosg.Vec3fosg.Vec3iosg.Vec3sosg.Vec3ubosg.Vec3uiosg.Vec3usosg.Vec4bosg.Vec4dosg.Vec4fosg.Vec4iosg.Vec4sosg.Vec4ubosg.Vec4uiosg.Vec4usosg.VertexArrayStateosg.VertexArrayStateListosg.VertexAttribAliasosg.VertexAttribDivisorosg.VertexBufferObjectosg.VertexProgramosg.Viewosg.Viewportosg.ViewportIndexedosg.WindowingSystemInterfaceProxyosgAnimation.ActionosgAnimation.ActionAnimationosgAnimation.ActionBlendInosgAnimation.ActionBlendOutosgAnimation.ActionStripAnimationosgAnimation.ActionVisitorosgAnimation.AnimationosgAnimation.AnimationManagerBaseosgAnimation.AnimationUpdateCallbackosgAnimation.AnimationUpdateCallbackBaseosgAnimation.BasicAnimationManagerosgAnimation.BoneosgAnimation.BoneMapVisitorosgAnimation.ChannelosgAnimation.ClearActionVisitorosgAnimation.CompositeMotionosgAnimation.InBackFunctionosgAnimation.InBounceFunctionosgAnimation.InCircFunctionosgAnimation.InCubicFunctionosgAnimation.InElasticFunctionosgAnimation.InExpoFunctionosgAnimation.InOutBackFunctionosgAnimation.InOutBounceFunctionosgAnimation.InOutCircFunctionosgAnimation.InOutCubicFunctionosgAnimation.InOutElasticFunctionosgAnimation.InOutExpoFunctionosgAnimation.InOutQuadFunctionosgAnimation.InOutQuartFunctionosgAnimation.InOutSineFunctionosgAnimation.InQuadFunctionosgAnimation.InQuartFunctionosgAnimation.InSineFunctionosgAnimation.KeyframeosgAnimation.KeyframeContainerosgAnimation.LinearFunctionosgAnimation.LinkVisitorosgAnimation.MathMotionTemplateosgAnimation.MorphGeometryosgAnimation.MorphTransformosgAnimation.MorphTransformHardwareosgAnimation.MorphTransformSoftwareosgAnimation.MotionosgAnimation.OutBackFunctionosgAnimation.OutBounceFunctionosgAnimation.OutCircFunctionosgAnimation.OutCubicFunctionosgAnimation.OutElasticFunctionosgAnimation.OutExpoFunctionosgAnimation.OutQuadFunctionosgAnimation.OutQuartFunctionosgAnimation.OutSineFunctionosgAnimation.RigComputeBoundingBoxCallbackosgAnimation.RigGeometryosgAnimation.RigTransformosgAnimation.RigTransformHardwareosgAnimation.RigTransformSoftwareosgAnimation.RunActionosgAnimation.SamplerosgAnimation.SamplerMotionTemplateosgAnimation.SkeletonosgAnimation.StackedMatrixElementosgAnimation.StackedQuaternionElementosgAnimation.StackedRotateAxisElementosgAnimation.StackedScaleElementosgAnimation.StackedTransformosgAnimation.StackedTransformElementosgAnimation.StackedTranslateElementosgAnimation.StatsActionVisitorosgAnimation.StatsHandlerosgAnimation.TargetosgAnimation.TemplateChannelosgAnimation.TemplateCompositeSamplerosgAnimation.TemplateCubicBezierosgAnimation.TemplateCubicBezierInterpolatorosgAnimation.TemplateInterpolatorBaseosgAnimation.TemplateKeyframeosgAnimation.TemplateKeyframeContainerosgAnimation.TemplateLinearInterpolatorosgAnimation.TemplateLinearPackedInterpolatorosgAnimation.TemplateSamplerosgAnimation.TemplateSphericalLinearInterpolatorosgAnimation.TemplateStepInterpolatorosgAnimation.TemplateTargetosgAnimation.TimelineosgAnimation.TimelineAnimationManagerosgAnimation.UpdateActionVisitorosgAnimation.UpdateBoneosgAnimation.UpdateFloatUniformosgAnimation.UpdateMaterialosgAnimation.UpdateMatrixfUniformosgAnimation.UpdateMatrixTransformosgAnimation.UpdateMorphosgAnimation.UpdateMorphGeometryosgAnimation.UpdateRigGeometryosgAnimation.UpdateUniformosgAnimation.UpdateVec2fUniformosgAnimation.UpdateVec3fUniformosgAnimation.UpdateVec4fUniformosgAnimation.Vec3ArrayPackedosgAnimation.Vec3PackedosgAnimation.VertexInfluenceosgAnimation.VertexInfluenceMaposgDB.ArchiveosgDB.AuthenticationDetailsosgDB.AuthenticationMaposgDB.base64_decodestateosgDB.base64_encodestateosgDB.Base64decoderosgDB.Base64encoderosgDB.BaseCompressorosgDB.BaseSerializerosgDB.basic_type_wrapperosgDB.BitFlagsSerializerosgDB.ClassInterfaceosgDB.DatabasePagerosgDB.DatabaseRevisionosgDB.DatabaseRevisionsosgDB.DeprecatedDotOsgWrapperManagerosgDB.DotOsgWrapperosgDB.DynamicLibraryosgDB.EnumSerializerosgDB.ExternalFileWriterosgDB.FieldosgDB.FieldReaderosgDB.FieldReaderIteratorosgDB.FileCacheosgDB.FileListosgDB.FileLocationCallbackosgDB.FileNameComparatorosgDB.FindFileCallbackosgDB.FinishedObjectReadCallbackosgDB.GLenumSerializerosgDB.ifstreamosgDB.ImageOptionsosgDB.ImagePagerosgDB.ImageProcessorosgDB.ImageSerializerosgDB.InputosgDB.InputExceptionosgDB.InputIteratorosgDB.InputStreamosgDB.IntLookuposgDB.IsAVectorSerializerosgDB.ListSerializerosgDB.MapBaseSerializerosgDB.MapIteratorObjectosgDB.MapSerializerosgDB.MatrixSerializerosgDB.MethodObjectosgDB.ObjectCacheosgDB.ObjectGLenumosgDB.ObjectMarkosgDB.ObjectPropertyosgDB.ObjectSerializerosgDB.ObjectWrapperosgDB.ObjectWrapperAssociateosgDB.ObjectWrapperManagerosgDB.ofstreamosgDB.OptionsosgDB.OutputosgDB.OutputExceptionosgDB.OutputIteratorosgDB.OutputStreamosgDB.ParameterOutputosgDB.PluginFunctionProxyosgDB.PropByRefSerializerosgDB.PropByValSerializerosgDB.ReaderWriterosgDB.ReaderWriterInfoosgDB.ReadFileCallbackosgDB.RegisterCompressorProxyosgDB.RegisterCustomWrapperProxyosgDB.RegisterDotOsgWrapperProxyosgDB.RegisterImageProcessorProxyosgDB.RegisterReaderWriterProxyosgDB.RegisterWrapperProxyosgDB.RegistryosgDB.SharedStateManagerosgDB.StringSerializerosgDB.TemplateRegisterDotOsgWrapperProxyosgDB.TemplateSerializerosgDB.type_wrapperosgDB.UpdateWrapperVersionProxyosgDB.UserLookupTableProxyosgDB.UserSerializerosgDB.VectorBaseSerializerosgDB.VectorSerializerosgDB.WriteFileCallbackosgDB.XmlNodeosgFX.AnisotropicLightingosgFX.BumpMappingosgFX.CartoonosgFX.EffectosgFX.MultiTextureControlosgFX.OutlineosgFX.RegistryosgFX.ScribeosgFX.SpecularHighlightsosgFX.TechniqueosgFX.ValidatorosgGA.AnimationPathManipulatorosgGA.CameraManipulatorosgGA.CameraViewSwitchManipulatorosgGA.DeviceosgGA.DriveManipulatorosgGA.EventosgGA.EventHandlerosgGA.EventQueueosgGA.EventVisitorosgGA.FirstPersonManipulatorosgGA.FlightManipulatorosgGA.GUIActionAdapterosgGA.GUIEventAdapterosgGA.GUIEventHandlerosgGA.KeySwitchMatrixManipulatorosgGA.MultiTouchTrackballManipulatorosgGA.NodeTrackerManipulatorosgGA.OrbitManipulatorosgGA.PointerDataosgGA.SphericalManipulatorosgGA.StandardManipulatorosgGA.StateSetManipulatorosgGA.TerrainManipulatorosgGA.TrackballManipulatorosgGA.UFOManipulatorosgGA.WidgetosgManipulator.AntiSquishosgManipulator.CommandManagerosgManipulator.CompositeDraggerosgManipulator.ConstraintosgManipulator.CylinderPlaneProjectorosgManipulator.CylinderProjectorosgManipulator.DraggerosgManipulator.DraggerCallbackosgManipulator.DraggerTransformCallbackosgManipulator.GridConstraintosgManipulator.LineProjectorosgManipulator.MotionCommandosgManipulator.PlaneProjectorosgManipulator.PointerInfoosgManipulator.ProjectorosgManipulator.Rotate3DCommandosgManipulator.RotateCylinderDraggerosgManipulator.RotateSphereDraggerosgManipulator.Scale1DCommandosgManipulator.Scale1DDraggerosgManipulator.Scale2DCommandosgManipulator.Scale2DDraggerosgManipulator.ScaleAxisDraggerosgManipulator.ScaleUniformCommandosgManipulator.SpherePlaneProjectorosgManipulator.SphereProjectorosgManipulator.TabBoxDraggerosgManipulator.TabBoxTrackballDraggerosgManipulator.TabPlaneDraggerosgManipulator.TabPlaneTrackballDraggerosgManipulator.TrackballDraggerosgManipulator.Translate1DDraggerosgManipulator.Translate2DDraggerosgManipulator.TranslateAxisDraggerosgManipulator.TranslateInLineCommandosgManipulator.TranslateInPlaneCommandosgManipulator.TranslatePlaneDraggerosgParticle.AccelOperatorosgParticle.AngularAccelOperatorosgParticle.AngularDampingOperatorosgParticle.BounceOperatorosgParticle.BoxPlacerosgParticle.CenteredPlacerosgParticle.CompositePlacerosgParticle.ConnectedParticleSystemosgParticle.ConstantRateCounterosgParticle.CounterosgParticle.DampingOperatorosgParticle.DomainOperatorosgParticle.EmitterosgParticle.ExplosionDebrisEffectosgParticle.ExplosionEffectosgParticle.ExplosionOperatorosgParticle.FireEffectosgParticle.FluidFrictionOperatorosgParticle.FluidProgramosgParticle.ForceOperatorosgParticle.InterpolatorosgParticle.LinearInterpolatorosgParticle.ModularEmitterosgParticle.ModularProgramosgParticle.MultiSegmentPlacerosgParticle.OperatorosgParticle.OrbitOperatorosgParticle.ParticleosgParticle.ParticleEffectosgParticle.ParticleProcessorosgParticle.ParticleSystemosgParticle.ParticleSystemUpdaterosgParticle.PlacerosgParticle.PointPlacerosgParticle.PrecipitationEffectosgParticle.ProgramosgParticle.RadialShooterosgParticle.RandomRateCounterosgParticle.rangeosgParticle.SectorPlacerosgParticle.SegmentPlacerosgParticle.ShooterosgParticle.SinkOperatorosgParticle.SmokeEffectosgParticle.SmokeTrailEffectosgParticle.VariableRateCounterosgPresentation.ActiveOperatorsosgPresentation.AnimationMaterialosgPresentation.AnimationMaterialCallbackosgPresentation.CompileSlideCallbackosgPresentation.CursorosgPresentation.dereference_lessosgPresentation.FilePathDataosgPresentation.HomePositionosgPresentation.HUDSettingsosgPresentation.HUDTransformosgPresentation.ImageSequenceUpdateCallbackosgPresentation.JumpDataosgPresentation.KeyEventHandlerosgPresentation.KeyPositionosgPresentation.LayerAttributesosgPresentation.LayerCallbackosgPresentation.ObjectOperatorosgPresentation.PickEventHandlerosgPresentation.PropertyAnimationosgPresentation.PropertyEventCallbackosgPresentation.PropertyManagerosgPresentation.PropertyReaderosgPresentation.SlideEventHandlerosgPresentation.SlideShowConstructorosgPresentation.TimeoutosgShadow.ConvexPolyhedronosgShadow.DebugShadowMaposgShadow.LightSpacePerspectiveShadowMapAlgorithmosgShadow.LightSpacePerspectiveShadowMapCBosgShadow.LightSpacePerspectiveShadowMapDBosgShadow.LightSpacePerspectiveShadowMapVBosgShadow.MinimalCullBoundsShadowMaposgShadow.MinimalDrawBoundsShadowMaposgShadow.MinimalShadowMaposgShadow.ParallelSplitShadowMaposgShadow.ProjectionShadowMaposgShadow.ShadowedSceneosgShadow.ShadowMaposgShadow.ShadowSettingsosgShadow.ShadowTechniqueosgShadow.ShadowTextureosgShadow.SoftShadowMaposgShadow.StandardShadowMaposgShadow.ViewDependentShadowMaposgShadow.ViewDependentShadowTechniqueosgSim.AzimElevationSectorosgSim.AzimRangeosgSim.AzimSectorosgSim.BlinkSequenceosgSim.ColorRangeosgSim.ConeSectorosgSim.DatabaseCacheReadCallbackosgSim.DirectionalSectorosgSim.DOFTransformosgSim.ElevationRangeosgSim.ElevationSectorosgSim.ElevationSliceosgSim.GeographicLocationosgSim.HeightAboveTerrainosgSim.ImpostorosgSim.ImpostorSpriteosgSim.ImpostorSpriteManagerosgSim.InsertImpostorsVisitorosgSim.LightPointosgSim.LightPointNodeosgSim.LightPointSystemosgSim.LineOfSightosgSim.MultiSwitchosgSim.ObjectRecordDataosgSim.OverlayNodeosgSim.ScalarBarosgSim.ScalarsToColorsosgSim.SectorosgSim.SequenceGrouposgSim.ShapeAttributeosgSim.ShapeAttributeListosgSim.SphereSegmentosgSim.VisibilityGrouposgTerrain.CompositeLayerosgTerrain.ContourLayerosgTerrain.DisplacementMappingTechniqueosgTerrain.GeometryPoolosgTerrain.GeometryTechniqueosgTerrain.HeightFieldDrawableosgTerrain.HeightFieldLayerosgTerrain.ImageLayerosgTerrain.LayerosgTerrain.LocatorosgTerrain.NoDataValueosgTerrain.ProxyLayerosgTerrain.SharedGeometryosgTerrain.SwitchLayerosgTerrain.TerrainosgTerrain.TerrainNeighboursosgTerrain.TerrainTechniqueosgTerrain.TerrainTileosgTerrain.TileIDosgTerrain.ValidDataOperatorosgTerrain.ValidRangeosgTerrain.WhiteListTileLoadedCallbackosgText.BevelosgText.FadeTextosgText.FontosgText.GlyphosgText.Glyph3DosgText.GlyphGeometryosgText.GlyphTextureosgText.StringosgText.StyleosgText.TextosgText.Text3DosgText.TextBaseosgText.VectorUIntosgUI.AlignmentSettingsosgUI.CloseCallbackosgUI.ColorPaletteosgUI.ComboBoxosgUI.DialogosgUI.DoubleValidatorosgUI.DragCallbackosgUI.FrameSettingsosgUI.HandleCallbackosgUI.IntValidatorosgUI.ItemosgUI.LabelosgUI.LineEditosgUI.PopuposgUI.PushButtonosgUI.StyleosgUI.TabosgUI.TabWidgetosgUI.TextSettingsosgUI.ValidatorosgUI.WidgetosgUtil.AddRangeOperatorosgUtil.BaseOptimizerVisitorosgUtil.ConvertVecosgUtil.CubeMapGeneratorosgUtil.CullVisitorosgUtil.DelaunayConstraintosgUtil.DelaunayTriangulatorosgUtil.dereference_clearosgUtil.dereference_lessosgUtil.DisplayRequirementsVisitorosgUtil.DrawElementTypeSimplifierosgUtil.DrawElementTypeSimplifierVisitorosgUtil.EdgeCollectorosgUtil.GeometryCollectorosgUtil.GLObjectsOperationosgUtil.GLObjectsVisitorosgUtil.HalfWayMapGeneratorosgUtil.HighlightMapGeneratorosgUtil.IncrementalCompileOperationosgUtil.IndexMeshVisitorosgUtil.IntersectionVisitorosgUtil.IntersectorosgUtil.IntersectorGrouposgUtil.LessDepthSortFunctorosgUtil.LineSegmentIntersectorosgUtil.MultiplyRangeOperatorosgUtil.OperationArrayFunctorosgUtil.OptimizerosgUtil.PerlinNoiseosgUtil.PlaneIntersectorosgUtil.PolytopeIntersectorosgUtil.PositionalStateContainerosgUtil.PrintVisitorosgUtil.RayIntersectorosgUtil.ReflectionMapGeneratorosgUtil.RenderBinosgUtil.RenderLeafosgUtil.RenderStageosgUtil.ReversePrimitiveFunctorosgUtil.SceneGraphBuilderosgUtil.SceneViewosgUtil.ShaderGenVisitorosgUtil.SharedArrayOptimizerosgUtil.SimplifierosgUtil.SmoothingVisitorosgUtil.StateGraphosgUtil.StateToCompileosgUtil.StatisticsosgUtil.StatsVisitorosgUtil.TangentSpaceGeneratorosgUtil.TessellatorosgUtil.TransformAttributeFunctorosgUtil.TransformCallbackosgUtil.UpdateVisitorosgUtil.VertexAccessOrderVisitorosgUtil.VertexCacheMissVisitorosgUtil.VertexCacheVisitorosgViewer.WGLosgViewer.AcrossAllScreensosgViewer.CompositeViewerosgViewer.DepthPartitionSettingsosgViewer.GraphicsHandleCarbonosgViewer.GraphicsHandleCocoaosgViewer.GraphicsHandleWin32osgViewer.GraphicsHandleX11osgViewer.GraphicsWindowosgViewer.GraphicsWindowEmbeddedosgViewer.GraphicsWindowFunctionProxyosgViewer.GraphicsWindowWin32osgViewer.GraphicsWindowX11osgViewer.HelpHandlerosgViewer.InteractiveImageHandlerosgViewer.KeystoneosgViewer.KeystoneHandlerosgViewer.LODScaleHandlerosgViewer.OpenGLQuerySupportosgViewer.PanoramicSphericalDisplayosgViewer.PixelBufferWin32osgViewer.PixelBufferX11osgViewer.RecordCameraPathHandlerosgViewer.RendererosgViewer.SceneosgViewer.ScreenCaptureHandlerosgViewer.SingleScreenosgViewer.SingleWindowosgViewer.SphericalDisplayosgViewer.StatsHandlerosgViewer.ThreadingHandlerosgViewer.ToggleSyncToVBlankHandlerosgViewer.ViewosgViewer.ViewConfigosgViewer.ViewerosgViewer.ViewerBaseosgViewer.WindowSizeHandlerosgViewer.WoWVxDisplayosgViewer.XGLAttributesosgVolume.AlphaFuncPropertyosgVolume.CollectPropertiesVisitorosgVolume.CompositeLayerosgVolume.CompositePropertyosgVolume.ExteriorTransparencyFactorPropertyosgVolume.FixedFunctionTechniqueosgVolume.ImageDetailsosgVolume.ImageLayerosgVolume.IsoSurfacePropertyosgVolume.LayerosgVolume.LightingPropertyosgVolume.LocatorosgVolume.MaximumIntensityProjectionPropertyosgVolume.MultipassTechniqueosgVolume.PropertyosgVolume.PropertyAdjustmentCallbackosgVolume.PropertyVisitorosgVolume.RayTracedTechniqueosgVolume.SampleDensityPropertyosgVolume.SampleDensityWhenMovingPropertyosgVolume.SampleRatioPropertyosgVolume.SampleRatioWhenMovingPropertyosgVolume.ScalarPropertyosgVolume.SwitchPropertyosgVolume.TexGenLocatorCallbackosgVolume.TileDataosgVolume.TileIDosgVolume.TransferFunctionPropertyosgVolume.TransformLocatorCallbackosgVolume.TransparencyPropertyosgVolume.VolumeosgVolume.VolumeSceneosgVolume.VolumeSettingsosgVolume.VolumeTechniqueosgVolume.VolumeTileosgWidget.BoxosgWidget.BrowserosgWidget.BrowserImageosgWidget.BrowserManagerosgWidget.CallbackosgWidget.CallbackInterfaceosgWidget.CameraSwitchHandlerosgWidget.CanvasosgWidget.EventosgWidget.EventInterfaceosgWidget.FrameosgWidget.FunctionCallbackosgWidget.GeometryHintsosgWidget.InputosgWidget.KeyboardHandlerosgWidget.LabelosgWidget.LuaEngineosgWidget.MouseHandlerosgWidget.NotifyWidgetosgWidget.NullWidgetosgWidget.ObjectCallbackosgWidget.PdfImageosgWidget.PdfReaderosgWidget.PythonEngineosgWidget.ResizeHandlerosgWidget.ScriptEngineosgWidget.StyleosgWidget.StyleInterfaceosgWidget.StyleManagerosgWidget.TableosgWidget.UIObjectParentosgWidget.VncClientosgWidget.VncImageosgWidget.WidgetosgWidget.WindowosgWidget.WindowManagerOpenThreads.AffinityOpenThreads.AtomicOpenThreads.AtomicPtrOpenThreads.BarrierOpenThreads.BlockOpenThreads.BlockCountOpenThreads.ConditionOpenThreads.MutexOpenThreads.ReadWriteMutexOpenThreads.ReentrantMutexOpenThreads.ReverseScopedLockOpenThreads.ReverseScopedPointerLockOpenThreads.ScopedLockOpenThreads.ScopedPointerLockOpenThreads.ScopedReadLockOpenThreads.ScopedWriteLockOpenThreads.Thread

osgManipulator.PointerInfo

参考资料:OpenSceneGraph Documentation

osgManipulator

介绍

osgManipulator.PointerInfo类包含了一些必要的信息,可以让用户来交互式地操纵相机、物体,场景等。

类型定义

// osgManipulator/PointerInfo
class PointerInfo : public Object
{
    public:
        typedef Object base_class;
        typedef osg::ref_ptr<PointerInfo> PointerInfoRefPtr;

        enum DrillPickResult {
            DRILL_HIT_NOTHING,
            DRILL_HIT_WORLD,
            DRILL_HIT_OBJECT
        };

        enum IntersectionType {

            // The pointer's ray hit geometry, and no selected axis or plane was provided.
            POINT_INTERSECTED,
            NORMAL_INTERSECTED,

            // The pointer's ray did not hit any geometry.
            NOTHING_INTERSECTED,

            // The pointer hit an axis or plane, and no further intersection testing should be performed.
            HANDLE_INTERSECTED

        };

        PointerInfo();
        PointerInfo(const PointerInfo& rhs,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY);

        /** Get a new pointer info object, with the same reference frame as this object. */
        PointerInfo getNewPointerInfo() const;

        /** Reset the pointer info object to it's original paramters.*/
        void reset();

        void setCamera(const osg::Camera* camera) { _camera = camera; }
        const osg::Camera* getCamera() const { return _camera; }

        void setCameraViewMatrix(const osg::Matrixd& viewMatrix) { _cameraViewMatrix = viewMatrix; }
        const osg::Matrixd& getCameraViewMatrix() const { return _cameraViewMatrix; }

        void setCameraProjectionMatrix(const osg::Matrixd& projectionMatrix) { _cameraProjectionMatrix = projectionMatrix; }
        const osg::Matrixd& getCameraProjectionMatrix() const { return _cameraProjectionMatrix; }

        void setCameraModelMatrix(const osg::Matrixd& modelMatrix) { _cameraModelMatrix = modelMatrix; }
        const osg::Matrixd& getCameraModelMatrix() const { return _cameraModelMatrix; }

        void setCameraPosition(const osg::Vec3d& position) { _cameraPosition = position; }
        const osg::Vec3d& getCameraPosition() const { return _cameraPosition; }

        void setCanvasViewport(const osg::Viewport* viewport) { _canvasViewport = viewport; }
        const osg::Viewport* getCanvasViewport() const { return _canvasViewport; }

        void setCanvasPixelSize(const osg::Vec2d& pixelSize) { _canvasPixelSize = pixelSize; }
        const osg::Vec2d& getCanvasPixelSize() const { return _canvasPixelSize; }

        void setLocalToWorld(const osg::Matrixd& matrix) { _localToWorld = matrix; }
        const osg::Matrixd& getLocalToWorld() const { return _localToWorld; }

        void setLineStart(const osg::Vec3d& lineStart) { _lineStart = lineStart; }
        const osg::Vec3d& getLineStart() const { return _lineStart; }

        void setLineEnd(const osg::Vec3d& lineEnd) { _lineEnd = lineEnd; }
        const osg::Vec3d& getLineEnd() const { return _lineEnd; }

        void setMousePosition(const osg::Vec2& mousePosition) { _mousePosition = mousePosition; }
        const osg::Vec2& getMousePosition() const { return _mousePosition; }

        void setWorldPt(const osg::Vec3d& worldPt) { _worldPt = worldPt; }
        const osg::Vec3d& getWorldPt() const { return _worldPt; }

        void setNodePath(const osg::NodePath& nodePath) { _nodePath = nodePath; }
        const osg::NodePath& getNodePath() const { return _nodePath; }

        void setPinchPoints(const osg::Vec2s& pinchPoints) { _pinchPoints = pinchPoints; }
        const osg::Vec2s& getPinchPoints() const { return _pinchPoints; }

        void setRadius(float radius) { _radius = radius; }
        float getRadius() const { return _radius; }

        /** Set the currently selected axis or plane representing the currently 
            activated axis or plane handle. */
        void setHandleAxis(osgManipulator::Selection::Axis axis) { _handleAxis = axis; }
        osgManipulator::Selection::Axis getHandleAxis() const { return _handleAxis; }

        /** Set the currently selected axis or plane representing the currently 
            activated axis or plane handle. */
        void setHandlePlane(osgManipulator::Selection::Plane plane) { _handlePlane = plane; }
        osgManipulator::Selection::Plane getHandlePlane() const { return _handlePlane; }

        /** Set the number of intersections to be found in the RayIntersector. */
        void setIntersectionLimit(unsigned int intersectionLimit) { _intersectionLimit = intersectionLimit; }

        /** Get the number of intersections to be found in the RayIntersector. */
        unsigned int getIntersectionLimit() const { return _intersectionLimit; }

        /** Set the minimum distance from the pointer that to consider for intersection. */
        void setMinIntersectionDistance(double distance) { _minIntersectionDistance = distance; }

        /** Get the minimum distance from the pointer that to consider for intersection. */
        double getMinIntersectionDistance() const { return _minIntersectionDistance; }

        /** Set the object that is currently being manipulated. */
        void setNode(osg::Node* node){ _node = node; }

        /** Get the object that is currently being manipulated. */
        osg::Node* getNode() { return _node.get(); }

        /** Get the object that is currently being manipulated. */
        const osg::Node* getNode() const { return _node.get(); }

        /** Set the picked intersection point. */
        void setPickIntersection(const osg::Vec3d& pickIntersection) { _pickIntersection = pickIntersection; }

        /** Get the picked intersection point. */
        const osg::Vec3d& getPickIntersection() const { return _pickIntersection; }

        /** Set the drill pick result. */
        void setDrillPickResult(DrillPickResult dp) { _drillPickResult = dp; }

        /** Get the drill pick result. */
        DrillPickResult getDrillPickResult() const { return _drillPickResult; }

        void setIntersectionType(IntersectionType type) { _intersectionType = type; }
        IntersectionType getIntersectionType() const { return _intersectionType; }

        void setButtonMask(unsigned int mask) { _buttonMask = mask; }
        unsigned int getButtonMask() const { return _buttonMask; }

        void setActionButtonMask(unsigned int mask) { _actionButtonMask = mask; }
        unsigned int getActionButtonMask() const { return _actionButtonMask; }

        void setModKeyMask(unsigned int mask) { _modKeyMask = mask; }
        unsigned int getModKeyMask() const { return _modKeyMask; }

        void setPickCandidate(osgManipulator::Dragger* candidate) { _pickCandidate = candidate; }
        osgManipulator::Dragger* getPickCandidate() const { return _pickCandidate; }

        void setPointer(osgManipulator::PointerData* pointer) { _pointer = pointer; }
        osgManipulator::PointerData* getPointer() { return _pointer.get(); }
        const osgManipulator::PointerData* getPointer() const { return _pointer.get(); }

    protected:
        osg::Matrixd        _cameraViewMatrix;
        osg::Matrixd        _cameraProjectionMatrix;
        osg::Matrixd        _cameraModelMatrix;
        osg::Vec3d          _cameraPosition;
        osg::ref_ptr<const osg::Camera> _camera;

        osg::ref_ptr<const osg::Viewport> _canvasViewport;
        osg::Vec2d          _canvasPixelSize;

        osg::Matrixd        _localToWorld;
        osg::Vec3d          _lineStart;
        osg::Vec3d          _lineEnd;
        osg::Vec2           _mousePosition;
        osg::Vec3d          _worldPt;

        unsigned int        _buttonMask;
        unsigned int        _actionButtonMask;
        unsigned int        _modKeyMask;
        osg::Vec2s          _pinchPoints;
        osg::ref_ptr<osgManipulator::PointerData> _pointer;

        osg::NodePath       _nodePath;

        float               _radius;

        osgManipulator::Selection::Axis _handleAxis;
        osgManipulator::Selection::Plane _handlePlane;

        osg::ref_ptr<osg::Node> _node;

        osg::Vec3d          _pickIntersection;
        DrillPickResult     _drillPickResult;

        IntersectionType    _intersectionType;

        unsigned int        _intersectionLimit;
        double              _minIntersectionDistance;

        osgManipulator::Dragger* _pickCandidate;
};

变量

变量 描述
_cameraViewMatrix 相机在视图坐标系中的矩阵。
_cameraProjectionMatrix 相机在投影坐标系中的矩阵。
_cameraModelMatrix 相机在相机坐标系中的矩阵。
_cameraPosition 相机在世界坐标系中的位置。
_camera 存放渲染状态的相机。
_canvasViewport 目标canvas的视口。
_canvasPixelSize 目标canvas的像素大小。
_localToWorld 当前点选的坐标系到世界坐标系的变换矩阵。
_lineStart 当前点选的直线的起始位置坐标。
_lineEnd 当前点选的直线的终止位置坐标。
_mousePosition 鼠标在canvas上的坐标。
_worldPt 世界坐标系中的交点位置。
_buttonMask 存放当前键盘键位。
_actionButtonMask 存放当前鼠标键位。
_modKeyMask 存放当前键盘修饰键位。
_pinchPoints 处理触屏时当前的注册点。
_pointer osgManipulator::PointerData指针。
_nodePath 点选节点的路径。
_radius 相交的半径大小。
_handleAxis 活动的轴或平面的枚举类型。
_handlePlane 活动的轴或平面的枚举类型。
_node 当前操作的节点。
_pickIntersection 相交点,当没有被击中时,可以用于重新计算交集。
_drillPickResult 一个枚举类型,表示碰撞结果。
_intersectionType 活动选择器的当前起始点的类型(例如鼠标或光标的位置是否在选择器上)。
_intersectionLimit 确定是否启用了更多的交叉测试。
_minIntersectionDistance 交点范围距离最小值。
_pickCandidate 存储当前正在拖动的拖动器。

嵌套类

类名 描述
osgManipulator::PointerInfo::DrillPickResult 点选结果枚举类型。
osgManipulator::PointerInfo::IntersectionType 交点类型枚举类型。
osgManipulator::PointerInfo::PointerInfoRefPtr osgManipulator.PointerInfo的引用计数智能指针。

构造函数

PointerInfo()

PointerInfo()
  • 功能:构造器。

PointerInfo(const PointerInfo& rhs,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)

PointerInfo(const PointerInfo& rhs,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
  • 功能:构造器,给定由右操作数指定的PointerInfo对象的构造。

函数

getNewPointerInfo()

PointerInfo getNewPointerInfo() const
  • 功能:获取一个具有与此对象相同的参考框架的PointerInfo对象。

reset()

void reset()
  • 功能:重置PointerInfo对象的参数。

setCamera(const osg::Camera* camera)

void setCamera(const osg::Camera* camera)
  • 功能:设置指向存储渲染状态的相机的指针。

getCamera() const

const osg::Camera* getCamera() const
  • 功能:获取指向存储渲染状态的相机的指针。

setCameraViewMatrix(const osg::Matrixd& viewMatrix)

void setCameraViewMatrix(const osg::Matrixd& viewMatrix)
  • 功能:在视图坐标系中设置相机的矩阵。

getCameraViewMatrix() const

const osg::Matrixd& getCameraViewMatrix() const
  • 功能:获取设置相机在视图坐标系中的矩阵值。

setCameraProjectionMatrix(const osg::Matrixd& projectionMatrix)

void setCameraProjectionMatrix(const osg::Matrixd& projectionMatrix)
  • 功能:设置相机在投影坐标系中的矩阵。

getCameraProjectionMatrix() const

const osg::Matrixd& getCameraProjectionMatrix() const
  • 功能:获取相机在投影坐标系中的矩阵值。

setCameraModelMatrix(const osg::Matrixd& modelMatrix)

void setCameraModelMatrix(const osg::Matrixd& modelMatrix)
  • 功能:设置相机在相机坐标系中的矩阵。

getCameraModelMatrix() const

const osg::Matrixd& getCameraModelMatrix() const
  • 功能:获取相机在相机坐标系中的矩阵值。

setCameraPosition(const osg::Vec3d& position)

void setCameraPosition(const osg::Vec3d& position)
  • 功能:设置相机在世界坐标系中的位置。

getCameraPosition() const

const osg::Vec3d& getCameraPosition() const
  • 功能:获取相机在世界坐标系中的位置值。

setCanvasViewport(const osg::Viewport* viewport)

void setCanvasViewport(const osg::Viewport* viewport)
  • 功能:设置目标canvas的视口。

getCanvasViewport() const

const osg::Viewport* getCanvasViewport() const
  • 功能:获取目标canvas的视口。

setCanvasPixelSize(const osg::Vec2d& pixelSize)

void setCanvasPixelSize(const osg::Vec2d& pixelSize)
  • 功能:设置目标canvas的像素大小。

getCanvasPixelSize() const

const osg::Vec2d& getCanvasPixelSize() const
  • 功能:获取目标canvas的像素大小值。

setLocalToWorld(const osg::Matrixd& matrix)

void setLocalToWorld(const osg::Matrixd& matrix)
  • 功能:设置当前点选的坐标系到世界坐标系的变换矩阵。

getLocalToWorld() const

const osg::Matrixd& getLocalToWorld() const
  • 功能:获取当前点选的坐标系到世界坐标系的变换矩阵的值。

setLineStart(const osg::Vec3d& lineStart)

void setLineStart(const osg::Vec3d& lineStart)
  • 功能:设置当前点选的直线的起始位置坐标。

getLineStart() const

const osg::Vec3d& getLineStart() const
  • 功能:获取当前点选的直线的起始位置坐标的值。

setLineEnd(const osg::Vec3d& lineEnd)

void setLineEnd(const osg::Vec3d& lineEnd)
  • 功能:设置当前点选的直线的终止位置坐标。

getLineEnd() const

const osg::Vec3d& getLineEnd() const
  • 功能:获取当前点选的直线的终止位置坐标的值。

setMousePosition(const osg::Vec2& mousePosition)

void setMousePosition(const osg::Vec2& mousePosition)
  • 功能:设置鼠标在canvas上的坐标。

getMousePosition() const

const osg::Vec2& getMousePosition() const
  • 功能:获取鼠标在canvas上的坐标的值。

setWorldPt(const osg::Vec3d& worldPt)

void setWorldPt(const osg::Vec3d& worldPt)
  • 功能:设置世界坐标系中的交点位置。

getWorldPt() const

const osg::Vec3d& getWorldPt() const
  • 功能:获取世界坐标系中的交点位置的值。

setNodePath(const osg::NodePath& nodePath)

void setNode